About this document
For integrations that manage members and quotas outside the Qoder UI. Complete Get API Key first, then read Conventions.Requirements
- Valid API key:
Authorization: Bearer <api_key>. - Key must belong to the target organization; caller permissions must allow the operation.
API list
1. List members
GET /v1/organizations/{organization_id}/members
Paginated retrieval of organization members, with keyword search support.
Path parameters
Query parameters
Success response (200 OK)
Default query (active members only):
Some member records may not return the email field; treat it as optional during integration.
Including deleted members (**includeDeleted=true**):
deletedAtis only returned for deleted members; active members do not include this field. An emptynextTokenstring indicates the last page.
Response fields
2. Get member details
GET /v1/organizations/{organization_id}/members/{member_id}
Retrieve detailed information for a single member.
Path parameters
Success response (200 OK)
Active member:**GetMember** automatically includes deleted members):
Response fields
Same as themembers[] fields in “List members”.
3. Get member statistics
GET /v1/organizations/{organization_id}/members/statistics
Retrieve statistical data about organization members.
Path parameters
Success response (200 OK)
Response fields
4. Delete member
DELETE /v1/organizations/{organization_id}/members/{member_id}
Remove a member from the organization. Before removal, the system checks whether the member had usage in the current billing cycle.
Path parameters
Success response (200 OK)
Member has usage in the current cycle (seat release deferred to end of cycle):Response fields
Error responses
Member not in this team (404)5. Get member quota
GET /v1/organizations/{organization_id}/members/{member_id}/quota
Query the full usage details for a specified member, including plan quota, resource pack quota, total quota, and organization shared pack quota.
Path parameters
Success response (200 OK)
With organization shared pack, status normal:When the organization has no shared pack,sharedQuotais not returned; when the member has no resource pack,resourcePackageQuotais not returned. Astatusofrestrictedmeans the usage limit has been reached.
Response fields
Quota summary fields
6. Batch get member quotas
POST /v1/organizations/{organization_id}/members/batchGetQuota
Query quota usage for multiple members in one request. This endpoint has the same quota scope as Get member quota.
Path parameters
Request body (JSON)
Success response (200 OK)
quotas array follows the order of memberIds, including duplicate IDs. If a member has no quota record, only memberId and userId are returned for that item. If any member does not exist in the organization, the entire request returns 404 NotFound; partial success is not returned.
Response fields
7. Update member Add-On Cap
PUT /v1/organizations/{organization_id}/members/{member_id}/addon-cap
Update a member’s Shared Add-On quota cap (based on Big Model Credits quota).
Path parameters
Request parameters (JSON)
Request examples
Set a quota cap:Success response (200 OK)
Response fields
Error responses
Invalid addOnCap format (400)8. Batch update member Add-On Cap
POST /v1/organizations/{organization_id}/batchUpdateAddOnCap
Batch update the Shared Add-On quota cap for specified members (based on Big Model Credits quota). Up to 100 members per request; all members are set to the same cap.
Path parameters
Request parameters (JSON)
Request examples
Batch set quota cap:Success response (200 OK)
previousAddOnCapofnullmeans the member previously had no limit (unlimited).
Response fields
Error responses
Invalid addOnCap format (400)Error codes
Error response shape: see Error responses in Conventions.