MessageEndpoint

The following resources are applicable:

/message/send

Mount Point: /rest/message/send

GET

Sends a message to a recipient.

The recipient can also be an group. The best channel (group, user, remote) is automatically selected.

Example: https://api.mysms.com/json/message/send?api_key=xxxxx&msisdn=xxx&password=xxx&recipient=436761234567&message=Hi

Error Codes

2A required parameter was not given
97The access to the api was denied
98You made too much requests in a short time
99The service is currently not available
100The auth token is invalid
101The credentials are wrong
109>The login is blocked for a specific time, because some wrong logins were made
113For this operation the user must have a msisdn associated
200One or more recipients are not in the correct format or are containing invalid msisdns (i.e: 436761234567)
202The credit is not enough to send the message to all recipients
600The api key is invalid
1000The api key is invalid

Parameters

name description type default
api_key (no documentation provided) query
msisdn (no documentation provided) query
password (no documentation provided) query
recipient (no documentation provided) query
message (no documentation provided) query
date (no documentation provided) query

Response Body

element: messageSendResponse
media types: */*
application/xml
application/json

(no documentation provided)

POST

Sends a message to a recipient.

The recipient can also be an group. The best channel (group, user, remote) is automatically selected.

Error Codes

2A required parameter was not given
97The access to the api was denied
98You made too much requests in a short time
99The service is currently not available
100The auth token is invalid
101The credentials are wrong
109The login is blocked for a specific time, because some wrong logins were made
113For this operation the user must have a msisdn associated
200One or more recipients are not in the correct format or are containing invalid msisdns (i.e: 436761234567)
202The credit is not enough to send the message to all recipients
600The api key is invalid
1000The api key is invalid

Request Body

element: messageSendRequest
media types: */*
application/xml
application/json

(no documentation provided)

Response Body

element: messageSendResponse
media types: */*
application/xml
application/json

(no documentation provided)