Accepting an invite will immediately add you to an organization. You can not accept an invite if you are already in an organization.
curl --location --request POST 'https://sux.chatsight.ai/api/users/self/inviteAccept' \
--header 'Authorization: Bearer <API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ticket": <INVITE_TICKET>
}'
What is <INVITE_TICKET>
?
<INVITE_TICKET>
?INVITE_TICKET
is the name of the property key in your notifications that corresponds to the invite request.