The Space Members API enables you to manage user access to a space—a shared environment within the Aimable Platform. This domain allows you to invite users, manage memberships, accept invitations, and control access rights programmatically. It's essential for building collaboration features, automating team onboarding, or integrating with external identity systems.
Key Concepts
Space: A logical container for collaboration. Identified by a space_id (UUID).
Member: A user who has joined the space. Represented by a principal_id (UUID).
Invite: A time-limited token granting access to join a space. Can be created, updated, accepted, or revoked.
Principal: A user or service identity in the system, identified globally by principal_id.
Authentication is required for all endpoints using a Bearer token in the Authorization header. Optional X-API-Key header may be used for additional identification.
How to Use the API
1. Invite a User to a Space
Creates an invite for a specific user (principal_id) to join a space.
Use this API to build dynamic access control, team management dashboards, or automated provisioning flows. Always validate responses and handle revocation or expiration of invites appropriately.