v1

latestOpenAPI 3.0.12026-07-24310590875.6 KB
users

Get current user details

Get details about the current user. This is the user that generated the Spend & Expense API token.

get/v3/spend/users/current

Headers

apiTokenstring nullable

Access token for Spend & Expense API authentication

Example:{{api_token}}

Response

Get current user details response

idstring

BILL-generated ID of the user

uuidstring

BILL-generated UUID of the user

firstNamestring

User first name

lastNamestring

User last name

emailstring

User email address

receiptEmailstring

Receipt categorization email address

retiredboolean

Set as true if the user is deleted

useCompanyMailingAddressboolean

Set as true if the company email address is set for the user

smsOptInboolean

Set as true if SMS notifications are enabled for the user

hasDateOfBirthboolean

Set as true if the user date of birth is set

role'ADMIN' | 'APPROVER' | 'AUDITOR' | 'BOOKKEEPER' | 'MEMBER' | 'FINANCE_ADMIN' | 'NO_ACCESS'

User role

phoneNumberstring

User phone number

createdTimestring date-time

User created date and time