For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send MT SMS

Delivers a Mobile Terminated (MT) SMS message to an AnyNet or third party SIM. Provide either text or short_message. Address the message with one of iccId, simId, eid, or destination.

post
Corpo
usernamestringObrigatório

The Eseye-assigned SMS API username.

passwordstringObrigatório

The Eseye-assigned SMS API password.

iccIdstringOpcional

Uniquely identifies the SIM, or the eUICC SIM profile.

Example: 8944500000000000123
simIdstringOpcional

The Eseye SIM reference number.

Example: 9445000000000123
eidstringOpcional

The eUICC identifier, the global serial number that identifies an eUICC for remote SIM provisioning.

Example: 89049032000000000000000000000001
destinationstringOpcional

The MSISDN of the destination SIM.

Example: 447700900000
textstringOpcional

The SMS message content (7/8-bit). Supply either text or short_message. Where both are present, text takes priority.

short_messagestringOpcional

Hex-encoded short message octets. Supply either text or short_message.

message_idstringOpcional

A user-generated unique message identifier for tracking responses.

receipt_urlstringOpcional

The URL where the delivery receipt is sent.

sourcestringOpcional

The source MSISDN. If blank, the AnyNet Messaging Service sends the message.

modestring · enumOpcional

How text data is transported: 7-bit (default) or 8-bit.

Valores possíveis:
expirystringOpcional

Expiry date/time if undelivered: YYYY-MM-DD hh:mm:ss.

data_codingstringOpcional

How short_message data is processed (e.g. 0, 4, 8, F6).

pidstringOpcional

For Eseye use only. Protocol identifier. Default 0.

esmstringOpcional

For Eseye use only. User data header attributes (e.g. 40).

ReplacestringOpcional

Cancel any queued messages.

Respostas
200

Status response

application/xml
stringOpcional
post/mtsmsapi/index/post
POST /mtsmsapi/index/post HTTP/1.1
Host: messaging.eseye.com
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 349

"username='text'&password='text'&iccId='8944500000000000123'&simId='9445000000000123'&eid='89049032000000000000000000000001'&destination='447700900000'&text='text'&short_message='text'&message_id='text'&receipt_url='text'&source='text'&mode='7'&expiry='text'&data_coding='text'&pid='text'&esm='text'&Replace='text'"
200

Status response

<statusResponse>
  <status>sent</status>
  <description>Message queued on network</description>
</statusResponse>

Atualizado

Isto foi útil?