Invite Members
Testing
POST
/spaces/{spaceId}/members/invite
spaceId
: Space Id to which the member blongs.membersWithId
and membersWIthEmail
which are the invitees inside the platform and outside the platform.for those outside the platform
email
is required but if the user is inside the platform profileId
and the role
it's being assigned as an array of objects. The role can be space-member
, space-supervisor
and space-coordinator
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/spaces/6617c00ed3179eccf598d5fd/members/invite' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"membersWithId": [
{
"profileId": "661165cc1060d8cb9f73954f",
"role": "space-member"
}
],
"membersWithEmail": [
{
"email": "leulabay@gmail.com"
}
]
}'
Response Response Example
201 - Success
[
{
"id": "67ad9c19727ca0f0f0d9d582",
"user": {
"id": "67ab1b37c33b8007d9d1009e",
"type": "profile"
},
"role": "space-member",
"spaceId": "67ac523f76ff0a90fd11f913",
"invited": true,
"invitedAt": "2025-02-13T07:19:38.996Z",
"licenses": [],
"email": "duressajemal3@gmail.com",
"expiresAt": "2025-02-15T07:19:38.000Z"
}
]
Request
Path Params
spaceId
stringÂ
required
Example:
6617c00ed3179eccf598d5fd
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified at 2025-04-10 05:54:25