Create interaction channel invite

POST /v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Invites

TODO: Resource-level docs

Path parameters

application/x-www-form-urlencoded

Responses

  • 201

    Created

    Hide response attributes Show response attributes object
    • channel_sid string | null

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

    • interaction_sid string | null

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

    • sid string | null

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

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