GET
/
v1
/
members
/
{id}

This API returns a single member given their Onsi provided member_id.

Authorizations

X-API-KEY
string
headerrequired

Headers

x-idempotency-key
string

Unique key to ensure idempotency of the request

Path Parameters

id
string
required

The unique identifier for a Member, prefixed with mem_

Response

200 - application/json

A member on the platform.

email
string
required
memberId
string
required

Onsi's ID of the member

firstName
string
required
lastName
string
required
phone
string | null
required
tier
string
required

Tier name for the member

workerId
string | null
required

Unique ID provided by API consumer, must be unique across all members (active, invited and inactive)

status
enum<string>
required

The status of the member.

Available options:
active,
invited,
inactive
accountDetails
object
required
enablePayroll
boolean
required