Prerequisites
Before you build the Zap, generate an API key in Conversion.1
Open API Keys settings
In Conversion, go to Settings → API Keys and create a new key.
2
Name the key
Use a descriptive name so you can identify which integration it belongs to. We recommend the convention
Zapier + <workflow name> (for example, Zapier — Lead Capture Form). This makes the key easy to audit and revoke later if a single Zap needs to be retired.3
Copy the key
Copy the full key — it begins with
sk_live_. You’ll paste it into the Zapier webhook step in the next section.Send a contact from a Zapier webhook
Add a Webhooks by Zapier action to your Zap and configure it as follows.Action event
Choose Custom Request.Configuration
Data
Paste the JSON body below into the Data field, then replace the static values with mapped fields from the previous step in your Zap.emailis required to identify the contact.subscriptionStatuscontrols marketing opt-in state. Allowed values:SUBSCRIBED,UNSUBSCRIBED,NO_STATUS.fieldsaccepts any contact field key configured in your Conversion instance.
Headers
Add two headers to the webhook step:Test the step
Run Zapier’s built-in test for the step. On success you’ll receive a200 response with a cnvContactId:
401, double-check that the X-API-Key header is set and the key hasn’t been revoked. See Authentication and the API Overview for the full error reference.
Related
Authentication
How API keys work and how to authenticate requests.
API Overview
Base URL, response envelope, status codes, and error codes for the Conversion API.