POST
/
api
/
v2
/
teams
/
{team_id}
/
sites
curl --request POST \
  --url https://cloud.volttime.com/api/v2/teams/{team_id}/sites \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "b",
  "street": "n",
  "house_number": 84,
  "house_number_addition": "z",
  "postal_code": "m",
  "city": "i",
  "country": "yv"
}'
{
  "data": {
    "id": 235,
    "name": "Justina Gaylord",
    "street": "Tillman Ridges",
    "postal_code": "50109-8142",
    "house_number": 16748,
    "house_number_addition": "Apt. 498",
    "city": "West Noahmouth",
    "country": "MX",
    "created_at": "2025-03-12T13:49:24.000000Z",
    "updated_at": "2025-03-12T13:49:24.000000Z"
  }
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

team_id
integer
required

The ID of the team.

Body

application/json
name
string
required

Must not be greater than 255 characters.

Example:

"b"

street
string
required

Must not be greater than 255 characters.

Example:

"n"

house_number
number
required

Must be at least 0.

Example:

84

postal_code
string
required

Must not be greater than 255 characters.

Example:

"m"

city
string
required

Must not be greater than 255 characters.

Example:

"i"

country
string
required

Must not be greater than 2 characters.

Example:

"yv"

house_number_addition
string | null

Must not be greater than 255 characters.

Example:

"z"

Response

200 - application/json
data
object

Was this page helpful?