List rooms
Rooms in each location, with the room IDs other tools need.
GET https://cotlet.dev/api/v1/tripleseat/rooms
read
Lists the rooms (event spaces) of your locations with room_id, name and location. Use room_id in list_events, check_room_availability and convert_lead. Your account may have several locations; pass location_id to see one.
Parameters
| Name | Type | Description |
|---|---|---|
| location_id integer | integer | Only this location. Needed if your account has more than one. |
Request
curl https://cotlet.dev/api/v1/tripleseat/rooms \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("tripleseat", "list_rooms") const result = await cotlet.call('tripleseat', 'list_rooms'); cotlet call tripleseat list_rooms Example response
{
"rooms": [
{
"room_id": 3301,
"name": "Garden Room",
"location": "Harbor House"
},
{
"room_id": 3302,
"name": "Loft",
"location": "Harbor House"
}
]
}