Identity API
API keys, access tokens, users and the team of your account.
- Production:
https://identity.keybeapi.com - OpenAPI spec: identity.json
Every operation is authenticated with your API key, except the ones marked as public or user token only. See Authentication.
Authentication
API keys, access tokens and how to verify them.
| Method | Operation | Path |
|---|---|---|
| POST | Exchange an API key for an access token Public, no credential | /v1/oauth/token |
| POST | Inspect a credential | /v1/auth/introspect |
| POST | Log in with email and password Public, no credential | /v1/auth/login |
| POST | Refresh an access token Public, no credential | /v1/auth/refresh |
| POST | Validate an access token Public, no credential | /v1/auth/validate |
| POST | Log out | /v1/auth/logout |
| POST | Log out everywhere | /v1/auth/logout-all |
| GET | Get the public signing keys Public, no credential | /.well-known/jwks.json |
API keys
Machine credentials of an app, owned by one of its admins.
| Method | Operation | Path |
|---|---|---|
| GET | List the API keys of an app | /v1/apps/{appUUID}/apikeys |
| POST | Create an API key | /v1/apps/{appUUID}/apikeys |
| DEL | Revoke an API key | /v1/apps/{appUUID}/apikeys/{id} |
Users
The current user and the users of your app.
| Method | Operation | Path |
|---|---|---|
| GET | Get the current user | /v1/users/me |
| PATCH | Update the current user profile | /v1/users/me |
| GET | Get a user | /v1/users/{userId} |
| PATCH | Update a user profile | /v1/users/{userId} |
Team
Who belongs to your app and with which role.
| Method | Operation | Path |
|---|---|---|
| GET | List the members of an app | /v1/apps/{appUUID}/members |
| POST | Add an existing user to the app | /v1/apps/{appUUID}/members |
| POST | Invite someone to the team | /v1/apps/{appUUID}/invitations |
| POST | Resend an invitation | /v1/apps/{appUUID}/invitations/{userId}/resend |
| GET | Get a member | /v1/apps/{appUUID}/members/{userId} |
| PATCH | Update a member | /v1/apps/{appUUID}/members/{userId} |
| DEL | Remove a member | /v1/apps/{appUUID}/members/{userId} |
| PUT | Transfer the app ownership | /v1/apps/{appUUID}/owner |