Authorized operation result.
application/json
{
"$ref": "#/components/schemas/CanonicalCreateOrRotateWebhookEndpointResponse",
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/CanonicalWebhookEndpointResult",
"type": "object",
"properties": {
"endpoint": {
"$ref": "#/components/schemas/CanonicalWebhookEndpoint",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"partnerId": {
"type": "string"
},
"url": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"retiring",
"disabled"
]
},
"signatureVersion": {
"type": "string",
"const": "pc-webhook-ed25519-v1"
},
"replacesEndpointId": {
"type": "string"
},
"overlapUntil": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"partnerId",
"url",
"status",
"signatureVersion",
"createdAt",
"updatedAt"
]
},
"rotation": {
"type": "object",
"properties": {
"mode": {
"type": "string"
},
"overlapUntil": {
"type": "string"
}
}
}
},
"required": [
"endpoint"
]
},
"requestId": {
"type": "string"
}
},
"required": [
"data",
"requestId"
],
"x-code-source": "lib/partner-api/v2/webhook-endpoints.ts"
}