Trialmile docs

Send

POST
/messages/send

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

conversationId*string
Length1 <= length
body?string
Length1 <= length <= 1600
templateKey?string

Value in

  • "ask_address"
  • "ask_address_again"
  • "ask_product"
  • "ask_product_again"
  • "confirmed"
  • "on_the_way"
  • "delivered"
  • "out_of_zone"
  • "at_capacity"
  • "pre_live"
  • "dead"
  • "out_of_stock"
  • "stop_ack"
  • "start_ack"
  • "help"
  • "confirm_address"
  • "ask_name"
  • "rider_new_job"

Response Body

application/json

curl -X POST "https://example.com/messages/send" \  -H "Content-Type: application/json" \  -d '{    "conversationId": "string"  }'
null