Skip to main content
POST
Create webhook

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.

Body

application/json
url
string<uri>
required

URL associated with this resource.

Value constraints

session
string

Identifier of the connected Polymorfa session.

events
string[]

Event types this webhook subscribes to.

hmacKey
string

HMAC key used to verify signed payloads.

retries
object

Retry policy applied after a failed delivery attempt.

headers
object[]

HTTP headers attached to the outgoing request.

format
enum<string>

"native" (default) = Polymorfa event envelope. "meta" = Meta Cloud API webhook shape (object/entry/changes/value), signed with X-Hub-Signature-256.

Allowed values

Available options:
native,
meta

Response

Webhook created

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.