Skip to main content

Create retry strategy

Information

This API allows you to create and manage a retry strategy for failed webhook deliveries, enabling customizable retry intervals, limits, and backoff logic.

This endpoint is synchronous
The role admin is needed in order to use this endpoint
Endpoints

POST/v1/config/retry/strategy

Body parameters
activeboolean - Required





Request

POST /v1/config/webhook/retryStrategy


curl -X 'POST'
'https://api.ppd.iopole.fr//v1/config/webhook/retryStrategy'
-H 'accept: application/json'
-H 'Authorization: Bearer ${token}'
-H 'Content-Type: application/json'
-d '{
"active": true
}
}'

Response

Status: 201 - application/json

Description: Returns created retry strategy id

Schema:

  • type: enum
    The type of the response object.
  • id: string
    The unique identifier for the created element.

Status: 401

Description: Unauthorized - Authentication is required and has failed or has not yet been provided.

Status: 403

Description: Forbidden - The server understood the request, but it refuses to authorize it. Note: This endpoint requires an admin account.

Status: 409

Description: Conflict - The request could not be completed. A retry strategy already exists.