Projects and access

Invite member

Shared command transport. All logical arguments in JSON; no query or Idempotency-Key header. See canonical operation reference.

post/v1/commands/invite_member

Request

  • Base URL: https://app.agentlinkops.com
  • URL: https://app.agentlinkops.com/v1/commands/invite_member
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

X-Workspace-IDstring

Required when using a Clerk human session. With an API key, omit this header or supply its bound workspace.

Request body

emailstring required

Email address to bind an invitation to; AgentLinkOps does not send the invitation.

role'admin' | 'member' | 'viewer'

Workspace access role; cannot exceed the acting member’s authority.

projectIdsstring[]

Accessible project IDs. Where nullable, null grants all projects.

Response

Command result, including queued admission.

idstring required

Resource identifier returned by the operation.

workspace_idstring required

Workspace that owns this record.

emailstring required
rolestring required
project_idsstring[] nullable required

Accessible project identifiers; null grants access to all workspace projects.

invited_bystring required
created_atstring required

UTC timestamp when the record was created.

expires_atstring required
accepted_atstring nullable required
revoked_atstring nullable required
statestring required

Saved lifecycle or evidence state, as enumerated for this record.

tokenstring

Invitation token returned only at creation. The accepting account must have the matching verified email.

Changes

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