Listar logs do webhook
curl --request GET \
--url https://apiv3.usecorvex.com.br/api/v1/webhooks/{webhookId}/logs \
--header 'Authorization: Bearer <token>' \
--header 'X-Store-Id: <x-store-id>'const options = {
method: 'GET',
headers: {'X-Store-Id': '<x-store-id>', Authorization: 'Bearer <token>'}
};
fetch('https://apiv3.usecorvex.com.br/api/v1/webhooks/{webhookId}/logs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv3.usecorvex.com.br/api/v1/webhooks/{webhookId}/logs"
headers = {
"X-Store-Id": "<x-store-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"logs": [
{
"id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee",
"webhookId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"event": "ORDER_PAID",
"status": "SUCCESS",
"responseStatus": 200,
"errorMessage": null,
"executionTime": 120,
"retryCount": 0,
"createdAt": "2026-09-24T14:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 1,
"totalPages": 1
}
}
}{
"success": false,
"error": {
"message": "X-Store-Id deve ser um UUID válido",
"code": "VALIDATION_ERROR"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 400
}
}{
"success": false,
"error": {
"message": "Esta rota exige uma API Key. Use Authorization: Bearer cvx_live_...",
"code": "AUTH_API_KEY_REQUIRED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 401
}
}{
"success": false,
"error": {
"message": "Sua API Key não tem o escopo necessário para esta operação.",
"code": "AUTH_SCOPE_DENIED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 403
}
}{
"success": false,
"error": {
"message": "Recurso não encontrado",
"code": "RESOURCE_NOT_FOUND"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 404
}
}{
"success": false,
"message": "Muitas requisições. Tente novamente em instantes.",
"error": "RATE_LIMITED",
"retryAfter": 12
}Gerenciar (API v1)
Listar logs do webhook
GET
/
api
/
v1
/
webhooks
/
{webhookId}
/
logs
Listar logs do webhook
curl --request GET \
--url https://apiv3.usecorvex.com.br/api/v1/webhooks/{webhookId}/logs \
--header 'Authorization: Bearer <token>' \
--header 'X-Store-Id: <x-store-id>'const options = {
method: 'GET',
headers: {'X-Store-Id': '<x-store-id>', Authorization: 'Bearer <token>'}
};
fetch('https://apiv3.usecorvex.com.br/api/v1/webhooks/{webhookId}/logs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv3.usecorvex.com.br/api/v1/webhooks/{webhookId}/logs"
headers = {
"X-Store-Id": "<x-store-id>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"logs": [
{
"id": "eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee",
"webhookId": "cccccccc-cccc-4ccc-8ccc-cccccccccccc",
"event": "ORDER_PAID",
"status": "SUCCESS",
"responseStatus": 200,
"errorMessage": null,
"executionTime": 120,
"retryCount": 0,
"createdAt": "2026-09-24T14:00:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 1,
"totalPages": 1
}
}
}{
"success": false,
"error": {
"message": "X-Store-Id deve ser um UUID válido",
"code": "VALIDATION_ERROR"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 400
}
}{
"success": false,
"error": {
"message": "Esta rota exige uma API Key. Use Authorization: Bearer cvx_live_...",
"code": "AUTH_API_KEY_REQUIRED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 401
}
}{
"success": false,
"error": {
"message": "Sua API Key não tem o escopo necessário para esta operação.",
"code": "AUTH_SCOPE_DENIED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 403
}
}{
"success": false,
"error": {
"message": "Recurso não encontrado",
"code": "RESOURCE_NOT_FOUND"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 404
}
}{
"success": false,
"message": "Muitas requisições. Tente novamente em instantes.",
"error": "RATE_LIMITED",
"retryAfter": 12
}Authorizations
API Key no formato cvx_live_..., criada no painel Corvex. Não use JWT de sessão nem x-api-key.
Headers
UUID da loja. A chave precisa ter esta loja autorizada.
Path Parameters
UUID do webhook.
Query Parameters
Required range:
x >= 1Required range:
1 <= x <= 100Available options:
PENDING, SUCCESS, FAILED, RETRYING, TIMEOUT Example:
"ORDER_PAID"
Response
Sucesso.