Add Admin Organization Member
Add an existing user as a member of an organization (admin only).
Authorization
bearerAuth Authentication required for all endpoints. Supports Better Auth user credentials and dedicated agent bearer API keys (coworker_ or sokoBot_). Soko Bot runtime routes use their documented Vercel OIDC plus scoped turn-grant authentication.
In: header
Path Parameters
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/v1/admin/organizations/acme-corp/members" \ -H "Content-Type: application/json" \ -d '{ "userId": "user_123" }'{
"data": {
"id": "member_123",
"organizationId": "org_123",
"role": "member",
"seatAssignedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"user": {
"id": "user_123",
"name": "Jane Doe",
"email": "jane@example.com"
},
"lastSeenAt": "2021-01-01T00:00:00.000Z",
"subscriptionPlan": "starter",
"subscriptionStatus": "active"
},
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"pagination": {
"cursor": "cmg4zknxt0000l404yn4li0kp",
"limit": 20,
"total": 100,
"nextCursor": "cmi4gmksz000104l8wps8p7fp"
}
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}{
"error": "Unauthorized",
"message": "Authentication required",
"kind": "organization_not_found",
"meta": {
"timestamp": "2021-01-01T00:00:00.000Z",
"requestId": "5091b3ea-994f-4417-8e04-2efc05dd8673",
"path": "/v1/agents",
"method": "GET"
}
}Add Admin Matched Channel Participants From Organization POST
Snapshot current Organization Members onto a live matched channel as members (admin only). Idempotent per user. Rejects when the organization has more than 200 Members — add in smaller waves or per user. Returns added / alreadyMember / totalMembers counts.
Aggregate Admin Task X402 Payments By Agent GET
Per-agent x402 payment rollup (PR1-SPEC §5): durable goodwill-refund and failure counts ranked worst-first, plus lifecycle totals from retained payment rows (admin only).

