webhooks

Create/replace a secret

Changed on

Generate a secret for verifying the request signature header of the subscription payload. If a secret already exists, this call will delete the old secret and create a new one.

post/api/v1/hooks/secrets/

Request

  • Base URL
    https://api.prolific.com
  • URL
    https://api.prolific.com/api/v1/hooks/secrets/
  • Auth
    API key in header Authorization

Request body

workspace_idstring

The ID of the workspace you are creating the secret in

Response

Generated

idstring

The ID of the secret.

valuestring

The secret value.

workspace_idstring

The ID of the workspace that the secret belongs to.

Changes