Confirm a subscription
Confirm a subscription to an event type
Authentication
Authorizationstring
The Prolific API uses API token to authenticate requests. You can create an API token directly from your settings.
Your API token does not have an expiry date and carries full permission, so be sure to keep them secure.
If your token is leaked, delete it and create a new one directly in the app.
In your requests add `Authorization` header with the value `Token <your token>`.
Path Parameters
subscription_id
Subscription id
Request
This endpoint expects an object.
secret
The secret that was generated when the subscription was created and returned as the X-Hook-Secret header.
Response
Confirmed
event_type
The name of the event type associated to the subscription.
target_url
The URL that the subscription will notify when your event type is triggered.
workspace_id
The ID of the workspace we will create the subscription in.
id
The ID of the subscription.
is_enabled
Whether the subscription is enabled or not.