cURL
curl --request POST \ --url https://ragapi.sno.ai/v1/spaces/invites/{action} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "spaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "success": true }
Allows a user to accept or reject an invitation to a space.
Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'
Action to perform on the invitation
accept
reject
Invitation processed successfully