WatificationDocs

n8n, Make and Zapier

Connect Watification to n8n, Make, or Zapier with an API key, webhook triggers, and contact and conversation actions.

Use this guide to connect Watification to n8n, Make, or Zapier. Watification has no app code to import for any of them yet. You build the connection yourself with the public API, using the routes below. These tools call the same API as your own backend.

n8n

A Watification node for n8n is coming. It is not published yet. Until it is, connect n8n with two built-in nodes:

  • The Webhook node receives events. Its production URL is the address Watification posts to.
  • The HTTP Request node calls the Watification API with your API key.
  1. In n8n, add a Webhook trigger node, set its method to POST, and copy its production URL.
  2. Create an API key under Developers > API keys. Select only the scopes the workflow needs. For a workflow that reacts to inbound messages, hooks.manage is enough. Add messages.send only if the workflow also sends messages.
  3. Subscribe the webhook to an event. In an HTTP Request node, send POST https://api.watification.com/api/v1/hooks with Authorization: Bearer <your key> and this JSON body:
POST /api/v1/hooks body
{
  "url": "https://n8n.example.com/webhook/REPLACE-WITH-YOUR-PATH",
  "event": "message.received",
  "source": "other"
}

event can be any webhook event type that is subscribable. Use other as source for n8n. zapier and make are for those tools.

  1. Verify each event's signature in your flow before you use its data. See Headers and signature.
  2. When the workflow is turned off, delete the hook with DELETE https://api.watification.com/api/v1/hooks/<hook id>, using the same key.

Use the other routes in this guide, such as contact and conversation actions, from HTTP Request nodes. Each route needs the scope listed in API keys and scopes.

Make and Zapier

This part of the guide is for someone building a Zapier app in the Zapier Platform UI, or a custom app in Make. Watification has no app code to import. You build the connection yourself with the public API, using the routes below. Zapier and Make both call the same API as your own backend.

Triggers use REST hooks: Zapier or Make gives Watification a URL, and Watification posts each matching event to it. Actions call the REST API directly.

Before you start

  1. Create an API key under Developers > API keys > Create API key, then select Copy API key. Select only the scopes the flow needs, such as read for dropdowns and contacts.write for contact actions. Store the key in the Zapier or Make connection, not in a shared document.
  2. Send the key on every request as Authorization: Bearer <your key>. See Authentication.
  3. Use the base URL https://api.watification.com. All paths below start with /api/v1.

Zapier and Make requests share the 20 requests per second per key limit with the other API routes. See Rate limits and errors.

Test the connection

Use this call for the connection test in Zapier, or the first request in a Make connection:

Connection test
curl -sS \
  -H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
  'https://api.watification.com/api/v1/me'
200 response
{
  "workspaceId": "11111111-1111-4111-8111-111111111111",
  "workspaceName": "Example Store"
}

A 401 API_KEY_INVALID response means the key is missing, wrong, or revoked. Show the workspace name to the user after the test passes, so they can confirm which workspace they connected.

Triggers (REST hooks)

A trigger subscribes to one event type. Use any event type listed in Webhook events, except ping. The examples use contact.created.

Subscribe

Create a hook
curl -sS -X POST \
  -H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "https://hooks.zapier.com/hooks/standard/example-hook-id/",
    "event": "contact.created",
    "source": "zapier"
  }' \
  'https://api.watification.com/api/v1/hooks'
201 response
{
  "id": "33333333-3333-4333-8333-333333333334",
  "secret": "whsec_REPLACE_WITH_SIGNING_SECRET"
}
  • url must be a public HTTPS URL, with the same rules as a webhook endpoint.
  • secret is the signing secret for this hook. It is returned once, in this response only. Store it with the hook id. Watification cannot show it again, so create a new hook if you lose it. Use it to verify the Watification-Signature header on each delivery, as described in Headers and signature.
  • event must be a known event type. An unknown type returns 400 EVENT_TYPE_INVALID.
  • source is zapier, make, or other.
  • Store the returned id. You need it to unsubscribe.
  • A hook is one event type, so use one hook per trigger. Hooks do not count toward the 5-endpoint limit of the dashboard. A workspace can have up to 50 hooks; creating another returns 422 HOOK_LIMIT.

Each delivery is a signed JSON request with the event envelope, the same as a webhook endpoint. See Webhook events for the payload of each type.

Unsubscribe

Delete a hook
curl -sS -X DELETE \
  -H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
  'https://api.watification.com/api/v1/hooks/33333333-3333-4333-8333-333333333334'

A successful call returns 204 No Content. An unknown or foreign id returns 404 HOOK_NOT_FOUND.

Watification also removes a hook by itself. When a delivery to the hook URL is answered with 410 Gone, the hook is deleted and no further events are sent to it. Zapier uses this to unsubscribe when a zap is turned off, so return 410 Gone from your own receiver to stop a hook the same way.

Sample data

Zapier and Make use a sample to build fields before the first real event. Request it with the event type:

Get a sample
curl -sS \
  -H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
  'https://api.watification.com/api/v1/hooks/samples/contact.created'

The response is an array with one event. It is the newest real delivery of that type in your workspace, or a static example when none exists yet.

200 response
[
  {
    "id": "99999999-9999-4999-8999-999999999994",
    "type": "contact.created",
    "createdAt": "2026-10-17T11:00:00.000Z",
    "data": {
      "contact": {
        "id": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
        "name": "Sara Example",
        "phone": "+15555550123",
        "email": null,
        "lifecycleStage": null,
        "labels": [],
        "fields": {}
      }
    }
  }
]

Zapier Platform UI

  1. Create a REST Hook trigger for each event.
  2. In Subscribe, send POST https://api.watification.com/api/v1/hooks with the JSON body { "url": bundle.targetUrl, "event": "<event type>", "source": "zapier" }. Save the returned id from the response in the subscribe data.
  3. In Unsubscribe, send DELETE https://api.watification.com/api/v1/hooks/<id> using the saved id.
  4. In Perform, return the event data from the webhook body.
  5. Set the sample request to GET https://api.watification.com/api/v1/hooks/samples/<event type>.
  6. Add the Authorization header to every request, using the key from the connection fields.

Make custom app

Create a custom app with an API key connection that sends Authorization: Bearer <key>. Use the connection test call above. For each trigger, create a hook with POST /api/v1/hooks when the scenario starts, and delete it with DELETE /api/v1/hooks/{id} when the scenario stops. Use the sample route to pick fields.

Actions

Create or find a contact

Create or find a contact
curl -sS -X POST \
  -H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
  -H 'Content-Type: application/json' \
  -d '{
    "phone": "+15555550123",
    "name": "Sara Example"
  }' \
  'https://api.watification.com/api/v1/contacts'
  • phone is required and must be E.164, such as +15555550123. An invalid value returns 400 CONTACT_PHONE_INVALID. The same number with or without + refers to the same contact.
  • name is optional. When given, it is saved on the contact.
  • channelConnectionId is optional. Leave it out when your workspace has exactly one WhatsApp connection. When it has more than one, pass the id of the connection to use. Without it, the request returns 400 CONTACT_CHANNEL_REQUIRED. Use an id that belongs to your workspace.
  • Email is not accepted by this route.
  • An existing contact with the same phone is reused, so the call never creates a duplicate.

The response is 201 Created and returns the contact in the same shape as the contact object in Webhook events, so map data.id from it in later steps.

Add a label to a contact

Apply a label
curl -sS -X POST \
  -H 'Authorization: Bearer wtf_xxxxxxxxxxxx_REPLACE_WITH_YOUR_SECRET' \
  -H 'Content-Type: application/json' \
  -d '{ "labelName": "VIP" }' \
  'https://api.watification.com/api/v1/contacts/cccccccc-cccc-4ccc-8ccc-cccccccccccc/labels'
200 response
{
  "labelId": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee"
}
  • Send either labelId or labelName. Use labelName for a case-insensitive match on the label name.
  • Labels are never created by this route. Create the label in the dashboard first. An unknown label returns 404 LABEL_NOT_FOUND.
  • The label is applied to the contact in the path. An unknown contact returns 404.

Label choices for dropdowns

Use GET /api/v1/labels to list labels for a dropdown:

200 response
{
  "labels": [{ "id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee", "name": "VIP" }]
}

WhatsApp connection choices for dropdowns

Use GET /api/v1/whatsapp-channels to list the WhatsApp connections in your workspace. Use the id as channelConnectionId when you create a contact:

200 response
{
  "channels": [
    {
      "id": "ffffffff-ffff-4fff-8fff-ffffffffffff",
      "name": "Support line",
      "phoneNumber": "+15555550199"
    }
  ]
}

Send a message

Sending is a general API route, not a Zapier/Make-specific one: use POST /api/v1/messages with an API key that has the messages.send scope. See Send messages for the target, message kinds, and reply-window rules. The Developer API's wtf_<publicId>_<secret> keys can call this route from any client, including a Zapier Platform UI action or a Make custom app module, the same as any other route in this guide.

Errors

Errors use the Problem Details format with a stable code. Show the code to the user when a Zap or scenario step fails. See Rate limits and errors.

CodeStatusMeaning
API_KEY_INVALID401The key is missing, wrong, or revoked.
EVENT_TYPE_INVALID400The hook event type is not a known webhook event.
HOOK_LIMIT422The workspace already has 50 hooks. Delete unused hooks first.
HOOK_NOT_FOUND404The hook id does not exist for this workspace.
CONTACT_PHONE_INVALID400The phone is not valid E.164.
CONTACT_CHANNEL_REQUIRED400Send channelConnectionId, because the workspace does not have exactly one WhatsApp connection.
LABEL_NOT_FOUND404The label id or name does not exist for this workspace.
RATE_LIMITED429Too many requests. Wait a moment and retry.

For OTP and other pre-approved WhatsApp templates sent outside a conversation, use the OTP API instead of POST /api/v1/messages.

On this page