UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 133 kB
{"openapi":"3.0.1","servers":[{"url":"https://chat.twilio.com"}],"info":{"contact":{"email":"support@twilio.com","name":"Twilio Support","url":"https://support.twilio.com"},"description":"This is the public Twilio REST API.","license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"https://www.twilio.com/legal/tos","title":"Twilio - Chat","version":"1.55.0","x-apisguru-categories":["telecom","messaging"],"x-logo":{"url":"https://static1.twilio.com/marketing/bundles/marketing/img/logos/wordmark-red.svg"},"x-origin":[{"format":"openapi","url":"https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_chat_v2.json","version":"3.0"}],"x-providerName":"twilio.com","x-serviceName":"twilio_chat_v2"},"tags":[{"name":"ChatV2Binding"},{"name":"ChatV2Channel"},{"name":"ChatV2Credential"},{"name":"ChatV2Invite"},{"name":"ChatV2Member"},{"name":"ChatV2Message"},{"name":"ChatV2Role"},{"name":"ChatV2Service"},{"name":"ChatV2User"},{"name":"ChatV2UserBinding"},{"name":"ChatV2UserChannel"},{"name":"ChatV2Webhook"}],"paths":{"/v2/Credentials":{"description":"Credentials for push notifications channels","get":{"description":"","operationId":"ListCredential","parameters":[{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"credentials":{"items":{"$ref":"#/components/schemas/chat.v2.credential"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListCredentialResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Credential"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateCredential","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"ApiKey":{"description":"[GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential.","type":"string"},"Certificate":{"description":"[APN only] The URL encoded representation of the certificate. For example, \n`-----BEGIN CERTIFICATE-----\nMIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A==\n-----END CERTIFICATE-----`","type":"string"},"FriendlyName":{"description":"A descriptive string that you create to describe the new resource. It can be up to 64 characters long.","type":"string"},"PrivateKey":{"description":"[APN only] The URL encoded representation of the private key. For example,\n`-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG...\n-----END RSA PRIVATE KEY-----`","type":"string"},"Sandbox":{"description":"[APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production.","type":"boolean"},"Secret":{"description":"[FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging.","type":"string"},"Type":{"$ref":"#/components/schemas/credential_enum_push_service","description":"The type of push-notification service the credential is for. Can be: `gcm`, `fcm`, or `apn`.","type":"string"}},"required":["Type"],"title":"CreateCredentialRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.credential"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Credential"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","friendly_name","type"],"pathType":"list"}},"/v2/Credentials/{Sid}":{"delete":{"description":"","operationId":"DeleteCredential","parameters":[{"description":"The SID of the Credential resource to delete.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CR[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Credential"],"x-maturity":["GA"]},"description":"Credentials for push notifications channels","get":{"description":"","operationId":"FetchCredential","parameters":[{"description":"The SID of the Credential resource to fetch.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CR[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.credential"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Credential"],"x-maturity":["GA"]},"post":{"description":"","operationId":"UpdateCredential","parameters":[{"description":"The SID of the Credential resource to update.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^CR[0-9a-fA-F]{32}$","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"ApiKey":{"description":"[GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential.","type":"string"},"Certificate":{"description":"[APN only] The URL encoded representation of the certificate. For example, \n`-----BEGIN CERTIFICATE-----\nMIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A==\n-----END CERTIFICATE-----`","type":"string"},"FriendlyName":{"description":"A descriptive string that you create to describe the resource. It can be up to 64 characters long.","type":"string"},"PrivateKey":{"description":"[APN only] The URL encoded representation of the private key. For example,\n`-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG...\n-----END RSA PRIVATE KEY-----`","type":"string"},"Sandbox":{"description":"[APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production.","type":"boolean"},"Secret":{"description":"[FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging.","type":"string"}},"title":"UpdateCredentialRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.credential"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Credential"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","friendly_name","type"],"pathType":"instance"}},"/v2/Services":{"description":"Top level scope for all chat resources","get":{"description":"","operationId":"ListService","parameters":[{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"services":{"items":{"$ref":"#/components/schemas/chat.v2.service"},"type":"array"}},"title":"ListServiceResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Service"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateService","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"FriendlyName":{"description":"A descriptive string that you create to describe the new resource.","type":"string"}},"required":["FriendlyName"],"title":"CreateServiceRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Service"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","friendly_name","date_created"],"dependentProperties":{"bindings":{"mapping":{"service_sid":"sid"},"resource_url":"/v2/Services/{service_sid}/Bindings"},"channels":{"mapping":{"service_sid":"sid"},"resource_url":"/v2/Services/{service_sid}/Channels"},"roles":{"mapping":{"service_sid":"sid"},"resource_url":"/v2/Services/{service_sid}/Roles"},"users":{"mapping":{"service_sid":"sid"},"resource_url":"/v2/Services/{service_sid}/Users"}},"pathType":"list"}},"/v2/Services/{ServiceSid}/Bindings":{"description":"Push notification subscription for users","get":{"description":"","operationId":"ListBinding","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the Binding resources from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"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.","in":"query","name":"BindingType","schema":{"items":{"$ref":"#/components/schemas/binding_enum_binding_type","type":"string"},"type":"array"}},{"description":"The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details.","in":"query","name":"Identity","schema":{"items":{"type":"string"},"type":"array"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"bindings":{"items":{"$ref":"#/components/schemas/chat.v2.service.binding"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListBindingResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Binding"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","endpoint","identity"],"parent":"/Services/{Sid}","pathType":"list"}},"/v2/Services/{ServiceSid}/Bindings/{Sid}":{"delete":{"description":"","operationId":"DeleteBinding","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the Binding resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the Binding resource to delete.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^BS[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Binding"],"x-maturity":["GA"]},"description":"Push notification subscription for users","get":{"description":"","operationId":"FetchBinding","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the Binding resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the Binding resource to fetch.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^BS[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.binding"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Binding"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","endpoint","identity"],"parent":"/Services/{Sid}","pathType":"instance"}},"/v2/Services/{ServiceSid}/Channels":{"description":"Channels represent chat rooms","get":{"description":"","operationId":"ListChannel","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the Channel resources from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The visibility of the Channels to read. Can be: `public` or `private` and defaults to `public`.","in":"query","name":"Type","schema":{"items":{"$ref":"#/components/schemas/channel_enum_channel_type","type":"string"},"type":"array"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"channels":{"items":{"$ref":"#/components/schemas/chat.v2.service.channel"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListChannelResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Channel"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateChannel","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the Channel resource under.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/channel_enum_webhook_enabled_type","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Attributes":{"description":"A valid JSON string that contains application-specific data.","type":"string"},"CreatedBy":{"description":"The `identity` of the User that created the channel. Default is: `system`.","type":"string"},"DateCreated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was created. The default value is the current time set by the Chat service. Note that this should only be used in cases where a Channel is being recreated from a backup/separate source.","format":"date-time","type":"string"},"DateUpdated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was last updated. The default value is `null`. Note that this parameter should only be used in cases where a Channel is being recreated from a backup/separate source and where a Message was previously updated.","format":"date-time","type":"string"},"FriendlyName":{"description":"A descriptive string that you create to describe the new resource. It can be up to 64 characters long.","type":"string"},"Type":{"$ref":"#/components/schemas/channel_enum_channel_type","description":"The visibility of the channel. Can be: `public` or `private` and defaults to `public`.","type":"string"},"UniqueName":{"description":"An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the Channel resource's `sid` in the URL. This value must be 64 characters or less in length and be unique within the Service.","type":"string"}},"title":"CreateChannelRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Channel"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","unique_name","friendly_name"],"dependentProperties":{"invites":{"mapping":{"channel_sid":"sid","service_sid":"service_sid"},"resource_url":"/v2/Services/{service_sid}/Channels/{channel_sid}/Invites"},"members":{"mapping":{"channel_sid":"sid","service_sid":"service_sid"},"resource_url":"/v2/Services/{service_sid}/Channels/{channel_sid}/Members"},"messages":{"mapping":{"channel_sid":"sid","service_sid":"service_sid"},"resource_url":"/v2/Services/{service_sid}/Channels/{channel_sid}/Messages"},"webhooks":{"mapping":{"channel_sid":"sid","service_sid":"service_sid"},"resource_url":"/v2/Services/{service_sid}/Channels/{channel_sid}/Webhooks"}},"parent":"/Services/{Sid}","pathType":"list"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites":{"description":"Pending invitations to users to become channel members","get":{"description":"","operationId":"ListInvite","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the Invite resources from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Invite resources to read belong to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details.","in":"query","name":"Identity","schema":{"items":{"type":"string"},"type":"array"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"invites":{"items":{"$ref":"#/components/schemas/chat.v2.service.channel.invite"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListInviteResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Invite"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateInvite","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the Invite resource under.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the new Invite resource belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Identity":{"description":"The `identity` value that uniquely identifies the new resource's [User](https://www.twilio.com/docs/chat/rest/user-resource) within the [Service](https://www.twilio.com/docs/chat/rest/service-resource). See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more info.","type":"string"},"RoleSid":{"description":"The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) assigned to the new member.","maxLength":34,"minLength":34,"pattern":"^RL[0-9a-fA-F]{32}$","type":"string"}},"required":["Identity"],"title":"CreateInviteRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.invite"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Invite"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","identity","date_created"],"parent":"/Services/{ServiceSid}/Channels/{Sid}","pathType":"list"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}":{"delete":{"description":"","operationId":"DeleteInvite","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the Invite resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Invite resource to delete belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Invite resource to delete.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IN[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Invite"],"x-maturity":["GA"]},"description":"Pending invitations to users to become channel members","get":{"description":"","operationId":"FetchInvite","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the Invite resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Invite resource to fetch belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Invite resource to fetch.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IN[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.invite"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Invite"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","identity","date_created"],"parent":"/Services/{ServiceSid}/Channels/{Sid}","pathType":"instance"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members":{"description":"Users joined to specific channels","get":{"description":"","operationId":"ListMember","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the Member resources from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Member resources to read belong to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The [User](https://www.twilio.com/docs/chat/rest/user-resource)'s `identity` value of the Member resources to read. See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more details.","in":"query","name":"Identity","schema":{"items":{"type":"string"},"type":"array"},"x-twilio":{"pii":{"deleteSla":30,"handling":"standard"}}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"members":{"items":{"$ref":"#/components/schemas/chat.v2.service.channel.member"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListMemberResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Member"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateMember","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the Member resource under.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the new Member resource belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/member_enum_webhook_enabled_type","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Attributes":{"description":"A valid JSON string that contains application-specific data.","type":"string"},"DateCreated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was created. The default value is the current time set by the Chat service. Note that this parameter should only be used when a Member is being recreated from a backup/separate source.","format":"date-time","type":"string"},"DateUpdated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was last updated. The default value is `null`. Note that this parameter should only be used when a Member is being recreated from a backup/separate source and where a Member was previously updated.","format":"date-time","type":"string"},"Identity":{"description":"The `identity` value that uniquely identifies the new resource's [User](https://www.twilio.com/docs/chat/rest/user-resource) within the [Service](https://www.twilio.com/docs/chat/rest/service-resource). See [access tokens](https://www.twilio.com/docs/chat/create-tokens) for more info.","type":"string"},"LastConsumedMessageIndex":{"description":"The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) in the [Channel](https://www.twilio.com/docs/chat/channels) that the Member has read. This parameter should only be used when recreating a Member from a backup/separate source.","nullable":true,"type":"integer"},"LastConsumptionTimestamp":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels).","format":"date-time","type":"string"},"RoleSid":{"description":"The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/rest/service-resource).","maxLength":34,"minLength":34,"pattern":"^RL[0-9a-fA-F]{32}$","type":"string"}},"required":["Identity"],"title":"CreateMemberRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.member"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Member"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","identity","date_created"],"parent":"/Services/{ServiceSid}/Channels/{Sid}","pathType":"list"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}":{"delete":{"description":"","operationId":"DeleteMember","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the Member resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Member resource to delete belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Member resource to delete. This value can be either the Member's `sid` or its `identity` value.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/member_enum_webhook_enabled_type","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Member"],"x-maturity":["GA"]},"description":"Users joined to specific channels","get":{"description":"","operationId":"FetchMember","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the Member resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Member resource to fetch belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Member resource to fetch. This value can be either the Member's `sid` or its `identity` value.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.member"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Member"],"x-maturity":["GA"]},"post":{"description":"","operationId":"UpdateMember","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to update the Member resource in.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Member resource to update belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Member resource to update. This value can be either the Member's `sid` or its `identity` value.","in":"path","name":"Sid","required":true,"schema":{"type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/member_enum_webhook_enabled_type","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Attributes":{"description":"A valid JSON string that contains application-specific data.","type":"string"},"DateCreated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was created. The default value is the current time set by the Chat service. Note that this parameter should only be used when a Member is being recreated from a backup/separate source.","format":"date-time","type":"string"},"DateUpdated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was last updated.","format":"date-time","type":"string"},"LastConsumedMessageIndex":{"description":"The index of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) that the Member has read within the [Channel](https://www.twilio.com/docs/chat/channels).","nullable":true,"type":"integer"},"LastConsumptionTimestamp":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp of the last [Message](https://www.twilio.com/docs/chat/rest/message-resource) read event for the Member within the [Channel](https://www.twilio.com/docs/chat/channels).","format":"date-time","type":"string"},"RoleSid":{"description":"The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the member. The default roles are those specified on the [Service](https://www.twilio.com/docs/chat/rest/service-resource).","maxLength":34,"minLength":34,"pattern":"^RL[0-9a-fA-F]{32}$","type":"string"}},"title":"UpdateMemberRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.member"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Member"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","identity","date_created"],"parent":"/Services/{ServiceSid}/Channels/{Sid}","pathType":"instance"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Messages":{"description":"Individual chat messages","get":{"description":"","operationId":"ListMessage","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the Message resources from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Message resource to read belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default.","in":"query","name":"Order","schema":{"$ref":"#/components/schemas/message_enum_order_type","type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/chat.v2.service.channel.message"},"type":"array"},"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"}},"title":"ListMessageResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Message"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateMessage","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the Message resource under.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the new Message resource belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/message_enum_webhook_enabled_type","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Attributes":{"description":"A valid JSON string that contains application-specific data.","type":"string"},"Body":{"description":"The message to send to the channel. Can be an empty string or `null`, which sets the value as an empty string. You can send structured data in the body by serializing it as a string.","type":"string"},"DateCreated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was created. The default value is the current time set by the Chat service. This parameter should only be used when a Chat's history is being recreated from a backup/separate source.","format":"date-time","type":"string"},"DateUpdated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was last updated.","format":"date-time","type":"string"},"From":{"description":"The [Identity](https://www.twilio.com/docs/chat/identity) of the new message's author. The default value is `system`.","type":"string"},"LastUpdatedBy":{"description":"The [Identity](https://www.twilio.com/docs/chat/identity) of the User who last updated the Message, if applicable.","type":"string"},"MediaSid":{"description":"The SID of the [Media](https://www.twilio.com/docs/chat/rest/media) to attach to the new Message.","maxLength":34,"minLength":34,"pattern":"^ME[0-9a-fA-F]{32}$","type":"string"}},"title":"CreateMessageRequest","type":"object"}}}},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.message"}}},"description":"Created"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Message"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","from","to","date_created"],"parent":"/Services/{ServiceSid}/Channels/{Sid}","pathType":"list"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Messages/{Sid}":{"delete":{"description":"","operationId":"DeleteMessage","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the Message resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Message resource to delete belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Message resource to delete.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IM[0-9a-fA-F]{32}$","type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/message_enum_webhook_enabled_type","type":"string"}}],"responses":{"204":{"description":"The resource was deleted successfully."}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Message"],"x-maturity":["GA"]},"description":"Individual chat messages","get":{"description":"","operationId":"FetchMessage","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the Message resource from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Message resource to fetch belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Message resource to fetch.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IM[0-9a-fA-F]{32}$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.message"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Message"],"x-maturity":["GA"]},"post":{"description":"","operationId":"UpdateMessage","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to update the Message resource in.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Message resource to update belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"The SID of the Message resource to update.","in":"path","name":"Sid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IM[0-9a-fA-F]{32}$","type":"string"}},{"description":"The X-Twilio-Webhook-Enabled HTTP request header","in":"header","name":"X-Twilio-Webhook-Enabled","schema":{"$ref":"#/components/schemas/message_enum_webhook_enabled_type","type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Attributes":{"description":"A valid JSON string that contains application-specific data.","type":"string"},"Body":{"description":"The message to send to the channel. Can be an empty string or `null`, which sets the value as an empty string. You can send structured data in the body by serializing it as a string.","type":"string"},"DateCreated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was created. The default value is the current time set by the Chat service. This parameter should only be used when a Chat's history is being recreated from a backup/separate source.","format":"date-time","type":"string"},"DateUpdated":{"description":"The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, to assign to the resource as the date it was last updated.","format":"date-time","type":"string"},"From":{"description":"The [Identity](https://www.twilio.com/docs/chat/identity) of the message's author.","type":"string"},"LastUpdatedBy":{"description":"The [Identity](https://www.twilio.com/docs/chat/identity) of the User who last updated the Message, if applicable.","type":"string"}},"title":"UpdateMessageRequest","type":"object"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/chat.v2.service.channel.message"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Message"],"x-maturity":["GA"]},"servers":[{"url":"https://chat.twilio.com"}],"x-twilio":{"defaultOutputProperties":["sid","from","to","date_created"],"parent":"/Services/{ServiceSid}/Channels/{Sid}","pathType":"instance"}},"/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Webhooks":{"description":"Webhooks for specific channels","get":{"description":"","operationId":"ListChannelWebhook","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) with the Channel to read the resources from.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the Channel Webhook resources to read belong to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}},{"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","in":"query","name":"PageSize","schema":{"maximum":1000,"minimum":1,"type":"integer"}},{"description":"The page index. This value is simply for client state.","in":"query","name":"Page","schema":{"minimum":0,"type":"integer"}},{"description":"The page token. This is provided by the API.","in":"query","name":"PageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"meta":{"properties":{"first_page_url":{"format":"uri","type":"string"},"key":{"type":"string"},"next_page_url":{"format":"uri","nullable":true,"type":"string"},"page":{"type":"integer"},"page_size":{"type":"integer"},"previous_page_url":{"format":"uri","nullable":true,"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"webhooks":{"items":{"$ref":"#/components/schemas/chat.v2.service.channel.channel_webhook"},"type":"array"}},"title":"ListChannelWebhookResponse","type":"object"}}},"description":"OK"}},"security":[{"accountSid_authToken":[]}],"tags":["ChatV2Webhook"],"x-maturity":["GA"]},"post":{"description":"","operationId":"CreateChannelWebhook","parameters":[{"description":"The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) with the Channel to create the Webhook resource under.","in":"path","name":"ServiceSid","required":true,"schema":{"maxLength":34,"minLength":34,"pattern":"^IS[0-9a-fA-F]{32}$","type":"string"}},{"description":"The SID of the [Channel](https://www.twilio.com/docs/chat/channels) the new Channel Webhook resource belongs to. This value can be the Channel resource's `sid` or `unique_name`.","in":"path","name":"ChannelSid","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"properties":{"Configuration.Filters":{"description":"The events that cause us to call the Channel Webhook. Used when `type` is `webhook`. This parameter takes only one event. To specify more than one event, repeat this parameter for each event. For the list of possible events, see [Webhook Event Triggers](https://www.twilio.com/docs/chat/webhook-events#webhook-event-trigger).","items":{"type":"string"},"type":"array"},"Configuration.FlowSid":{"description":"The SID of the Studio [Flow](https://www.twilio.com/docs/studio/rest-api/flow) to call when an event in `configuration.filters` occurs. Used only when `type` is `studio`.","maxLength":34,"minLength":34,"pattern":"^FW[0-9a-fA-F]{32}$","type":"string"},"Configuration.Method":{"$ref":"#/components/schemas/channel_webhook_enum_method","description":"The HTTP method used to call `configuration.url`. Can be: `GET` or `POST` and the default is `POST`.","type":"string"},"Configuration.RetryCount":{"description":"The number of times to retry the