Get one delivery with its response body and every attempt
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{pid}/deliveries/{id} \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{pid}/deliveries/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{pid}/deliveries/{id}"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"delivery": {
"id": "<string>",
"destination_id": "<string>",
"destination_name": "<string>",
"destination_url": "<string>",
"event_id": "<string>",
"dataset": "<string>",
"status": "queued",
"response_code": 123,
"response_ms": 123,
"attempts": 123,
"max_attempts": 123,
"next_retry_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"response_body": "<string>",
"response_content_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"attempts": [
{
"n": 123,
"at": "2023-11-07T05:31:56Z",
"ok": true,
"status_code": 123,
"response_ms": 123,
"error": "<string>",
"response_body": "<string>"
}
],
"attempts_not_recorded": 1
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}Deliveries
Get one delivery with its response body and every attempt
Top-level alias: GET /admin/api/deliveries/. Readable by any role.
GET
/
admin
/
api
/
projects
/
{pid}
/
deliveries
/
{id}
Get one delivery with its response body and every attempt
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{pid}/deliveries/{id} \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{pid}/deliveries/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{pid}/deliveries/{id}"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"delivery": {
"id": "<string>",
"destination_id": "<string>",
"destination_name": "<string>",
"destination_url": "<string>",
"event_id": "<string>",
"dataset": "<string>",
"status": "queued",
"response_code": 123,
"response_ms": 123,
"attempts": 123,
"max_attempts": 123,
"next_retry_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"response_body": "<string>",
"response_content_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"attempts": [
{
"n": 123,
"at": "2023-11-07T05:31:56Z",
"ok": true,
"status_code": 123,
"response_ms": 123,
"error": "<string>",
"response_body": "<string>"
}
],
"attempts_not_recorded": 1
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>"
}Authorizations
sessionbearerAuthapiKey
The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.
Path Parameters
Project id (UUID) belonging to the caller workspace.
Delivery id.
Response
The delivery, including the captured response body (the only endpoint that returns it), and attempts: every attempt it made, oldest first. A failed attempt is kept as its own row; the successful one is the delivery itself.
Show child attributes
Show child attributes
Every attempt, oldest first. Failed attempts are kept for the plan's retention window.
Show child attributes
Show child attributes
Attempts this delivery made before attempt history was kept (#194). 0 for any delivery created since.
Required range:
x >= 0