Skip to Content

List workspace members

You're viewing API version 2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.
GET
/api/v1/members

Returns the members of the workspace bound to the current API token, paginated and filterable by activity, role and free-text search. Address an individual member by their userId.

Permission required: MANAGE_WORKSPACE_MEMBERS on the workspace.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Query Parameters

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

Paginated workspace members

application/json
  1. response

Paginated workspace members

members*array<>
totalPages*number
Example Request
curl -X GET 'https://app.sajn.se/api/v1/members?page=1&perPage=20&status=%22all%22&orderBy=%22joinedAt%22&orderDirection=%22asc%22' \  -H 'authorization: string'
Example Response
{  "members": [    {      "userId": "string",      "email": "string",      "name": "string",      "role": {        "id": "string",        "name": "string"      },      "status": "active",      "lastActiveAt": null,      "joinedAt": null    }  ],  "totalPages": 0}

Was this page helpful?