Update a webhook invocation
Updates a webhook invocation.
POST
/v1/hq/webhook_invocations/{webhook_invocation_id}AuthorizationBearer <token>
The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
webhook_invocation_id*string
Webhook Invocation ID
Example
"dwawd8awudawd"Query Parameters
select?array<string>
expand?array<string>
Request Body
application/json
callback_url?string
Example
"https://your.server/webhook_handler"event?string
Format
enumValue in
"customer.created" | "customer.updated" | "event.created" | "event.updated" | "event.deleted" | "transaction.created" | "transaction.updated" | "blocked_time.created" | "blocked_time.updated" | "blocked_time.deleted"Example
"event.created"responses?
webhook?string|
company?string|
failed_tries?integer
Example
0Response Body
application/json
curl -X POST "https://api.noona.is/v1/hq/webhook_invocations/dwawd8awudawd" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "7awdXwZoedakjad37a",
"callback_url": "https://your.server/webhook_handler",
"event": "event.created",
"success": true,
"responses": [
{
"code": 200,
"body": "OK"
}
],
"webhook": "string",
"company": "string",
"failed_tries": 0,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}