Skip to content

Retrieve an employee

GET
/employees/{id}
curl --request GET \
--url https://api.usepayloom.com/api/v1/employees/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'
id
required
string format: uuid

OK

Media typeapplication/json

Statutory inputs (tax profile, household composition, birthdate) and PII (tax identifier, phone, bank details) are deliberately not exposed.

object
id
string format: uuid
object
string
Allowed value: employee
staff_id

Your own identifier for this person.

string
nullable
full_name

Derived from first_name, middle_name, last_name and suffix. The name printed on payslips and carried in bank payment files; the honorific is not included.

string
title

Honorific (Mr

string
nullable
first_name
string
middle_name
string
nullable
last_name

Null only on a legacy one-word name.

string
nullable
suffix

Jr., III, PhD … Part of the legal name.

string
nullable
classification
string
Allowed values: employee contractor
jurisdiction
string
denomination_currency
string
payment_currency
string
start_date
string format: date
nullable
end_date
string format: date
nullable
archived
boolean
department
string
nullable
position
string
nullable
location
string
nullable
created_at
string format: date-time
updated_at
string format: date-time
Example
{
"object": "employee",
"classification": "employee",
"jurisdiction": "GH"
}

Missing, invalid, revoked or expired key.

Media typeapplication/json
object
error
object
code
required
string
Allowed values: missing_token invalid_token revoked expired insufficient_scope organization_not_operable not_found invalid_request validation_failed rate_limited
message
required
string
details
object
key
additional properties
any
Example
{
"error": {
"code": "missing_token"
}
}

The key is valid but lacks the required scope.

Media typeapplication/json
object
error
object
code
required
string
Allowed values: missing_token invalid_token revoked expired insufficient_scope organization_not_operable not_found invalid_request validation_failed rate_limited
message
required
string
details
object
key
additional properties
any
Example
{
"error": {
"code": "missing_token"
}
}

No such resource in this organization.

Media typeapplication/json
object
error
object
code
required
string
Allowed values: missing_token invalid_token revoked expired insufficient_scope organization_not_operable not_found invalid_request validation_failed rate_limited
message
required
string
details
object
key
additional properties
any
Example
{
"error": {
"code": "missing_token"
}
}