Create subscription
Creates a webhook subscription. Plextera starts delivering the selected event types to endpointUrl, signing every request with signingSecret.
Authentication
Authorizationstring
Use the API key format: api-key <token>.
Request
This endpoint expects an object.
endpointUrl
HTTPS URL Plextera POSTs events to. Plain http is rejected.
eventTypes
Event types to deliver. At least one is required.
signingSecret
Shared secret used to sign webhook deliveries. Plextera sends X-Plextera-Signature as t=<unix timestamp>,v1=<HMAC-SHA256(timestamp + ’.’ + raw request body)>. Write-only: never returned by the API.
filters
Optional delivery filters. Currently supports workflowId for workflow events.
Response
Subscription created and active. Deliveries start with the next matching event.
id
Subscription identifier.
status
active subscriptions receive deliveries; paused ones do not.
endpointUrl
HTTPS URL events are delivered to.
eventTypes
Event types this subscription receives.
filters
Delivery filters. Omitted when none are configured.
createdAt
UTC timestamp when the subscription was created.
updatedAt
UTC timestamp of the last subscription change.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
405
Method Not Allowed Error
406
Not Acceptable Error
422
Unprocessable Entity Error
500
Internal Server Error