Skip to main content
POST
/
v1
/
au
/
locations
Create a new location
curl --request POST \
  --url https://api.halth.com/v1/au/locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "minorId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Provide your API key as a Bearer token

Body

application/json
name
string
required
Required string length: 1 - 255

Response

201 - application/json
id
string
required
name
string
required
minorId
string
required
createdAt
string<date-time>
required