Channel Manager API

The Channel Manager API provides a way of managing configuration and data related to various messaging channels in the Vonage Messages API. Find out more at https://developer.vonage.com/en/api/channel-manager.

Baixar a especificação OpenAPI

WhatsApp WABAs

API endpoints relating to working with WhatsApp Business Accounts (WABAs)

List WhatsApp Business Accounts (WABAs)

List all WhatsApp Business Accounts (WABAs) that are associated with the Vonage account.

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Consulta Parâmetros

page
integer
Mín.1
Padrão1
exemplo1

Page number to retrieve

page_size
integer
Mín.1
Padrão10
exemplo20

Number of items to return per page

order
string

The order.

Deve ser uma das seguintes opções:ascdesc

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
page_size
integer
Mín.1
Padrão10
exemplo20

The size of the page

page
integer
Mín.1
Padrão1
exemplo1

The current page

total_pages
integer
Mín.1
exemplo42

Total number of pages

total_items
integer
exemplo871

The total number of items in the resource list

_embedded
object
wabas
array
waba_id
string
Obrigatório
exemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Obrigatório
exemploabc123

The API key of the Vonage account associated with the WhatsApp Business Account.

name
string
Obrigatório
exemploMy Business

The name of the WhatsApp Business Account.

account_review_status
string
Obrigatório
exemploApproved

The review status of the WhatsApp Business Account.

Deve ser uma das seguintes opções:PendingApprovedRejected
timezone_id
string
Obrigatório
exemplo58

The ID of the timezone of the WhatsApp Business Account.

currency
string
Obrigatório
exemploUSD

The currency of the WhatsApp Business Account.

solution_id
string
exemplo1234567890

The ID of the solution of the WhatsApp Business Account. Applies for WABAs onboarded through a partner solution

country
string
exemploUS

The country of the WhatsApp Business Account's owning Meta Business account.

business_id
string
exemplo224654643345

ID of the business manager or portfolio that contains the WhatsApp Business Account

business_name
string
exemploVonage Communication APIs & Conversational Commerce Platform

Name of the business manager or portfolio that contains the WhatsApp Business Account

status
string
PadrãoACTIVE
exemploACTIVE

WhatsApp Business Account status

Deve ser uma das seguintes opções:ACTIVEINELIGIBLENOT_STARTEDINELIGBLE_ON_BEHALF_OF_WABAPENDINGDELETEDMIGRATEDBANNEDRESTRICTEDRATE_LIMITEDFLAGGEDCONNECTEDDISCONNECTEDUNKNOWNUNVERIFIEDOFFLINE
whatsapp_business_manager_messaging_limit
string
exemploTIER_10K

Maximum number of unique WhatsApp user phone numbers that your Business Manager account can message, outside of a customer service window, within a moving 24-hour period. This limit is shared across all WhatsApp phone numbers owned by your business.

For more information on messaging limits see the Meta documentation.

Deve ser uma das seguintes opções:TIER_100KTIER_10KTIER_250TIER_2KTIER_UNLIMITEDUNTIERED
marketing_messages_onboarding_status
string
exemploELIGIBLE

Onboarding status of the WhatsApp Business account into Marketing Messages API.

Deve ser uma das seguintes opções:INELIGIBLE_ON_BEHALF_OF_WABAINELIGIBLE_INACTIVE_OR_RESTRICTEDINELIGIBLE_COUNTRY_NOT_SUPPORTEDINELIGIBLE_USING_WHATSAPP_BUSINESS_APPELIGIBLEPENDING_VALID_PAYMENT_METHODPENDING_INTERNAL_SETUPONBOARDED
_links
object

HAL links for page-based paginated collections

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

first
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

prev
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

next
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

last
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

Get a specific WhatsApp Business Account (WABA)

Retreive details of a specific WhatsApp Business Account (WABA).

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
waba_id
string
Obrigatório
exemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Obrigatório
exemploabc123

The API key of the Vonage account associated with the WhatsApp Business Account.

name
string
Obrigatório
exemploMy Business

The name of the WhatsApp Business Account.

account_review_status
string
Obrigatório
exemploApproved

The review status of the WhatsApp Business Account.

Deve ser uma das seguintes opções:PendingApprovedRejected
timezone_id
string
Obrigatório
exemplo58

The ID of the timezone of the WhatsApp Business Account.

currency
string
Obrigatório
exemploUSD

The currency of the WhatsApp Business Account.

solution_id
string
exemplo1234567890

The ID of the solution of the WhatsApp Business Account. Applies for WABAs onboarded through a partner solution

country
string
exemploUS

The country of the WhatsApp Business Account's owning Meta Business account.

business_id
string
exemplo224654643345

ID of the business manager or portfolio that contains the WhatsApp Business Account

business_name
string
exemploVonage Communication APIs & Conversational Commerce Platform

Name of the business manager or portfolio that contains the WhatsApp Business Account

status
string
PadrãoACTIVE
exemploACTIVE

WhatsApp Business Account status

Deve ser uma das seguintes opções:ACTIVEINELIGIBLENOT_STARTEDINELIGBLE_ON_BEHALF_OF_WABAPENDINGDELETEDMIGRATEDBANNEDRESTRICTEDRATE_LIMITEDFLAGGEDCONNECTEDDISCONNECTEDUNKNOWNUNVERIFIEDOFFLINE
whatsapp_business_manager_messaging_limit
string
exemploTIER_10K

Maximum number of unique WhatsApp user phone numbers that your Business Manager account can message, outside of a customer service window, within a moving 24-hour period. This limit is shared across all WhatsApp phone numbers owned by your business.

For more information on messaging limits see the Meta documentation.

Deve ser uma das seguintes opções:TIER_100KTIER_10KTIER_250TIER_2KTIER_UNLIMITEDUNTIERED
marketing_messages_onboarding_status
string
exemploELIGIBLE

Onboarding status of the WhatsApp Business account into Marketing Messages API.

Deve ser uma das seguintes opções:INELIGIBLE_ON_BEHALF_OF_WABAINELIGIBLE_INACTIVE_OR_RESTRICTEDINELIGIBLE_COUNTRY_NOT_SUPPORTEDINELIGIBLE_USING_WHATSAPP_BUSINESS_APPELIGIBLEPENDING_VALID_PAYMENT_METHODPENDING_INTERNAL_SETUPONBOARDED
_links
object
self
object

Link to the current resource (always required in HAL)

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

numbers
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

List Numbers for a WhatsApp Business Account (WABA)

List all Numbers associated with a WhatsApp Business Account (WABA).

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id/numbers

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

Consulta Parâmetros

page
integer
Mín.1
Padrão1
exemplo1

Page number to retrieve

page_size
integer
Mín.1
Padrão10
exemplo20

Number of items to return per page

order
string

The order.

Deve ser uma das seguintes opções:ascdesc

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
page_size
integer
Mín.1
Padrão10
exemplo20

The size of the page

page
integer
Mín.1
Padrão1
exemplo1

The current page

total_pages
integer
Mín.1
exemplo42

Total number of pages

total_items
integer
exemplo871

The total number of items in the resource list

_embedded
object
wabas
array
phone_number
string(e164)
Obrigatório
exemplo447451277751

The phone number associated with the WhatsApp Business Account.

number_id
string
Obrigatório
exemplo293464193855848

The ID of the phone number associated with the WhatsApp Business Account.

waba_id
string
Obrigatório
exemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Obrigatório
exemploabc123

The API key of the Vonage account associated with the WhatsApp Business Account.

verified_name
string
exemploMy Business

The WhatsApp display name for number

code_verification_status
string
exemploVERIFIED

Indicates the phone number's one-time password (OTP) verification status.

  • Only phone numbers with a VERIFIED status can be registered.
  • An EXPIRED status means that the phone number was previously verified but the 14 day verification period has ended. If the phone number is not registered, it will need to be verified again.
Deve ser uma das seguintes opções:NOT_VERIFIEDVERIFIEDEXPIRED
display_phone_number
string
exemplo+447451277751

How the number is displayed on WhatsApp accounts.

messaging_limit_tier
string
exemploTIER_100K

The messaging limit tier of the phone number. See WhatsApp messaging limits

Deve ser uma das seguintes opções:TIER_50TIER_250TIER_1KTIER_10KTIER_100KTIER_UNLIMITED
quality_score
object

The quality score of the phone number. See WhatsApp Business phone number’s quality rating

score
string
exemploGREEN

The quality score of the phone number.

  • GREEN: High quality
  • YELLOW: Medium quality
  • RED: Low quality
Deve ser uma das seguintes opções:GREENYELLOWRED
throughput
object

The throughput level of the phone number. Indication of throughput permissible by WhatsApp e.g. STANDARD is the default 80 messages/sec

level
string
exemploSTANDARD

The throughput rate of the phone number.

_links
object

HAL links for page-based paginated collections

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

first
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

prev
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

next
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

last
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

Get a specific WhatsApp Business Account (WABA) Number

Retreive details of a specific Number associated with a WhatsApp Business Account (WABA).

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id/numbers/:whatsapp_number

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

whatsapp_number
string(e164)
Obrigatório
exemplo447451277751

The WhatsApp number.

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
phone_number
string(e164)
Obrigatório
exemplo447451277751

The phone number associated with the WhatsApp Business Account.

number_id
string
Obrigatório
exemplo293464193855848

The ID of the phone number associated with the WhatsApp Business Account.

waba_id
string
Obrigatório
exemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Obrigatório
exemploabc123

The API key of the Vonage account associated with the WhatsApp Business Account.

verified_name
string
exemploMy Business

The WhatsApp display name for number

code_verification_status
string
exemploVERIFIED

Indicates the phone number's one-time password (OTP) verification status.

  • Only phone numbers with a VERIFIED status can be registered.
  • An EXPIRED status means that the phone number was previously verified but the 14 day verification period has ended. If the phone number is not registered, it will need to be verified again.
Deve ser uma das seguintes opções:NOT_VERIFIEDVERIFIEDEXPIRED
display_phone_number
string
exemplo+447451277751

How the number is displayed on WhatsApp accounts.

messaging_limit_tier
string
exemploTIER_100K

The messaging limit tier of the phone number. See WhatsApp messaging limits

Deve ser uma das seguintes opções:TIER_50TIER_250TIER_1KTIER_10KTIER_100KTIER_UNLIMITED
quality_score
object

The quality score of the phone number. See WhatsApp Business phone number’s quality rating

score
string
exemploGREEN

The quality score of the phone number.

  • GREEN: High quality
  • YELLOW: Medium quality
  • RED: Low quality
Deve ser uma das seguintes opções:GREENYELLOWRED
throughput
object

The throughput level of the phone number. Indication of throughput permissible by WhatsApp e.g. STANDARD is the default 80 messages/sec

level
string
exemploSTANDARD

The throughput rate of the phone number.

_links
object
self
object

Link to the current resource (always required in HAL)

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

Get the profile for a specific WhatsApp Business Account (WABA) Number

Retreive details of the profile for a specific Number associated with a WhatsApp Business Account (WABA).

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/numbers/:whatsapp_number/profile

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

whatsapp_number
string(e164)
Obrigatório
exemplo447451277751

The WhatsApp number.

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
about
string
exemploAbout my business

Information about the profile

address
string
exemplo123 Main Street, Anytown, USA

The address of the profile

description
string
exemploDescription of my business

The description of the profile

email
string
exemplobob@example.com

The email address of the profile

profile_picture_url
string(uri)
exemplohttps://example.com/profile.png

URL of picture for the profile. Profile picture must be a square JPG or PNG, with min dimensions of 192px x 192px, and max dimensions of 640 px x 640 px, and a max file size of 800 kb. If the image is larger, it will get automatically centre-cropped to fit these dimensions

websites
array

URLs of websites for the profile

vertical
string
exemploOTHER

The Industry or Business Category of the WhatsApp Profile

Deve ser uma das seguintes opções:APPARELAUTOBEAUTYEDUENTERTAINEVENT_PLANFINANCEGOVTGROCERYHEALTHHOTELNONPROFITOTHERPROF_SERVICESRESTAURANTRETAILTRAVEL
messaging_product
string
exemplowhatsapp

The messaging product with which the profile is associated.

Deve ser uma das seguintes opções:whatsapp
_links
object
self
object

Link to the current resource (always required in HAL)

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

Update the profile for a specific WhatsApp Business Account (WABA) Number

Update details of the profile for a specific Number associated with a WhatsApp Business Account (WABA).

patchhttps://api.nexmo.com/v1/channel-manager/whatsapp/numbers/:whatsapp_number/profile

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

whatsapp_number
string(e164)
Obrigatório
exemplo447451277751

The WhatsApp number.

Corpo da solicitação
Tipo de conteúdo
application/json

about
string
exemploAbout my business

Information about the profile

address
string
exemplo123 Main Street, Anytown, USA

The address of the profile

description
string
exemploDescription of my business

The description of the profile

email
string
exemplobob@example.com

The email address of the profile

profile_picture_url
string(uri)
exemplohttps://example.com/profile.png

URL of picture for the profile. Profile picture must be a square JPG or PNG, with min dimensions of 192px x 192px, and max dimensions of 640 px x 640 px, and a max file size of 800 kb. If the image is larger, it will get automatically centre-cropped to fit these dimensions

websites
array

URLs of websites for the profile

vertical
string
exemploOTHER

The Industry or Business Category of the WhatsApp Profile

Deve ser uma das seguintes opções:APPARELAUTOBEAUTYEDUENTERTAINEVENT_PLANFINANCEGOVTGROCERYHEALTHHOTELNONPROFITOTHERPROF_SERVICESRESTAURANTRETAILTRAVEL

Exemplo Solicitação

{
   "about": "About my business",
   "address": "123 Main Street, Anytown, USA",
   "description": "Description of my business",
   "email": "bob@example.com",
   "profile_picture_url": "https://example.com/profile.png",
   "websites": [
      "https://example.com",
      "https://example.org"
   ],
   "vertical": "OTHER"
}

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
about
string
exemploAbout my business

Information about the profile

address
string
exemplo123 Main Street, Anytown, USA

The address of the profile

description
string
exemploDescription of my business

The description of the profile

email
string
exemplobob@example.com

The email address of the profile

profile_picture_url
string(uri)
exemplohttps://example.com/profile.png

URL of picture for the profile. Profile picture must be a square JPG or PNG, with min dimensions of 192px x 192px, and max dimensions of 640 px x 640 px, and a max file size of 800 kb. If the image is larger, it will get automatically centre-cropped to fit these dimensions

websites
array

URLs of websites for the profile

vertical
string
exemploOTHER

The Industry or Business Category of the WhatsApp Profile

Deve ser uma das seguintes opções:APPARELAUTOBEAUTYEDUENTERTAINEVENT_PLANFINANCEGOVTGROCERYHEALTHHOTELNONPROFITOTHERPROF_SERVICESRESTAURANTRETAILTRAVEL
messaging_product
string
exemplowhatsapp

The messaging product with which the profile is associated.

Deve ser uma das seguintes opções:whatsapp
_links
object
self
object

Link to the current resource (always required in HAL)

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

WhatsApp Hosted ES Flow

API endpoints relating to working with WhatsApp Hosted Embedded Sign-up Flows

Operações disponíveis

Generate Hosted ES Flow URL

Generate a URL for the start page for WhatsApp hosted embedded sign-up flow based on the supplied partner solution ID.

posthttps://api.nexmo.com/v1/channel-manager/whatsapp/tp-registration/url

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Corpo da solicitação
Tipo de conteúdo
application/json

solution_id
string
Obrigatório
exemplo123456789111213

The partner solution ID.

api_key
string
exemploabc123

The API key of the Vonage account associated with the WhatsApp Business Account.

ttl
integer
Max259200
Padrão86400
exemplo300

The time-to-live for the URL in seconds.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string
Obrigatório
exemplo3amb0119-0196-42d1-8fb5-55a98s133546

The trace ID for the URL generation request.

url
string
Obrigatório
exemplohttps://tools.vonage.com/wa/partners/onboard?token=fhdhhdJhbGciOiJSUzI1NiJ9.eyJleHAiOjE3MjU5Njc1OTYsImp0aSI6ImQ1MmJhNmFjLWYxZjktNDdmNC05MTR_cFT1bVfkDhP-wgpKZibSbUoh9z-9KGD-wsmHxi0h7tTidpVhPNShfC5jmgiHtOQKXXv5NWb9OqoUraOMMpqCdNdXoN3ao-PeZX7axyYW_FQ6CeV9gDEPhAZ4urTi0uW4mCYGl3ULmA9Ps92r_wi2DJyRE_Kx2KahWtQd51yVpU6FfXgMb4odREEccDctT1Peo09wKgwBa1wsOkD7rrvkoQPqZ00VXcqOY1_LOO5tq4WJaKqtxX-U7VtDo9qyVUl8pdegZW6QWChQzGN4PkqXXLWcBlyrCtAYdhtWG8q6NM_6bARRjcGJlj0tQvE0PZ9AtafAQSPpOll5lcnUK8Ds

URL containing tokenized information and redirecting to ES flow start page.

Exemplo Resposta

WhatsApp Analytics

API endpoints relating to analytics data for WhatsApp

Get Template Analytics

Get analytics for a specific template.

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id/template-analytics

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

Consulta Parâmetros

template_ids
array

An array of the template_ids of the WhatsApp template(s).

start
string(timestamp)
exemplo2024-11-01

The start date and time in ISO-8601 format for the analytics data to be retrieved from, in the format YYYY-MM-DD.

end
string(timestamp)
exemplo2024-11-03

The end date and time in ISO-8601 format for the analytics data to be retrieved to, in the format YYYY-MM-DD. The maximum difference between the start and end dates is 90 days.

metric_types
array
exemplo[ "SENT", "DELIVERED" ]

An array of the metric types to retrieve analytics for. Possible values are SENT, DELIVERED, READ, and CLICKED.

Valores disponíveis:
SENT,DELIVERED,READ,CLICKED
granularity
string
exemploDAILY

The granularity at which you would like to retrieve the template analytics.

Deve ser uma das seguintes opções:DAILY

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
granularity
string
exemploDAILY
Deve ser uma das seguintes opções:DAILY
product_type
string
exemploCLOUD_API

The product type for which the template analytics were retrieved.

Deve ser uma das seguintes opções:CLOUD_APIMARKETING_MESSAGES_API_FOR_WHATSAPP
page_size
integer
exemplo100

The maximum number of template analytics returned per page.

_embedded
object
template_analytics
array
template_id
string
Obrigatório
exemplo458951126288942

The ID of the WhatsApp Template which the analytics data is for.

start
string(timestamp)
Obrigatório
exemplo1543543200

The UNIX timestamp for the start of the data point range.

end
string(timestamp)
Obrigatório
exemplo1543629600

The UNIX timestamp for the end of the data point range.

sent
integer
exemplo100

The number of messages sent using the WhatsApp Template.

delivered
integer
exemplo90

The number of messages delivered using the WhatsApp Template.

read
integer
exemplo80

The number of messages read using the WhatsApp Template.

clicked
integer
exemplo70

The number of messages clicked using the WhatsApp Template.

_links
object
self
object
href
string
exemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/template-analytics?template_ids=[458951126288937]&start=2024-11-10&end=2024-11-14&page_size=100&cursor=c2VsZj1udWxs

The URL to the current page of WhatsApp Template Analytics.

Exemplo Resposta

Get Messaging Analytics

Get analytics for WhatsApp messages

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id/messaging-analytics

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

Consulta Parâmetros

granularity
string
exemploDAILY

The granularity at which you would like to retrieve the analytics.

Deve ser uma das seguintes opções:HALF_HOURDAILYMONTHLY
start
string(timestamp)
exemplo2024-11-01

The start date and time in ISO-8601 format for the analytics data to be retrieved from, in the format YYYY-MM-DD.

end
string(timestamp)
exemplo2024-11-03

The end date and time in ISO-8601 format for the analytics data to be retrieved to, in the format YYYY-MM-DD. The maximum difference between the start and end dates is 90 days.

product_types
array
exemplo[ 0 ]

An array of the message types to retrieve analytics for. Possible values are 0 for notification messages and/or 2 for customer support messages. If not specified, analytics for all message types will be returned.

Valores disponíveis:
0,2
phone_numbers
array
exemplo[ "16505550111" ]

Phone numbers for which you would like to retrieve analytics. If not specified, analytics for all phone numbers associated with the WABA will be returned.

country_codes
array
exemplo[ "US" ]

Two-letter country codes for the countries for which you would like to retrieve analytics. If not specified, analytics for all countries will be returned.

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string
exemplo345688589250625

The ID of the WhatsApp Business Account.

granularity
string
exemploDAILY
Deve ser uma das seguintes opções:HALF_HOURDAILYMONTHLY
phone_numbers
array

Phone numbers for which the messaging analytics were retrieved.

country_codes
array
_embedded
object
messaging_analytics
array
start
string(timestamp)
Obrigatório
exemplo1543543200

The UNIX timestamp for the start of the data point range.

end
string(timestamp)
Obrigatório
exemplo1543629600

The UNIX timestamp for the end of the data point range.

sent
integer
Obrigatório
exemplo100

The number of messages sent using the WhatsApp Template.

delivered
integer
Obrigatório
exemplo90

The number of messages delivered within the data point range.

paging
object
cursors
object
before
string
exemploMAZDZD

The page before the first page in the current list

after
string
exemploMjQZD

The page after the last page in the current list

next
string(uri)
exemplohttps://api.nexmo.com/v2/channel-manager/wabas/106499765517625/messaging-analytics?after=MAZDZD

A URI to ge the next paginated page.

previous
string(uri)
exemplohttps://api.nexmo.com/v2/channel-manager/wabas/106499765517625/messaging-analytics?before=MjQZD

A URI to ge the previous paginated page.

Exemplo Resposta

Get Pricing Analytics

Get analytics for message pricing.

gethttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id/pricing-analytics

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

Consulta Parâmetros

start
string(timestamp)
exemplo2024-11-01

The start date and time in ISO-8601 format for the analytics data to be retrieved from, in the format YYYY-MM-DD.

end
string(timestamp)
exemplo2024-11-03

The end date and time in ISO-8601 format for the analytics data to be retrieved to, in the format YYYY-MM-DD. The maximum difference between the start and end dates is 90 days.

granularity
string
exemploDAILY

The granularity at which you would like to retrieve the analytics.

Deve ser uma das seguintes opções:HALF_HOURDAILYMONTHLY
phone_numbers
array
exemplo[ "16505550111" ]

Phone numbers for which you would like to retrieve analytics. If not specified, analytics for all phone numbers associated with the WABA will be returned.

country_codes
array
exemplo[ "US" ]

Two-letter country codes for the countries for which you would like to retrieve analytics. If not specified, analytics for all countries will be returned.

dimensions
array
exemplo[ "PRICING_CATEGORY" ]

List of breakdowns you would like to apply to your metrics. If empty, all results returned without any breakdowns.

Valores disponíveis:
PRICING_CATEGORY,PRICING_TYPE,COUNTRY,PHONE,TIER
tier
array
exemplo[ "0:100000" ]

The tier property value represents a concatenation of the lower and upper bounds for the tier specific to the market–category pair (country and pricing_category).

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
granularity
string
exemploDAILY
Deve ser uma das seguintes opções:HALF_HOURDAILYMONTHLY
product_type
string
exemploREGULAR

The product type for which the pricing analytics were retrieved.

Deve ser uma das seguintes opções:FREE_CUSTOMER_SERVICEFREE_ENTRY_POINTREGULAR
_embedded
object
pricing_analytics
array
start
string(timestamp)
exemplo1543543200

The UNIX timestamp for the start of the data point range.

end
string(timestamp)
exemplo1543629600

The UNIX timestamp for the end of the data point range.

volume
integer
exemplo100

The number of messages sent.

phone_number
string(e164)
exemplo14155552671

The phone number associated with the Messaging Analytics.

country
string
exemploUS

The country for the phone number associated with the Messaging Analytics.

tier
string
exemplo75000:150000

The pricing tier for the messages related to the Messaging Analytics.

pricing_type
string
exemploREGULAR

The pricing type for the messages related to the Messaging Analytics.

pricing_category
string
exemploAUTHENTICATION

The pricing category for the messages related to the Messaging Analytics.

paging
object
cursors
object
before
string
exemploMjQZD

The cursor the previous page of WhatsApp Pricing Analytics.

after
string
exemploMAZDZD

The cursor the next page of WhatsApp Pricing Analytics.

previous
string
exemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/pricing-analytics?before=MjQZD

The URL to the previous page of WhatsApp Pricing Analytics.

next
string
exemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/pricing-analytics?before=MAZDZD

The URL to the next page of WhatsApp Pricing Analytics.

Exemplo Resposta

Enable template analytics

Before you can fetch template analytics, Meta guidelines ask you to enable "insights". This endpoint will enable insights

patchhttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/:waba_id/enable_insights

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

waba_id
string
Obrigatório
exemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA).

Respostas

No Content - Resource successfully deleted

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging

WhatsApp Notification Subscriptions

API endpoints relating to subscriptions for WhatsApp Notification

List Notification Subscriptions

Get a list of all notification subscriptions for the main API key

gethttps://api.nexmo.com/v2/whatsapp-manager/subscriptions

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
array
Qualquer um dos
label
string
exemploMy WhatsApp Subscription

An optional label for the subscription

whatsapp_subscribe_types
string
exemploaccount_alerts,account_update

A comma-separated list of the WhatsApp notification types that the subscription is for. Supports all the notification types available for WhatsApp accounts listed here. When a new subscription is created, if this parameter is not specified then the subscription will include all of the subscription types.

vonage_subscribe_types
string
exemplovonage_number_onboarded

A comma-separated list of the Vonage notification types that the subscription is for.

Deve ser uma das seguintes opções:vonage_number_onboarded
created_at
string
exemplo2024-11-01T12:00:00Z

The date and time when the subscription was created, in ISO-8601 format.

id
string
exemplo9fa85698-c92a-4786-be0e-b5a489425120

The unique ID of the subscription

type
string
exemploslack

The subscription type

Deve ser uma das seguintes opções:slack
slack
object
Obrigatório

The Slack hook configuration for the subscription, where the subscription type is slack.

url
string(uri)
Obrigatório
exemplohttps://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

The URL of the Slack hook to which the WhatsApp notifications will be sent

Exemplo Resposta

Create a Notification Subscription

Create a new notification subscription for the main API key

posthttps://api.nexmo.com/v2/whatsapp-manager/subscriptions

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Corpo da solicitação
Tipo de conteúdo
application/json

Um dos
label
string
exemploMy WhatsApp Subscription

An optional label for the subscription

whatsapp_subscribe_types
string
exemploaccount_alerts,account_update

A comma-separated list of the WhatsApp notification types that the subscription is for. Supports all the notification types available for WhatsApp accounts listed here. When a new subscription is created, if this parameter is not specified then the subscription will include all of the subscription types.

vonage_subscribe_types
string
exemplovonage_number_onboarded

A comma-separated list of the Vonage notification types that the subscription is for.

Deve ser uma das seguintes opções:vonage_number_onboarded
created_at
string
exemplo2024-11-01T12:00:00Z

The date and time when the subscription was created, in ISO-8601 format.

id
string
exemplo9fa85698-c92a-4786-be0e-b5a489425120

The unique ID of the subscription

type
string
exemploslack

The subscription type

Deve ser uma das seguintes opções:slack
slack
object
Obrigatório

The Slack hook configuration for the subscription, where the subscription type is slack.

url
string(uri)
Obrigatório
exemplohttps://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

The URL of the Slack hook to which the WhatsApp notifications will be sent

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
Um dos
label
string
exemploMy WhatsApp Subscription

An optional label for the subscription

whatsapp_subscribe_types
string
exemploaccount_alerts,account_update

A comma-separated list of the WhatsApp notification types that the subscription is for. Supports all the notification types available for WhatsApp accounts listed here. When a new subscription is created, if this parameter is not specified then the subscription will include all of the subscription types.

vonage_subscribe_types
string
exemplovonage_number_onboarded

A comma-separated list of the Vonage notification types that the subscription is for.

Deve ser uma das seguintes opções:vonage_number_onboarded
created_at
string
exemplo2024-11-01T12:00:00Z

The date and time when the subscription was created, in ISO-8601 format.

id
string
exemplo9fa85698-c92a-4786-be0e-b5a489425120

The unique ID of the subscription

type
string
exemploslack

The subscription type

Deve ser uma das seguintes opções:slack
slack
object
Obrigatório

The Slack hook configuration for the subscription, where the subscription type is slack.

url
string(uri)
Obrigatório
exemplohttps://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

The URL of the Slack hook to which the WhatsApp notifications will be sent

Exemplo Resposta

Delete a Notification Subscription

Delete a notification subscription for the main API key

deletehttps://api.nexmo.com/v2/whatsapp-manager/subscriptions/:subscription_id

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

subscription_id
string
Obrigatório
exemplo9fa85698-c92a-4786-be0e-b5a489425120

The ID of the notification subscription to delete.

Respostas

No Content - Resource successfully deleted

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging

RCS Capability Checks

API endpoints relating to checking RCS capabilities of a device or devices

RCS Capabilities Device Check

Get RCS Capabilities for a Specific Device. Please note that this operation is deprecated, please refer to this one instead.

gethttps://api.nexmo.com/v1/channel-manager/rcs/agents/:sender_id/google/phones/:phone_number/capabilities

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>

Caminho Parâmetros

sender_id
string
Obrigatório
exemploVonageAgent

The Sender ID of your RCS Agent.

phone_number
string(e164)
Obrigatório
exemplo447700900001

The phone number of the device to check.

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
features
array

A list of RCS capabilities for the device being checked.

Valores disponíveis:
RICHCARD_STANDALONE,RICHCARD_CAROUSEL,ACTION_CREATE_CALENDAR_EVENT,ACTION_DIAL,ACTION_OPEN_URL,ACTION_SHARE_LOCATION,ACTION_VIEW_LOCATION

Exemplo Resposta

RCS Capabilities Device Check

Get RCS Capabilities for a Specific Device

posthttps://api.nexmo.com/v1/channel-manager/rcs/agents/:sender_id/devices/capabilities

Autenticação

Esta API oferece suporte tanto à autenticação JWT quanto à autenticação básica. A autenticação básica é mais fácil de começar a usar, mas não oferece suporte a recursos avançados, como ACLs.

Você pode usar ou a autenticação JWT ou a autenticação básica, mas não ambas ao mesmo tempo.

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

sender_id
string
Obrigatório
exemploVonageAgent

The Sender ID of your RCS Agent.

Corpo da solicitação
Tipo de conteúdo
application/json

msisdn
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

country
string
Obrigatório
exemploGB

The country code of the device to check.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
rcs_supported
boolean
exemplotrue

Indicates if RCS is supported on the device.

features
array

A list of RCS capabilities for the device being checked.

Valores disponíveis:
RICHCARD_STANDALONE,RICHCARD_CAROUSEL,ACTION_CREATE_CALENDAR_EVENT,ACTION_DIAL,ACTION_OPEN_URL,ACTION_SHARE_LOCATION,ACTION_VIEW_LOCATION

Exemplo Resposta

RCS Capabilities Bulk Check

Perform an RCS Capability Check for Multiple Devices. See the RCS Capability Checks documentation for more information.

posthttps://api.nexmo.com/v1/channel-manager/rcs/agents/:sender_id/google/:operation

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Seu token JSON da Web.
Saiba mais sobre os JWTs

Headers

Bearer <JWT>

Caminho Parâmetros

sender_id
string
Obrigatório
exemploVonageAgent

The Sender ID of your RCS Agent.

operation
string
Obrigatório

The operation to perform.

Deve ser uma das seguintes opções:users:batchGet

Corpo da solicitação
Tipo de conteúdo
application/json

users
array

An array of phone numbers to check.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
Um dos
reachableUsers
array

A list of specific numbers for devices that reachable for RCS messaging.

Exemplo Resposta»Response where 500 numbers or less submitted.

RCS Opt-out Management

API endpoints relating to managing RCS opt-outs

Get Opt-out Information

Retrieve RCS Opt-out information. Note: this feature is only available to accounts with RCS enabled; please contact your Vonage representative for more information.

gethttps://api.nexmo.com/v1/channel-manager/rcs/opt-out/:sender_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

sender_id
string
Obrigatório
exemploVonageAgent

The Sender ID of your RCS Agent.

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
enabled
boolean
exemplotrue

Indicates if opt-out is enabled for the user.

actions
array
Obrigatório

A list of actions available for opt-out.

keywords
array
Obrigatório

A list of keywords that trigger the action.

auto-reply
string
Obrigatório
exemploYou have opted out.

The auto-reply message sent when the action is triggered.

action
string
Obrigatório
exemploSTOP

The type of action.

Deve ser uma das seguintes opções:STOPSTARTCUSTOM

Exemplo Resposta

Update Opt-out Information

Update RCS Opt-out information. Note: this feature is only available to accounts with RCS enabled; please contact your Vonage representative for more information.

posthttps://api.nexmo.com/v1/channel-manager/rcs/opt-out/:sender_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

sender_id
string
Obrigatório
exemploVonageAgent

The Sender ID of your RCS Agent.

Corpo da solicitação
Tipo de conteúdo
application/json

enabled
boolean
exemplotrue

Indicates if opt-out is enabled for the user.

actions
array
Obrigatório

A list of actions available for opt-out.

keywords
array
Obrigatório

A list of keywords that trigger the action.

auto-reply
string
Obrigatório
exemploYou have opted out.

The auto-reply message sent when the action is triggered.

action
string
Obrigatório
exemploSTOP

The type of action.

Deve ser uma das seguintes opções:STOPSTARTCUSTOM

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
enabled
boolean
exemplotrue

Indicates if opt-out is enabled for the user.

actions
array
Obrigatório

A list of actions available for opt-out.

keywords
array
Obrigatório

A list of keywords that trigger the action.

auto-reply
string
Obrigatório
exemploYou have opted out.

The auto-reply message sent when the action is triggered.

action
string
Obrigatório
exemploSTOP

The type of action.

Deve ser uma das seguintes opções:STOPSTARTCUSTOM

Exemplo Resposta

RCS Brand Management

API endpoints relating to managing RCS Brands

List Brands

Retrieve a list of RCS Brands.

gethttps://api.nexmo.com/v1/channel-manager/rcs/brands

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
array
brands
array
Obrigatório
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploMy RCS Brand

The name of the RCS Brand.

Exemplo Resposta

Create Brand

Create a new RCS Brand.

posthttps://api.nexmo.com/v1/channel-manager/rcs/brands

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Corpo da solicitação
Tipo de conteúdo
application/json

id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploMy RCS Brand

The name of the RCS Brand.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

Created

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploMy RCS Brand

The name of the RCS Brand.

Exemplo Resposta

Update Brand

Update an existing RCS Brand.

patchhttps://api.nexmo.com/v1/channel-manager/rcs/brands/:brand_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

brand_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The Id of the Brand.

Corpo da solicitação
Tipo de conteúdo
application/json

id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploMy RCS Brand

The name of the RCS Brand.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploMy RCS Brand

The name of the RCS Brand.

Exemplo Resposta

Delete Brand

Delete an existing RCS Brand.

deletehttps://api.nexmo.com/v1/channel-manager/rcs/brands/:brand_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

brand_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The Id of the Brand.

Respostas

No Content - Resource successfully deleted

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging

RCS Agent Management

API endpoints relating to managing RCS Agents

List Agents

Retrieve a list of RCS Agents.

gethttps://api.nexmo.com/v1/channel-manager/rcs/agents

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Consulta Parâmetros

brand_id
string
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of an RCS Brand to filter by.

state
string
exemploDRAFT

The state of the RCS Agent to filter by.

Deve ser uma das seguintes opções:DRAFTCREATEDVERIFIEDLAUNCHEDREJECTEDUNLAUNCHED
agent_purpose
string
exemploTRANSACTIONAL

The agent_purpose of the RCS Agent to filter by.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
exemploCONVERSATIONAL

The billing_category of the RCS Agent to filter by.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
hosting_region
string
exemploNORTH_AMERICA

The hosting_region of the RCS Agent to filter by.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
page
integer
Mín.1
Padrão1
exemplo1

Page number to retrieve

page_size
integer
Mín.1
Padrão10
exemplo20

Number of items to return per page

order
string

The order.

Deve ser uma das seguintes opções:ascdesc

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
page
integer
Obrigatório
Mín.1
Padrão1
exemplo1

The current page

page_size
integer
Obrigatório
Mín.1
Padrão10
exemplo20

The size of the page

total_items
integer
Obrigatório
exemplo871

The total number of items in the resource list

total_pages
integer
Obrigatório
Mín.1
exemplo42

Total number of pages

_embedded
object
Obrigatório
agents
array
Obrigatório
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

test_devices
array
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

status
string
Obrigatório
exemploACCEPTED

The current status of the test device.

created_at
string(date-time)
Obrigatório
exemplo2023-01-01T12:00:00Z

The date and time when the test device was created.

carriers
object
id
string
Obrigatório
exemploatt-us

The id of the carrier.

launch_state
string
exemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Deve ser uma das seguintes opções:LAUNCH_STATE_UNSPECIFIEDLAUNCH_STATE_UNLAUNCHEDLAUNCH_STATE_PENDINGLAUNCH_STATE_LAUNCHEDLAUNCH_STATE_REJECTEDLAUNCH_STATE_SUSPENDEDLAUNCH_STATE_PENDING_UNLAUNCHLAUNCH_STATE_INVALID_IN_GMB
verification_details
object
status
string
exemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

launch_submitted_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent launch was submitted.

_links
object
Obrigatório

HAL links for page-based paginated collections

self
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

first
object
Obrigatório

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

prev
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

next
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

last
object

A single HAL link object

href
string
Obrigatório
exemplohttps://api.vonage.com/v1/resources/abc123

The URL for the resource

templated
boolean

Indicates if the href is a URI template

type
string
exemploapplication/json

Media type hint for the target resource

name
string
exemploresource-name

Secondary key for selecting link objects

title
string
exemploResource Title

Human-readable title for the link

Exemplo Resposta

Create Agent

Create a new RCS Agent.

posthttps://api.nexmo.com/v1/channel-manager/rcs/agents

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Corpo da solicitação
Tipo de conteúdo
application/json

id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

Created

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

Exemplo Resposta

Get Agent

Retrieve an existing RCS Agent.

gethttps://api.nexmo.com/v1/channel-manager/rcs/agents/:agent_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

agent_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

Agent ID

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

test_devices
array
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

status
string
Obrigatório
exemploACCEPTED

The current status of the test device.

created_at
string(date-time)
Obrigatório
exemplo2023-01-01T12:00:00Z

The date and time when the test device was created.

carriers
object
id
string
Obrigatório
exemploatt-us

The id of the carrier.

launch_state
string
exemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Deve ser uma das seguintes opções:LAUNCH_STATE_UNSPECIFIEDLAUNCH_STATE_UNLAUNCHEDLAUNCH_STATE_PENDINGLAUNCH_STATE_LAUNCHEDLAUNCH_STATE_REJECTEDLAUNCH_STATE_SUSPENDEDLAUNCH_STATE_PENDING_UNLAUNCHLAUNCH_STATE_INVALID_IN_GMB
verification_details
object
status
string
exemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

launch_submitted_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent launch was submitted.

Exemplo Resposta

Update Agent

Fully update an existing RCS Agent.

puthttps://api.nexmo.com/v1/channel-manager/rcs/agents/:agent_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

agent_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

Agent ID

Corpo da solicitação
Tipo de conteúdo
application/json

id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

test_devices
array
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

status
string
Obrigatório
exemploACCEPTED

The current status of the test device.

created_at
string(date-time)
Obrigatório
exemplo2023-01-01T12:00:00Z

The date and time when the test device was created.

carriers
object
id
string
Obrigatório
exemploatt-us

The id of the carrier.

launch_state
string
exemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Deve ser uma das seguintes opções:LAUNCH_STATE_UNSPECIFIEDLAUNCH_STATE_UNLAUNCHEDLAUNCH_STATE_PENDINGLAUNCH_STATE_LAUNCHEDLAUNCH_STATE_REJECTEDLAUNCH_STATE_SUSPENDEDLAUNCH_STATE_PENDING_UNLAUNCHLAUNCH_STATE_INVALID_IN_GMB
verification_details
object
status
string
exemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

launch_submitted_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent launch was submitted.

Exemplo Resposta

Partially Update Agent

Partially update an existing RCS Agent.

patchhttps://api.nexmo.com/v1/channel-manager/rcs/agents/:agent_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

agent_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

Agent ID

Corpo da solicitação
Tipo de conteúdo
application/json

id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
exemploDRAFT

The current state of the created RCS Agent.

application_settings
object
application_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the Vonage application with which to associate this agent.

basic_info
object
Obrigatório
brand_id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Obrigatório
exemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Obrigatório
exemploExampleCo-RCSAgent-1

A unique sender identifier on the Vonage platform. This cannot be blank, include whitespaces, or be changed after creation. The sender ID is used as the from value when sending RCS messages via the Messages API.

hosting_region
string
Obrigatório
exemploNORTH_AMERICA

The geographic location where your RCS business messaging service will be hosted and operated. This can affect data residency and compliance requirements.

Deve ser uma das seguintes opções:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Obrigatório
exemploTRANSACTIONAL

Specifies the intended use of the RCS Agent. This cannot be changed after creation.

Deve ser uma das seguintes opções:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Obrigatório
exemploCONVERSATIONAL

Specifies the billing category of the RCS Agent.

Deve ser uma das seguintes opções:CONVERSATIONALNON_CONVERSATIONAL
notes
string
exemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

DEPRECATED This parameter is deprecated and will be removed in future. It can still be included in the request for backward compatibility, but it will not have any effect on the RCS Agent.

carrier_requirements
object
agent_preview
object
Obrigatório
agent_access_instructions
string
Obrigatório
exemploProvide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. If you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. Test the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.

Agent access instructions specify how reviewers and testers can access and interact with your RBM agent during the review and testing phases before launch. This property provides guidance on methods for triggering agent functionality and testing various features.

urls
array
media_type
string
Obrigatório
exemploimage

The media type of the agent preview.

Deve ser uma das seguintes opções:imagevideo
url
string(uri)
exemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Obrigatório

A list of points of contact for the RCS Agent.

first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

job_title
string
Obrigatório
Max200
exemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Obrigatório

Traffic estimates for the RCS Agent.

average_global_traffic
string
Obrigatório
exemploTHOUSAND

Estimated global traffic.

Deve ser uma das seguintes opções:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Obrigatório
exemploONCE_PER_MONTH

Estimated message rate per user.

Deve ser uma das seguintes opções:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Obrigatório
exemploHUNDRED

Estimated number of users targeted.

Deve ser uma das seguintes opções:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Obrigatório
interactions_description
string
Obrigatório
Max10000
exemploThis agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. Secondary interactions may include promotional offers for existing customers and appointment scheduling assistance.

This field describes the primary and secondary types of interactions your RBM agent will have with users. It outlines the conversational patterns, message types, and engagement scenarios your agent supports.

optin_description
string
Obrigatório
Max10000
exemploThis is a test environment. Customers consent to receive messages directly via request, phone, or email. Users can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. Opt-in confirmation includes details about message frequency and content type.

Details how users will provide consent to receive messages from your RBM agent. This must clearly explain the opt-in mechanism and what users can expect when they subscribe to your messaging service.

optout_description
string
Obrigatório
Max10000
exemploCustomers can unsubscribe from receiving messages by replying 'STOP' to any message. They can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, and can re-subscribe at any time by replying 'START'.

Explains how users can unsubscribe from receiving messages from your agent. Must describe the process for users to stop receiving communications and how your system handles these requests.

trigger_description
string
Obrigatório
Max10000
exemploThis account is used exclusively for sending test messages to introduce RCS capabilities to customers. Triggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, and weekly promotional campaigns for opted-in users.

Defines the external events or conditions that will cause your RBM agent to initiate conversations with users. These triggers determine when and why your agent sends the first message to users.

visual_design
object
brand_color
string
Obrigatório
exemplo#8860CD

The hexadecimal color code for the primary color used in UI elements. The specified color must meet WCAG 2.1 contrast ratio of 4.5:1 for legibility.

email
array
Obrigatório
address
string
Obrigatório
exemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
exemploCustomer Support

A label for the email address.

phone
array
Obrigatório
number
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

label
string
Max25
exemploCustomer Support

A label for the phone number.

tagline
string
Obrigatório
Max100
exemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Obrigatório
url
string(uri)
Obrigatório
exemplohttps://example.com
label
string
Max25
exemploCompany Website

A label for the website URL.

logo_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy6ycz7BnqOi4WKZlOmpkz

A publicly available URL of the logo image for the RCS Agent. The image must be 224px x 224px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 50 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The logo image is not modifiable after agent verification.

banner_image
string(uri)
Obrigatório
exemplohttps://agent-logos.storage.googleapis.com/_/mbsy64um0BwndPRK8ECPyeqb

A publicly available URL of the hero image for the RCS Agent. The image must be 1440px x 448px, with minimum contrast ratio of 4.5:1 against a white background. Maximum file size of 200 KB. Supported types:

  • image/png
  • image/jpeg
  • image/jpg

Any image file not meeting the requirements will result in an error response. The banner image is not modifiable after agent verification.

privacy_policy
string(uri)
exemplohttps://www.example.com/privacy-policy

The publicly accessible URL of the privacy policy for the RCS Agent.

terms_of_service
string(uri)
exemplohttps://www.example.com/terms-of-service

The publicly accessible URL of the terms of service for the RCS Agent.

representative
object
first_name
string
Obrigatório
Max200
exemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Obrigatório
Max200
exemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Obrigatório
exemplojohn.doe@example.com

The email address of the representative.

brand_website
string(uri)
exemplohttps://www.example.com

The website URL of the brand represented by the RCS Agent.

created_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was created.

updated_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent was last updated.

test_devices
array
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

status
string
Obrigatório
exemploACCEPTED

The current status of the test device.

created_at
string(date-time)
Obrigatório
exemplo2023-01-01T12:00:00Z

The date and time when the test device was created.

carriers
object
id
string
Obrigatório
exemploatt-us

The id of the carrier.

launch_state
string
exemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Deve ser uma das seguintes opções:LAUNCH_STATE_UNSPECIFIEDLAUNCH_STATE_UNLAUNCHEDLAUNCH_STATE_PENDINGLAUNCH_STATE_LAUNCHEDLAUNCH_STATE_REJECTEDLAUNCH_STATE_SUSPENDEDLAUNCH_STATE_PENDING_UNLAUNCHLAUNCH_STATE_INVALID_IN_GMB
verification_details
object
status
string
exemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

launch_submitted_at
string(date-time)
exemplo2023-01-01T12:00:00Z

The date and time when the RCS Agent launch was submitted.

Exemplo Resposta

Get Carriers

Retrieve a list of available carriers for RCS.

gethttps://api.nexmo.com/v1/channel-manager/rcs/metadata/carriers

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Respostas
Tipo de conteúdo
application/json

OK

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
carriers
array
Obrigatório

A list of available carriers for RCS.

id
string
exemploverizon-us

A unique identifier for the carrier.

carrier
string
exemploVerizon

The name of the carrier.

country_letter_code
string
exemploUS

Code for the country where the carrier operates.

Exemplo Resposta

Add Carriers to Agent

Add carriers to an existing RCS Agent.

posthttps://api.nexmo.com/v1/channel-manager/rcs/agents/:agent_id/carriers

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

agent_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

Agent ID

Corpo da solicitação
Tipo de conteúdo
application/json

carriers
array
Obrigatório

An array of Carrier IDs to add to the RCS Agent.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

Accepted

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
message
string
Obrigatório
exemploCarriers accepted for processing

Exemplo Resposta

Add Test Devices to Agent

Add test devices to an existing RCS Agent.

posthttps://api.nexmo.com/v1/channel-manager/rcs/agents/:agent_id/test-devices

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

agent_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

Agent ID

Corpo da solicitação
Tipo de conteúdo
application/json

phone
string
Obrigatório
exemplo+14155552671

The phone number to add to the RCS Agent in E.164 format.

Exemplo Solicitação

Respostas
Tipo de conteúdo
application/json

Accepted

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
id
string(uuid)
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created test device.

phone
string(e164)
Obrigatório
exemplo447700900001

E.164 formatted phone number without + prefix

created_at
string(date-time)
Obrigatório
exemplo2023-01-01T12:00:00Z

The date and time when the test device was created.

status
string
Obrigatório
exemploACCEPTED

The current status of the test device.

Exemplo Resposta

Remove Test Device from Agent

Remove a test device from an existing RCS Agent.

deletehttps://api.nexmo.com/v1/channel-manager/rcs/agents/:agent_id/test-devices/:test_device_id

Autenticação

ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>

Caminho Parâmetros

agent_id
string
Obrigatório
exemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

Agent ID

test_device_id
string
Obrigatório
exemplo019809ba-a274-7bd2-aea0-f1f70f2210dc

Test Device Id

Respostas

No Content - Resource successfully deleted

Cabeçalho Parâmetros
X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging

API endpoints relating to generating RCS Deeplinks

Operações disponíveis

Generate an RCS deeplink for a specific RCS agent and use case. See the RCS Deeplinks documentation for more information.

posthttps://api.nexmo.com/v1/channel-manager/rcs/deeplink/generate
ChaveDescriçãoOndeExemplo
Authorization

Chave e segredo da API codificados em Base64, separados por dois pontos.
Leia mais

Headers

Basic <base64>
sender_id
string
Obrigatório
Max50
exemploacme_agent

Messages API sender ID (a.k.a. external ID) that identifies the RCS agent.

country
string
Obrigatório
Mín.2
Max2
exemploUS

ISO 3166-1 alpha-2 country code of the country where the deep link will operate.

prefilled_message
string
Max3072
exemploI'm interested in finding out about your new product. Please send me more details.

Optional pre-defined message that will be populated in the send-message dialog of the SMS/RCS app on the end user's device when the user opens the deep link.

fallback_number
string
exemplo+15550123456

Optional Vonage virtual number in E.164 format that will be used as the SMS fallback destination if the end user's device does not support RCS.

Exemplo Solicitação

OK

X-Request-Id
string(uuid)
exemplof94b4e56-604e-07e5-e5ad-5a7228618f81
A unique identifier for the request, used for tracking and debugging
deep_link
string(uri)
Obrigatório
exemplohttps://tools.vonage.com/rcs/v1/deeplink/jNiLGT29KY4RVzTczcA83NFFhv28Ut-bdnutpcG8OTv-7a8vt75f3ka1eyDh3L4KZTkJ9qgXHk

The generated RCS deeplink URL.

Exemplo Resposta