Gocertify offers a webhook integration that allows you to connect with other services, including automations tools like Zapier, Make and Tray.
This can be used to trigger automated actions each time a shopper is verified or claims an offer.
To go live simply provide the endpoint to the partners@gocertify.me - this endpoint will usually be generated by your iPaaS (Make.com, Zapier, Tray, etc) or by your IT team.
Authentication
If your webhook endpoint requires authentication, Gocertify can include a Bearer token with each request. This allows you to secure your endpoint and verify that incoming requests are from Gocertify.
When configured, all webhook requests will include an Authorization header:
Authorization: Bearer your-api-token
To set up authentication, provide your API token to your Gocertify account manager along with your webhook endpoint URL. The token will be securely stored and included in all webhook requests to your endpoint.
Authentication is optional. If your endpoint doesnβt require authentication, no changes are needed to your existing integration.
Webhook Events
We will send you two events. The first event happens at Step 1 of the flow below (Data sent to your CRM), and the second event happens at Step 3 (Verification status sent to CRM).
{
"state": "consent-intent", // β this means it's a "First request"
"email": "sarah@example.com",
"share_email": true, // β "true" if they want to share it
"phone_number": "+447881096570",
"share_phone_number": true,
"type": "Code", // β it could be "Code" or "Deal"
"pending_group_type": "Occupation", // β or "Open", for non-verification campaigns
"pending_group_parent": "Key Worker", // β or "Open", for non-verification campaigns
"pending_group_child": "NHS Worker", // β or "Open", for non-verification campaigns
"coupon_code": "", // β will be empty as the user hasn't get the coupon yet.
"token": "ABCD1234" // β our internal randomly generated identifier
"brand_slug": "amazon", // β the identifier of the customer
"campaign_id": 1234, // β the gocertify's campaign's identifier
"campaign_title": "20% OFF for Key Workers", // β the title of the campaign
"campaign_url": "https://secure.gocertify.me/at/amazon", // β the url of our campaign
"iframe_parent_url": "https://www.customer-website/keyworkers", // β might not be present
"date": Time.now.iso8601 // β the current date, in iso8601 format.
"message": "Join the NHS newsletter...", // β The complete text in the consent page
}