simtrunkDocs
Messages

Send an SMS

Requires the scope `sms:write`.

POST
/v1/lines/{id}/sms

Requires the scope sms:write.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key, or an access token for one, through the API gateway.

Path Parameters

id*string

Request Body

application/json
  1. body
to*string

The number, national or international (+...).

body*string

The text; long ones go as concatenated parts.

Response Body

OK

application/json
  1. response
ok*boolean
curl -X POST 'https://api.simtrunk.com/v1/lines/string/sms' \  -H 'Content-Type: application/json' \  -d '{  "to": "string",  "body": "string"}'
{  "ok": true}

How is this guide?