Skip to main content
These endpoints let you manage your team programmatically, so onboarding and offboarding can be automated from your identity or HR tooling. All requests require an API key in the X-API-Key header. See API Reference for authentication and the standard 401 / 403 / 429 / 500 error shapes shared by every endpoint on this page.
An API key acts as an admin. It can invite admins and members, and remove members. Owners and admins can only be removed from Settings → Team.
Members belong to your company, so they can reach every workspace in it. Removing someone takes away their access to all of them.

List Members

Returns everyone in your company, oldest first.
GET /api/v1/members — Returns 200 OK

Example Request

Response Fields

array
List of members.
integer
Total number of members returned.

Example Response


Invite Member

Invites someone to your company. New users get an email invitation to set up their account. People who already have an Autosana account are added right away and get an email letting them know.
POST /api/v1/members — Returns 201 Created. 400 if they are already a member, or if your organization uses SSO (those users sign in through your identity provider instead). Inviting someone whose invitation is still pending sends them a fresh one.

Request Body

string
required
Email address to invite.
string
required
Full name (1–200 characters).
string
member (default) or admin.

Example Request

Example Response


Remove Member

Removes a member from your company.
DELETE /api/v1/members/{member_id} — Returns 204 No Content. 403 if the member is an owner or admin. 404 if the member does not exist.
string
required
UUID of the member, from List Members.