POST twilio/conversation/token
Request Information
URI Parameters
None.
Body Parameters
ConversationTokenModelName | Description | Type | Additional information |
---|---|---|---|
AccountSID | string |
None. |
|
AuthToken | string |
None. |
|
ChatApiKey | string |
None. |
|
ChatApiSecret | string |
None. |
|
ChatServiceSid | string |
None. |
|
PushCredentialSid | string |
None. |
|
Identity | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "accountSID": "sample string 1", "authToken": "sample string 2", "chatApiKey": "sample string 3", "chatApiSecret": "sample string 4", "chatServiceSid": "sample string 5", "pushCredentialSid": "sample string 6", "identity": "sample string 7" }
application/xml, text/xml
Sample:
<ConversationTokenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AuthAPI.Models"> <AccountSID>sample string 1</AccountSID> <AuthToken>sample string 2</AuthToken> <ChatApiKey>sample string 3</ChatApiKey> <ChatApiSecret>sample string 4</ChatApiSecret> <ChatServiceSid>sample string 5</ChatServiceSid> <Identity>sample string 7</Identity> <PushCredentialSid>sample string 6</PushCredentialSid> </ConversationTokenModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |