curl --request POST \
--url https://apix.us.amity.co/api/v4/communities/{communityId}/join/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userId": "<string>"
}'
{
"success": true
}
This API allows moderators to approve a community join requests and add the user to the community.
curl --request POST \
--url https://apix.us.amity.co/api/v4/communities/{communityId}/join/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userId": "<string>"
}'
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
1 - 900
Approve and Reject Join Request Response
The response is of type object
.