GET /teams/{teamId}/integrations/{id}/deliveries
Entregas (status, tentativas, resposta truncada)
- Access: Team member
- Service:
https://api.axuz.net
Accepted authentication
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Status, tentativas e resposta TRUNCADA (1 KiB); nunca segredo.
listDeliveries responde GET .../integrations/{id}/deliveries.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
teamId | path | string | yes | |
id | path | string | yes | |
webhook_id | query | string | no | |
status | query | string | no | |
limit | query | integer | no | |
cursor | query | string | no | Opaco (keyset created_at,id). Nunca OFFSET. |
Responses
200
OK (keyset)
| Name | Type | Required | Description |
|---|---|---|---|
items | array<Delivery> | yes | |
items[].id | string<uuid> | yes | Tambem e o X-Axuz-Delivery-Id. |
items[].integration_id | string<uuid> | yes | |
items[].webhook_id | string<uuid> | yes | |
items[].direction | string | yes | enum: |
items[].event_type | string | yes | |
items[].event_id | string | no | |
items[].status | string | yes | pending (aguardando/retry), delivering, delivered, dead_letter (DLQ), blocked (SSRF/guard), sunk (fora de prd: nada enviado), received (entrada). enum: |
items[].attempts | integer | yes | |
items[].max_attempts | integer | yes | |
items[].next_attempt_at | string<date-time> | yes | |
items[].last_attempt_at | string<date-time> | no | |
items[].last_status_code | integer | no | |
items[].last_response | string | no | Truncada em 1 KiB. |
items[].last_error | string | no | Codigo curto; nunca URL/segredo. |
items[].delivered_at | string<date-time> | no | |
items[].created_at | string<date-time> | yes | |
next_cursor | string | yes |
400
Corpo/parametro invalido (invalid, invalid_body, invalid_cursor...)
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
401
Sem credencial valida
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
403
Sem permissao (nao e owner/admin; token sem escopo; token de integracao em rota nao permitida)
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Nao existe NESTE time (404 uniforme: nao vaza existencia entre times)
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
429
Limite de requisições excedido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
Examples
"Try it" is turned off in this reference. Use the examples with your test credential.
curl
curl -sS -X GET 'https://api.axuz.net/teams/TEAM_ID/integrations/ID/deliveries' \
-H "Authorization: Bearer $AXUZ_TOKEN"Node.js
const res = await fetch("https://api.axuz.net/teams/TEAM_ID/integrations/ID/deliveries", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
},
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"GET",
"https://api.axuz.net/teams/TEAM_ID/integrations/ID/deliveries",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())