Skip to main content
GET
/
api
/
chats
cURL
curl --request GET \
  --url https://recoup-api.vercel.app/api/chats \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "chats": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "topic": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "artist_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your Recoup API key. Learn more.

Query Parameters

artist_account_id
string<uuid>

Optional. Filter chats to only include those for the specified artist.

account_id
string<uuid>

Filter to a specific account. Only applicable for organization API keys - org keys can filter to any account within their organization. Personal keys cannot use this parameter.

Response

Chats retrieved successfully

status
enum<string>
required

Status of the request

Available options:
success
chats
object[]
required

Array of chat room objects