Skip to main content

Prerequisites

  • Your Drift access token

Setup

Install the in Courier and enter your access token.
Salesloft acquired Drift. The legacy Drift API docs at devdocs.drift.com may no longer be available. See Salesloft’s developer documentation for current APIs.

Profile requirements

Drift addresses the recipient by email, so the profile you send to needs a email. Store it once with , which merges into the profile and creates it if it does not exist:
Then send to user_id and Courier resolves the address. For a one-off with no stored profile, pass it inline instead: "to": { "email": "sarah@acme-corp.com" }.

Send by user id

The call in every language, and the rest of the profile object.

Send to a recipient

Courier reads email off the saved profile, so preferences apply and the value can change without touching this code.

Overrides

covers the two levels and which one wins. You can override the request body, access token, URL, and headers. This example overrides the body and access token.

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.