Org Members & Invites

List pending invites

Returns the organization's pending invites with invitee, role, inviter, target unit, and expiry. Invite tokens are omitted from the list (they are only returned when the invite is created). Requires the ADMIN org role.

get/api/v1/orgs/{slug}/invites

Request

  • Base URL: https://api.skills-hub.ai
  • URL: https://api.skills-hub.ai/api/v1/orgs/{slug}/invites
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

slugstring required

Response

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

idstring
tokenstring

Empty in list responses; only returned on invite creation.

inviteeUsernamestring nullable
inviteeEmailstring nullable
role'ADMIN' | 'PUBLISHER' | 'MEMBER'
status'PENDING' | 'ACCEPTED' | 'DECLINED' | 'EXPIRED'
invitedBystring
departmentstring nullable
teamstring nullable
expiresAtstring date-time
createdAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.