v22

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-15361989.5 KB

Get the signing secret for the default webhook

Get the signing secret for the default webhook endpoint. This is used to verify that webhook requests are coming from Replicate.

Example cURL request:

curl -s \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  https://api.replicate.com/v1/webhooks/default/secret

The response will be a JSON object with a key property:

{
  "key": "..."
}
get/webhooks/default/secret

Response

Success

keystring

The signing secret.