Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Personal Access Token, sent verbatim as pat_<32 chars>. PATs are minted from the Chief settings UI.

Path Parameters

id
string
required

Project identifier in the path. Project routes carry no tenancy header; ids outside the caller's reach respond with HTTP 404.

Pattern: ^project_[a-z0-9]{20}$

Body

application/json
email
string<email>
required
role
enum<string>
required

Role granted on acceptance. Validated before anything is persisted; unknown values respond with code publicapi.projects.invitations.create.role.invalid.

Available options:
collaborator,
reader,
owner

Response

Invitation created, or the email was added to the role's existing invitation. The invitation email is sent to newly added addresses.

invitation_id
string
required
Pattern: ^boundary_[a-z0-9]{20}$
email
string<email>
required
role
enum<string>
required

Short public role name, echoing the request.

Available options:
collaborator,
reader,
owner
url
string<uri>
required

Shareable accept link — the same one sent in the invitation email.

created_at
string<date-time>
required