Skip to main content
POST
Invite a workspace member

Authorizations

Authorization
string
header
required

Opaque, expiring AMS machine token created by browser-assisted CLI login. Management requests are restricted to that machine profile's workspace, active lifecycle, and linked human membership.

Path Parameters

workspace_id
string<uuid>
required

Exact workspace UUID.

Body

application/json
email
string<email>
required
Maximum string length: 320
role
enum<string>
default:member
Available options:
admin,
member

Response

The invitation and private acceptance URL.

invitation
object
required
acceptance_url
string<uri>
required

Private, email-bound URL returned only when the invitation is created.

delivery
enum<string>
required

workos_email means the identity provider accepted the invitation for sending; email_failed means sending was not confirmed; manual_link indicates an AMS-generated link. For manual_link, check email_sent before sharing it manually.

Available options:
manual_link,
workos_email,
email_failed
email_sent
enum<boolean>

Present when the email provider accepted the AMS-generated link for sending. This does not confirm inbox delivery.

Available options:
true