Skip to main content

Prerequisites

Setup

1

Get your Vonage API credentials

In Vonage, open secret management and copy your API key and API secret.
2

Configure in Courier

Open the in Courier, enter your API key, API secret, and from number, then save.
The catalog also lists Vonage (Nexmo) under the provider key nexmo. It takes the same API key, API secret, and from number, and sends the same way, so an integration already on nexmo keeps working and needs no migration. Use vonage for a new integration. It is the one that reports provider errors back to Courier.
Addressing a recipient and sending are the same on every SMS provider, so they are documented once: and .

Overrides

covers the two levels and which one wins. Overrides change the request body and config Courier sends to Vonage. In config, override apiKey, apiSecret, fromNumber, and url. In body, override any message field.
Overrides are deep-merged into the request. Fields you set replace their counterparts, and fields you leave out are still sent. The full field list is in the Vonage SMS API docs.

Provider details

Courier recommends routing to the channel. Naming this key in routing.channels instead is supported, and sends through just this provider.

Send to a specific provider

When that is worth doing, and what you give up: failover, channel priority, and providers you add later.