Skip to main content
Use this when your CRM isn’t one of our ready-made integrations. Your CRM keeps Sales Ask’s calendar up to date, and Sales Ask returns the outcome of every recorded conversation to your CRM.
Before you build, make sure you have:
  • your organization API key
  • the custom CRM integration turned on: an admin goes to Settings → Integrations, searches for Custom CRM, picks Match by time or Match by location, and clicks Integrate. Your organization uses one CRM integration at a time, so this turns off the CRM that was active before. You can change the matching method on the same card later.
  • every rep added to Sales Ask with the same email address they use in your CRM

Send appointments

Call the API from each place your CRM creates, edits, or deletes an appointment, so Sales Ask always has the same schedule as your CRM. POST creates the appointment, or updates it when Sales Ask already has that event_id. You can send the full appointment every time it changes.

Appointment fields

string
required
Your CRM’s ID for the appointment. Send it as a string. You use it to update or delete the appointment, and it comes back in every webhook.
string
required
Email of the rep who owns the appointment. It must match a member of your Sales Ask organization.
string
required
Start time in UTC, ending in Z or +00:00, for example 2026-03-01T14:00:00.000Z. Other offsets and Unix timestamps are rejected.
string
End time in UTC.
string
Appointment title, shown to the rep.
object
The customer the appointment is with.
Any other fields, such as phone numbers or notes, are ignored.

Examples

Sales Ask returns 201 with the saved appointment, whether it was new or updated:

If a request fails

How Sales Ask uses your appointments

The link between a recording and an appointment is how your event_id gets back to you, so keep appointments current when they move. When two appointments are equally close, Sales Ask lets the rep choose. Reps can also pick or change the appointment themselves. The app shows each rep’s appointments from the past 30 days and the next 7.

Get results back

Sales Ask doesn’t write into your CRM. It posts each result to a URL you choose, and your CRM saves it.

Add a webhook

1

Create it

In Sales Ask, go to Settings → Webhooks, add a webhook, and enter your endpoint URL. Set Trigger to All Sources.
2

Pick events

Under Events, select the events below. Most integrations select all three.
3

Choose extracted fields (optional)

Under Custom Payloads, add what Sales Ask should pull from each conversation, such as budget, design preferences, or reason to buy.
4

Turn it on

Make sure the webhook is Active, and save.
For a recording with a client the rep created in Sales Ask, you get client.created instead of recording.processed. Subscribe to both to hear about every recording.

What you receive

string
The event_id you sent. Use it to find the appointment in your CRM. If data.integration is null, the recording wasn’t linked to an appointment.
object
The customer you sent with the appointment. For client.created, entity holds what the rep entered instead, such as name, email, design, and community.
string
AI notes and action items, as plain text.
object
Your sales process questions, the rep’s answers, and a summary. processFollowed, processMissed, and processTotal count them. critical_step holds the answer to your critical step question, if you have one. For past recordings, GET /v1/recordings returns the same results.
object
Each group you set up under Custom Payloads has its own key, such as buyerProfile above.
string
Link to the recording in Sales Ask. For the transcript and audio, call GET /v1/recordings/{id} and GET /v1/recordings/{id}/transcript.

Handling deliveries

  • Verify the signature on every delivery, as shown below. Deliveries also carry your organization API key in the x-api-key header.
  • Reply within 10 seconds with any 2xx status, and do slow work afterwards. Don’t redirect.
  • Deduplicate on X-SalesAsk-Delivery. Each delivery has its own ID, and a retry carries the same ID as the attempt it repeats. Deliveries can arrive out of order.
  • Automatic shut-off: a 410 response turns the webhook off at once, and repeated 404s over three days do too. Turn it back on in Settings → Webhooks.

Verify the signature

Each webhook has its own signing secret. To see it, go to Settings → Webhooks and click Signing secret on the webhook. Every delivery carries a signature header:
t is when the delivery was sent, in Unix seconds. v1 is the HMAC-SHA256 of t, a period, and the raw request body, keyed with the signing secret and hex-encoded. To verify a delivery:
  1. Read the raw request body before you parse it as JSON.
  2. Compute the HMAC-SHA256 of {t}.{raw body} with your signing secret.
  3. Compare it to v1 with a constant-time comparison.
  4. Check that t is within five minutes of your server’s clock, to reject replayed requests.
To change the secret, click Rotate secret in the same window. The old secret stops working straight away, so update your endpoint with the new one right after you rotate it.

Retries

If your endpoint times out, can’t be reached, or answers 408, 425, 429, or any 5xx, Sales Ask sends the delivery again. Retries go out about 5 minutes, 30 minutes, 2 hours, 6 hours, and 12 hours after the attempt before them: up to five retries over about 20 hours. Each retry has a new signature and the same X-SalesAsk-Delivery ID. A 2xx response, or any other status such as 400 or 401, ends the delivery. Changing the webhook’s URL, turning it off, or deleting it cancels its pending retries. To catch up on a recording after that, fetch it with GET /v1/recordings/{id}.

Read results from the API

Every result the webhooks send is also in the API, so you can pull results on a schedule as well as receive them.
  • GET /v1/recordings and GET /v1/recordings/{id} return event_id on each recording: the event_id of the appointment it’s linked to, or null until a rep links it. They also return integration, the same object the webhooks send in data.integration, and rep_email, the rep who recorded it.
  • GET /v1/scheduled-tasks/{event_id} returns the appointment with the recordings linked to it.
To pull each day’s results, call GET /v1/recordings with fromDate and match each recording to your appointment by event_id.

Go-live checklist

1

Send a test appointment

Create an appointment for a rep about 20 minutes from now. Check that it shows in their app and the reminder arrives.
2

Record against it

Have the rep record a short conversation at the appointment time.
3

Check the webhook

When processing finishes, confirm your endpoint got recording.processed with your event_id in data.integration.entity.eventId, and that GET /v1/scheduled-tasks/{event_id} lists the recording.
4

Clean up

Delete the test appointment with DELETE /v1/scheduled-tasks/{event_id}.
To test your endpoint without recording, click the test button on the webhook in Settings → Webhooks. You can also call POST /v1/webhooks/test with url and a processed recording object from GET /v1/recordings/{id}. GET /v1/webhooks lists your organization-wide webhooks, but not team webhooks or their events.

Troubleshooting

Check that the rep’s Sales Ask email matches the user_email you sent, that the recording started within an hour of the appointment, and that you send customer.id. If you match by location, check customer.location is a full street address.
Check the webhook is Active and subscribed to the event, and that Trigger is All Sources. If the rep created the client in Sales Ask, you get client.created, not recording.processed.
Compute the signature over the raw request body exactly as it arrived, before any JSON parsing or re-serializing. Use the signing secret of the webhook that sent the delivery, and copy it again after a rotation. Click Test on the webhook to send a signed test delivery.
The rep must be signed in to the mobile app with notifications on, and the appointment must start in the future when you send it.
Email support@salesask.com with your organization name, the request you sent (without your API key), the response, and the event_id or recording id.