Organization
Organization and user management
Retrieves the members of your organization. Any User field can be used as a query filter, and sort, fields and populate work the same way as on the other list endpoints. Each member's organizations array is trimmed to your organization.
API key for authentication. Format - apikey YOUR_API_KEY
Organization ID. The value is not read by the server: every organization endpoint resolves the organization from the API key, so the call always targets your own organization.
Page number (1-indexed). Sets the page size to 10 when limit is absent.
Items per page. Not capped; without it and without page no limit is applied.
Filter by exact email
Members retrieved successfully
successUnauthorized - invalid or missing API key
Forbidden - insufficient permissions
curl -X GET "https://imeritapi.ango.ai/v2/organization/org123/users?page=1&limit=10&email=john@example.com" \
-H "apikey: YOUR_API_KEY" \
-H "Content-Type: application/json"
{
"status": "success",
"data": {
"users": [
{
"_id": "text",
"id": "text",
"email": "text",
"name": "text",
"type": "human",
"organizations": [
{
"organization": "text",
"organizationRole": "admin"
}
],
"organization": "text",
"organizationRole": "admin",
"organizationLimit": 1,
"pinnedProjects": [
"text"
],
"lastActiveAt": "2026-01-01T00:00:00.000Z",
"emailVerified": true,
"globalExpert": true,
"twoFactorEnabled": true,
"notificationsSnoozed": true,
"personalInformation": {},
"professionalInformation": {},
"deleted": true,
"createdAt": "2026-01-01T00:00:00.000Z"
}
],
"total": 1
}
}Sets the organization role of existing members. The body is not validated here, so a role outside admin and member, or a missing one, is stored as is and the member stops being treated as an admin. Entries whose email is not a member are skipped, but the returned counts still include them.
API key for authentication. Format - apikey YOUR_API_KEY
Organization ID. The value is not read by the server: every organization endpoint resolves the organization from the API key, so the call always targets your own organization.
Members updated successfully
successUnauthorized - invalid or missing API key
Forbidden - insufficient permissions
POST /v2/organization/{orgId}/users HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"users": [
{
"email": "name@gmail.com",
"organizationRole": "admin"
}
]
}{
"status": "success",
"data": {
"users": {
"matchedCount": 1,
"modifiedCount": 1
}
}
}Removes members from your organization. The user account itself is kept and the member stays assigned to any project they were on. One seat is freed per entry that matches an existing user account, whether or not that account was a member. Entries whose email matches no account are skipped, but the returned counts still include them.
API key for authentication. Format - apikey YOUR_API_KEY
Organization ID. The value is not read by the server: every organization endpoint resolves the organization from the API key, so the call always targets your own organization.
Members deleted successfully
successUnauthorized - invalid or missing API key
Forbidden - insufficient permissions
DELETE /v2/organization/{orgId}/users HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"users": [
"name@gmail.com"
]
}{
"status": "success",
"data": {
"users": {
"matchedCount": 1,
"modifiedCount": 1
}
}
}Retrieves the invitations of your organization, including ones already registered or revoked. Any Invitation field can be used as a query filter, and sort, fields and populate work the same way as on the other list endpoints.
API key for authentication. Format - apikey YOUR_API_KEY
Organization ID. The value is not read by the server: every organization endpoint resolves the organization from the API key, so the call always targets your own organization.
Page number (1-indexed). Sets the page size to 10 when limit is absent.
Items per page. Not capped; without it and without page no limit is applied.
Filter by invitation status
Invites retrieved successfully
successUnauthorized - invalid or missing API key
Forbidden - insufficient permissions
GET /v2/organization/{orgId}/invites HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Accept: */*
{
"status": "success",
"data": {
"invites": [
{
"_id": "text",
"id": "text",
"to": "name@gmail.com",
"sender": "text",
"organization": "text",
"organizationRole": "admin",
"status": "pending",
"projectAssignments": [
{
"projectId": "text",
"projectRole": "Manager"
}
],
"toExist": true,
"link": "text",
"sso": true,
"deleted": true,
"createdAt": "2026-01-01T00:00:00.000Z"
}
],
"total": 1
}
}Invites people to your organization. Emails are lowercased and de-duplicated, and addresses that already belong to a member or already have a pending invitation are dropped, so the returned list can be shorter than to. Each new invitation consumes a seat, and the call fails with 403 when the subscription cannot cover every address in to, counted before the dropped ones are removed. Every recipient also gets an in-app notification.
API key for authentication. Format - apikey YOUR_API_KEY
Organization ID. The value is not read by the server: every organization endpoint resolves the organization from the API key, so the call always targets your own organization.
Rejected with 400 when it is not one of these two values
Invitations sent successfully
successBad request - validation error
Unauthorized - invalid or missing API key
Forbidden - insufficient permissions
POST /v2/organization/{orgId}/invites HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 245
{
"to": [
"name@gmail.com"
],
"organizationRole": "admin",
"projectAssignments": [
{
"projectId": "text",
"projectRole": "Manager"
}
],
"organizationRoleAssignments": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"projectRoleAssignments": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}{
"status": "success",
"data": {
"invites": [
{
"_id": "text",
"id": "text",
"to": "name@gmail.com",
"sender": "text",
"organization": "text",
"organizationRole": "admin",
"status": "pending",
"projectAssignments": [
{
"projectId": "text",
"projectRole": "Manager"
}
],
"toExist": true,
"link": "text",
"sso": true,
"deleted": true,
"createdAt": "2026-01-01T00:00:00.000Z"
}
],
"total": 1
}
}Revokes invitations by recipient email, not by invitation ID. The invitation row is kept and its status becomes revoked, and one seat is freed per revoked invitation.
API key for authentication. Format - apikey YOUR_API_KEY
Organization ID. The value is not read by the server: every organization endpoint resolves the organization from the API key, so the call always targets your own organization.
Recipient emails of the invitations to revoke, not invitation IDs
Invites revoked successfully
successUnauthorized - invalid or missing API key
Forbidden - insufficient permissions
DELETE /v2/organization/{orgId}/invites HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"invites": [
"name@gmail.com"
]
}{
"status": "success",
"data": {
"invites": {
"matchedCount": 1,
"modifiedCount": 1
}
}
}Last updated

