Chat Bridge API

Voices omnichannel messaging platform
Chat Bridge

Chat Bridge is the omnichannel messaging platform by Voices. Its public API lets you integrate the platform’s communication services into your own applications through an HTTP REST interface. All requests are authenticated with an App-Key and use JSON as the data exchange format.

Available channels

Coming soon

The following channels are part of the platform and will be added to this documentation soon:

SMS

SMS text messaging. Coming soon.

RCS

RCS rich messaging. Coming soon.

Email

Email delivery. Coming soon.

Getting started

To use the API you need an App-Key, which you can request from the Chat Bridge team. The App-Key comes preconfigured with the account and channel it is enabled for, so you don’t need to specify them on each request.

Include it in the x-api-key header of every request:

$curl https://connect.chatbridge.mx/v1/whatsapp/accounts \
> -H "x-api-key: YOUR_APP_KEY"

A single App-Key enables one channel. If you need to operate both Blaster and WhatsApp, request one App-Key per channel.

Authentication

Every request requires the x-api-key header. The following scenarios produce an authentication or authorization error. The Message column shows the literal string returned by the API:

ScenarioHTTPMessage
No x-api-key sent401Token de autenticación requerido
The x-api-key does not exist or is incorrect401App-key inválida
The App-Key is disabled401App-key inactiva
The App-Key has no access to the requested channel403Esta app-key no tiene acceso a este canal

Rate limiting

If your App-Key has a configured limit, a 60-second window applies. When exceeded, the API responds with status 429:

1{
2 "statusCode": 429,
3 "error": "Too Many Requests",
4 "message": "Has superado el límite de requests permitidos por minuto",
5 "errorCode": 300
6}

Error format

Every error follows the same structure:

1{
2 "statusCode": 400,
3 "error": "Bad Request",
4 "message": "Descripción del problema",
5 "errorCode": 301
6}
FieldTypeDescription
statusCodenumberHTTP status code.
errorstringHTTP error type.
messagestringHuman-readable description of the problem.
errorCodenumberInternal code, useful when reporting to support.
metadataobjectAdditional information (optional).

Support

For questions or to report an issue, contact the Chat Bridge team and include the errorCode shown in the error response.