Skip to main content
POST
/
api
/
v3
/
sites
/
join
Join via charger credentials
curl --request POST \
  --url https://app.plugchoice.com/api/v3/sites/join \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "identity": "b",
  "pincode": 4326.41688,
  "team_uuid": "architecto"
}
'
{
  "message": "Successfully joined location",
  "site_id": 123,
  "site_uuid": "abc-123",
  "site_name": "My Location",
  "team_uuid": "def-456"
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Body

application/json
identity
string
required

Must not be greater than 255 characters.

Example:

"b"

pincode
number
required
Example:

4326.41688

team_uuid
string
required

The uuid of an existing record in the teams table.

Example:

"architecto"

Response

200 - application/json

Successfully joined the location

message
string
Example:

"Successfully joined location"

site_id
integer
Example:

123

site_uuid
string
Example:

"abc-123"

site_name
string
Example:

"My Location"

team_uuid
string
Example:

"def-456"