Loading...
Loading...
Sends and receives omnichannel messages with Sinch Conversation API. One unified API for SMS, WhatsApp, RCS, MMS, Viber, Messenger, and more. Use when sending texts, WhatsApp messages, rich cards, carousels, templates, batch messages, or building multi-channel messaging.
npx skill4agent add sinch/skills sinch-conversation-apikeyId:keySecretDISPATCHCONVERSATIONtext_messagemedia_messagecard_messagecarousel_messagechoice_messagelist_messagetemplate_messagelocation_messagecontact_info_messagechannel_priority_orderSWITCHING_CHANNELQUEUED_ON_CHANNELDELIVEREDREADFAILEDSWITCHING_CHANNELMESSAGE_INBOUNDMESSAGE_DELIVERYEVENT_INBOUNDHMAC-SHA256(rawBody + '.' + nonce + '.' + timestamp, secret)x-sinch-webhook-signature-timestamp-nonce-algorithm{region}.template.api.sinch.com${parameter}{region}.conversationbatch.api.sinch.comSMSWHATSAPPRCSMMSVIBERBMMESSENGERINSTAGRAMTELEGRAMKAKAOTALKKAKAOTALKCHATLINEWECHATAPPLEBC| Language | Package | Install |
|---|---|---|
| Node.js | | |
| Java | | Maven dependency (see below) |
| Python | | |
| .NET | | |
com.sinch.sdk:sinch-sdk-java<dependency>
<groupId>com.sinch.sdk</groupId>
<artifactId>sinch-sdk-java</artifactId>
<version>LATEST_VERSION</version>
</dependency>https://us.conversation.api.sinch.comhttps://eu.conversation.api.sinch.comhttps://br.conversation.api.sinch.comcurl -X POST "https://us.conversation.api.sinch.com/v1/projects/{PROJECT_ID}/messages:send" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {ACCESS_TOKEN}" \
-d '{
"app_id": "YOUR_APP_ID",
"recipient": {
"identified_by": {
"channel_identities": [{
"channel": "SMS",
"identity": "+15551234567"
}]
}
},
"message": {
"text_message": {
"text": "Hello from Sinch Conversation API!"
}
},
"channel_properties": {
"SMS_SENDER": "+15559876543"
}
}'channel_priority_orderrecipient{ "recipient": { "contact_id": "CONTACT_ID" } }identified_bycard_messagecarousel_messagechoice_messagelist_messagetemplate_messagePOST /webhookstargettarget_type: "HTTP"triggers400 INVALID_ARGUMENTPOST /messages:transcodeGET /v1/projects/{project_id}/messagesmessages_sourcePOST /events:sendPOST /capability:queryCAPABILITYscripts/--helpexport SINCH_PROJECT_ID="your-project-id"
export SINCH_KEY_ID="your-key-id"
export SINCH_KEY_SECRET="your-key-secret"
export SINCH_APP_ID="your-app-id"
export SINCH_REGION="us" # us|eu|br, default: usnode scripts/sms/send_sms.cjs --to +15551234567 --message "Hello"node scripts/rcs/send_card.cjs --to +15551234567 --title "Sale" --image-url URLnode scripts/webhooks/create_webhook.cjs --app-id APP_ID --target URL --triggers MESSAGE_INBOUND,MESSAGE_DELIVERYnode scripts/common/list_messages.cjs --channel SMS --page-size 20404{region}.conversation.api.sinch.com404400401403404429500/501/503404GET /messages/{message_id}SWITCHING_CHANNELtarget_typeHTTP2xx