Users API
API endpoints for user management.
Users API
This documentation is currently being developed. Check back soon for complete content.
List Users
GET /v1/usersParameters
| Parameter | Type | Description |
|---|---|---|
organizationId | string | Filter by organization |
role | string | Filter by role |
Response
{
"data": [
{
"id": "usr_123",
"email": "user@example.com",
"name": "John Doe",
"role": "member"
}
],
"meta": {
"total": 25
}
}Get User
GET /v1/users/:idInvite User
POST /v1/users/inviteRequest Body
{
"email": "newuser@example.com",
"organizationId": "org_123",
"role": "member"
}Update User Role
PATCH /v1/users/:id/roleRequest Body
{
"role": "admin"
}