Trialmile docs

Send Inbound

POST
/dev/consumers/sendInbound

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

campaignId*string
Length1 <= length
conversationId?string
Length1 <= length
phone?string
Match^\+[1-9]\d{6,14}$
body?string
Length1 <= length <= 1600
kind?string

Value in

  • "address"
  • "product"
  • "stop"
  • "help"
  • "gibberish"

Response Body

application/json

curl -X POST "https://example.com/dev/consumers/sendInbound" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "string"  }'
null