cURL
curl --request POST \ --url 'https://api.example.com/api/v1/messaging/{widget_id}?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>", "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "message": "<string>", "start_new_conversation": true, "widget_parameters": {} } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
To send a text message to a given telephone number or a contact
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
Successful Response
Was this page helpful?