List booking services
GET
/api/v1/booking-services
const url = 'https://renotify.app/api/v1/booking-services?active=true&per_page=15';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://renotify.app/api/v1/booking-services?active=true&per_page=15' \ --header 'Authorization: Bearer <token>'The services customers can book, active and inactive.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”active
Only active services (1) or only inactive ones (0).
boolean
Only active services (1) or only inactive ones (0).
Example
trueper_page
Results per page, up to 100.
integer
Results per page, up to 100.
Example
15Responses
Section titled “Responses”Media typeapplication/json
object
errors
Array<object>
object
status
string
title
string
detail
string
Example
{ "errors": [ { "status": "401", "title": "Unauthenticated", "detail": "Unauthenticated." } ]}