Skip to content

Reserve a verify code before sending

POST
/v1/communications/reserve
curl --request POST \
--url https://api.fromenance.com/v1/communications/reserve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "recipient_hash": "example", "template_id": "example", "campaign_id": "example", "provider": "api", "from_address": "example", "expires_in_hours": 1 }'

For ESPs that need the code as a merge field before the send event exists. Complete it with PATCH /v1/communications/{id} or through the ESP webhook. Unfinished reservations expire after 24 hours and count as a coverage gap.

Media typeapplication/json
object
recipient_hash
string
/^hmac-sha256:[0-9a-f]{64}$/
template_id
string | null
<= 120 characters
campaign_id
string | null
<= 120 characters
provider
string
Allowed values: api sendgrid ses resend postmark mailgun sfmc braze relay journal generic
from_address
string
<= 320 characters
expires_in_hours
integer
>= 1 <= 72

Reserved

Media typeapplication/json
object
id
required
string
verify_code
required
string
expires_at
required
string
sandbox
required
boolean
Example
{
"verify_code": "KX73-PQ9G"
}