POST
https://api.main.apexscore.ai
/
api
/
v1
/
organization-invitations
curl --request POST \
  --url https://api.main.apexscore.ai/api/v1/organization-invitations/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "organization_id": "e8e912b6-ba9b-4c3a-bb4f-d04bdc370843",
  "email": "user@example.com",
  "first_name": "Member",
  "last_name": "Person",
  "role": 0
}'
{
  "sent": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "token": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "expiry_date": "2023-11-07T05:31:56Z",
      "status": 0,
      "organization": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      },
      "inviter_member": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "first_name": "<string>",
        "last_name": "<string>",
        "email": "jsmith@example.com"
      },
      "email": "jsmith@example.com",
      "first_name": "<string>",
      "last_name": "<string>",
      "email_sent": true,
      "role": 0,
      "accessible_portfolios": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>"
        }
      ]
    }
  ],
  "failed": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The response is of type object.