This article was drafted with AI help and reviewed by the author.

Most webhook advice assumes the sender will try again if you fail. Housecall Pro's webhook help article says nothing about retries. It tells you how to switch webhooks on, gives you a signing secret and lists the events. That is all.

So plan as if each event arrives once. If your endpoint is busy, slow or mid-deploy when it lands, the event may simply be gone. The booking still exists in Housecall Pro. GoHighLevel never hears about it.

This post describes an intake design on Azure that treats every delivery as precious. An ASP.NET Core endpoint accepts and stores the event in seconds. A Service Bus queue holds it. A worker forwards it to a GoHighLevel Inbound Webhook trigger and deals with failure. Facts about Azure, Housecall Pro and HighLevel were checked in their documentation on 3 December 2026. Ids, times and names are illustrative. Nothing here describes a specific production system.

Split accepting from processing

The endpoint has one job. Prove the request is genuine, put it on a queue, answer. It does not call GoHighLevel. It does not look anything up.

Everything slow or flaky happens in a separate worker that reads from the queue. If GoHighLevel is down for an hour, the queue grows and the endpoint keeps answering as if nothing happened. When GoHighLevel comes back, the worker drains the backlog.

This split is the main idea. The rest is detail.

The intake endpoint

A minimal API in ASP.NET Core is enough. In order, it does this.

  1. Read the raw body as bytes. Do not bind it to a model first. Signature checks need the exact bytes that arrived.
  2. Check the signature. Housecall Pro's partner webhook documentation describes an Api-Signature header with a SHA-256 HMAC hex digest of the Api-Timestamp value and the body, with a dot between them. The help article for regular account webhooks only says a signing secret is issued. Verify this against one captured delivery from your own account before trusting it. Compare digests with a fixed-time comparison, not a plain string equality.
  3. Send the event to Service Bus. Use the raw body as the message body. Set the message id as described in the next section.
  4. Answer with a success status only after the send succeeds. If the send fails, return a server error and log it loudly. Nobody upstream is known to retry, so that log line may be the only trace of the event.

Keep the signing secret in Key Vault. Let the app reach both Key Vault and Service Bus through a managed identity. For Service Bus, the built-in roles are Azure Service Bus Data Sender for the endpoint and Azure Service Bus Data Receiver for the worker. Neither needs Data Owner.

Duplicate detection, and what it does not cover

Service Bus can drop a message whose id it has already seen within a time window. A few details matter.

  • Basic tier does not offer it. You need Standard or Premium.
  • By default the window is 10 minutes. It can be as short as 20 seconds or as long as 7 days. A longer window costs throughput, so keep it modest.
  • When partitioning is off, the message id alone decides uniqueness. When it is on, the id and the partition key together decide it.
  • A duplicate send is reported as accepted, then quietly dropped.

Decide this when you create the queue.

For the message id, use something that is identical when the same delivery shows up twice. A hash of the Api-Timestamp value plus the raw body works for that. If your own endpoint crashes after sending and the same request is somehow processed again, the second send is dropped.

What it will not catch is two different events about the same job. Housecall Pro has separate events for job created, job scheduled, appointment scheduled and appointment rescheduled. Those are different bodies with different ids. Deciding whether "scheduled" and "appointment scheduled" mean one booking or two is business logic, and it belongs in the worker.

The worker

A BackgroundService that hosts a ServiceBusProcessor works well. Turn automatic completion off so you settle each message yourself. For each message it does this.

  1. Parse the body. Pull out the job id, event name, scheduled start and the customer's phone and email.
  2. Check a small state table, for example in Azure SQL, for the job id. If the scheduled start matches the one already forwarded, complete the message and stop. It is a repeat.
  3. If the customer has neither phone nor email, dead-letter the message with a clear reason. HighLevel's Inbound Webhook trigger needs one of the two before it can link the request to a contact, so retrying will never help.
  4. Build a flat JSON body with single-word keys and POST it to the GoHighLevel webhook trigger address.
  5. On success, update the state table, then complete the message.
  6. On a timeout or a server error from GoHighLevel, abandon the message so it comes back later.

Service Bus counts deliveries. The default maximum is 10. After that, Service Bus dead-letters it and the reason reads MaxDeliveryCountExceeded. Microsoft recommends putting the exception type in the dead-letter reason and the stack trace in the description when you dead-letter on purpose. Do that, because the dead-letter queue is where a person will look.

The dead-letter queue does not clean itself up. Messages stay until something reads and completes them. Put a count of dead-lettered messages on a dashboard and alert when it is above zero.

Three sample timelines

A GoHighLevel outage. Sample event, job 9012, received at 15:00:04. The endpoint verifies and queues it, then answers in well under a second. The worker's first three attempts get server errors and abandon the message. The fourth attempt, a few minutes later, succeeds. The customer gets one confirmation, a little late. Nothing was lost.

A customer with no contact details. Sample event, job 9020. No phone, no email. The worker dead-letters it at once with the reason "no phone or email". Someone in the office adds a mobile number in Housecall Pro. Whether that edit fires a new event depends on the events you ticked, so they check the state table and send the confirmation by hand if nothing went out. The dead-lettered copy is then completed so it is never replayed.

The same delivery twice. Sample event, job 9031. The same request reaches the endpoint twice, 30 seconds apart. Both sends report success. Service Bus keeps one, because the message id is the same and the window is 10 minutes.

Replaying from the dead-letter queue

Resubmitting a dead-lettered message is tempting. Check first. If the worker failed after GoHighLevel had already accepted the request, a replay sends the customer a second text. Read the state table and the GoHighLevel execution logs for that time before you move anything back.

What this design does not fix

  • If the endpoint is unreachable, the event is lost before any of this starts. Run more than one instance and deploy without downtime.
  • It does nothing for polling routes. HighLevel's native Housecall Pro triggers poll on a timer and never touch your endpoint.
  • It cannot prove the contact in GoHighLevel looks right. A success status means GoHighLevel accepted the request.

Takeaways

  • Housecall Pro documents no webhook retries, so accept fast and store before you process.
  • Keep the intake endpoint tiny. Signature check, queue, answer.
  • Service Bus duplicate detection drops repeated deliveries, not different events about the same job.
  • Let the worker own business rules and dead-letter what retries cannot fix.
  • Check before replaying anything that might already have reached a customer.

If you are still working out which part of an existing Housecall Pro to GoHighLevel setup is failing, this step-by-step sync trace is a good first pass before redesigning anything.

References