Developers

Developer docs: moments and the team webhook

Climbmark sends signed moments to Zapier, Make or any address a team owner adds, and the team webhook sends each level certificate. This page covers the requests, the signature, retries and limits.

16 minute readFor developers

What you can build

Climbmark sends data to your own systems in two ways. Moments go to Zapier, Make or any address a team owner adds: a deal at risk, a CRM break, a seller who opted out, the week in numbers, an appointment with seller facts missing and a rep who passed a level. The older team webhook sends each level certificate to one address, and is described below.

  • Data moves one way, from Climbmark to you. Nothing here changes a CRM record or contacts a seller.
  • With the team key, a tool can also add marketing spend to Money by source. See the request.
  • There is no API for reading reps, scores or reports yet.

You do not need to write code to use it. The guide covers Zapier and Make. This page is for people who catch the message with their own code.

Moments for Zapier, Make and your own tools

Besides the team webhook, a team owner can send Climbmark's moments to up to 20 addresses, each with its own moments and its own secret. Each request is a POST with a JSON body.

The headers of a moment
HeaderValue
content-typeapplication/json
user-agentClimbmark-Hooks/1
x-climbmark-eventThe moment, such as deal_at_risk
x-climbmark-signaturet=<unix seconds>,v1=<signature>, made the same way as the team webhook's, with that connection's secret
The moments
MomentWhen
deal_at_riskOnce a day for each deal that turns at risk, with the reason and the next move.
crm_brokeThe morning after a break shows: access taken back, tasks or notes that stopped going through, workflow steps that fail.
seller_opted_outEach clear opt-out, with the tool it came from and the date to honor it by, so your dialer or texting tool can mark it too.
week_numbersEvery Monday, one row per lead source: leads, contracts, deals won, fee and that week's share of what it cost. Made for Google Sheets.
appointment_missing_factsWhen a deal moves to the appointment and the notes miss some of the six seller facts.
level_passedWhen someone on your team passes a level.
deal_wonThe moment a deal is marked won in GoHighLevel, with the lead source and whose deal it was (and its value, if you show dollar amounts in Slack). Good for a team cheer in Slack.
missed_call_waitingA seller called in, nobody picked up, and nobody has called or texted back within 15 minutes. Sent between 8 a.m. and 8 p.m. your time.
new_lead_waitingNew leads with no call or text from your team after 15 minutes, sent together at most once every 30 minutes, up to 10 at a time. Lead sources you left out of Speed to new leads are left out here too.
week_team_updateEvery Monday morning: last week's wins and new leads next to the week before (contracts too, if your CRM keeps a contract date, and fees, if you show dollar amounts in Slack), the best lead source, and the levels your team passed in practice.

Every moment has id, event, team and at, then its own fields. A deal_at_risk moment:

json
{
  "id": "deal_at_risk:sample",
  "event": "deal_at_risk",
  "team": "Sample Team",
  "at": "2026-11-20T15:02:00Z",
  "deal_id": "opp_7Hq2",
  "crm": "gohighlevel",
  "link": "https://app.gohighlevel.com/v2/location/loc_demo/opportunities/list",
  "fee": 12000,
  "days_to_close": 6,
  "level": "risk",
  "reasons": [
    "Title is still open and closing is in 6 days."
  ],
  "next_move": "Call title today and ask what is still open.",
  "who": "Transaction coordinator",
  "reason": "Title is still open and closing is in 6 days."
}
  • Include names: the deal's name (often the property address) and the first name of a seller who opted out. Without it we send record ids and links only. We never send phone numbers or notes.
  • A moment can arrive twice if your tool was slow to answer the first time. It carries the same id both times, so skip an id you already have.
  • A moment that fails is tried six times over about 8 hours. One older than 48 hours is dropped, not sent late. Sends are kept 30 days.
  • Answer with a 2xx status within 8 seconds. A 410 answer removes a Zapier connection. After 50 failed sends in a row the connection is paused.
  • The secret is 48 characters, shown on the card under "Check it's from us".

Add marketing spend

With the team's key (made on the card, shown once), a tool can add what a lead source cost on a day. Starter Team plan.

text
POST https://llr-ai.amrmagdy.workers.dev/v1/hooks/spend
X-Climbmark-Key: <your team's key>
content-type: application/json

{"source": "Facebook Ads", "amount": 250, "date": "2026-11-20", "ref": "fb-2026-11-20"}

Sent again with the same ref (or the same day and source when there is none), it replaces the first one. date is optional: with none, the US Eastern day it was sent. At most 500 lines a team a day.

Quick start

  1. Make an address

    Stand up an https address that accepts a POST request with a JSON body and answers with a 2xx status. It needs a public name, with no port.

  2. Add it in the app

    The team owner opens Team, then Connections, finds Send to Zapier, Make or any tool, pastes the address, ticks the moments and presses Add.

  3. Copy the secret

    Under "Check it's from us" on that connection. Keep it on your server. It is what proves a moment came from Climbmark.

  4. Send a test

    Press Send a test. A test arrives with the next send, at most 10 minutes later.

  5. Check the signature

    Reject any request whose signature does not match. The code is on this page. The header is X-Climbmark-Signature for moments.

The request

Climbmark sends a POST request to your address.

The headers of a webhook request
HeaderValue
content-typeapplication/json
user-agentClimbmark-Webhook/1
x-rtd-signaturet=<unix seconds>,v1=<signature>

Header names are not case sensitive.

The body is compact JSON on one line, in UTF-8. This is what the body of a level_passed message looks like:

json
{"app":"Climbmark","at":"2026-11-10T15:04:00.512345+00:00","rep":"Priya","team":"Sample Team","event":"level_passed","level":2,"certificate_id":"9f2c41d07ab3"}

And the same message laid out to read:

json
{
  "event": "level_passed",
  "app": "Climbmark",
  "team": "Sample Team",
  "rep": "Priya",
  "level": 2,
  "certificate_id": "9f2c41d07ab3",
  "at": "2026-11-10T15:04:00.512345+00:00"
}

Read fields by name. The order of the fields is not fixed, and new fields may be added later. Write your code so that it ignores a field it does not know.

Events and fields

The events the webhook sends
EventWhen it is sent
level_passedA rep on your team got a level certificate. The certificate is made when the rep presses Get a verify link on the level-up screen, so a level passed without that tap sends nothing.
testThe team owner pressed Send a test.

Fields of level_passed

The fields of a level_passed message
FieldKindWhat it holds
eventtextlevel_passed
apptextClimbmark
teamtextThe team's name, up to 60 characters.
reptextThe first name the rep uses in the app, up to 40 characters. No email address and no user id is sent.
levelwhole numberThe level's number. Numbers run across all the job paths. See the list.
certificate_idtextThe id of the certificate, such as 9f2c41d07ab3. Treat it as text.
attextWhen the certificate was made, as an ISO 8601 date and time with a UTC offset, such as 2026-11-10T15:04:00.512345+00:00. Parse it with a date library.

A test message has four fields: event, app, team and at.

A rep gets one certificate for each level, so level_passed is sent once for each rep and level. A rep who is on two of your teams sends one message for each team that has the webhook on.

Check the signature

Every request is signed with your team's secret, so you can tell a real message from one that someone else sent to your address. The secret is 48 characters and is shown on the card in the app.

  1. Read the header

    X-RTD-Signature looks like t=1762787040,v1=5f3a.... t is when the request was signed, in seconds. v1 is the signature.

  2. Build the signed text

    Join t, a full stop and the body exactly as it arrived: t.body. Use the raw body. If you parse the JSON and write it out again, the signature will not match.

  3. Compute the HMAC

    HMAC-SHA256 of that text. The key is the secret as plain text, not decoded from hex. Write the result as lowercase hex.

  4. Compare

    Compare your result with v1 using a constant-time compare. Also check that t is recent, such as within five minutes, so an old request can't be played back.

Node.js

javascript
import { createHmac, timingSafeEqual } from 'node:crypto';

// rawBody: the request body exactly as it arrived (a string or a Buffer), before any JSON parsing.
export function isFromClimbmark(rawBody, header, secret, maxAgeSeconds = 300) {
  const m = /^t=(\d+),v1=([0-9a-f]{64})$/.exec(header || '');
  if (!m) return false;
  if (Math.abs(Date.now() / 1000 - Number(m[1])) > maxAgeSeconds) return false;
  const want = createHmac('sha256', secret).update(m[1] + '.').update(rawBody).digest();
  return timingSafeEqual(want, Buffer.from(m[2], 'hex'));
}

Python

python
import hashlib
import hmac
import re
import time


def is_from_climbmark(raw_body: bytes, header: str, secret: str, max_age: int = 300) -> bool:
    """raw_body: the request body exactly as it arrived, before any JSON parsing."""
    m = re.fullmatch(r"t=(\d+),v1=([0-9a-f]{64})", header or "")
    if not m:
        return False
    if abs(time.time() - int(m.group(1))) > max_age:
        return False
    signed = m.group(1).encode() + b"." + raw_body
    want = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
    return hmac.compare_digest(want, m.group(2))

PHP

php
<?php
// $rawBody: the request body exactly as it arrived, before any JSON parsing.
function is_from_climbmark(string $rawBody, string $header, string $secret, int $maxAge = 300): bool {
    if (!preg_match('/^t=(\d+),v1=([0-9a-f]{64})$/', $header, $m)) return false;
    if (abs(time() - (int) $m[1]) > $maxAge) return false;
    $want = hash_hmac('sha256', $m[1] . '.' . $rawBody, $secret);
    return hash_equals($want, $m[2]);
}

$raw = file_get_contents('php://input');
$ok = is_from_climbmark($raw, $_SERVER['HTTP_X_RTD_SIGNATURE'] ?? '', getenv('CLIMBMARK_WEBHOOK_SECRET'));
http_response_code($ok ? 200 : 401);

Shell

sh
# Prints the signature for one request, so you can compare it with the v1 value by hand.
printf '%s' "$T.$BODY" | openssl dgst -sha256 -hmac "$SECRET" -r | cut -d' ' -f1

A worked example

Run your code on these values. If it gives the same signature, it is right. The secret is a sample.

A worked signature example
WhatValue
Secret0123456789abcdef0123456789abcdef0123456789abcdef
t1762787040
BodyThe one-line body shown under The request, with no line break at the end.
Signature7b0e355e01dbaccdcae85cfdfdd8f98eb7d993bf60f445f6167bfed4e7d357f1
Headert=1762787040,v1=7b0e355e01dbaccdcae85cfdfdd8f98eb7d993bf60f445f6167bfed4e7d357f1

The time in the example is in the past, so pass a large age limit when you test with it.

Answer fast

  • Answer with any status from 200 to 299 within 8 seconds. The body of your answer is ignored.
  • Do slow work after you have answered. Put the message on a queue of your own, answer, then process it.
  • Redirects are not followed. A 301 or a 302 counts as a failed send.
  • Any other status, a timeout or a connection error counts as a failed send and is tried again.

Retries and delivery

Messages go out every 10 minutes. A message that fails is tried six times in all.

When each try of a webhook message is made
TryWhen
1With the next send after the certificate is made, at most 10 minutes later
2About 15 minutes after try 1
3About 30 minutes after try 2
4About 1 hour after try 3
5About 2 hours after try 4
6About 4 hours after try 5

After try 6 the message is dropped. That is about 8 hours after the first try. Messages are deleted from the queue after 30 days, sent or not.

  • Expect a repeat now and then. If your answer is lost on the way back, the same message is sent again. Each try is signed again with a new t. Use certificate_id together with event to spot a repeat.
  • Do not count on the order. A retried message can arrive after a newer one. Use at if the order matters.
  • Pausing drops what is waiting. Certificates made while the webhook is paused are not sent later, and a message that was already waiting keeps using up its tries. If you pause for more than an hour, expect to lose what was waiting.

The card in the app shows whether the last send worked, the status your server sent back and how many messages are waiting.

Level numbers

The level field is a number from this list. New levels get new numbers, so treat a number you do not know as a new level, not as an error.

Level numbers and the level each one stands for
levelJob pathLevel
1Lead managerLevel 1: Safe to dial
2Lead managerLevel 2: Live lead ready
3Lead managerLevel 3: Pipeline owner
4Lead managerLevel 4: Senior lead manager
5Lead managerLevel 5: Leading the lead desk
6Acquisitions repAcquisitions 1: The visit
7Acquisitions repAcquisitions 2: The offer talk
8Acquisitions repAcquisitions 3: Contract to close
9Dispo repDispositions 1: The buyers list
10Dispo repDispositions 2: Marketing the deal
11Dispo repDispositions 3: Assignment to closing
12Follow-up specialistFollow-up 1: The follow-up list
13Follow-up specialistFollow-up 2: Bringing old leads back
14Transaction coordinatorCoordinator 1: Contract to title
15Transaction coordinatorCoordinator 2: Closing week
16Team leadTeam lead 1: Running the floor
17Team leadTeam lead 2: Ramping a new rep
18Cold callerCold calling 1: The cold call opener
19Cold callerCold calling 2: From cold to warm
20Acquisitions repAcquisitions 4: When the seller says no
21Deal analystDeal analyst 1: Running the numbers
22Deal analystDeal analyst 2: When the numbers move
23Follow-up specialistFollow-up 3: Your follow-up week
24Transaction coordinatorCoordinator 3: When closing slips
25Team leadTeam lead 3: Keeping good reps
26Cold callerCold calling 3: Callbacks and voicemail
27Dispo repDispositions 4: When a deal won't move
28Deal analystDeal analyst 3: Numbers for rental buyers
29Project managerProject manager 1: Scope and bids
30Project managerProject manager 2: On time, on budget
31Acquisitions repAcquisitions 5: Houses with tenants
32Project managerProject manager 3: Ready to list or rent
33Transaction coordinatorCoordinator 4: Title problems
34Team leadTeam lead 4: The weekly numbers
35Cold callerCold calling 4: Your list and your dial day
36Deal analystDeal analyst 4: Numbers for terms offers
37Dispo repDispositions 5: Deals with other wholesalers
38Acquisitions repAcquisitions 6: Inherited houses
39Follow-up specialistFollow-up 4: Texts and emails that get answers
41Marketing managerMarketing 1: Where the leads come from
42Marketing managerMarketing 2: Mail and ads that are honest
43Operations and CRM adminOperations 1: A CRM the team trusts
44Operations and CRM adminOperations 2: Changes without chaos
45Rental managerRentals 1: Fair showings and screening
46Rental managerRentals 2: Repairs, rent and move-out
47Marketing managerMarketing 3: The marketing budget meeting
48Marketing managerMarketing 4: Briefing vendors and the callers
49Operations and CRM adminOperations 3: Reports the team believes
50Operations and CRM adminOperations 4: Moving to a new CRM
51Rental managerRentals 3: Turnover between tenants
52Rental managerRentals 4: The monthly report to the business owner
53Project managerProject manager 4: Problems behind the walls
54Project managerProject manager 5: Running two rehabs at once
55Follow-up specialistFollow-up 5: Leads that went quiet after an offer
56Transaction coordinatorCoordinator 5: Move-out and keys
57Team leadTeam lead 5: Picking the next hire
58Cold callerCold calling 5: Angry owners and do-not-call requests
59Deal analystDeal analyst 5: When the inspection finds more
60Lead managerLevel 6: When a seller complains
61Acquisitions repAcquisitions 7: When the house is listed
62Dispo repDispositions 6: When a buyer backs out
63Follow-up specialistFollow-up 6: One seller, one voice
64Transaction coordinatorCoordinator 6: Twelve files at once
65Cold callerCold calling 6: Getting better from your own calls
66Team leadTeam lead 6: When two reps clash
67Deal analystDeal analyst 6: Checking another team's numbers
68Project managerProject manager 6: When a contractor falls behind
69Marketing managerMarketing 5: One change at a time
70Operations and CRM adminOperations 5: Connecting a new lead source
71Rental managerRentals 5: Keeping good tenants

Check a certificate

Anyone can check a certificate by opening its link. Build the link from the id:

text
https://climbmark.com/app#verify-<certificate_id>

The page shows the rep's first name, the level, the date and the team's name. It is a page for a person to read. There is no API that checks a certificate yet.

Limits

Limits of the team webhook
WhatLimit
WebhooksOne address for each team
AddressStarts with https://, uses a public host name, and is at most 500 characters. An IP address, a local name or an address with a user name in it is refused.
SendsEvery 10 minutes
Time to answer8 seconds
Tries6 for each message
Tests20 an hour for each team, counted together with real messages
Who can set it upThe team owner, after two-step sign-in

Keep it safe

  • Check the signature on every request. It is the only proof of where a request came from.
  • Do not rely on the sender's IP address. Requests can come from many addresses, and the list is not fixed.
  • Keep the secret out of your code and out of logs. Store it the way you store a password.
  • To get a new secret, press Remove on the card and add the address again. The new webhook has a new secret.
  • A message carries a first name and a team name. Treat it like other staff data in your systems.

Found a security problem? Here is how to report it.

Changes and help

Fields may be added to a message over time, so ignore the ones you do not know. What's new lists changes to the product.

Stuck, or need an event that is not here? Write to hello@climbmark.com and say what you are building.

Checked against the code that sends the webhook on 2026-11-15. Does something here not match what you see? Tell us.