v4

latestOpenAPI 3.1.02026-08-0453110161.5 KB
v1

Upsert Participant

Invite a member or update their role.

Self-action (target == caller): only an invited member may change their own role, and only to 'member' (accepting the invitation). Other-action (target != caller): caller must be an owner. Any role is allowed.

patch/api/v1/assistant/trademe/conversations/{conversation_id}/participants/{target_member_id}

Path parameters

target_member_idstring required
conversation_idstring required

Headers

authorizationstring nullable

Request body

role'owner' | 'member' | 'invited' required

Response

Successful Response

idstring required
titlestring nullable
createdAtstring date-time required
updatedAtstring date-time required
lastMessageAtstring date-time nullable
isSharedboolean required
assistantStatus'idle' | 'running' | 'error'
messageCountinteger
capabilitiesstring[] nullable
kindstring