v1

latestOpenAPI 3.1.02026-08-06230114.0 KB
Locations

Create a Location

post/v1/locations/

Headers

Authorizationstring

User access token

User access token

Content-Type'application/json'

Request body

namestring required

Name of the location

Example request

{
  "name": "Home"
}

Response

Returns the created location

namestring required

Name of the location

idstring required

Unique identifier of the location

Example response

{
  "name": "Home",
  "id": "65f8a2b4c9d7e1234567890e"
}