Send invitation
Developing
POST
/members/invitations
POST
/account/users/invitations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.vidinfra.com/v1/members/invitations' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "rakajui@gmail.com",
"permissions" : [
{
"entity_id": "d932c659-7ae8-4c84-aad5-8e23b275947d",
"entity_type": "projects",
"name": "full-access",
"action": "write+read+delete",
"permission": []
},
{
"entity_id": "ab262a90-3e1d-4a71-ac52-b0c76d7af467",
"entity_type": "organizations",
"name": "billing",
"action": "",
"permission": []
},
{
"entity_id": "ab262a90-3e1d-4a71-ac52-b0c76d7af467",
"entity_type": "organizations",
"name": "api",
"action": "write+read",
"permission": []
}
]
////////////////////////////////////////////////////////////////////
// "permissions": [
// {
// "entity_id": "f32a0116-fe11-454c-8e6a-5ff4101882e5",
// "entity_type": "projects",
// "name": "custom",
// "action": "",
// "permission": [
// {
// "action": "custom",
// "folders": [
// {
// "action": "write+read+delete",
// "folder_id": "6e4f9469-fbbe-48c7-adb4-9f67ea3bac1a"
// }
// ],
// "name": "folders"
// },
// {
// "action": "write+read+delete",
// "name": "livestreams"
// },
// {
// "action": "write+read+delete",
// "name": "analytics"
// },
// {
// "action": "write+read+delete",
// "name": "advertisements"
// },
// {
// "action": "write+read",
// "name": "settings"
// }
// ]
// },
// {
// "entity_id": "0a4a7720-c50d-475d-b4af-4a58f3847d7d",
// "entity_type": "organizations",
// "name": "billing",
// "action": "write+read",
// "permission": []
// },
// {
// "entity_id": "0a4a7720-c50d-475d-b4af-4a58f3847d7d",
// "entity_type": "organizations",
// "name": "api",
// "action": "write+read",
// "permission": []
// }
// ]
}'
Response Response Example
200 - Example 1
{}
Request
Body Params application/json
Responses
Modified at 2025-06-19 04:59:01