Skip to main content
GET
/
conversations
/
get-conversations
Get Conversations
curl --request GET \
  --url http://localhost:3000/api/conversations/get-conversations
{
  "conversations": [
    {
      "id": "<string>",
      "artistId": "<string>",
      "clientId": "<string>",
      "otherUserName": "<string>",
      "otherUserPhotoURL": "<string>",
      "otherUserUsername": "<string>",
      "lastMessage": {},
      "unreadCounts": {}
    }
  ]
}

Query Parameters

view
enum<string>
required

The view perspective (artist or client)

Available options:
artist,
client

Response

Conversations retrieved successfully

conversations
object[]