import requests
url = "http://localhost:3000/v1/invitation/send-invitation-mail/{email}"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invited_email": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"registered": true,
"role": "admin",
"invited_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}import requests
url = "http://localhost:3000/v1/invitation/send-invitation-mail/{email}"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invited_email": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"registered": true,
"role": "admin",
"invited_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
admin, member