Skip to main content

Get all booking statuses

Method GET

https://my.easyweek.io/api/public/v2/bookings/statuses/all

Description: This endpoint returns all booking statuses defined in the workspace, including terminal (successful/unsuccessful) statuses. This is broader than Get booking statuses, which returns only the in-progress statuses used for status changes. Each status carries a type describing its stage in the booking lifecycle.

Example Request

curl -i -X GET \
https://my.easyweek.io/api/public/v2/bookings/statuses/all \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'

Example Response

{
"data": [
{
"uuid": "87720786-2e2c-4df8-a9f3-7719be6b41c8",
"name": "Confirmed",
"type": "inprogress"
},
{
"uuid": "ab72e362-c8c2-4238-b863-398f03baf457",
"name": "Completed",
"type": "successful"
},
{
"uuid": "6e2b1f0a-9c3d-4a7e-8b1c-2d3e4f5a6b7c",
"name": "Canceled",
"type": "unsuccessful"
}
]
}

Without pagination.