Skip to main content
GET
/
invitations
List pending invitations for a team
curl --request GET \
  --url https://core.cyberun.cloud/api/v1/invitations \
  --header 'Authorization: Bearer <token>'
{
  "invitation_list": [
    {
      "id": "019abc12-5678-7890-abcd-ef1234567892",
      "email_address": "bob@example.com",
      "invitation_role": "member"
    }
  ],
  "page_meta": {
    "current_page": 1,
    "per_page": 20,
    "total_count": 42
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User session JWT (Bearer ). Must be paired with the X-Team-ID request header on team-scoped endpoints so the server knows which team's resources to operate on.

Headers

X-Team-ID
string<uuid>

UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):

  • JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
  • Credential callers (sk-, dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
Example:

"019abc12-4567-7890-abcd-ef1234567891"

Query Parameters

current_page
integer
default:1

Page number to retrieve (1-based). Default: 1.

Required range: x >= 1
Example:

1

per_page
integer
default:20

Number of items per page (1–100). Default: 20.

Required range: 1 <= x <= 100
Example:

20

Response

Invitation list

invitation_list
object[]
required

Pending invitations for this team.

page_meta
object
required

Pagination metadata included in all list responses.