Skip to main content

registerDeliveryPartnerWebhook

Requires permission settings:integration:update.

Registers this organization's webhook URL through the delivery provider's own API. A provider without such an API is refused, with a note that its webhook is set up in its own dashboard. Needs the delivery partners plan feature and permission to update integrations.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation RegisterDeliveryPartnerWebhook($id: ID!) {
registerDeliveryPartnerWebhook(id: $id) {
keysCheckDetail
keysCheckedAt
keysValid
needsReverification
webhookReachable
webhookRegisteredAt
}
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"registerDeliveryPartnerWebhook": {
"keysCheckDetail": "string",
"keysCheckedAt": "string",
"keysValid": true,
"needsReverification": true,
"webhookReachable": true,
"webhookRegisteredAt": "string"
}
}
}
registerDeliveryPartnerWebhook(
id: ID!
): DeliveryPartnerVerification!

Arguments​

registerDeliveryPartnerWebhook.id ● ID! non-null scalar​

The ID of the delivery partner configuration.

Type​

DeliveryPartnerVerification object​

The result of checking a delivery partner's credentials and webhook.