/organizations/{org_id}/invitationsCreate organization invitationsCreates invitations for a specific organization. If the invited user has an existing account, they automatically join as a member. If they don't yet have an account, they are invited to create one, after which they become a member. Each invited user receives an email notification.
Parameters
org_idstringpathrequiredThe Neon organization ID
Request body
requiredapplication/json
invitationsarray of objectrequiredInvitations to create for the organization.
Show child attributes
Show array items
emailstring · emailrequiredEmail address of the person to invite to the organization.
rolestringrequiredOrganization member's role. `admin`: full administrative access. `editor` (and its legacy alias `member`): standard access governed by project permissions. `viewer` and `collaborator`: additional scoped project roles. Some values may not be available for all organizations.
{
"invitations": [
{
"email": "invited-user@email.com",
"role": "member"
}
]
}Responses
invitationsarray of objectrequiredList of pending invitations for the organization.
Show child attributes
Show array items
emailstring · emailrequiredEmail of the invited user
idstring · uuidrequiredThe invitation ID.
invited_atstring · date-timerequiredTimestamp when the invitation was created
invited_bystring · uuidrequiredUUID for the user_id who extended the invitation
org_idstringrequiredOrganization id as it is stored in Neon
rolestringrequiredOrganization member's role. `admin`: full administrative access. `editor` (and its legacy alias `member`): standard access governed by project permissions. `viewer` and `collaborator`: additional scoped project roles. Some values may not be available for all organizations.
{
"invitations": [
{
"email": "user@example.com",
"id": "00000000-0000-0000-0000-000000000000",
"invited_at": "2026-06-09T00:00:00Z",
"invited_by": "00000000-0000-0000-0000-000000000000",
"org_id": "string",
"role": "admin"
}
]
}codestringrequiredmessagestringrequiredError message
request_idstringUnique identifier for the request, useful for debugging. You can set this value manually by including an `X-Request-ID` header in the request. If not provided, the value will be generated automatically.
{
"code": "",
"message": "string",
"request_id": "string"
}