Skip to main content
PATCH
Update webhook settings

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the webhook settings in our system.

Body

application/json

The fields of the webhook settings to change. A field that the body leaves out keeps its value.

url
string<uri>

The URL that receives the webhook events. It points to a public address, and Aira follows no redirect.

Maximum string length: 2048
Example:

"https://erp.example.com/aira/webhooks"

events
enum<string>[]

The webhook events that Aira sends to the URL.

Minimum array length: 1
Available options:
invoice.status-updated,
invoice.recalculated,
integration.inbound-failed
token
string

The token that Aira sends in the X-Webhook-Token header of each webhook event. Leave it out to keep the stored token.

Required string length: 1 - 512
Example:

"example-webhook-token"

Response

Schema representing webhook settings: a URL of the tenant that receives the webhook events that it subscribes to.

id
string<uuid>
required

The unique identifier of the webhook settings in our system.

url
string<uri>
required

The URL that receives the webhook events. It points to a public address, and Aira follows no redirect.

Maximum string length: 2048
Example:

"https://erp.example.com/aira/webhooks"

events
enum<string>[]
required

The webhook events that Aira sends to the URL.

Minimum array length: 1
Available options:
invoice.status-updated,
invoice.recalculated,
integration.inbound-failed