import requests
url = "https://platform.ankra.app/api/v1/organisations/invite"
payload = {
"organisation_id": "<string>",
"invitee_email": "[email protected]",
"role": "member"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)