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.

Descargar la especificación 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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Consulta Parámetros

page
integer
ejemplo1

The page number to retrieve.

page_size
integer
ejemplo50

The number of WhatsApp WABAs to return per page.

order
string

The order in which to return WhatsApp WABAs.

Debe ser uno de:ascdesc

Respuestas
Tipo de contenido
application/json

OK

page_size
integer
ejemplo50

The maximum number of WhatsApp WABAs returned per page.

page
integer
ejemplo1

The current page number within the set of pages.

total_pages
integer
ejemplo5

The total number of pages within the set of pages.

total_items
integer
ejemplo219

The total number of WhatsApp WABAs within the overall record set.

_embedded
object
wabas
array
waba_id
string
Requerido
ejemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Requerido
ejemploabc123

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

name
string
Requerido
ejemploMy Business

The name of the WhatsApp Business Account.

account_review_status
string
Requerido
ejemploApproved

The review status of the WhatsApp Business Account.

Debe ser uno de:PendingApprovedRejected
timezone_id
string
Requerido
ejemplo58

The ID of the timezone of the WhatsApp Business Account.

currency
string
Requerido
ejemploUSD

The currency of the WhatsApp Business Account.

solution_id
string
ejemplo1234567890

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

country
string
ejemploUS

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

business_id
string
ejemplo224654643345

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

business_name
string
ejemploVonage Communication APIs & Conversational Commerce Platform

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

status
string
Por defectoACTIVE

WhatsApp Business Account status

Debe ser uno de:ACTIVEINELIGIBLENOT_STARTEDINELIGBLE_ON_BEHALF_OF_WABAPENDINGDELETEDMIGRATEDBANNEDRESTRICTEDRATE_LIMITEDFLAGGEDCONNECTEDDISCONNECTEDUNKNOWNUNVERIFIEDOFFLINE
whatsapp_business_manager_messaging_limit
string

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.

Debe ser uno de:TIER_100KTIER_10KTIER_250TIER_2KTIER_UNLIMITEDUNTIERED
marketing_messages_onboarding_status
string

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

Debe ser uno de:INELIGIBLE_ON_BEHALF_OF_WABAINELIGIBLE_INACTIVE_OR_RESTRICTEDINELIGIBLE_COUNTRY_NOT_SUPPORTEDINELIGIBLE_USING_WHATSAPP_BUSINESS_APPELIGIBLEPENDING_VALID_PAYMENT_METHODPENDING_INTERNAL_SETUPONBOARDED
_links
object
self
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=1&page_size=50&order=asc

The URL to the current page of WhatsApp WABAs.

first
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=1&page_size=50&order=asc

The URL to the first page of WhatsApp WABAs.

last
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=5&page_size=50&order=asc

The URL to the last page of WhatsApp WABAs.

next
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=2&page_size=50&order=asc

The URL to the next page of WhatsApp WABAs.

prev
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=1&page_size=50&order=asc

The URL to the previous page of WhatsApp WABAs.

Ejemplo Respuesta

{
   "page_size": 50,
   "page": 1,
   "total_pages": 5,
   "total_items": 219,
   "_embedded": {
      "wabas": [
         {
            "waba_id": "345688589250625",
            "api_key": "abc123",
            "name": "My Business",
            "account_review_status": "Approved",
            "timezone_id": "58",
            "currency": "USD",
            "solution_id": "1234567890",
            "country": "US",
            "business_id": "224654643345",
            "business_name": "Vonage Communication APIs & Conversational Commerce Platform",
            "status": "ACTIVE",
            "whatsapp_business_manager_messaging_limit": "TIER_100K",
            "marketing_messages_onboarding_status": "INELIGIBLE_ON_BEHALF_OF_WABA"
         }
      ]
   },
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=1&page_size=50&order=asc"
      },
      "first": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=1&page_size=50&order=asc"
      },
      "last": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=5&page_size=50&order=asc"
      },
      "next": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=2&page_size=50&order=asc"
      },
      "prev": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas?page=1&page_size=50&order=asc"
      }
   }
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) to retrieve.

Respuestas
Tipo de contenido
application/json

OK

waba_id
string
Requerido
ejemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Requerido
ejemploabc123

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

name
string
Requerido
ejemploMy Business

The name of the WhatsApp Business Account.

account_review_status
string
Requerido
ejemploApproved

The review status of the WhatsApp Business Account.

Debe ser uno de:PendingApprovedRejected
timezone_id
string
Requerido
ejemplo58

The ID of the timezone of the WhatsApp Business Account.

currency
string
Requerido
ejemploUSD

The currency of the WhatsApp Business Account.

solution_id
string
ejemplo1234567890

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

country
string
ejemploUS

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

business_id
string
ejemplo224654643345

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

business_name
string
ejemploVonage Communication APIs & Conversational Commerce Platform

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

status
string
Por defectoACTIVE

WhatsApp Business Account status

Debe ser uno de:ACTIVEINELIGIBLENOT_STARTEDINELIGBLE_ON_BEHALF_OF_WABAPENDINGDELETEDMIGRATEDBANNEDRESTRICTEDRATE_LIMITEDFLAGGEDCONNECTEDDISCONNECTEDUNKNOWNUNVERIFIEDOFFLINE
whatsapp_business_manager_messaging_limit
string

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.

Debe ser uno de:TIER_100KTIER_10KTIER_250TIER_2KTIER_UNLIMITEDUNTIERED
marketing_messages_onboarding_status
string

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

Debe ser uno de:INELIGIBLE_ON_BEHALF_OF_WABAINELIGIBLE_INACTIVE_OR_RESTRICTEDINELIGIBLE_COUNTRY_NOT_SUPPORTEDINELIGIBLE_USING_WHATSAPP_BUSINESS_APPELIGIBLEPENDING_VALID_PAYMENT_METHODPENDING_INTERNAL_SETUPONBOARDED
_links
object
self
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625

The URL to the WhatsApp Business Account (WABA) being retrieved.

numbers
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers

The URL to list the phone numbers associated with the WhatsApp Business Account (WABA).

Ejemplo Respuesta

{
   "waba_id": "345688589250625",
   "api_key": "abc123",
   "name": "My Business",
   "account_review_status": "Approved",
   "timezone_id": "58",
   "currency": "USD",
   "solution_id": "1234567890",
   "country": "US",
   "business_id": "224654643345",
   "business_name": "Vonage Communication APIs & Conversational Commerce Platform",
   "status": "ACTIVE",
   "whatsapp_business_manager_messaging_limit": "TIER_100K",
   "marketing_messages_onboarding_status": "INELIGIBLE_ON_BEHALF_OF_WABA",
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625"
      },
      "numbers": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers"
      }
   }
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) with which the numbers are associated.

Consulta Parámetros

page
integer
ejemplo1

The page number to retrieve.

page_size
integer
ejemplo50

The number of WhatsApp WABAs to return per page.

order
string

The order in which to return WhatsApp WABAs.

Debe ser uno de:ascdesc

Respuestas
Tipo de contenido
application/json

OK

page_size
integer
ejemplo50

The maximum number of WABA numbers returned per page.

page
integer
ejemplo1

The current page number within the set of pages.

total_pages
integer
ejemplo5

The total number of pages within the set of pages.

total_items
integer
ejemplo219

The total number of WABA numbers within the overall record set.

_embedded
object
wabas
array
phone_number
string
Requerido
ejemplo447451277751

The phone number associated with the WhatsApp Business Account.

number_id
string
Requerido
ejemplo293464193855848

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

waba_id
string
Requerido
ejemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Requerido
ejemploabc123

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

verified_name
string
ejemploMy Business

The WhatsApp display name for number

code_verification_status
string
ejemploVERIFIED

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.
Debe ser uno de:NOT_VERIFIEDVERIFIEDEXPIRED
display_phone_number
string
ejemplo+447451277751

How the number is displayed on WhatsApp accounts.

messaging_limit_tier
string
ejemploTIER_100K

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

Debe ser uno de: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
ejemploGREEN

The quality score of the phone number.

  • GREEN: High quality
  • YELLOW: Medium quality
  • RED: Low quality
Debe ser uno de: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
ejemploSTANDARD

The throughput rate of the phone number.

_links
object
self
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751

The URL to the current page of WhatsApp WABAs.

first
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=1&page_size=50&order=asc

The URL to the first page of WhatsApp WABAs.

last
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=5&page_size=50&order=asc

The URL to the last page of WhatsApp WABAs.

next
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=2&page_size=50&order=asc

The URL to the next page of WhatsApp WABAs.

prev
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=1&page_size=50&order=asc

The URL to the previous page of WhatsApp WABAs.

Ejemplo Respuesta

{
   "page_size": 50,
   "page": 1,
   "total_pages": 5,
   "total_items": 219,
   "_embedded": {
      "wabas": [
         {
            "phone_number": "447451277751",
            "number_id": "293464193855848",
            "waba_id": "345688589250625",
            "api_key": "abc123",
            "verified_name": "My Business",
            "code_verification_status": "VERIFIED",
            "display_phone_number": "+447451277751",
            "messaging_limit_tier": "TIER_100K",
            "quality_score": {
               "score": "GREEN"
            },
            "throughput": {
               "level": "STANDARD"
            }
         }
      ]
   },
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751"
      },
      "first": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=1&page_size=50&order=asc"
      },
      "last": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=5&page_size=50&order=asc"
      },
      "next": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=2&page_size=50&order=asc"
      },
      "prev": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers?page=1&page_size=50&order=asc"
      }
   }
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) to retrieve.

whatsapp_number
string
Requerido
ejemplo447451277751

The whatsapp_number for which to retrieve the details.

Respuestas
Tipo de contenido
application/json

OK

phone_number
string
Requerido
ejemplo447451277751

The phone number associated with the WhatsApp Business Account.

number_id
string
Requerido
ejemplo293464193855848

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

waba_id
string
Requerido
ejemplo345688589250625

The ID of the WhatsApp Business Account.

api_key
string
Requerido
ejemploabc123

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

verified_name
string
ejemploMy Business

The WhatsApp display name for number

code_verification_status
string
ejemploVERIFIED

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.
Debe ser uno de:NOT_VERIFIEDVERIFIEDEXPIRED
display_phone_number
string
ejemplo+447451277751

How the number is displayed on WhatsApp accounts.

messaging_limit_tier
string
ejemploTIER_100K

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

Debe ser uno de: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
ejemploGREEN

The quality score of the phone number.

  • GREEN: High quality
  • YELLOW: Medium quality
  • RED: Low quality
Debe ser uno de: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
ejemploSTANDARD

The throughput rate of the phone number.

_links
object
self
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751

The URL to the WhatsApp Business Account (WABA) Number being retrieved.

Ejemplo Respuesta

{
   "phone_number": "447451277751",
   "number_id": "293464193855848",
   "waba_id": "345688589250625",
   "api_key": "abc123",
   "verified_name": "My Business",
   "code_verification_status": "VERIFIED",
   "display_phone_number": "+447451277751",
   "messaging_limit_tier": "TIER_100K",
   "quality_score": {
      "score": "GREEN"
   },
   "throughput": {
      "level": "STANDARD"
   },
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751"
      }
   }
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) with which the number is associated.

whatsapp_number
string
Requerido
ejemplo447451277751

The whatsapp_number for which to retrieve the profile details.

Respuestas
Tipo de contenido
application/json

OK

about
string
ejemploAbout my business

Information about the profile

address
string
ejemplo123 Main Street, Anytown, USA

The address of the profile

description
string
ejemploDescription of my business

The description of the profile

email
string
ejemplobob@example.com

The email address of the profile

profile_picture_url
string(uri)
ejemplohttps://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
ejemploOTHER

The Industry or Business Category of the WhatsApp Profile

Debe ser uno de:APPARELAUTOBEAUTYEDUENTERTAINEVENT_PLANFINANCEGOVTGROCERYHEALTHHOTELNONPROFITOTHERPROF_SERVICESRESTAURANTRETAILTRAVEL
messaging_product
string
ejemplowhatsapp

The messaging product with which the profile is associated.

Debe ser uno de:whatsapp
_links
object
self
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751

The URL to the profile being retrieved.

Ejemplo Respuesta

{
   "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",
   "messaging_product": "whatsapp",
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751"
      }
   }
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) with which the number is associated.

whatsapp_number
string
Requerido
ejemplo447451277751

The whatsapp_number for which to update the profile details.

Cuerpo de la solicitud
Tipo de contenido
application/json

about
string
ejemploAbout my business

Information about the profile

address
string
ejemplo123 Main Street, Anytown, USA

The address of the profile

description
string
ejemploDescription of my business

The description of the profile

email
string
ejemplobob@example.com

The email address of the profile

profile_picture_url
string(uri)
ejemplohttps://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
ejemploOTHER

The Industry or Business Category of the WhatsApp Profile

Debe ser uno de:APPARELAUTOBEAUTYEDUENTERTAINEVENT_PLANFINANCEGOVTGROCERYHEALTHHOTELNONPROFITOTHERPROF_SERVICESRESTAURANTRETAILTRAVEL

Ejemplo Solicitar

{
   "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"
}

Respuestas
Tipo de contenido
application/json

OK

about
string
ejemploAbout my business

Information about the profile

address
string
ejemplo123 Main Street, Anytown, USA

The address of the profile

description
string
ejemploDescription of my business

The description of the profile

email
string
ejemplobob@example.com

The email address of the profile

profile_picture_url
string(uri)
ejemplohttps://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
ejemploOTHER

The Industry or Business Category of the WhatsApp Profile

Debe ser uno de:APPARELAUTOBEAUTYEDUENTERTAINEVENT_PLANFINANCEGOVTGROCERYHEALTHHOTELNONPROFITOTHERPROF_SERVICESRESTAURANTRETAILTRAVEL
messaging_product
string
ejemplowhatsapp

The messaging product with which the profile is associated.

Debe ser uno de:whatsapp
_links
object
self
object
href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751

The URL to the profile being updated.

Ejemplo Respuesta

{
   "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",
   "messaging_product": "whatsapp",
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/numbers/447451277751"
      }
   }
}

WhatsApp Hosted ES Flow

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

Operaciones disponibles

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Cuerpo de la solicitud
Tipo de contenido
application/json

solution_id
string
Requerido
ejemplo123456789111213

The partner solution ID.

api_key
string
ejemploabc123

Sub-api-key of the end-client that the Partner wants to generate the ES flow URL for. If not provided, this defaults to Partner’s main api-key

ttl
integer
Max259200
Por defecto86400
ejemplo300

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

Ejemplo Solicitar

{
   "solution_id": "123456789111213",
   "api_key": "abc123",
   "ttl": 300
}

Respuestas
Tipo de contenido
application/json

OK

id
string
Requerido
ejemplo3amb0119-0196-42d1-8fb5-55a98s133546

The trace ID for the URL generation request.

url
string
Requerido
ejemplohttps://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.

Ejemplo Respuesta

{
   "id": "3amb0119-0196-42d1-8fb5-55a98s133546",
   "url": "https://tools.vonage.com/wa/partners/onboard?token=fhdhhdJhbGciOiJSUzI1NiJ9.eyJleHAiOjE3MjU5Njc1OTYsImp0aSI6ImQ1MmJhNmFjLWYxZjktNDdmNC05MTR_cFT1bVfkDhP-wgpKZibSbUoh9z-9KGD-wsmHxi0h7tTidpVhPNShfC5jmgiHtOQKXXv5NWb9OqoUraOMMpqCdNdXoN3ao-PeZX7axyYW_FQ6CeV9gDEPhAZ4urTi0uW4mCYGl3ULmA9Ps92r_wi2DJyRE_Kx2KahWtQd51yVpU6FfXgMb4odREEccDctT1Peo09wKgwBa1wsOkD7rrvkoQPqZ00VXcqOY1_LOO5tq4WJaKqtxX-U7VtDo9qyVUl8pdegZW6QWChQzGN4PkqXXLWcBlyrCtAYdhtWG8q6NM_6bARRjcGJlj0tQvE0PZ9AtafAQSPpOll5lcnUK8Ds"
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) for which to retrieve the template analytics data.

Consulta Parámetros

template_ids
array
Min1
Max10
ejemplo[ "458951126288937", "458951126288942" ]

An array of the template_ids of the template(s) to retrieve analytics for.

start
string(timestamp)
ejemplo2024-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)
ejemplo2024-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
ejemplo[ "SENT", "DELIVERED" ]

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

Valores disponibles:
SENT,DELIVERED,READ,CLICKED
granularity
string
ejemploDAILY

The granularity of the analytics data to be retrieved.

Debe ser uno de:DAILY

Respuestas
Tipo de contenido
application/json

OK

granularity
string
ejemploDAILY

The granularity of the template analytics retrieved.

Debe ser uno de:DAILY
product_type
string
ejemplocloud_api

The product type for which the template analytics were retrieved.

page_size
integer
ejemplo100

The maximum number of template analytics returned per page.

_embedded
object
template_analytics
array
template_id
string
Requerido
ejemplo458951126288942

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

start
string(date-time)
Requerido
ejemplo2024-11-11T00:00:00Z

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

end
string(date-time)
Requerido
ejemplo2024-11-11T00:00:00Z

The end date and time in ISO-8601 format for the analytics data to be retrieved to.

sent
integer
ejemplo100

The number of messages sent using the WhatsApp Template.

delivered
integer
ejemplo90

The number of messages delivered using the WhatsApp Template.

read
integer
ejemplo80

The number of messages read using the WhatsApp Template.

clicked
integer
ejemplo70

The number of messages clicked using the WhatsApp Template.

_links
object
self
object
href
string
ejemplohttps://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.

Ejemplo Respuesta

{
   "granularity": "DAILY",
   "product_type": "cloud_api",
   "page_size": 100,
   "_embedded": {
      "template_analytics": [
         {
            "template_id": "458951126288942",
            "start": "2024-11-11T00:00:00Z",
            "end": "2024-11-11T00:00:00Z",
            "sent": 100,
            "delivered": 90,
            "read": 80,
            "clicked": 70
         }
      ]
   },
   "_links": {
      "self": {
         "href": "https://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"
      }
   }
}

Get Messaging Analytics

Get analytics for WhatsApp messages

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) for which to retrieve the messaging analytics data.

Consulta Parámetros

granularity
string
ejemploHALF_HOUR

The granularity of the messaging analytics data to be retrieved.

Debe ser uno de:HALF_HOURDAILYMONTHLY
start
string(timestamp)
ejemplo2024-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)
ejemplo2024-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.

product_types
array
ejemplo[ 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 disponibles:
0,2
phone_numbers
array
ejemplo[ "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
ejemplo[ "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.

Respuestas
Tipo de contenido
application/json

OK

id
string
ejemplo345688589250625

The ID of the WhatsApp Business Account (WABA) for which the messaging analytics were retrieved.

granularity
string
ejemploHALF_HOUR

The granularity of the template analytics retrieved.

Debe ser uno de:HALF_HOURDAILYMONTHLY
phone_numbers
array

Phone numbers for which the messaging analytics were retrieved.

country_codes
array

Two-letter country codes for the countries for which the messaging analytics were retrieved.

_embedded
object
messaging_analytics
array
start
string(timestamp)
Requerido
ejemplo1543543200

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

end
string(timestamp)
Requerido
ejemplo1543629600

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

sent
integer
Requerido
ejemplo100

The number of messages sent within the data point range.

delivered
integer
Requerido
ejemplo90

The number of messages delivered within the data point range.

paging
object
cursors
object
before
string
ejemploMAZDZD

The page before the first page in the current list

after
string
ejemploMjQZD

The page after the last page in the current list

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

A URI to ge the next paginated page.

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

A URI to ge the previous paginated page.

Ejemplo Respuesta

{
   "id": "345688589250625",
   "granularity": "HALF_HOUR",
   "phone_numbers": [
      "16505550111"
   ],
   "country_codes": [
      "US"
   ],
   "_embedded": {
      "messaging_analytics": [
         {
            "start": "1543543200",
            "end": "1543629600",
            "sent": 100,
            "delivered": 90
         }
      ]
   },
   "paging": {
      "cursors": {
         "before": "MAZDZD",
         "after": "MjQZD"
      },
      "next": "https://api.nexmo.com/v2/channel-manager/wabas/106499765517625/messaging-analytics?after=MAZDZD",
      "previous": "https://api.nexmo.com/v2/channel-manager/wabas/106499765517625/messaging-analytics?before=MjQZD"
   }
}

Get Pricing Analytics

Get analytics for message pricing.

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

waba_id
string
Requerido
ejemplo345688589250625

The waba_id of the WhatsApp Business Account (WABA) for which to retrieve the pricing analytics data.

Consulta Parámetros

start
string(timestamp)
ejemplo2024-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)
ejemplo2024-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.

granularity
string
ejemploDAILY

The granularity of the analytics data to be retrieved.

Debe ser uno de:HALF_HOURDAILYMONTHLY
phone_numbers
array
ejemplo[ "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
ejemplo[ "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
ejemplo[ "PRICING_CATEGORY" ]

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

Valores disponibles:
PRICING_CATEGORY,PRICING_TYPE,COUNTRY,PHONE,TIER
tier
array
ejemplo[ "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).

Respuestas
Tipo de contenido
application/json

OK

granularity
string
ejemploDAILY

The granularity of the pricing analytics retrieved.

Debe ser uno de:DAILY
product_type
string
ejemplocloud_api

The product type for which the pricing analytics were retrieved.

_embedded
object
pricing_analytics
array
start
string(date-time)
ejemplo2024-11-11T00:00:00Z

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

end
string(date-time)
ejemplo2024-11-11T00:00:00Z

The end date and time in ISO-8601 format for the analytics data to be retrieved to.

volume
integer
ejemplo100

The number of messages sent.

phone_number
string
ejemplo14155552671

The phone number associated with the Messaging Analytics.

country
string
ejemploUS

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

tier
string
ejemplo75000:150000

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

pricing_type
string
ejemploREGULAR

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

pricing_category
string
ejemploAUTHENTICATION

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

paging
object
cursors
object
before
string
ejemploMjQZD

The cursor the previous page of WhatsApp Pricing Analytics.

after
string
ejemploMAZDZD

The cursor the next page of WhatsApp Pricing Analytics.

previous
string
ejemplohttps://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
ejemplohttps://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/pricing-analytics?before=MAZDZD

The URL to the next page of WhatsApp Pricing Analytics.

Ejemplo Respuesta

{
   "granularity": "DAILY",
   "product_type": "cloud_api",
   "_embedded": {
      "pricing_analytics": [
         {
            "start": "2024-11-11T00:00:00Z",
            "end": "2024-11-11T00:00:00Z",
            "volume": 100,
            "phone_number": "14155552671",
            "country": "US",
            "tier": "75000:150000",
            "pricing_type": "REGULAR",
            "pricing_category": "AUTHENTICATION"
         }
      ]
   },
   "paging": {
      "cursors": {
         "before": "MjQZD",
         "after": "MAZDZD"
      },
      "previous": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/pricing-analytics?before=MjQZD",
      "next": "https://api.nexmo.com/v1/channel-manager/whatsapp/wabas/345688589250625/pricing-analytics?before=MAZDZD"
   }
}

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Respuestas
Tipo de contenido
application/json

OK

array
Cualquiera de
created_at
timestamp
Requerido
ejemplo2024-11-01T12:00:00Z

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

id
string
Requerido
ejemplo9fa85698-c92a-4786-be0e-b5a489425120

The unique ID of the subscription

type
string
Requerido
ejemploslack

The subscription type

Debe ser uno de:slack
label
string
ejemploMy WhatsApp Subscription

An optional label for the subscription

whatsapp_subscribe_types
string
ejemploaccount_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
ejemplovonage_number_onboarded

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

Debe ser uno de:vonage_number_onboarded
slack
object
Requerido

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

url
string(uri)
Requerido
ejemplohttps://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

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

Ejemplo Respuesta

[
   {
      "id": "9fa85698-c92a-4786-be0e-b5a489425120",
      "type": "slack",
      "label": "My WhatsApp Slack Subscription",
      "whatsapp_subscribe_types": "account_alerts,account_update",
      "vonage_subscribe_types": "vonage_number_onboarded",
      "created_at": "2024-11-01T12:00:00Z",
      "slack": {
         "url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
      }
   },
   {
      "id": "8bceefe2-ebc8-4aa6-a4a3-73d837b3d416",
      "type": "webhook",
      "label": "My WhatsApp Webhook Subscription",
      "whatsapp_subscribe_types": "account_alerts,account_update",
      "vonage_subscribe_types": "vonage_number_onboarded",
      "created_at": "2024-11-01T12:00:00Z",
      "webhook": {
         "url": "https://example.com/webhook"
      }
   }
]

Create a Notification Subscription

Create a new notification subscription for the main API key

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Cuerpo de la solicitud
Tipo de contenido
application/json

Uno de
type
string
Requerido
ejemploslack

The type of subscription to create

Debe ser uno de:slack
label
string
ejemploMy WhatsApp Subscription

An optional label for the subscription

whatsapp_subscribe_types
string
ejemploaccount_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
ejemplovonage_number_onboarded

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

Debe ser uno de:vonage_number_onboarded
slack
object
Requerido

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

url
string(uri)
Requerido
ejemplohttps://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

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

Ejemplo Solicitar

{
   "label": "My WhatsApp Subscription",
   "whatsapp_subscribe_types": "account_alerts,account_update",
   "vonage_subscribe_types": "vonage_number_onboarded",
   "slack": {
      "url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
   },
   "type": "slack"
}

Respuestas
Tipo de contenido
application/json

OK

Uno de
created_at
timestamp
Requerido
ejemplo2024-11-01T12:00:00Z

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

id
string
Requerido
ejemplo9fa85698-c92a-4786-be0e-b5a489425120

The unique ID of the subscription

type
string
Requerido
ejemploslack

The subscription type

Debe ser uno de:slack
label
string
ejemploMy WhatsApp Subscription

An optional label for the subscription

whatsapp_subscribe_types
string
ejemploaccount_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
ejemplovonage_number_onboarded

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

Debe ser uno de:vonage_number_onboarded
slack
object
Requerido

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

url
string(uri)
Requerido
ejemplohttps://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX

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

Ejemplo Respuesta

{
   "label": "My WhatsApp Subscription",
   "whatsapp_subscribe_types": "account_alerts,account_update",
   "vonage_subscribe_types": "vonage_number_onboarded",
   "slack": {
      "url": "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
   },
   "created_at": "2024-11-01T12:00:00Z",
   "id": "9fa85698-c92a-4786-be0e-b5a489425120",
   "type": "slack"
}

Delete a Notification Subscription

Delete a notification subscription for the main API key

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

subscription_id
string
Requerido
ejemplo9fa85698-c92a-4786-be0e-b5a489425120

The ID of the notification subscription to delete.

Respuestas

No Content

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>

Ruta Parámetros

sender_id
string
Requerido
ejemploVonageAgent

The Sender ID of your RCS Agent.

phone_number
string
Requerido
ejemplo447900000000

The phone number of the device to check.

Respuestas
Tipo de contenido
application/json

OK

features
array

A list of RCS capabilities for the device being checked.

Valores disponibles:
RICHCARD,RICHCARD_CAROUSEL,CREATE_CALENDAR_EVENT,DIAL_PHONE_NUMBER,OPEN_URL,SHARE_LOCATION,VIEW_LOCATION

Ejemplo Respuesta

{
   "features": [
      "RICHCARD",
      "RICHCARD_CAROUSEL",
      "CREATE_CALENDAR_EVENT",
      "DIAL_PHONE_NUMBER",
      "OPEN_URL",
      "SHARE_LOCATION",
      "VIEW_LOCATION"
   ]
}

RCS Capabilities Device Check

Get RCS Capabilities for a Specific Device

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

Autenticación

Esta API admite tanto la autenticación JWT como la básica. La autenticación básica es más fácil para empezar, pero no admite funciones avanzadas como ACL.

Puede utilizar o bien la autenticación JWT o Basic, pero no ambas a la vez.

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

sender_id
string
Requerido
ejemploVonageAgent

The Sender ID of your RCS Agent.

Cuerpo de la solicitud
Tipo de contenido
application/json

msisdn
string
Requerido
ejemplo+447900000000

The phone number of the device to check in E.164 format.

country
string
Requerido
ejemploGB

The country code of the device to check.

Ejemplo Solicitar

{
   "msisdn": "+447900000000",
   "country": "GB"
}

Respuestas
Tipo de contenido
application/json

OK

rcs_supported
boolean
ejemplotrue

Indicates if RCS is supported on the device.

features
array

A list of RCS capabilities for the device being checked.

Valores disponibles:
RICHCARD_STANDALONE,RICHCARD_CAROUSEL,ACTION_CREATE_CALENDAR_EVENT,ACTION_DIAL,ACTION_OPEN_URL,ACTION_SHARE_LOCATION,ACTION_VIEW_LOCATION

Ejemplo Respuesta

{
   "rcs_supported": true,
   "features": [
      "RICHCARD_STANDALONE",
      "ACTION_CREATE_CALENDAR_EVENT",
      "ACTION_DIAL",
      "ACTION_OPEN_URL",
      "ACTION_SHARE_LOCATION",
      "ACTION_VIEW_LOCATION",
      "RICHCARD_CAROUSEL"
   ]
}

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Su token web JSON.
Más información sobre los JWT

Headers

Bearer <JWT>

Ruta Parámetros

sender_id
string
Requerido
ejemploVonageAgent

The Sender ID of your RCS Agent.

operation
string
Requerido

The operation to perform.

Debe ser uno de:users:batchGet

Cuerpo de la solicitud
Tipo de contenido
application/json

users
array

An array of phone numbers to check.

Ejemplo Solicitar

{
   "users": [
      "447900000000",
      "447900000001"
   ]
}

Respuestas
Tipo de contenido
application/json

OK

Uno de
reachableUsers
array

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

Ejemplo Respuesta»Response where 500 numbers or less submitted.

{
   "reachableUsers": [
      "447900000000",
      "447900000001"
   ]
}

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

sender_id
string
Requerido
ejemploVonageId123

The sender_id of the RCS Agent for which Opt-out information is being requested.

Respuestas
Tipo de contenido
application/json

OK

actions
array
Requerido

A list of actions available for opt-out.

keywords
array
Requerido

A list of keywords that trigger the action.

auto-reply
string
Requerido
ejemploYou have opted out.

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

action
string
Requerido
ejemploSTOP

The type of action.

Debe ser uno de:STOPSTARTCUSTOM
enabled
boolean
Requerido
ejemplotrue

Indicates if opt-out is enabled for the user.

Ejemplo Respuesta

{
   "actions": [
      {
         "keywords": [
            "STOP"
         ],
         "auto-reply": "You have opted out.",
         "action": "STOP"
      }
   ],
   "enabled": true
}

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

sender_id
string
Requerido
ejemploVonageId123

The sender_id of the RCS Agent for which Opt-out information is being updated.

Cuerpo de la solicitud
Tipo de contenido
application/json

actions
array
Requerido

A list of actions available for opt-out.

keywords
array
Requerido

A list of keywords that trigger the action.

auto-reply
string
Requerido
ejemploYou have opted out.

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

action
string
Requerido
ejemploSTOP

The type of action.

Debe ser uno de:STOPSTARTCUSTOM

Ejemplo Solicitar

{
   "actions": [
      {
         "keywords": [
            "STOP"
         ],
         "auto-reply": "You have opted out.",
         "action": "STOP"
      }
   ]
}

Respuestas
Tipo de contenido
application/json

OK

actions
array
Requerido

A list of actions available for opt-out.

keywords
array
Requerido

A list of keywords that trigger the action.

auto-reply
string
Requerido
ejemploYou have opted out.

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

action
string
Requerido
ejemploSTOP

The type of action.

Debe ser uno de:STOPSTARTCUSTOM
enabled
boolean
Requerido
ejemplotrue

Indicates if opt-out is enabled for the user.

Ejemplo Respuesta

{
   "actions": [
      {
         "keywords": [
            "STOP"
         ],
         "auto-reply": "You have opted out.",
         "action": "STOP"
      }
   ],
   "enabled": true
}

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Respuestas
Tipo de contenido
application/json

OK

array
brands
array
Requerido
id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Requerido
ejemploMy RCS Brand

The name of the RCS Brand.

Ejemplo Respuesta

[
   {
      "brands": [
         {
            "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
            "display_name": "My RCS Brand"
         }
      ]
   }
]

Create Brand

Create a new RCS Brand.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Cuerpo de la solicitud
Tipo de contenido
application/json

display_name
string
Requerido
Max100
ejemploMy RCS Brand

The name of the RCS Brand.

Ejemplo Solicitar

{
   "display_name": "My RCS Brand"
}

Respuestas
Tipo de contenido
application/json

Created

id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Requerido
ejemploMy RCS Brand

The name of the RCS Brand.

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "display_name": "My RCS Brand"
}

Update Brand

Update an existing RCS Brand.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

brand_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The brand_id of the RCS Brand to update.

Cuerpo de la solicitud
Tipo de contenido
application/json

display_name
string
Requerido
Max100
ejemploMy Updated RCS Brand

The name of the RCS Brand.

Ejemplo Solicitar

{
   "display_name": "My Updated RCS Brand"
}

Respuestas
Tipo de contenido
application/json

OK

id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the RCS Brand.

display_name
string
Requerido
ejemploMy RCS Brand

The name of the RCS Brand.

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "display_name": "My RCS Brand"
}

Delete Brand

Delete an existing RCS Brand.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

brand_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The brand_id of the RCS Brand to delete.

Respuestas

No Content

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Consulta Parámetros

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

The id of an RCS Brand to filter by.

state
string
ejemploDRAFT

The state of the RCS Agent to filter by.

Debe ser uno de:DRAFTCREATEDVERIFIEDLAUNCHEDREJECTEDUNLAUNCHED
agent_purpose
string
ejemploMULTI_USE

The agent_purpose of the RCS Agent to filter by.

Debe ser uno de:OTPMULTI_USEPROMOTIONALTRANSACTIONAL
billing_category
string
ejemploSINGLE_MESSAGE

The billing_category of the RCS Agent to filter by.

Debe ser uno de:SINGLE_MESSAGECONVERSATIONALBASIC_MESSAGE
hosting_region
string
ejemploNORTH_AMERICA

The hosting_region of the RCS Agent to filter by.

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
page_size
integer
ejemplo10

The number of results to return per page. Default is 20.

order
string
ejemploasc

The order in which to return the results.

Debe ser uno de:ascdesc
page
integer
ejemplo2

The page number to return. Default is 1.

Respuestas
Tipo de contenido
application/json

OK

_embedded
object
Requerido
agents
array
Requerido
id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
ejemploDRAFT

The current state of the created RCS Agent.

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

application_settings
object
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

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

The date and time when the RCS Agent was created.

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

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

test_devices
array
id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string
Requerido
ejemplo+1234567890

The phone number of the test device in E.164 format.

status
string
Requerido
ejemploACCEPTED

The current status of the test device.

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

The date and time when the test device was created.

carriers
object
id
string
Requerido
ejemploatt-us

The id of the carrier.

launch_state
string
ejemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Debe ser uno de: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
ejemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

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

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

_links
object
Requerido
self
object

The link for the current page.

href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/rcs/agents?page=1
first
object

The link for the next page.

href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/rcs/agents?page=1
last
object

The link for the previous page.

href
string
ejemplohttps://api.nexmo.com/v1/channel-manager/rcs/agents?page=10
page
integer
Requerido
ejemplo1

The current page number.

page_size
integer
Requerido
ejemplo10

The number of items per page.

total_items
integer
Requerido
ejemplo100

The total number of items.

total_pages
integer
Requerido
ejemplo10

The total number of pages.

Ejemplo Respuesta

{
   "_embedded": {
      "agents": [
         {
            "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
            "state": "DRAFT",
            "basic_info": {
               "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
               "display_name": "Example Co",
               "sender_id": "ExampleCo-RCSAgent-1",
               "hosting_region": "NORTH_AMERICA",
               "agent_purpose": "TRANSACTIONAL",
               "billing_category": "BASIC_MESSAGE",
               "notes": "This agent is used for transactional messages only."
            },
            "visual_design": {
               "brand_color": "#8860CD",
               "email": {
                  "address": "support@example.com",
                  "label": "Customer Support"
               },
               "phone": {
                  "number": "+1234567890",
                  "label": "Customer Support"
               },
               "tagline": "Your trusted partner in messaging.",
               "website": {
                  "address": "https://www.example.com"
               },
               "privacy_policy": "https://www.example.com/privacy-policy",
               "terms_of_service": "https://www.example.com/terms-of-service"
            },
            "application_settings": {
               "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
            },
            "representative": {
               "first_name": "John",
               "last_name": "Doe",
               "email": "john.doe@example.com",
               "brand_website": "https://www.example.com"
            },
            "carrier_requirements": {
               "agent_preview": {
                  "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
                  "urls": [
                     {
                        "media_type": "image",
                        "url": "https://www.example.com/rcs-agent-preview.jpg"
                     }
                  ]
               },
               "points_of_contact": [
                  {
                     "first_name": "Jane",
                     "last_name": "Smith",
                     "email": "jane.smith@example.com",
                     "job_title": "Technical Support"
                  }
               ],
               "traffic_estimates": {
                  "average_global_traffic": "THOUSAND",
                  "average_message_rate_per_user": "ONCE_PER_MONTH",
                  "users_targeted": "HUNDRED"
               },
               "user_experience": {
                  "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
                  "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
                  "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
                  "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
               }
            },
            "created_at": "2023-01-01T12:00:00Z",
            "updated_at": "2023-01-01T12:00:00Z",
            "test_devices": [
               {
                  "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
                  "phone": "+1234567890",
                  "status": "ACCEPTED",
                  "created_at": "2023-01-01T12:00:00Z"
               }
            ],
            "carriers": {
               "id": "att-us",
               "launch_state": "LAUNCH_STATE_UNLAUNCHED"
            },
            "verification_details": {
               "status": "VERIFICATION_STATE_UNVERIFIED"
            },
            "launch_submitted_at": "2023-01-01T12:00:00Z"
         }
      ]
   },
   "_links": {
      "self": {
         "href": "https://api.nexmo.com/v1/channel-manager/rcs/agents?page=1"
      },
      "first": {
         "href": "https://api.nexmo.com/v1/channel-manager/rcs/agents?page=1"
      },
      "last": {
         "href": "https://api.nexmo.com/v1/channel-manager/rcs/agents?page=10"
      }
   },
   "page": 1,
   "page_size": 10,
   "total_items": 100,
   "total_pages": 10
}

Create Agent

Create a new RCS Agent.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Cuerpo de la solicitud
Tipo de contenido
application/json

application_settings
object
Requerido
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
Requerido
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

Ejemplo Solicitar

{
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   }
}

Respuestas
Tipo de contenido
application/json

Created

id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
ejemploDRAFT

The current state of the created RCS Agent.

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

application_settings
object
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

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

The date and time when the RCS Agent was created.

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

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

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "state": "DRAFT",
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   },
   "created_at": "2023-01-01T12:00:00Z",
   "updated_at": "2023-01-01T12:00:00Z"
}

Get Agent

Retrieve an existing RCS Agent.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

agent_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The agent_id of the RCS Agent to retrieve.

Respuestas
Tipo de contenido
application/json

OK

id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
ejemploDRAFT

The current state of the created RCS Agent.

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

application_settings
object
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

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

The date and time when the RCS Agent was created.

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

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

test_devices
array
id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string
Requerido
ejemplo+1234567890

The phone number of the test device in E.164 format.

status
string
Requerido
ejemploACCEPTED

The current status of the test device.

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

The date and time when the test device was created.

carriers
object
id
string
Requerido
ejemploatt-us

The id of the carrier.

launch_state
string
ejemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Debe ser uno de: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
ejemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

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

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

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "state": "DRAFT",
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   },
   "created_at": "2023-01-01T12:00:00Z",
   "updated_at": "2023-01-01T12:00:00Z",
   "test_devices": [
      {
         "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
         "phone": "+1234567890",
         "status": "ACCEPTED",
         "created_at": "2023-01-01T12:00:00Z"
      }
   ],
   "carriers": {
      "id": "att-us",
      "launch_state": "LAUNCH_STATE_UNLAUNCHED"
   },
   "verification_details": {
      "status": "VERIFICATION_STATE_UNVERIFIED"
   },
   "launch_submitted_at": "2023-01-01T12:00:00Z"
}

Update Agent

Fully update an existing RCS Agent.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

agent_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The agent_id of the RCS Agent to update.

Cuerpo de la solicitud
Tipo de contenido
application/json

application_settings
object
Requerido
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
Requerido
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

representative
object
Requerido
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
Requerido
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

Ejemplo Solicitar

{
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   }
}

Respuestas
Tipo de contenido
application/json

Accepted

id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
ejemploDRAFT

The current state of the created RCS Agent.

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

application_settings
object
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

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

The date and time when the RCS Agent was created.

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

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

test_devices
array
id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string
Requerido
ejemplo+1234567890

The phone number of the test device in E.164 format.

status
string
Requerido
ejemploACCEPTED

The current status of the test device.

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

The date and time when the test device was created.

carriers
object
id
string
Requerido
ejemploatt-us

The id of the carrier.

launch_state
string
ejemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Debe ser uno de: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
ejemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

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

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

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "state": "DRAFT",
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   },
   "created_at": "2023-01-01T12:00:00Z",
   "updated_at": "2023-01-01T12:00:00Z",
   "test_devices": [
      {
         "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
         "phone": "+1234567890",
         "status": "ACCEPTED",
         "created_at": "2023-01-01T12:00:00Z"
      }
   ],
   "carriers": {
      "id": "att-us",
      "launch_state": "LAUNCH_STATE_UNLAUNCHED"
   },
   "verification_details": {
      "status": "VERIFICATION_STATE_UNVERIFIED"
   },
   "launch_submitted_at": "2023-01-01T12:00:00Z"
}

Partially Update Agent

Partially update an existing RCS Agent.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

agent_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The agent_id of the RCS Agent to update.

Cuerpo de la solicitud
Tipo de contenido
application/json

application_settings
object
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

basic_info
object
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

Ejemplo Solicitar

{
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   }
}

Respuestas
Tipo de contenido
application/json

Accepted

id
string(uuid)
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created RCS Agent.

state
string
ejemploDRAFT

The current state of the created RCS Agent.

basic_info
object
Requerido
brand_id
string
Requerido
ejemplo0198095f-f18a-7f75-aa0a-59c3dfd68802

The id of the RCS Brand with which to associate this agent.

display_name
string
Requerido
ejemploExample Co

The unique display name of the RCS Agent.

sender_id
string
Requerido
ejemploExampleCo-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
Requerido
ejemploNORTH_AMERICA

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

Debe ser uno de:NORTH_AMERICAEUROPEASIA_PACIFIC
agent_purpose
string
Requerido
ejemploTRANSACTIONAL

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

Debe ser uno de:PROMOTIONALTRANSACTIONALOTPMULTI_USE
billing_category
string
Requerido
ejemploBASIC_MESSAGE

Specifies the pricing model applied to messages sent via this RCS Agent.

Debe ser uno de:BASIC_MESSAGESINGLE_MESSAGECONVERSATIONAL
notes
string
ejemploThis agent is used for transactional messages only.

Additional notes or comments about the RCS Agent.

visual_design
object
brand_color
string
Requerido
ejemplo#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
object
Requerido
address
string
Requerido
ejemplosupport@example.com

The contact email address for the RCS Agent.

label
string
Max25
ejemploCustomer Support

A label for the email address.

phone
object
Requerido
number
string
Requerido
ejemplo+1234567890

End-user contact number in E.164 format.

label
string
Max25
ejemploCustomer Support

A label for the phone number.

tagline
string
Requerido
Max100
ejemploYour trusted partner in messaging.

A short phrase that represents the RCS Agent.

website
array
Requerido
address
string(uri)
Requerido
label
string
Max25
ejemploCompany Website

A label for the website URL.

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

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

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

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

application_settings
object
application_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

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

representative
object
first_name
string
Requerido
Max200
ejemploJohn

The first name of the representative for the RCS Agent.

last_name
string
Requerido
Max200
ejemploDoe

The last name of the representative for the RCS Agent.

email
string(email)
Requerido
ejemplojohn.doe@example.com

The email address of the representative.

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

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

carrier_requirements
object
agent_preview
object
Requerido
agent_access_instructions
string
Requerido
ejemploProvide 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
Requerido
ejemploimage

The media type of the agent preview.

Debe ser uno de:imagevideo
url
string(uri)
ejemplohttps://www.example.com/rcs-agent-preview.jpg

The URL to the agent preview.

points_of_contact
array
Requerido

A list of points of contact for the RCS Agent.

first_name
string
Requerido
Max200
ejemploJane

The first name of the point of contact.

last_name
string
Requerido
Max200
ejemploSmith

The last name of the point of contact.

email
string(email)
Requerido
ejemplojane.smith@example.com

The email address of the point of contact.

job_title
string
Requerido
Max200
ejemploTechnical Support

The job title of the point of contact.

traffic_estimates
object
Requerido

Traffic estimates for the RCS Agent.

average_global_traffic
string
Requerido
ejemploTHOUSAND

Estimated global traffic.

Debe ser uno de:THOUSANDTEN_THOUSANDFIFTY_THOUSANDHUNDRED_THOUSANDMILLIONMILLION_AND_MORE
average_message_rate_per_user
string
Requerido
ejemploONCE_PER_MONTH

Estimated message rate per user.

Debe ser uno de:ONCE_PER_MONTH2_4_TIMES_PER_MONTHONCE_PER_WEEK2_6_TIMES_PER_WEEKDAILYMULTIPLE_TIMES_PER_DAY
users_targeted
string
Requerido
ejemploHUNDRED

Estimated number of users targeted.

Debe ser uno de:HUNDREDTHOUSANDTEN_THOUSANDHUNDRED_THOUSANDHALF_MILLIONMILLIONMILLION_AND_MORE
user_experience
object
Requerido
interactions_description
string
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploThis 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
Requerido
Max10000
ejemploCustomers 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
Requerido
Max10000
ejemploThis 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.

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

The date and time when the RCS Agent was created.

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

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

test_devices
array
id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the test device.

phone
string
Requerido
ejemplo+1234567890

The phone number of the test device in E.164 format.

status
string
Requerido
ejemploACCEPTED

The current status of the test device.

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

The date and time when the test device was created.

carriers
object
id
string
Requerido
ejemploatt-us

The id of the carrier.

launch_state
string
ejemploLAUNCH_STATE_UNLAUNCHED

The launch state of the carrier.

Debe ser uno de: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
ejemploVERIFICATION_STATE_UNVERIFIED

The verification status of the RCS Agent.

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

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

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "state": "DRAFT",
   "basic_info": {
      "brand_id": "0198095f-f18a-7f75-aa0a-59c3dfd68802",
      "display_name": "Example Co",
      "sender_id": "ExampleCo-RCSAgent-1",
      "hosting_region": "NORTH_AMERICA",
      "agent_purpose": "TRANSACTIONAL",
      "billing_category": "BASIC_MESSAGE",
      "notes": "This agent is used for transactional messages only."
   },
   "visual_design": {
      "brand_color": "#8860CD",
      "email": {
         "address": "support@example.com",
         "label": "Customer Support"
      },
      "phone": {
         "number": "+1234567890",
         "label": "Customer Support"
      },
      "tagline": "Your trusted partner in messaging.",
      "website": {
         "address": "https://www.example.com"
      },
      "privacy_policy": "https://www.example.com/privacy-policy",
      "terms_of_service": "https://www.example.com/terms-of-service"
   },
   "application_settings": {
      "application_id": "78d335fa-323d-0114-9c3d-d6f0d48968cf"
   },
   "representative": {
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "brand_website": "https://www.example.com"
   },
   "carrier_requirements": {
      "agent_preview": {
         "agent_access_instructions": "Provide a method for reviewers to trigger the agent, such as a website where reviewers can invite and add phone numbers. \nIf you need a list of phone numbers to add as test devices, contact rbm-support@vonage.com. \nTest the agent by sending a keyword like 'HELP' or 'START' to initiate conversation flow.\n",
         "urls": [
            {
               "media_type": "image",
               "url": "https://www.example.com/rcs-agent-preview.jpg"
            }
         ]
      },
      "points_of_contact": [
         {
            "first_name": "Jane",
            "last_name": "Smith",
            "email": "jane.smith@example.com",
            "job_title": "Technical Support"
         }
      ],
      "traffic_estimates": {
         "average_global_traffic": "THOUSAND",
         "average_message_rate_per_user": "ONCE_PER_MONTH",
         "users_targeted": "HUNDRED"
      },
      "user_experience": {
         "interactions_description": "This agent handles customer support inquiries and provides product information. Primary interactions include order status updates, account notifications, and FAQ responses. \nSecondary interactions may include promotional offers for existing customers and appointment scheduling assistance.\n",
         "optin_description": "This is a test environment. Customers consent to receive messages directly via request, phone, or email. \nUsers can opt-in by visiting our website and providing their phone number, or by texting 'JOIN' to our SMS shortcode. \nOpt-in confirmation includes details about message frequency and content type.\n",
         "optout_description": "Customers can unsubscribe from receiving messages by replying 'STOP' to any message. \nThey can also contact us by email at support@company.com. Users will receive a confirmation message when successfully unsubscribed, \nand can re-subscribe at any time by replying 'START'.\n",
         "trigger_description": "This account is used exclusively for sending test messages to introduce RCS capabilities to customers. \nTriggers include: order placement confirmations, shipping notifications, appointment reminders, customer service escalations, \nand weekly promotional campaigns for opted-in users.\n"
      }
   },
   "created_at": "2023-01-01T12:00:00Z",
   "updated_at": "2023-01-01T12:00:00Z",
   "test_devices": [
      {
         "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
         "phone": "+1234567890",
         "status": "ACCEPTED",
         "created_at": "2023-01-01T12:00:00Z"
      }
   ],
   "carriers": {
      "id": "att-us",
      "launch_state": "LAUNCH_STATE_UNLAUNCHED"
   },
   "verification_details": {
      "status": "VERIFICATION_STATE_UNVERIFIED"
   },
   "launch_submitted_at": "2023-01-01T12:00:00Z"
}

Get Carriers

Retrieve a list of available carriers for RCS.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Respuestas
Tipo de contenido
application/json

OK

carriers
array
Requerido

A list of available carriers for RCS.

id
string
ejemploverizon-us

A unique identifier for the carrier.

carrier
string
ejemploVerizon

The name of the carrier.

country_letter_code
string
ejemploUS

Code for the country where the carrier operates.

Ejemplo Respuesta

{
   "carriers": [
      {
         "id": "verizon-us",
         "carrier": "Verizon",
         "country_letter_code": "US"
      }
   ]
}

Add Carriers to Agent

Add carriers to an existing RCS Agent.

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

agent_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The agent_id of the RCS Agent to which to add carriers.

Cuerpo de la solicitud
Tipo de contenido
application/json

carriers
array
Requerido

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

Ejemplo Solicitar

{
   "carriers": [
      "verizon-us"
   ]
}

Respuestas
Tipo de contenido
application/json

Accepted

message
string
Requerido
ejemploCarriers accepted for processing

Ejemplo Respuesta

{
   "message": "Carriers accepted for processing"
}

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

agent_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The agent_id of the RCS Agent to which to add test devices.

Cuerpo de la solicitud
Tipo de contenido
application/json

phone
string
Requerido
ejemplo+14155552671

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

Ejemplo Solicitar

{
   "phone": "+14155552671"
}

Respuestas
Tipo de contenido
application/json

Accepted

id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The unique ID of the created test device.

phone
string
Requerido
ejemplo+14155552671

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

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

The date and time when the test device was created.

status
string
Requerido
ejemploACCEPTED

The current status of the test device.

Ejemplo Respuesta

{
   "id": "78d335fa-323d-0114-9c3d-d6f0d48968cf",
   "phone": "+14155552671",
   "created_at": "2023-01-01T12:00:00Z",
   "status": "ACCEPTED"
}

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

Autenticación

ClaveDescripciónDóndeEjemplo
Authorization

Clave API codificada en Base64 y secreto unidos por dos puntos.
Seguir leyendo

Headers

Basic <base64>

Ruta Parámetros

agent_id
string
Requerido
ejemplo78d335fa-323d-0114-9c3d-d6f0d48968cf

The id of the RCS Agent from which to remove the test device.

test_device_id
string
Requerido
ejemplo019809ba-a274-7bd2-aea0-f1f70f2210dc

The id of the test device to remove.

Respuestas

No Content