ConversationsV2Conversation

Update a Conversation

Changed on

Update an existing conversation

put/v2/Conversations/{id}

Request

  • Base URL
    https://conversations.twilio.com
  • URL
    https://conversations.twilio.com/v2/Conversations/{id}
  • Auth
    HTTP basic

Request body

namestring

The name of the Conversation.

status'ACTIVE' | 'INACTIVE' | 'CLOSED' required

Lifecycle status of a Conversation.

metadataobject

Customer-managed key-value metadata for this Conversation. Maximum 8 entries; keys up to 128 characters allowing alphanumeric characters, periods, underscores, and dashes; values up to 512 characters.

Example request

{
  "name": "Support Chat",
  "metadata": {
    "zendesk_ticket_id": "TKT-456"
  }
}

Response

OK

idstring required

Conversation ID.

accountIdstring required

Account ID.

configurationIdstring required

Configuration ID.

status'ACTIVE' | 'INACTIVE' | 'CLOSED'

Lifecycle status of a Conversation.

namestring nullable

Conversation name.

createdAtstring date-time

Timestamp when this Conversation was created.

updatedAtstring date-time

Timestamp when this Conversation was last updated.

metadataConversationsV2Metadata

Customer-managed key-value pairs. Maximum 8 entries; keys up to 128 characters allowing alphanumeric characters, periods, underscores, and dashes; values up to 512 characters.

actionIdstring

The Action created for the request's action, present only on the create response that dispatched one. Poll GET /v2/Conversations/{ConversationId}/Actions/{ActionId} for its status.

Example response

{
  "id": "conv_conversation_00000000000000000000000001",
  "accountId": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "configurationId": "conv_configuration_00000000000000000000000001",
  "status": "ACTIVE",
  "name": "Customer Support - Multi-channel",
  "createdAt": "2023-07-01T12:00:00Z",
  "updatedAt": "2023-07-01T12:30:00Z",
  "metadata": {
    "zendesk_ticket_id": "TKT-456"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status