Developers

Public API & Webhooks

One HTTP request mints a tracked share link on a Journey room and returns its URL. A webhook pushes engagement back out. Together they let GoHighLevel, Zapier, Make, n8n, Clay, a CRM or your own script send a Journey per contact and react when it is opened.

Everything below is a plain HTTP request, and nothing here is vendor-specific. You authenticate with an API key you create in your Journey settings, and send it as a bearer token any tool can pass.

1. Get an API key

In Journey, open Settings → API & Webhooks and, under Public API keys, click Create API key. Give it a name so you can recognise it later. It is shown once, so copy it then, because only a hash is stored and it cannot be shown again.

A key looks like jk_live_.... It belongs to one organisation and can only touch that organisation's rooms. The same screen lists your keys by name with their last-used date, and lets you revoke a key, which disables it immediately on the next request.

Send it as a bearer token on every request, in the header only, never in the URL (tools log URLs):

Authorization: Bearer jk_live_xxxxxxxxxxxxxxxxxxxx

2. Find the room you are sending

You need the room's id. Take it from a room's share dialog URL, or search by title:

GET /api/v1/journeys?query=Q4+Wealth+Review
Authorization: Bearer jk_live_...

3. Create a link per contact

POST /api/v1/journeys/{room_id}/links
Authorization: Bearer jk_live_...
Content-Type: application/json

{
  "name": "Jane Smith (Acme Corp)",
  "require_email": true,
  "external_id": "ghl_contact_7f3a9c",
  "metadata": { "campaign": "q4-outreach" }
}
FieldRequiredNotes
nameYesYour own label, 1–120 chars. Never shown to the recipient.
slugNoThe readable part of the URL. Omit it and the server generates a random one, which is safer, since a guessable slug lets one recipient find another's link.
require_emailNoWhether the recipient must enter an email to view.
external_idNoYour id for the recipient (e.g. the CRM contact id). Echoed in webhooks; used for idempotency.
metadataNoA flat string map (max 20 keys) echoed back in webhooks so you can route on it.

The response is 201 with the link:

{
  "id": "lnk_01J9X...",
  "url": "https://app.journey.io/p/acme-corp-jsmith",
  "slug": "acme-corp-jsmith",
  "external_id": "ghl_contact_7f3a9c",
  "require_email": true,
  "created_at": "2026-10-30T14:02:11Z"
}

Map url into a field on your contact, then send your email or SMS from your own tool using that field.

Retries never create a duplicate

Workflow tools retry a timed-out step. Two ways this stays safe:

  • Idempotency-Key header (any string up to 255 chars). The same key with the same body within 24 hours returns the original link with 200; the same key with a different body returns 409.
  • external_id. With no header, a repeat of the same external_id on the same room returns the existing link (200). Most no-code tools hit this path.

If both are present and disagree, meaning a new key on an external_id that already has a link, then external_id wins and you get the existing link. There is always at most one link per external_id per room.

Errors and limits

StatusMeans
400Bad input (invalid slug, name too long, bad JSON)
401Missing, unknown or revoked key
404Room not in your org, or deleted
409Slug taken, or idempotency body mismatch
429Over rate limit (with Retry-After)

60 requests/minute per key, 1,000/day per organisation, well above normal volume. Every response carries X-RateLimit-Remaining; pace on it to avoid a 429.

4. Read who opened a link

GET /api/v1/journeys/{room_id}/links                     # every link with its visit count
GET /api/v1/journeys/{room_id}/links/{slug}/activity     # who opened one link

5. Receive events (webhooks)

Register a URL once and Journey POSTs a signed event to it whenever a prospect engages, so your automation runs the moment it happens. The easiest way is the dashboard: Settings → API & Webhooks → Webhooks → Add endpoint. From there you can also enable/disable or delete an endpoint, view its delivery log, and resend a failed delivery.

To register over the API:

POST /api/v1/webhook-endpoints
Authorization: Bearer jk_live_...

{ "url": "https://hooks.your-tool.com/journey",
  "events": ["link.opened", "visitor.identified", "room.completed"] }

Either way the response includes a signing_secret (whsec_...), shown once. The URL must be public HTTPS. Max 5 endpoints per org.

EventFires when
link.openedFirst visit on a link, and again after 24h of no visits
visitor.identifiedA visitor submits an email on a gated link
room.completedA visitor reaches the last step of a pitch-mode room

A prospect who refreshes repeatedly does not fire repeatedly: at most one event per visitor per link per hour.

The payload

{
  "id": "evt_01J9Y...",
  "type": "link.opened",
  "created_at": "2026-11-04T16:41:08Z",
  "organization_id": "org_12",
  "data": {
    "room_id": "room_8f2...",
    "room_title": "Lux Q4 Wealth Review",
    "link": { "slug": "acme-corp-jsmith", "external_id": "ghl_contact_7f3a9c",
              "metadata": { "campaign": "q4-outreach" } },
    "visitor": { "email": "jane@acme.com", "seconds_on_page": 184 }
  }
}

link.external_id and link.metadata are echoed from the create call, so you map the event back to your contact with no lookup. visitor.email is null on an ungated link.

Verifying the signature

Each delivery carries two headers:

Journey-Signature: t=<unix ts>,v1=<hex HMAC-SHA256 of "<ts>.<raw body>">
Journey-Event-Id: evt_...

Recompute HMAC-SHA256(signing_secret, "<ts>.<raw body>") and compare to v1; reject if it does not match or t is over 5 minutes old. No-code tools that cannot verify a signature can skip this, since it is defence in depth.

Delivery and retries

A 2xx within 10 seconds is success. Anything else retries at 1 min, 5 min, 30 min, 2 h, 8 h, 24 h, then is marked failed. An endpoint that fails 50 deliveries in a row is auto-disabled and the person who registered it is emailed. Every attempt is in the delivery log, in the dashboard or over the API:

GET    /api/v1/webhook-endpoints/{id}/deliveries
POST   /api/v1/webhook-endpoints/{id}/deliveries/{delivery_id}/retry   # manual resend
DELETE /api/v1/webhook-endpoints/{id}                                  # remove an endpoint

The whole flow, in any tool

  1. Trigger

    A contact is tagged, reaches a stage, or joins a list.

  2. HTTP step

    POST /api/v1/journeys/{room_id}/links with the contact's name and id as name and external_id.

  3. Map

    Write url from the response into a field on the contact.

  4. Send

    Send the email or SMS from your tool using that field.

  5. React (webhooks)

    A second automation triggers on the inbound event and routes on type and data.link.external_id.

Journey for Claude · last updated 21 October 2026 · journey.io