I am requesting immediate assistance with registering a webhook for my account. I am currently stuck in a circular support loop: standard support claims only the dev team can help, yet I can see similar technical queries on this forum have gone unanswered for over 2 years.
The Issue: Despite authenticating with Account Owner credentials, every attempt to register a webhook via POST /webhooks results in a 401 Unauthorized error.
Technical Details:
Permissions: Authenticated as Account Owner (Full Access).
Requested Subscriptions: jobs, client, and staff events.
Validation: My listener endpoint is active, reachable, and ready to respond to the challenge. I am withholding the URL for security but can provide it immediately to an engineer.
The Complaint: It is unacceptable for an “Account Owner” to be denied access to a documented API feature with no self-service path to resolve it. Being redirected to a public forum—which historical data shows is frequently ignored by staff—is not a valid support path for a paying customer.
Required Action:
Explain why a valid Account Owner token is returning a 401 for the /webhooks endpoint.
If this is a known restriction for private API keys, please provide the manual registration path immediately.
An internal member of the dev team needs to take ownership of this ticket so it does not become another “2-year-old unanswered post.”
I am ready to provide my account ID and endpoint URL as soon as a human from the dev team acknowledges this.
You need to explain the request you are making obviously redacting api keys and personal information. if your endpoint is not receiving the challenge you are simply performing the request incorrectly.
Are you subscribing to an even or object webhook?
What authentication type are you using? Oauth2, API Key, Basic
What endpoint are you subscribing to?
401 unauthorised error usually means that more than anything you are requesting using the wrong authentication method. The fact you are saying that you are authenticating with the owner credentials, means that you are attempting to authenticate using a method that is not permissible for the webhook endpoint. Servicem8 does not use user credentials but uses account credentials.
Tip
Getting chat gpt to write you demand letter in a public developer forum will most of the time be the best way to get ignored by other developers who are happy to help. (we’ve all been there) This is a public community forum and not a servicem8 support page. Servicem8 do monitor and contribute and respond it they see a major issue/bug. Others can’t help if you are not showing what you are attempting to do incorrectly.
Webhook subscriptions are set up via the Webhooks API endpoint https://api.servicem8.com/webhook_subscriptions (so if your code is currently calling POST /webhooks, switch it over to /webhook_subscriptions and try again).
If you run into any more errors after updating the URL, post the full response body of the error here (redacting any secrets) so we can see exactly what the API is returning.