Skip to content
Docs
GitHub

Accept my invitation

Preview

Accept an actionable organization invitation addressed to the authenticated user’s verified email.

Public APIEverruns Cloud and self-hosted Platform

POST/v1/me/invitations/{public_id}/accept

See authentication for credentials and permissions.

public_id
required
string

Public invitation ID

Responses

200Invitation accepted

Invitation accepted

Media typeapplication/json

Accept response: where the caller now has membership.

object
org_id
required
string
role
required
string

Example generated

{
"org_id": "example",
"role": "example"
}
401Unauthorized

Unauthorized

403Email is unverified

Email is unverified

404Invitation not found

Invitation not found

409Invitation is revoked, accepted, or no longer actionable

Invitation is revoked, accepted, or no longer actionable

410Invitation expired

Invitation expired