cURL
curl --request POST \ --url https://cloud.activepieces.com/api/v1/user-invitations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "PROJECT", "email": "<string>", "projectId": "<string>", "projectRole": "<string>" } '
{ "id": "<string>", "created": "<string>", "updated": "<string>", "email": "<string>", "status": "PENDING", "type": "PLATFORM", "platformId": "<string>", "platformRole": "ADMIN", "projectId": "<string>", "projectRoleId": "<string>", "projectRole": { "id": "<string>", "created": "<string>", "updated": "<string>", "name": "<string>", "permissions": [ "<string>" ], "type": "<string>", "platformId": "<string>", "userCount": 123 }, "link": "<string>" }
Send a user invitation to a user. If the user already has an invitation, the invitation will be updated.
Use your api key generated from the admin console
PROJECT
Default Response
PENDING
PLATFORM
ADMIN
MEMBER
OPERATOR
Show child attributes