curl --request POST \
--url https://api.supernotes.app/v1/members/{card_id}/invite/{user_id} \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"perms": 1318
}'
{
"status": -2,
"perms": -1,
"via_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Invite a friend directly to an existing card
curl --request POST \
--url https://api.supernotes.app/v1/members/{card_id}/invite/{user_id} \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"perms": 1318
}'
{
"status": -2,
"perms": -1,
"via_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Successful Response
The response is of type object
.