Single Member Actions
Get Member
GET
/
v1
/
members
/
{id}
This API returns a single member given their Onsi provided member_id
.
Authorizations
X-API-KEY
string
headerrequiredHeaders
x-idempotency-key
string
Unique key to ensure idempotency of the request
Path Parameters
id
string
requiredThe unique identifier for a Member, prefixed with mem_
Response
200 - application/json
email
string
requiredmemberId
string
requiredOnsi's ID of the member
firstName
string
requiredlastName
string
requiredphone
string | null
requiredtier
string
requiredTier name for the member
workerId
string | null
requiredUnique ID provided by API consumer, must be unique across all members (active, invited and inactive)
status
enum<string>
requiredThe status of the member.
Available options:
active
, invited
, inactive
accountDetails
object
requiredenablePayroll
boolean
required