Authorization header as Bearer <your_api_key>.
List workspace members
GET https://api.chevre.io/v1/workspaces/{workspace_id}/members
Returns an array of all active members in the specified workspace. Pending invitations that have not yet been accepted are not included — use the List invitations endpoint for those.
Path parameters
The unique identifier of the workspace whose members you want to list (e.g.
ws_01HXYZ).Example request
Example response
200
Response fields
An array of member objects for the workspace.
Invite a user
POST https://api.chevre.io/v1/workspaces/{workspace_id}/invitations
Sends an email invitation to the specified address, granting the recipient access to the workspace with the given role when they accept. If the email address already belongs to an active member of the workspace, the request returns a 409 Conflict error.
Invitations expire after 7 days. If the recipient does not accept within that window, you will need to send a new invitation. You can monitor invitation status using the
status field on the invitation object.Path parameters
The unique identifier of the workspace to invite the user into (e.g.
ws_01HXYZ).Request body
The email address of the person you want to invite. Must be a valid email format.
The role to assign to the user when they accept the invitation. Accepted values:
"owner"— full administrative control, including billing and workspace deletion."admin"— can manage members, projects, and all workspace settings."editor"— can create and edit projects and automations, but cannot manage members."viewer"— read-only access to all shared projects in the workspace.
Example request
Example response
201
Response fields
The newly created invitation object.
Update a member’s role
PATCH https://api.chevre.io/v1/workspaces/{workspace_id}/members/{member_id}
Updates the role of an existing workspace member. You must have admin or owner permissions in the workspace to update member roles. An owner cannot downgrade their own role — another owner must perform that action.
Path parameters
The unique identifier of the workspace (e.g.
ws_01HXYZ).The unique identifier of the member whose role you want to update (e.g.
mem_02STU).Request body
The new role to assign to the member. Accepted values:
"owner", "admin", "editor", or "viewer".Example request
Example response
200
Response fields
The updated member object.
Remove a member
DELETE https://api.chevre.io/v1/workspaces/{workspace_id}/members/{member_id}
Removes a member from the workspace, immediately revoking their access to all projects and data within it. The removed member’s account is not deleted — they simply lose access to this workspace.
Path parameters
The unique identifier of the workspace (e.g.
ws_01HXYZ).The unique identifier of the member to remove (e.g.
mem_02STU).Example request
Example response
204
A successful removal returns HTTP
204 No Content with an empty response body.