Response Codes
This section contains the response codes you will likely get from the VTpass Messaging API.
For Instance:
When a message is successfully accepted/processed by our system, the following response will be returned
TG00-MESSAGE PROCESSED:0000|2348012345678|9967534522177818556581618|SENT|MESSAGE SENT TO PROVIDER,3333|234803456789|6667534522177818556581618|DND_REJECTED|DND_REJECTED_NUMBER
Any other status apart from TG00 means the message is rejected and will not be processed.
Response Code | Meaning | Note |
TG00 | MESSAGE PROCESSED | |
TG11 | Invalid Authentication Credentials | |
TG12 | Empty Username | |
TG13 | Empty Password | |
TG14 | Empty Recipients | |
TG15 | Empty Message | |
TG16 | Empty SenderID | |
TG17 | Not Enough Units Balance | |
TG18 | Blocked Words Found Sender ID | |
TG19 | Blocked Words Found in Message Body | |
TG20 | Recipients above the maximum target |
BATCH CODE-BATCH DESCRIPTION:STATUSCODE|Recepient|MessageID|Message status|Status description,STATUSCODE|Recepient|MessageID|Message status|Status description
Each number sent will have its own message code, message id, message status and message description
Message Code | Message status | Message Description |
0000 | SENT | MESSAGE SENT TO PROVIDER |
1111 | DELIVERED | MESSAGE DELIVERED TO HANDSET |
2222 | REJECTED | MESSAGE REJECTED |
0014 | DND_SENT | MESSAGE THROUGH COOPERATE |
3333 | DND_REJECTED | DND_REJECTED_NUMBER |