For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Trust CenterStatusSupportGet a demoPlatform
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
DocumentationEvals API ReferenceIntegrations & OTELPlatform SettingsSelf-HostingGuidesChangelog
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
    • Data Models
    • API Conventions
  • Data Models
      • GETRetrieve Organization
      • PUTUpdate Organization
        • GETList Organization Invitations
        • POSTCreate Organization Invitations
        • PUTResend Organization Invitation
        • DELRevoke Organization Invitation
  • Evals
  • Legacy
LogoLogo
Trust CenterStatusSupportGet a demoPlatform
Data ModelsOrganizationInvitations

Create Organization Invitations

POST
https://api.confident-ai.com/v1/organization/invitations
POST
/v1/organization/invitations
$curl -X POST https://api.confident-ai.com/v1/organization/invitations \
> -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>" \
> -H "Content-Type: application/json" \
> -d '{
> "emails": [
> "carol@example.com",
> "dave@example.com"
> ],
> "organizationRoleId": "role-uuid-2"
>}'
200Successful
1{
2 "success": true,
3 "data": {
4 "invitations": [
5 {
6 "id": 101,
7 "email": "carol@example.com",
8 "status": "PENDING",
9 "created_at": "2024-12-04T23:00:00.000Z",
10 "organizationRoleId": "role-uuid-2"
11 },
12 {
13 "id": 102,
14 "email": "dave@example.com",
15 "status": "PENDING",
16 "created_at": "2024-12-04T23:00:00.000Z",
17 "organizationRoleId": "role-uuid-2"
18 }
19 ]
20 }
21}

Invites one or more users to your organization by email. Emails that are already members or already invited are skipped. Optionally assign an organization role to the invitees — the Owner role cannot be assigned. Inviting members is not available on the Free plan outside of the trial period.

Was this page helpful?
Previous

Resend Organization Invitation

Next
Built with

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Request

This endpoint expects an object.
emailslist of stringsRequired
One or more email addresses to invite
organizationRoleIdstringOptionalformat: "uuid"

Optional organization role id to assign to all invitees. The Owner role cannot be assigned.

Response

successboolean
Indicates if the request was successful
dataobject