Available Operations
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
Path Parameters
Provider of the account you want to assign an application to
messengerviber_service_msgwhatsapprcsExternal id of the account you want to assign an application to. This is channel dependent. For Facebook it will be your Facebook Page ID, for Viber your Viber Service Message ID and for WhatsApp your WhatsApp number, for RCS it will be the RCS Agent ID.
78d335fa-323d-0114-9c3d-d6f0d48968cfThere is just one application allowed per an account. The application type must be type "messages". For more information please see Application API Spec
Example Request
nameThe account name
The array of associated application ids
12345678The external identifier for this account
abcd1234The external api key for this account
messengerThe provider (will be one of messenger, viber_service_msg, whatsapp, rcs).
messengerviber_service_msgwhatsapprcsaccessTokenThe provider access token (only for messenger)
Example Response
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
Path Parameters
Provider of the account you want to unlink an application from
messengerviber_service_msgwhatsapprcsExternal id of the account you want to unlink an application from
Id of the application you want to unlink
Available Operations
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
110optionalNameThe account name
The array of associated application ids
12345678The external identifier for this account
abcd1234The external api key for this account
whatsappThe provider (will be whatsapp).
myAccessTokenThe provider access token
https://api.nexmo.com/beta/chatapp-accounts?page_number=1&page_size=10https://api.nexmo.com/beta/chatapp-accounts?page_number=3&page_size=10https://api.nexmo.com/beta/chatapp-accounts?page_number=1&page_size=10https://api.nexmo.com/beta/chatapp-accounts?page_number=1&page_size=10https://api.nexmo.com/beta/chatapp-accounts?page_number=4&page_size=10Example Response
Facebook Messenger
Managing your Facebook Messenger account
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
12345678This is the unique identifier within the provider's domain. In this case it is the Page ID for your Facebook Page. Go to your Facebook Page, click "Settings", click "Messenger platform " scroll down to "Messenger link" to find your Page ID.
myAccessTokenThis is the Facebook Business Page token. You can obtain the token using one of the following methods:
- Linking your Facebook Business Page to your account with our Dashboard tool
- Requesting a Page Access Token using the steps in the Facebook token reference
optionalNameCustom account name
Contains a list of application IDs which are linked to the account.
- There is just one application allowed per an account.
- The application type must be type "messages".
Example Request
optionalNameThe account name
The array of associated application ids
12345678The external identifier for this account
abcd1234The external api key for this account
messengerThe provider (will be messenger).
myAccessTokenThe provider access token
Example Response
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
optionalNameThe account name
The array of associated application ids
12345678The external identifier for this account
abcd1234The external api key for this account
messengerThe provider (will be messenger).
myAccessTokenThe provider access token
Example Response
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
newNameThe new account name
updatedAccessTokenExample Request
newNameThe account name
The array of associated application ids
12345678The external identifier for this account. In this case it is the Facebook Page ID.
abcd1234The external api key for this account
messengerThe provider (will be messenger).
updatedAccessTokenThe provider access token
Example Response
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
Viber Service Message
Managing your Viber Service Message account
Available Operations
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
optionalNameThe account name
The array of associated application ids
12345678The external identifier for this account
abcd1234The external api key for this account
viber_service_msgThe provider (will be viber_service_msg).
Example Response
Managing your Whatsapp account
Available Operations
Authentication
This API supports both JWT and Basic authentication. Basic authentication is easier to get started with, but does not support advanced features such as ACLs.
You can use either JWT or Basic authentication, but not both at the same time.
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Your JSON web token. | Headers | Bearer <JWT> |
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
optionalNameThe account name
The array of associated application ids
12345678The external identifier for this account
abcd1234The external api key for this account
whatsappThe provider (will be whatsapp).