Skip to content

Ramp: Fetch a user — response body

Fetch a user: response body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a user — response body

FieldTypePresenceDescription and constraints
$objectRoot
business_idJSONRequired within parent
business_id (anyOf 1)stringAlternativeUnique identifier of the company that the employee’s working for.
Format: uuid
business_id (anyOf 2)nullAlternative
custom_fieldsarrayRequired within parentA list of custom fields of the user.
Read only: true
custom_fields[]ModelEach itemExpand Fetch a user — response body — custom fields item
department_idJSONRequired within parent
department_id (anyOf 1)stringAlternativeUnique identifier of the employee’s department
Format: uuid
department_id (anyOf 2)nullAlternative
emailstringOptionalThe employee’s email address
employee_idJSONRequired within parent
employee_id (anyOf 1)stringAlternativeAn alternative identifier for an employee, coming from external systems, which can be used in place of an email.
employee_id (anyOf 2)nullAlternative
entity_idJSONRequired within parent
entity_id (anyOf 1)stringAlternativeUnique identifier of business entity user is associated with.
Format: uuid
entity_id (anyOf 2)nullAlternative
first_namestringOptionalFirst name of the employee
idstringOptionalUnique employee identifier
Format: uuid
is_managerbooleanRequired within parentWhether the employee is a manager
Read only: true
last_namestringOptionalLast name of the employee
location_idJSONRequired within parent
location_id (anyOf 1)stringAlternativeUnique identifier of the employee’s location
Format: uuid
location_id (anyOf 2)nullAlternative
manager_idJSONRequired within parent
manager_id (anyOf 1)stringAlternativeUnique identifier of the employee’s manager
Format: uuid
manager_id (anyOf 2)nullAlternative
phoneJSONRequired within parent
phone (anyOf 1)stringAlternativeThe employee’s phone number
Read only: true
phone (anyOf 2)nullAlternative
rolestringOptionalThe employee’s role
Known values: AUDITOR, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER, BUSINESS_OWNER, BUSINESS_USER, GUEST_USER, IT_ADMIN, UNBUNDLED_ADMIN, UNBUNDLED_BOOKKEEPER, UNBUNDLED_OWNER, UNBUNDLED_USER
scheduled_deactivation_dateJSONRequired within parent
scheduled_deactivation_date (anyOf 1)stringAlternativeThe date when the user is scheduled to be deactivated. Presented in ISO8601 format.
Format: date-time
scheduled_deactivation_date (anyOf 2)nullAlternative
scheduled_invitation_dateJSONRequired within parent
scheduled_invitation_date (anyOf 1)stringAlternativeThe date when the user (currently in USER_DRAFT status) is scheduled to be invited to Ramp. Presented in ISO8601 format. Null if no invitation is scheduled.
Format: date-time
scheduled_invitation_date (anyOf 2)nullAlternative
statusstringRequired within parentKnown values: INVITE_EXPIRED, INVITE_PENDING, USER_ACTIVE, USER_DRAFT, USER_INACTIVE, USER_ONBOARDING, USER_SUSPENDED
Read only: true

Referenced models: Fetch a user — response body — custom fields item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.