POST Timeclock location

Changed on

/timeclocks/locations Permission level: 3

post/timeclocks/locations

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Request body application/x-www-form-urlencoded

namestring required
typeinteger

enum[1,2] 1: Computer, 2: IP address

ipstring
descriptionstring

Response

200

statusinteger
datastring
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": "Location added",
  "token": "xxxxxxx"
}

Changes