v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB

Role Created

Triggered when a new role is created

postWebhookrole.created

Payload

spec_versionstring required

The webhook specification version

idstring required

Unique identifier for the webhook event (must be prefixed with "evt_")

type'role.created' required

The event type

occurred_atstring date-time required

When the event occurred (ISO 8601 format)

environment_idstring required

The environment ID where the event occurred

organization_idstring

The organization ID (if applicable)

object'Role' required

The type of object that triggered the webhook

display_namestring

Human-readable display name for the event

Example payload

{
  "spec_version": "1",
  "type": "role.created",
  "object": "Role"
}

Response

Webhook received successfully