Get Rooms

List all the available rooms in english and french

Endpoint

GET https://europe-west1-gepettoai.cloudfunctions.net/v1/rooms

Headers

NameTypeDescription

Authorization*

String

Bearer {{API_KEY}}

[
  {
    "id": "living_room",
    "name": "Salon / Pièce à vivre",
    "name-en": "Living room",
    "type": "home"
  },
  ...
]

Code Examples

curl --location 'https://europe-west1-gepettoai.cloudfunctions.net/v1/rooms' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json'

Last updated