POST
/
api
/
v1
/
organisations
/
invite
Invite User Endpoint
import requests

url = "https://platform.ankra.app/api/v1/organisations/invite"

payload = {
    "organisation_id": "<string>",
    "invitee_email": "jsmith@example.com",
    "role": "member"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
{
  "success": true,
  "message": "<string>"
}

Headers

authorization
string | null

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.