The Create Organization Invitation API allows administrators to send an invitation to a new user to join the organization. By providing the necessary details, such as the recipient’s email and role, this API generates and sends an invitation, enabling the recipient to join the organization with the specified permissions.
Request
Authorization
Add parameter in header
X-Jicoo-Api-Key
Example:
X-Jicoo-Api-Key: ********************
Body Params application/json
email
string<email>
required
Email of the invitee
role
enum<string>
optional
Role assigned to the invitee
Allowed values:
owneradminmemberrestricted
Example
{"email":"user@example.com","role":"owner"}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/v1/organization_invitations' \
--header'Content-Type: application/json' \
--header'X-Jicoo-Api-Key;' \
--data-raw''