Get one bookable by its key
Returns the bookable identified by type and externalId, including archived ones. Use it to read back a single indexed object
JWTAuthorizationBearer <JWT>Bearer JWT. Required on every endpoint except /health
type*stringCustomer-defined entity type, e.g. "listing" or "doctor"
^[a-z][a-z0-9_]{0,63}$externalId*stringThe entity's id in the customer's database
1 <= length <= 255The bookable
application/json- response
id*stringServer-assigned unique identifier
uuidobject*stringWhich resource this entity is — its role
"bookable""participant"type*EntityTypeCustomer-defined entity type. Lowercase, created on first use, bound to one role per project
^[a-z][a-z0-9_]{0,63}$externalId*stringThe entity's id in the customer's database
name*stringstatus*string"active""archived"attributes*Free-form JSON describing the entity. Indexed and filterable. Keys match ^[A-Za-z][A-Za-z0-9_]{0,63}$; ≤ 32 KB serialized; nesting depth ≤ 4
createdAt*stringdate-timeupdatedAt*stringdate-timecurl -X GET 'https://api.slotr.dev/v1/bookables/string/string'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "bookable", "type": "string", "externalId": "string", "name": "string", "status": "active", "attributes": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}List bookables in the project GET
Returns a page of bookable entities ordered by most recently updated. Use it to browse or sync what the project has indexed; use search when you need to filter by attributes
Create or replace one bookable PUT
Creates the bookable or fully replaces its name, status and attributes, keyed by type and externalId. Use it to index or update a single object from your database; the type is created on first use. Sending status active restores an archived entity