Skip to content

API reference

Team

Read who works in the shop, their roles, and pending invites.

Get the team

GET/api/v1/team

Who works in the shop and their role, owner first, with invites not yet accepted. Read only: invites and role changes stay in the dashboard, with the person doing them signed in.

Scope
team:read
MCP tool
team_get
Changes data
No

Parameters

No parameters.

Request

curl "https://3commerce.com/api/v1/team" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "members": [
    {
      "id": "3f5a7c9e-1b2d-4e6f-8a0c-2e4f6a8c0e1b",
      "email": "owner@example.com",
      "name": "Ava Brooks",
      "role": "owner",
      "joined_at": "2026-01-10T09:00:00.000Z"
    }
  ],
  "invites": [
    {
      "id": "5b7d9f1a-3c5e-4a7b-9d1f-3a5c7e9b1d2f",
      "email": "sam@example.com",
      "role": "fulfillment",
      "sent_at": "2026-11-25T09:00:00.000Z",
      "expires_at": "2026-12-02T09:00:00.000Z",
      "expired": false
    }
  ]
}

List roles

GET/api/v1/team/roles

Every staff role, most powerful first, with what it is for and the dashboard permissions it holds. A key’s scopes map onto these permissions: a member can only grant a key what their own role holds.

Scope
team:read
MCP tool
team_roles
Changes data
No

Parameters

No parameters.

Request

curl "https://3commerce.com/api/v1/team/roles" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "data": [
    {
      "role": "fulfillment",
      "label": "Fulfillment",
      "description": "Orders, fulfillment, returns, and customers to read.",
      "permissions": [
        "orders.view",
        "returns.manage"
      ]
    }
  ]
}