Skip to main content
POST
Register webhook

Headers

Authorization
enum<string>
default:NONE
required

Reserved for PCX-managed applications. External API integrations must always send the literal string NONE — this is the only accepted value.

Available options:
NONE
Example:

"NONE"

X-Api-Key
string
default:NONE
required

Your API key. This is the only supported credential.

Example:

"pcx_abc123_xxxx"

Body

application/json
endpoint_url
string<uri>
required

HTTPS URL that PCX will POST events to. Must be publicly reachable and return a 2xx response to acknowledge receipt.

Example:

"https://yourapp.com/webhooks/pcx"

events
string[]

Event types to subscribe to. Omit or send an empty array to receive all event types. See GET /public/webhooks/events/catalogue for the full list.

Example:

Response

Webhook registered

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
data
object