Skip to main content
POST
Each webhook subscribes to one or more events. When a subscribed event occurs, the webhook URL receives a payload describing the event. Supported subscription events:
  • allocation_created
  • allocation_payment_created
  • allocation_payment_deleted
  • allocation_payment_status_changed
  • allocation_payment_updated
  • application_category_changed
  • application_chapter_changed
  • application_copied
  • application_created
  • application_deleted
  • application_eligible
  • application_ineligible
  • application_moderated
  • application_resubmitted
  • application_submitted
  • application_tagged
  • application_updated
  • assignment_completed
  • assignment_created
  • collaborator_invited
  • document_created
  • document_deleted
  • document_updated
  • field_value_updated
  • grant_report_created
  • grant_report_submitted
  • grant_status_changed
  • membership_registered (user created)
  • order_payment_pending
  • order_payment_success
  • review_task_created
  • review_task_submitted
  • role_granted
  • user_updated

Authorizations

x-api-key
string
header
required

API key used to authenticate and authorise every request. Include it in the x-api-key header.

Headers

Accept
enum<string>
required

Defines the response type.

Available options:
application/vnd.Creative Force.v2.3+json,
application/vnd.Creative Force.v2.3+xml

Body

application/json

Webhook create payload.

method
enum<string>
required

HTTP method used to call the webhook URL.

Values are case-sensitive.

Available options:
get,
post
name
string
required

Name of the webhook.

url
string<uri>
required

URL that receives the webhook payload.

events
enum<string>[]
required

Subscription events that trigger this webhook. For example, ["application_created", "application_submitted"].

Minimum array length: 1
Available options:
allocation_created,
allocation_payment_created,
allocation_payment_deleted,
allocation_payment_status_changed,
allocation_payment_updated,
application_category_changed,
application_chapter_changed,
application_copied,
application_created,
application_deleted,
application_eligible,
application_ineligible,
application_moderated,
application_resubmitted,
application_submitted,
application_tagged,
application_updated,
assignment_completed,
assignment_created,
collaborator_invited,
document_created,
document_deleted,
document_updated,
field_value_updated,
grant_report_created,
grant_report_submitted,
grant_status_changed,
membership_registered,
order_payment_pending,
order_payment_success,
review_task_created,
review_task_submitted,
role_granted,
user_updated
signing_key
string

Key used to sign outgoing webhook requests so the receiver can validate the payload. Must be alphanumeric (AZ, az, 09).

If omitted, the account's existing webhook signing key is reused, or a new key is generated when the account has none. Supply a unique key to isolate each receiver's trust boundary.

Maximum string length: 128
Pattern: ^[A-Za-z0-9]+$
notification_emails
string

Email addresses that receive webhook delivery-failure notifications. Accepts a single address or multiple comma-separated addresses as a string.

form
string | null

Slug of the form to scope the webhook to. When set, the webhook only fires for events on that form. Omit or set to null for an account-wide webhook.

Constraint: only accepted when field_value_updated is among the events array. Sending form without field_value_updated in the events list returns a 422 validation error.

Pattern: ^[A-Za-z]{8}$
fields
string[]

Slugs of the fields to include in the webhook payload.

Pattern: ^[A-Za-z]{8}$

Response

Webhook created.

events
string[]

Subscription events that trigger this webhook.

fields
object[]

Fields included in the webhook payload.

form
object | null

Form the webhook is scoped to. null when the webhook is not scoped to a specific form. When populated, returns slug, link, and name.

method
enum<string>

HTTP method used to call the webhook URL.

Available options:
get,
post
name
string

Name of the webhook.

slug
string

Slug of the webhook.

signing_key
string

Key used to sign outgoing webhook requests so the receiver can validate the payload.

url
string<uri>

URL that receives the webhook payload.

created
string<date-time>

Date and time the webhook was created.

updated
string<date-time>

Date and time the webhook was last updated.