Create a new Interaction

POST /v1/Interactions

TODO: Resource-level docs

Create a new Interaction.

Body

  • Channel Required

    The Interaction's channel.

  • Routing Required

    The Interaction's routing logic.

Responses

  • Created

    Hide response attributes Show response attributes object
    • The Interaction's channel

    • The Interaction's routing logic

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^KD[0-9a-fA-F]{32}$.

    • url string(uri) | null
POST /v1/Interactions
curl \
 -X POST https://flex-api.twilio.com/v1/Interactions \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded"
Request example
{}
Request examples
{}
Response examples (201)
{
  "links": {},
  "sid": "string",
  "url": "https://example.com"
}
Response examples (201)
{
  "links": {},
  "sid": "string",
  "url": "https://example.com"
}