Skip to main content
GET
/
v1
/
settings
/
pay-codes
/
{payCodeId}
Get Pay Code
curl --request GET \
  --url https://app.untetherlabs.com/api/v1/settings/pay-codes/{payCodeId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "Overtime",
  "shorthandName": "OT",
  "hexColor": "#f97316",
  "type": "hours",
  "value": 1.5
}

Authorizations

Authorization
string
header
required

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

Path Parameters

payCodeId
string<uuid>
required

Response

id
string<uuid>
required
name
string
required
Example:

"Overtime"

shorthandName
string
required
Example:

"OT"

hexColor
string
required
Example:

"#f97316"

type
enum<string>
required
Available options:
hours,
days,
money
value
number
required
Example:

1.5