Invite a member into an organization
/api/v1/organizations/{id}/invitesInvites an email into the organization with the role bound to the invitation; acceptance creates the Environment membership and the organization membership in one step. Works for emails with no identity in the Environment — one is created on acceptance. Requires the identity.manage permission and emits invite.created.
Authentication
Bearer Token
Authorization Option A JWT access token
API Key
X-API-Key Option B API key for management-tier access
Path Parameters
idstring Required Request body
application/json
emailstring Required Email to invite. Works for people with no identity in this Environment — one is created when they accept.
role_idstring Required The role the member will hold in this organization on acceptance.
first_namestring Optional last_namestring Optional send_emailboolean Optional Set false to skip the email and deliver the returned accept URL yourself.
Responses
application/json
data *ApiIdentityInviteResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X POST "https://auth.canopy-io.com/api/v1/organizations/value/invites" \ -H "X-API-Key: $CANOPY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "role_id": "string", "first_name": "string", "last_name": "string", "send_email": true }'
{ "data": { "id": "string", "email": "string", "intent": "activate", "first_name": "string", "last_name": "string", "name": "string", "role_id": "string", "node_id": "string", "environment_id": "string", "environment_name": "string", "has_initial_assignment": false, "status": "pending", "expires_at": "2026-04-20T12:00:00.000Z", "invited_by": "string", "created_at": "2026-04-20T12:00:00.000Z", "accept_url": "string" } }
Tell us how we can improve this guide.