Skip to main content
POST
/
locations
cURL
curl --request POST \
  --url https://api.vooma.ai/v0/locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "location": {
    "externalIds": [
      {
        "type": "CUSTOM",
        "value": "<string>"
      }
    ],
    "address": {
      "country": "<string>",
      "postalCode": "<string>",
      "city": "<string>",
      "state": "<string>",
      "addressTwo": "<string>",
      "addressOne": "<string>"
    },
    "geoCoordinates": {
      "longitude": 123,
      "latitude": 123
    },
    "name": "<string>"
  }
}
'
{
  "externalIds": [
    {
      "type": "CUSTOM",
      "value": "<string>"
    }
  ],
  "address": {
    "country": "<string>",
    "postalCode": "<string>",
    "city": "<string>",
    "state": "<string>",
    "addressTwo": "<string>",
    "addressOne": "<string>"
  },
  "geoCoordinates": {
    "longitude": 123,
    "latitude": 123
  },
  "name": "<string>",
  "id": "<string>"
}
Beta Feature: This functionality is currently in beta. You may experience changes or limited support as we continue to improve it.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
location
object
required

Response

200 - application/json

Ok

externalIds
object[]
required
address
object
required
geoCoordinates
object
name
string
id
string