Twilio · Capability

Twilio - Conversations — Users

Twilio - Conversations — Users. 9 operations. Lead operation: Users. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioUsers

What You Can Do

POST
Createuser — Add a new conversation user to your account's default service
/v1/v1/users
GET
Listuser — Retrieve a list of all conversation users in your account's default service
/v1/v1/users
POST
Updateuser — Update an existing conversation user in your account's default service
/v1/v1/users/{sid}
DELETE
Deleteuser — Remove a conversation user from your account's default service
/v1/v1/users/{sid}
GET
Fetchuser — Fetch a conversation user from your account's default service
/v1/v1/users/{sid}
GET
Listuserconversation — Retrieve a list of all User Conversations for the User.
/v1/v1/users/{usersid}/conversations
POST
Updateuserconversation — Update a specific User Conversation.
/v1/v1/users/{usersid}/conversations/{conversationsid}
DELETE
Deleteuserconversation — Delete a specific User Conversation.
/v1/v1/users/{usersid}/conversations/{conversationsid}
GET
Fetchuserconversation — Fetch a specific User Conversation.
/v1/v1/users/{usersid}/conversations/{conversationsid}

MCP Tools

add-new-conversation-user-your

Add a new conversation user to your account's default service

retrieve-list-all-conversation-users

Retrieve a list of all conversation users in your account's default service

read-only idempotent
update-existing-conversation-user-your

Update an existing conversation user in your account's default service

remove-conversation-user-your-account-s

Remove a conversation user from your account's default service

idempotent
fetch-conversation-user-your-account-s

Fetch a conversation user from your account's default service

read-only idempotent
retrieve-list-all-user-conversations

Retrieve a list of all User Conversations for the User.

read-only idempotent
update-specific-user-conversation

Update a specific User Conversation.

delete-specific-user-conversation

Delete a specific User Conversation.

idempotent
fetch-specific-user-conversation

Fetch a specific User Conversation.

read-only idempotent

Capability Spec

conversations-users.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Conversations — Users
  description: 'Twilio - Conversations — Users. 9 operations. Lead operation: Users. Self-contained Naftiko capability covering
    one Twilio business surface.'
  tags:
  - Twilio
  - Users
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: conversations-users
    baseUri: https://conversations.twilio.com
    description: Twilio - Conversations — Users business capability. Self-contained, no shared references.
    resources:
    - name: v1-Users
      path: /v1/Users
      operations:
      - name: createuser
        method: POST
        description: Add a new conversation user to your account's default service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: X-Twilio-Webhook-Enabled
          in: header
          type: string
          description: The X-Twilio-Webhook-Enabled HTTP request header
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: listuser
        method: GET
        description: Retrieve a list of all conversation users in your account's default service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v1-Users-Sid
      path: /v1/Users/{Sid}
      operations:
      - name: updateuser
        method: POST
        description: Update an existing conversation user in your account's default service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The SID of the User resource to update. This value can be either the `sid` or the `identity` of the
            User resource to update.
          required: true
        - name: X-Twilio-Webhook-Enabled
          in: header
          type: string
          description: The X-Twilio-Webhook-Enabled HTTP request header
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteuser
        method: DELETE
        description: Remove a conversation user from your account's default service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The SID of the User resource to delete. This value can be either the `sid` or the `identity` of the
            User resource to delete.
          required: true
        - name: X-Twilio-Webhook-Enabled
          in: header
          type: string
          description: The X-Twilio-Webhook-Enabled HTTP request header
      - name: fetchuser
        method: GET
        description: Fetch a conversation user from your account's default service
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The SID of the User resource to fetch. This value can be either the `sid` or the `identity` of the
            User resource to fetch.
          required: true
    - name: v1-Users-UserSid-Conversations
      path: /v1/Users/{UserSid}/Conversations
      operations:
      - name: listuserconversation
        method: GET
        description: Retrieve a list of all User Conversations for the User.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UserSid
          in: path
          type: string
          description: The unique SID identifier of the [User resource](https://www.twilio.com/docs/conversations/api/user-resource).
            This value can be either the `sid` or the `identi
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v1-Users-UserSid-Conversations-ConversationSid
      path: /v1/Users/{UserSid}/Conversations/{ConversationSid}
      operations:
      - name: updateuserconversation
        method: POST
        description: Update a specific User Conversation.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UserSid
          in: path
          type: string
          description: The unique SID identifier of the [User resource](https://www.twilio.com/docs/conversations/api/user-resource).
            This value can be either the `sid` or the `identi
          required: true
        - name: ConversationSid
          in: path
          type: string
          description: The unique SID identifier of the Conversation. This value can be either the `sid` or the `unique_name`
            of the [Conversation resource](https://www.twilio.com/doc
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deleteuserconversation
        method: DELETE
        description: Delete a specific User Conversation.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UserSid
          in: path
          type: string
          description: The unique SID identifier of the [User resource](https://www.twilio.com/docs/conversations/api/user-resource).
            This value can be either the `sid` or the `identi
          required: true
        - name: ConversationSid
          in: path
          type: string
          description: The unique SID identifier of the Conversation. This value can be either the `sid` or the `unique_name`
            of the [Conversation resource](https://www.twilio.com/doc
          required: true
      - name: fetchuserconversation
        method: GET
        description: Fetch a specific User Conversation.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UserSid
          in: path
          type: string
          description: The unique SID identifier of the [User resource](https://www.twilio.com/docs/conversations/api/user-resource).
            This value can be either the `sid` or the `identi
          required: true
        - name: ConversationSid
          in: path
          type: string
          description: The unique SID identifier of the Conversation. This value can be either the `sid` or the `unique_name`
            of the [Conversation resource](https://www.twilio.com/doc
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: conversations-users-rest
    port: 8080
    description: REST adapter for Twilio - Conversations — Users. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/users
      name: v1-users
      description: REST surface for v1-Users.
      operations:
      - method: POST
        name: createuser
        description: Add a new conversation user to your account's default service
        call: conversations-users.createuser
        with:
          X-Twilio-Webhook-Enabled: rest.X-Twilio-Webhook-Enabled
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listuser
        description: Retrieve a list of all conversation users in your account's default service
        call: conversations-users.listuser
        with:
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/users/{sid}
      name: v1-users-sid
      description: REST surface for v1-Users-Sid.
      operations:
      - method: POST
        name: updateuser
        description: Update an existing conversation user in your account's default service
        call: conversations-users.updateuser
        with:
          Sid: rest.Sid
          X-Twilio-Webhook-Enabled: rest.X-Twilio-Webhook-Enabled
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteuser
        description: Remove a conversation user from your account's default service
        call: conversations-users.deleteuser
        with:
          Sid: rest.Sid
          X-Twilio-Webhook-Enabled: rest.X-Twilio-Webhook-Enabled
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: fetchuser
        description: Fetch a conversation user from your account's default service
        call: conversations-users.fetchuser
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/users/{usersid}/conversations
      name: v1-users-usersid-conversations
      description: REST surface for v1-Users-UserSid-Conversations.
      operations:
      - method: GET
        name: listuserconversation
        description: Retrieve a list of all User Conversations for the User.
        call: conversations-users.listuserconversation
        with:
          UserSid: rest.UserSid
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/users/{usersid}/conversations/{conversationsid}
      name: v1-users-usersid-conversations-conversationsid
      description: REST surface for v1-Users-UserSid-Conversations-ConversationSid.
      operations:
      - method: POST
        name: updateuserconversation
        description: Update a specific User Conversation.
        call: conversations-users.updateuserconversation
        with:
          UserSid: rest.UserSid
          ConversationSid: rest.ConversationSid
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteuserconversation
        description: Delete a specific User Conversation.
        call: conversations-users.deleteuserconversation
        with:
          UserSid: rest.UserSid
          ConversationSid: rest.ConversationSid
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: fetchuserconversation
        description: Fetch a specific User Conversation.
        call: conversations-users.fetchuserconversation
        with:
          UserSid: rest.UserSid
          ConversationSid: rest.ConversationSid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conversations-users-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Conversations — Users. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: add-new-conversation-user-your
      description: Add a new conversation user to your account's default service
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversations-users.createuser
      with:
        X-Twilio-Webhook-Enabled: tools.X-Twilio-Webhook-Enabled
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-list-all-conversation-users
      description: Retrieve a list of all conversation users in your account's default service
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversations-users.listuser
      with:
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: update-existing-conversation-user-your
      description: Update an existing conversation user in your account's default service
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversations-users.updateuser
      with:
        Sid: tools.Sid
        X-Twilio-Webhook-Enabled: tools.X-Twilio-Webhook-Enabled
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: remove-conversation-user-your-account-s
      description: Remove a conversation user from your account's default service
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: conversations-users.deleteuser
      with:
        Sid: tools.Sid
        X-Twilio-Webhook-Enabled: tools.X-Twilio-Webhook-Enabled
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-conversation-user-your-account-s
      description: Fetch a conversation user from your account's default service
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversations-users.fetchuser
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-list-all-user-conversations
      description: Retrieve a list of all User Conversations for the User.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversations-users.listuserconversation
      with:
        UserSid: tools.UserSid
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: update-specific-user-conversation
      description: Update a specific User Conversation.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conversations-users.updateuserconversation
      with:
        UserSid: tools.UserSid
        ConversationSid: tools.ConversationSid
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-specific-user-conversation
      description: Delete a specific User Conversation.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: conversations-users.deleteuserconversation
      with:
        UserSid: tools.UserSid
        ConversationSid: tools.ConversationSid
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-specific-user-conversation
      description: Fetch a specific User Conversation.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conversations-users.fetchuserconversation
      with:
        UserSid: tools.UserSid
        ConversationSid: tools.ConversationSid
      outputParameters:
      - type: object
        mapping: $.