Webhooks
Subscribe an HTTPS endpoint to account events and inspect deliveries.
Base URL: https://fineproxy.org/account_new ·Download the OpenAPI 3.1 specification
Api List Event Types
GET/api/v1/customer/webhooks/events
Required scope: Any valid API key
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/webhooks/events" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response
Response fields (1)
| Name | Type | Description |
|---|---|---|
eventsrequired | array<string> |
Api List Webhooks
GET/api/v1/customer/webhooks
Required scope: Any valid API key
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/webhooks" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
urlrequired | string | |
secret_prefixrequired | string | |
eventsrequired | array<string> | |
descriptionoptional | string | null | |
is_activerequired | boolean | |
disabled_reasonoptional | string | null | |
consecutive_failuresoptional | integer | Default: 0 |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null |
Api Create Webhook
POST/api/v1/customer/webhooks
Required scope: Any valid API key
Request body
| Name | Type | Description |
|---|---|---|
urlrequired | string | |
eventsrequired | array<string> | |
descriptionoptional | string | null |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/webhooks" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/webhooks/fineproxy",
"events": [
"string"
]
}'Responses
201Successful Response422Validation Error
Response fields (11)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
urlrequired | string | |
secret_prefixrequired | string | |
eventsrequired | array<string> | |
descriptionoptional | string | null | |
is_activerequired | boolean | |
disabled_reasonoptional | string | null | |
consecutive_failuresoptional | integer | Default: 0 |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null | |
secretrequired | string |
Api Get Webhook
GET/api/v1/customer/webhooks/{endpoint_id}
Required scope: Any valid API key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/webhooks/$ENDPOINT_ID" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
urlrequired | string | |
secret_prefixrequired | string | |
eventsrequired | array<string> | |
descriptionoptional | string | null | |
is_activerequired | boolean | |
disabled_reasonoptional | string | null | |
consecutive_failuresoptional | integer | Default: 0 |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null |
Api Update Webhook
PATCH/api/v1/customer/webhooks/{endpoint_id}
Required scope: Any valid API key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
urloptional | string | null | |
eventsoptional | array<string> | null | |
descriptionoptional | string | null | |
is_activeoptional | boolean | null |
Example request
curl -X PATCH "https://fineproxy.org/account_new/api/v1/customer/webhooks/$ENDPOINT_ID" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/webhooks/fineproxy",
"events": [
"string"
],
"description": "203.0.113.10"
}'Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
urlrequired | string | |
secret_prefixrequired | string | |
eventsrequired | array<string> | |
descriptionoptional | string | null | |
is_activerequired | boolean | |
disabled_reasonoptional | string | null | |
consecutive_failuresoptional | integer | Default: 0 |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null |
Api Delete Webhook
DELETE/api/v1/customer/webhooks/{endpoint_id}
Required scope: Any valid API key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_idrequired | path | string (uuid) |
Example request
curl -X DELETE "https://fineproxy.org/account_new/api/v1/customer/webhooks/$ENDPOINT_ID" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (1)
| Name | Type | Description |
|---|---|---|
messagerequired | string |
Api List Deliveries
GET/api/v1/customer/webhooks/{endpoint_id}/deliveries
Required scope: Any valid API key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_idrequired | path | string (uuid) | |
limitoptional | query | integer | Default: 50 |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/webhooks/$ENDPOINT_ID/deliveries" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (12)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
event_idrequired | string (uuid) | |
endpoint_idrequired | string (uuid) | |
event_typerequired | string | |
statusrequired | string | |
attemptsrequired | integer | |
next_attempt_atoptional | string (date-time) | null | |
last_response_codeoptional | integer | null | |
last_response_bodyoptional | string | null | |
last_erroroptional | string | null | |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null |
Api Send Test
POST/api/v1/customer/webhooks/{endpoint_id}/test
Required scope: Any valid API key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
endpoint_idrequired | path | string (uuid) |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/webhooks/$ENDPOINT_ID/test" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
201Successful Response422Validation Error
Response fields (12)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
event_idrequired | string (uuid) | |
endpoint_idrequired | string (uuid) | |
event_typerequired | string | |
statusrequired | string | |
attemptsrequired | integer | |
next_attempt_atoptional | string (date-time) | null | |
last_response_codeoptional | integer | null | |
last_response_bodyoptional | string | null | |
last_erroroptional | string | null | |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null |
Api Redeliver
POST/api/v1/customer/webhooks/deliveries/{delivery_id}/redeliver
Required scope: Any valid API key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
delivery_idrequired | path | string (uuid) |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/webhooks/deliveries/$DELIVERY_ID/redeliver" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
201Successful Response422Validation Error
Response fields (12)
| Name | Type | Description |
|---|---|---|
idrequired | string (uuid) | |
event_idrequired | string (uuid) | |
endpoint_idrequired | string (uuid) | |
event_typerequired | string | |
statusrequired | string | |
attemptsrequired | integer | |
next_attempt_atoptional | string (date-time) | null | |
last_response_codeoptional | integer | null | |
last_response_bodyoptional | string | null | |
last_erroroptional | string | null | |
created_atoptional | string (date-time) | null | |
updated_atoptional | string (date-time) | null |