cURL
curl --request POST \ --url https://api.veryfront.com/conversations/{id}/participants \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "member" } '
{ "id": "<string>", "conversationId": "<string>", "role": "<string>", "notificationPreference": "<string>", "joinedAt": "<string>", "userId": "<string>", "lastReadMessageId": "<string>" }
Adds a user as a participant with the given role
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Conversation ID
member
viewer
Added participant