Twilio

Twilio Chat v1

This is the public Twilio REST API.

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This is the public Twilio REST API.

Endpoints 40

ChatV1Channel

  • GETFetchChannel/v1/Services/:ServiceSid/Channels/:Sid
  • POSTUpdateChannel/v1/Services/:ServiceSid/Channels/:Sid
  • DELETEDeleteChannel/v1/Services/:ServiceSid/Channels/:Sid
  • GETListChannel/v1/Services/:ServiceSid/Channels?Type=public&PageSize=1&Page=0&PageToken=string
  • POSTCreateChannel/v1/Services/:ServiceSid/Channels

ChatV1Credential

  • GETListCredential/v1/Credentials?PageSize=1&Page=0&PageToken=string
  • POSTCreateCredential/v1/Credentials
  • GETFetchCredential/v1/Credentials/:Sid
  • POSTUpdateCredential/v1/Credentials/:Sid
  • DELETEDeleteCredential/v1/Credentials/:Sid

ChatV1Invite

  • GETFetchInvite/v1/Services/:ServiceSid/Channels/:ChannelSid/Invites/:Sid
  • DELETEDeleteInvite/v1/Services/:ServiceSid/Channels/:ChannelSid/Invites/:Sid
  • GETListInvite/v1/Services/:ServiceSid/Channels/:ChannelSid/Invites?Identity=identity&PageSize=1&Page=0&PageToken=string
  • POSTCreateInvite/v1/Services/:ServiceSid/Channels/:ChannelSid/Invites

ChatV1Member

  • GETFetchMember/v1/Services/:ServiceSid/Channels/:ChannelSid/Members/:Sid
  • POSTUpdateMember/v1/Services/:ServiceSid/Channels/:ChannelSid/Members/:Sid
  • DELETEDeleteMember/v1/Services/:ServiceSid/Channels/:ChannelSid/Members/:Sid
  • GETListMember/v1/Services/:ServiceSid/Channels/:ChannelSid/Members?Identity=string&PageSize=1&Page=0&PageToken=string
  • POSTCreateMember/v1/Services/:ServiceSid/Channels/:ChannelSid/Members

ChatV1Message

  • GETFetchMessage/v1/Services/:ServiceSid/Channels/:ChannelSid/Messages/:Sid
  • POSTUpdateMessage/v1/Services/:ServiceSid/Channels/:ChannelSid/Messages/:Sid
  • DELETEDeleteMessage/v1/Services/:ServiceSid/Channels/:ChannelSid/Messages/:Sid
  • GETListMessage/v1/Services/:ServiceSid/Channels/:ChannelSid/Messages?Order=asc&PageSize=1&Page=0&PageToken=string
  • POSTCreateMessage/v1/Services/:ServiceSid/Channels/:ChannelSid/Messages

ChatV1Role

  • GETFetchRole/v1/Services/:ServiceSid/Roles/:Sid
  • POSTUpdateRole/v1/Services/:ServiceSid/Roles/:Sid
  • DELETEDeleteRole/v1/Services/:ServiceSid/Roles/:Sid
  • GETListRole/v1/Services/:ServiceSid/Roles?PageSize=1&Page=0&PageToken=string
  • POSTCreateRole/v1/Services/:ServiceSid/Roles

ChatV1Service

  • GETFetchService/v1/Services/:Sid
  • POSTUpdateService/v1/Services/:Sid
  • DELETEDeleteService/v1/Services/:Sid
  • GETListService/v1/Services?PageSize=1&Page=0&PageToken=string
  • POSTCreateService/v1/Services

ChatV1User

  • GETFetchUser/v1/Services/:ServiceSid/Users/:Sid
  • POSTUpdateUser/v1/Services/:ServiceSid/Users/:Sid
  • DELETEDeleteUser/v1/Services/:ServiceSid/Users/:Sid
  • GETListUser/v1/Services/:ServiceSid/Users?PageSize=1&Page=0&PageToken=string
  • POSTCreateUser/v1/Services/:ServiceSid/Users

ChatV1UserChannel

  • GETList all Channels for a given User./v1/Services/:ServiceSid/Users/:UserSid/Channels?PageSize=1&Page=0&PageToken=stringList all Channels for a given User.

API details

Base URL
https://chat.twilio.com
Authentication
HTTP Basic authentication (username and password)
Operations
40 operations on 17 pathsGET 17POST 15DELETE 8
Main resources
ChatV1Channel 5ChatV1Credential 5ChatV1Member 5ChatV1Message 5ChatV1Role 5ChatV1Service 5ChatV1User 5ChatV1Invite 4ChatV1UserChannel 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio Chat v1 in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio Chat v1 collection, without the publisher's secrets.
  3. Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “FetchChannel” (GET /v1/Services/:ServiceSid/Channels/:Sid), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio Chat v1?

This is the public Twilio REST API. It is listed under Communication and has 40 endpoints.

Who publishes the Twilio Chat v1?

It is listed from Twilio's public API description (an OpenAPI document), not published by Twilio on Swastik Codes. Anyone who controls twilio.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Twilio Chat v1?

Requests go to https://chat.twilio.com. Endpoint paths are added to this base URL.

How do I authenticate with the Twilio Chat v1?

With HTTP Basic authentication (username and password).

How many endpoints does the Twilio Chat v1 have?

40 operations on 17 paths (17 GET, 15 POST, 8 DELETE). The largest groups are ChatV1Channel, ChatV1Credential, ChatV1Member, ChatV1Message.

Is forking the Twilio Chat v1 free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.