List deliveries
GET
Deliveries in one workspace, offset-paginated, newest first. Narrow to a destination, a session or a status.
Access: workspace_viewer · API key sessions:read
api-keyheader
AuthorizationBearer <sk_waylo_<lookup><secret><checksum>>page?numberRange
1 <= value <= 10000Default
1limit?numberRange
1 <= value <= 100Default
25orderDirection?stringDefault
"desc"Value in
"asc""desc"workspaceId*stringFormat
uuiddestinationId?stringFormat
uuidsessionId?stringFormat
uuidstatus?stringValue in
"pending""sending""delivered""failed"orderBy?stringValue in
"createdAt""status""attempts""deliveredAt"Success
application/json- response
[index: integer]?curl -X GET 'https://api.poc.app.waylovoice.ai/deliveries?workspaceId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer sk_waylo_...'Example Response
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c", "destinationId": "d0a0ebc7-d6b4-4f3c-a5af-5761a8148e3a", "destinationName": "string", "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459", "type": "order_note", "status": "pending", "attempts": 0, "lastError": "string", "nextAttemptAt": "2019-08-24T14:15:22Z", "deliveredAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }]Get delivery GET
One delivery, with the body that was sent. **Access:** workspace_viewer · API key `sessions:read`
Resend delivery POST
Send a delivered or failed delivery again, from the first attempt of the schedule. The same body and the same id are sent, so a receiver that already holds it keeps one. **Access:** workspace_admin · API key `sessions:write`