Organization
Organization and user management
Retrieves all members of an organization
Organization ID
Page number (1-indexed)
1
Items per page (max 100)
10
Search by email or name
Members retrieved successfully
curl -X GET "https://imeritapi.ango.ai/v2/organization/org123/users?page=1&limit=10&search=john" \
-H "apikey: YOUR_API_KEY" \
-H "Content-Type: application/json"
Members retrieved successfully
{
"status": "success",
"data": {
"users": [
{
"_id": "text",
"email": "text",
"name": "text",
"organizationRole": "Admin",
"createdAt": "2025-10-07T12:41:43.605Z"
}
]
}
}
Updates roles for multiple organization members
Organization ID
Members updated successfully
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": "[email protected]",
"organizationRole": "Admin"
}
]
}
Members updated successfully
{
"status": "success",
"data": {
"users": {
"updated": 1,
"failed": 1,
"results": [
{
"email": "text",
"status": "text"
}
]
}
}
}
Removes multiple members from an organization
Organization ID
Members deleted successfully
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": [
"[email protected]"
]
}
Members deleted successfully
{
"status": "success",
"data": {
"deleted": 1,
"failed": 1
}
}
Retrieves pending invitations for an organization
Organization ID
Page number (1-indexed)
1
Items per page (max 100)
10
Invites retrieved successfully
GET /v2/organization/{orgId}/invites HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Accept: */*
Invites retrieved successfully
{
"status": "success",
"data": {
"invites": [
{
"_id": "text",
"to": "[email protected]",
"organizationRole": "Admin",
"status": "Pending",
"createdBy": "text",
"createdAt": "2025-10-07T12:41:43.605Z",
"expiresAt": "2025-10-07T12:41:43.605Z"
}
]
}
}
Invites new members to your organization
Organization ID
Invitations sent successfully
POST /v2/organization/{orgId}/invites HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 242
{
"to": [
"[email protected]"
],
"organizationRole": "Admin",
"projectAssignments": [
{
"projectId": "text",
"projectRole": "text"
}
],
"organizationRoleAssignments": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"projectRoleAssignments": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
Invitations sent successfully
{
"status": "success",
"data": {
"invites": [
{
"_id": "text",
"to": "[email protected]",
"organizationRole": "Admin",
"status": "Pending",
"createdBy": "text",
"createdAt": "2025-10-07T12:41:43.605Z",
"expiresAt": "2025-10-07T12:41:43.605Z"
}
]
}
}
Deletes multiple pending invitations
Organization ID
Invites deleted successfully
DELETE /v2/organization/{orgId}/invites HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"invites": [
"text"
]
}
Invites deleted successfully
{
"status": "success",
"data": {
"deleted": 1,
"failed": 1
}
}