ConversationsV1ConversationWithParticipants

Create a new conversation with the list of participants in your account's default service

Create a new conversation with the list of participants in your account's default service

post/v1/ConversationWithParticipants

Headers

X-Twilio-Webhook-Enabled'true' | 'false'

The X-Twilio-Webhook-Enabled HTTP request header

Response

Created

account_sidstring nullable

The unique ID of the Account responsible for this conversation.

chat_service_sidstring nullable

The unique ID of the Conversation Service this conversation belongs to.

messaging_service_sidstring nullable

The unique ID of the Messaging Service this conversation belongs to.

sidstring nullable

A 34 character string that uniquely identifies this resource.

friendly_namestring nullable

The human-readable name of this conversation, limited to 256 characters. Optional.

unique_namestring nullable

An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's sid in the URL.

attributesstring nullable

An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. Note that if the attributes are not set "{}" will be returned.

state'initializing' | 'inactive' | 'active' | 'closed'

Current state of this conversation. Can be either initializing, active, inactive or closed and defaults to active

date_createdstring date-time nullable

The date that this resource was created.

date_updatedstring date-time nullable

The date that this resource was last updated.

{"stackTrail":"components:schemas:conversations.v1.conversation_with_participants:properties:timers","oasType":"schema","type":"unknown","description":"Timer date values representing state update for this conversation.","nullable":true}
linksobject nullable

Contains absolute URLs to access the participants, messages and webhooks of this conversation.

{"stackTrail":"components:schemas:conversations.v1.conversation_with_participants:properties:bindings","oasType":"schema","type":"unknown","nullable":true}
urlstring uri nullable

An absolute API resource URL for this conversation.

Changes

Changed in 4 of the 51 revisions of this API.822

  • v17c6893e0ba6821See the full diff
    • added the new initializing enum value to the response property for the response status

      response-property-enum-value-added

    • added the new initializing enum value to the response property for the response status

      response-property-enum-value-added

    • added the new initializing enum value to the request property

      request-property-enum-value-added

    • the response's property type changed from object to no type for status

      response-property-type-changed

    • the response's property type changed from object to no type for status

      response-property-type-changed

    • the response's property type changed from object to no type for status

      response-property-type-changed

    • the response's property type changed from object to no type for status

      response-property-type-changed

    • the response's property type changed from no type to object for status

      response-property-type-changed

    • the response's property type changed from no type to object for status

      response-property-type-changed

    • the response's property type changed from no type to object for status

      response-property-type-changed

    • the response's property type changed from no type to object for status

      response-property-type-changed

    • endpoint added

      endpoint-added