List the authenticated customer's own bookings
GET
/api/portal/bookings
const url = 'https://example.com/api/portal/bookings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/portal/bookings \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
offset
integer
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
status
required
string
startTime
required
string
endTime
required
string
durationMinutes
required
integer
serviceId
required
string format: uuid
serviceName
required
string
staffId
required
string format: uuid
staffName
required
string
priceCents
required
integer
Example
{ "data": [ { "status": "pending", "locationType": "in_person" } ]}