Set SMS Webhook for inbound SMS

Get Cakes

POST https://api.cakes.com/api_smsc/v1/did/webhook

You can setup webhook URL to receive inbound SMS.

Query Parameters

Name
Type
Description

url

string

This is the webhook URL

number

boolean

This is the number that the webhook is to be associated with.

Headers

Name
Type
Description

Authentication

string

Authentication token to track down who is emptying our stocks.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}{
  "success": true,
  "object_id": 4
}
curl -X POST "http://88.198.219.62/api_smsc/v1/did/webhook" -H "accept: application/json" -H "X-Auth-Token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1OTA2ODA2NzQsInVzZXJfaWQiOjU3fQ.1WNVr0zarjb0BftC30OFf1DSbpQxqT2EbclvwqTllxc" -H "Content-Type: application/json" -d "{ \"url\": \"https://webhook.site/9bf6372f-c15a-4d79-8c31-2210a7e8f798 \", \"number\": \"12059418077\"}"

Last updated

Was this helpful?