Skip to main content
POST
/
hooks
/
retryIDs
Retry Hooks
curl --request POST \
  --url https://api.posthook.io/v1/hooks/retryIDs \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "projectID": "<string>",
  "hookIDs": [
    "<string>"
  ]
}
'
Manually retry a batch of failed hooks.

Parameters

projectID
string
required
The ID of the project.
hookIDs
array
required
An array of hook IDs to retry.

Example

{
  "projectID": "proj_123",
  "hookIDs": ["hook_abc", "hook_def"]
}

Authorizations

X-API-Key
string
header
required

Body

application/json
projectID
string
required
hookIDs
string[]
required

Response

200

Retries queued