Twilio Services API

The Services API from Twilio — 131 operation(s) for services.

Documentation

Specifications

Other Resources

OpenAPI Specification

twilio-services-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Twilio - Accounts A2p Services API
  description: This is the public Twilio REST API.
  termsOfService: https://www.twilio.com/legal/tos
  contact:
    name: Twilio Support
    url: https://support.twilio.com
    email: support@twilio.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.52.0
servers:
- url: https://accounts.twilio.com
tags:
- name: Services
paths:
  /v1/Services:
    servers:
    - url: https://conversations.twilio.com
    description: A Service resource is a top-level conversation resource container that serves as a data silo.
    x-twilio:
      defaultOutputProperties:
      - sid
      - friendly_name
      pathType: list
      dependentProperties:
        conversations:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations
        bindings:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Bindings
        users:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Users
        roles:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Roles
        configuration:
          mapping:
            chat_service_sid: sid
          resource_url: /v1None
        participant_conversations:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/ParticipantConversations
    post:
      description: Create a new conversation service on your account
      tags:
      - Services
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service'
          description: Created
      security:
      - accountSid_authToken: []
      operationId: CreateService
      x-maturity:
      - GA
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateServiceRequest'
    get:
      description: Retrieve a list of all conversation services on your account
      tags:
      - Services
      parameters:
      - name: PageSize
        in: query
        description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      - name: Page
        in: query
        description: The page index. This value is simply for client state.
        schema:
          type: integer
          minimum: 0
      - name: PageToken
        in: query
        description: The page token. This is provided by the API.
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListServiceResponse'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: ListService
      x-maturity:
      - GA
  /v1/Services/{Sid}:
    servers:
    - url: https://conversations.twilio.com
    description: A Service resource is a top-level conversation resource container that serves as a data silo.
    x-twilio:
      defaultOutputProperties:
      - sid
      - friendly_name
      pathType: instance
      dependentProperties:
        conversations:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations
        bindings:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Bindings
        users:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Users
        roles:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Roles
        configuration:
          mapping:
            chat_service_sid: sid
          resource_url: /v1None
        participant_conversations:
          mapping:
            chat_service_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/ParticipantConversations
    delete:
      description: Remove a conversation service with all its nested resources from your account
      tags:
      - Services
      parameters:
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      responses:
        '204':
          description: The resource was deleted successfully.
      security:
      - accountSid_authToken: []
      operationId: DeleteService
      x-maturity:
      - GA
    get:
      description: Fetch a conversation service from your account
      tags:
      - Services
      parameters:
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchService
      x-maturity:
      - GA
    post:
      description: ''
      tags:
      - Services
      parameters:
      - name: Sid
        in: path
        description: The SID of the Service resource to update.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^MG[0-9a-fA-F]{32}$
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/messaging.v1.service'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: UpdateService
      x-maturity:
      - Beta
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateServiceRequest_3'
  /v1/Services/{ChatServiceSid}/Bindings/{Sid}:
    servers:
    - url: https://conversations.twilio.com
    description: A Binding resource represents a push notification binding and its configuration, for delivering conversation events to mobile or web endpoints.
    x-twilio:
      defaultOutputProperties:
      - sid
      - endpoint
      - identity
      pathType: instance
      parent: /Services/{Sid}
    delete:
      description: Remove a push notification binding from the conversation service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to delete the Binding resource from.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: Sid
        in: path
        description: The SID of the Binding resource to delete.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^BS[0-9a-fA-F]{32}$
        required: true
      responses:
        '204':
          description: The resource was deleted successfully.
      security:
      - accountSid_authToken: []
      operationId: DeleteServiceBinding
      x-maturity:
      - GA
    get:
      description: Fetch a push notification binding from the conversation service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Binding resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^BS[0-9a-fA-F]{32}$
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_binding'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchServiceBinding
      x-maturity:
      - GA
  /v1/Services/{ChatServiceSid}/Bindings:
    servers:
    - url: https://conversations.twilio.com
    description: A Binding resource represents a push notification binding and its configuration, for delivering conversation events to mobile or web endpoints.
    x-twilio:
      defaultOutputProperties:
      - sid
      - endpoint
      - identity
      pathType: list
      parent: /Services/{Sid}
    get:
      description: Retrieve a list of all push notification bindings in the conversation service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Binding resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: BindingType
        in: query
        description: 'The push technology used by the Binding resources to read.  Can be: `apn`, `gcm`, or `fcm`.  See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.'
        schema:
          type: array
          items:
            type: string
            $ref: '#/components/schemas/service_binding_enum_binding_type'
      - name: Identity
        in: query
        description: The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details.
        schema:
          type: array
          items:
            type: string
        x-twilio:
          pii:
            handling: standard
            deleteSla: 30
      - name: PageSize
        in: query
        description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      - name: Page
        in: query
        description: The page index. This value is simply for client state.
        schema:
          type: integer
          minimum: 0
      - name: PageToken
        in: query
        description: The page token. This is provided by the API.
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListServiceBindingResponse'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: ListServiceBinding
      x-maturity:
      - GA
  /v1/Services/{ChatServiceSid}/Configuration:
    servers:
    - url: https://conversations.twilio.com
    description: A Service Configuration resource manages service-level settings applicable to the Conversation API.
    x-twilio:
      defaultOutputProperties:
      - chat_service_sid
      pathType: instance
      parent: /Services/{Sid}
    get:
      description: Fetch the configuration of a conversation service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the Service configuration resource to fetch.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_configuration'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchServiceConfiguration
      x-maturity:
      - GA
    post:
      description: Update configuration settings of a conversation service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the Service configuration resource to update.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_configuration'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: UpdateServiceConfiguration
      x-maturity:
      - GA
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateServiceConfigurationRequest'
  /v1/Services/{ChatServiceSid}/Conversations:
    servers:
    - url: https://conversations.twilio.com
    description: A Service Conversation resource represents an omnichannel group conversation with an ordered list of messages and a participant roster.
    x-twilio:
      defaultOutputProperties:
      - sid
      - chat_service_sid
      - friendly_name
      - date_created
      pathType: list
      dependentProperties:
        participants:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Participants
        messages:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Messages
        webhooks:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Webhooks
      parent: /Services/{Sid}
    post:
      description: Create a new conversation in your service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Conversation resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: X-Twilio-Webhook-Enabled
        in: header
        description: The X-Twilio-Webhook-Enabled HTTP request header
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_enum_webhook_enabled_type'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_conversation'
          description: Created
      security:
      - accountSid_authToken: []
      operationId: CreateServiceConversation
      x-maturity:
      - GA
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateServiceConversationRequest'
    get:
      description: Retrieve a list of conversations in your service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Conversation resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: StartDate
        in: query
        description: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
        schema:
          type: string
      - name: EndDate
        in: query
        description: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
        schema:
          type: string
      - name: State
        in: query
        description: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_enum_state'
      - name: PageSize
        in: query
        description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      - name: Page
        in: query
        description: The page index. This value is simply for client state.
        schema:
          type: integer
          minimum: 0
      - name: PageToken
        in: query
        description: The page token. This is provided by the API.
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListServiceConversationResponse'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: ListServiceConversation
      x-maturity:
      - GA
  /v1/Services/{ChatServiceSid}/Conversations/{Sid}:
    servers:
    - url: https://conversations.twilio.com
    description: A Service Conversation resource represents an omnichannel group conversation with an ordered list of messages and a participant roster.
    x-twilio:
      defaultOutputProperties:
      - sid
      - chat_service_sid
      - friendly_name
      - date_created
      pathType: instance
      dependentProperties:
        participants:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Participants
        messages:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Messages
        webhooks:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Webhooks
      parent: /Services/{Sid}
    post:
      description: Update an existing conversation in your service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Conversation resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource. Can also be the `unique_name` of the Conversation.
        schema:
          type: string
        required: true
      - name: X-Twilio-Webhook-Enabled
        in: header
        description: The X-Twilio-Webhook-Enabled HTTP request header
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_enum_webhook_enabled_type'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_conversation'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: UpdateServiceConversation
      x-maturity:
      - GA
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateServiceConversationRequest'
    delete:
      description: Remove a conversation from your service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Conversation resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource. Can also be the `unique_name` of the Conversation.
        schema:
          type: string
        required: true
      - name: X-Twilio-Webhook-Enabled
        in: header
        description: The X-Twilio-Webhook-Enabled HTTP request header
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_enum_webhook_enabled_type'
      responses:
        '204':
          description: The resource was deleted successfully.
      security:
      - accountSid_authToken: []
      operationId: DeleteServiceConversation
      x-maturity:
      - GA
    get:
      description: Fetch a conversation from your service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Conversation resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource. Can also be the `unique_name` of the Conversation.
        schema:
          type: string
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_conversation'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchServiceConversation
      x-maturity:
      - GA
  /v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages:
    servers:
    - url: https://conversations.twilio.com
    description: A Service Message resource represents a message in a conversation within a specific service.
    x-twilio:
      defaultOutputProperties:
      - sid
      - index
      - author
      - date_created
      pathType: list
      dependentProperties:
        delivery_receipts:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: conversation_sid
            message_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Messages/{message_sid}/Receipts
        channel_metadata:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: conversation_sid
            message_sid: sid
          resource_url: /v1None
      parent: /Services/{ChatServiceSid}/Conversations/{Sid}
    post:
      description: Add a new message to the conversation in a specific service
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: ConversationSid
        in: path
        description: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message.
        schema:
          type: string
        required: true
      - name: X-Twilio-Webhook-Enabled
        in: header
        description: The X-Twilio-Webhook-Enabled HTTP request header
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_message_enum_webhook_enabled_type'
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_conversation.service_conversation_message'
          description: Created
      security:
      - accountSid_authToken: []
      operationId: CreateServiceConversationMessage
      x-maturity:
      - GA
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateServiceConversationMessageRequest'
    get:
      description: Retrieve a list of all messages in the conversation
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: ConversationSid
        in: path
        description: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for messages.
        schema:
          type: string
        required: true
      - name: Order
        in: query
        description: 'The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default.'
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_message_enum_order_type'
      - name: PageSize
        in: query
        description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      - name: Page
        in: query
        description: The page index. This value is simply for client state.
        schema:
          type: integer
          minimum: 0
      - name: PageToken
        in: query
        description: The page token. This is provided by the API.
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListServiceConversationMessageResponse'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: ListServiceConversationMessage
      x-maturity:
      - GA
  /v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid}:
    servers:
    - url: https://conversations.twilio.com
    description: A Service Message resource represents a message in a conversation within a specific service.
    x-twilio:
      defaultOutputProperties:
      - sid
      - index
      - author
      - date_created
      pathType: instance
      dependentProperties:
        delivery_receipts:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: conversation_sid
            message_sid: sid
          resource_url: /v1/Services/{chat_service_sid}/Conversations/{conversation_sid}/Messages/{message_sid}/Receipts
        channel_metadata:
          mapping:
            chat_service_sid: chat_service_sid
            conversation_sid: conversation_sid
            message_sid: sid
          resource_url: /v1None
      parent: /Services/{ChatServiceSid}/Conversations/{Sid}
    post:
      description: Update an existing message in the conversation
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: ConversationSid
        in: path
        description: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message.
        schema:
          type: string
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IM[0-9a-fA-F]{32}$
        required: true
      - name: X-Twilio-Webhook-Enabled
        in: header
        description: The X-Twilio-Webhook-Enabled HTTP request header
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_message_enum_webhook_enabled_type'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/conversations.v1.service.service_conversation.service_conversation_message'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: UpdateServiceConversationMessage
      x-maturity:
      - GA
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateServiceConversationMessageRequest'
    delete:
      description: Remove a message from the conversation
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: ConversationSid
        in: path
        description: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message.
        schema:
          type: string
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IM[0-9a-fA-F]{32}$
        required: true
      - name: X-Twilio-Webhook-Enabled
        in: header
        description: The X-Twilio-Webhook-Enabled HTTP request header
        schema:
          type: string
          $ref: '#/components/schemas/service_conversation_message_enum_webhook_enabled_type'
      responses:
        '204':
          description: The resource was deleted successfully.
      security:
      - accountSid_authToken: []
      operationId: DeleteServiceConversationMessage
      x-maturity:
      - GA
    get:
      description: Fetch a message from the conversation
      tags:
      - Services
      parameters:
      - name: ChatServiceSid
        in: path
        description: The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IS[0-9a-fA-F]{32}$
        required: true
      - name: ConversationSid
        in: path
        description: The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message.
        schema:
          type: string
        required: true
      - name: Sid
        in: path
        description: A 34 character string that uniquely identifies this resource.
        schema:
          type: string
          minLength: 34
          maxLength: 34
          pattern: ^IM[0-9a-fA-F]{32}$
        re

# --- truncated at 32 KB (702 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/twilio/refs/heads/main/openapi/twilio-services-api-openapi.yml