Get a webhook call
One call: the event data Notix sent (payload, as JSON text), each attempt's outcome, the HTTP status your endpoint answered, how long it took and the…
https://app.usenotix.dev/api/v1/webhooks/calls/{callId}Full access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.
One call: the event data Notix sent (payload, as JSON text), each attempt's outcome, the HTTP status your endpoint answered, how long it took and the first 2 KB of its response body. Response headers are never stored, and the signing secret is never part of a call.
Path parameters
Headers
Bearer followed by your API key.
Errors
`SCOPE_DENIED`: a send-only key or a live AI key. `DOMAIN_PINNED`: the key is limited to one domain, and webhooks carry every domain's events.
No webhook call with this id for the calling team.
Every error has the same shape. See all error codes.
curl -X GET "https://app.usenotix.dev/api/v1/webhooks/calls/<callId>" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.webhookEndpoints.getCall("whc_123");
console.log(data?.responseStatus, data?.responseText);
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"webhookId": "cm1x8f3k20001qz7v5b9d2e4a",
"type": "string",
"status": "PENDING",
"attempt": 1,
"nextAttemptAt": "string",
"lastError": "string",
"responseStatus": 1,
"responseTimeMs": 1,
"createdAt": "string",
"updatedAt": "string",
"apiVersion": "string",
"payload": "string",
"responseText": "Thanks for your order."
}