Skip to main content
Use the Cal ID API to manage who belongs to a team and what they can do. Every request is authenticated with a Bearer token, and you must use a team owner or admin API key to manage that team’s memberships. All requests go to the base URL https://api.cal.id and include an Authorization: Bearer calid_xxxxx header. Successful responses return the standard envelope: { "success": true, "data": ..., "message": "...", "meta": {...} }. A team is identified by a teamId, and each membership within it is identified by a membershipId.
Team members can hold one of three roles:
  • MEMBER — the default role for a newly added member.
  • ADMIN — can manage the team and its members.
  • OWNER — full control over the team.
1

Add a member

Add a user to the team by their userId. The role field is optional and defaults to MEMBER.
2

List members

Retrieve all memberships for the team. Results are paginated, with pagination details returned in meta.
3

Change a role

Update a member’s role by their membershipId. For example, promote a member to ADMIN.
4

Remove a member

Remove a member from the team by their membershipId.