Retrieve a list of team members
GET {{url}}/api/1.0/team-members
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
created_before | string | Retrieves team members with created_at < created_before. The default value is the current date and time at which you are calling the endpoint. |
Provided in ISO 8601 format. |
| limit
| number | | The maximum number of team members returned per page.
To get to the next page, make a new request and use the created_at date of the last team member returned in the previous response as the value for created_before. |
RESPONSES
status: OK
[{"email":"john.doe@example.com","id":"76969b71-a123-42dc-b874-a34688d7bba4","role_id":"OWNER","state":"active","first_name":"John","last_name":"Doe","created_at":"2022-09-07T09:19:31.592368Z","updated_at":"2022-09-07T09:21:24.346670Z"},{"email":"john.smith@example.com","id":"168922e1-594f-4ca0-93b2-56b742f3936b","role_id":"024abb3d-06da-4701-9254-dfcc3da38385","state":"active","created_at":"2022-09-07T09:19:32.592368Z","updated_at":"2022-09-07T09:21:25.346670Z"}]