webhooks
Create a subscription
Changed onCreate a subscription for an event type. When an event is triggered in the Prolific system, the hook will automatically notify the specified target URL.
Before creating a subscription, you must ensure that you have created a secret for your workspace.
A new subscription is created with is_enabled set to false and won't receive any events until it has been confirmed via the confirm subscription endpoint.
post/api/v1/hooks/subscriptions/
Request
- Base URLhttps://api.prolific.com
- URLhttps://api.prolific.com/api/v1/hooks/subscriptions/
- AuthAPI key in header Authorization
Request body
Response
Created
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
tokenwas added to the API
- warning
- info
api operation id
create-subscriptionremoved and replaced withwebhooks_CreateSubscription
- info