Skip to content

Get Artists

Retrieve artists accessible to an account. Supports filtering by organization or showing only personal (non-organization) artists.

Endpoint

GET https://api.recoupable.com/api/artists

Parameters

NameTypeRequiredDescription
accountIdstringYesThe account ID
orgIdstringNoFilter to artists in a specific organization
personalstringNoSet to "true" to show only personal (non-org) artists

Filtering Behavior

ParametersReturns
accountId onlyAll artists (personal + all organizations)
accountId + orgId=xyzOnly artists in that specific organization
accountId + personal=trueOnly personal artists (not in any org)

Request Examples

cURL
# Get all artists
curl -X GET "https://api.recoupable.com/api/artists?accountId=account-uuid" \
  -H "Content-Type: application/json"
 
# Get artists in a specific organization
curl -X GET "https://api.recoupable.com/api/artists?accountId=account-uuid&orgId=org-uuid" \
  -H "Content-Type: application/json"
 
# Get only personal artists (not in any org)
curl -X GET "https://api.recoupable.com/api/artists?accountId=account-uuid&personal=true" \
  -H "Content-Type: application/json"

Response Format

{
  "status": "success",
  "artists": [
    {
      "account_id": "artist-uuid-1",
      "name": "Mac Miller",
      "image": "https://example.com/mac.jpg",
      "pinned": true,
      "socials": [
        {
          "id": "social-uuid",
          "platform": "instagram",
          "username": "macmiller",
          "profile_url": "https://instagram.com/macmiller"
        }
      ]
    },
    {
      "account_id": "artist-uuid-2",
      "name": "Wiz Khalifa",
      "image": "https://example.com/wiz.jpg",
      "pinned": false,
      "socials": []
    }
  ]
}

Response Properties

PropertyTypeDescription
statusstringStatus of the request ("success" or "error")
artistsarrayList of artist objects
artists[].account_idstringUUID of the artist account
artists[].namestringArtist display name
artists[].imagestring | nullArtist profile image URL
artists[].pinnedbooleanWhether the account has pinned this artist
artists[].socialsarraySocial media profiles linked to the artist
messagestringError message (only present if status is "error")

Use Cases

  • Artist Sidebar: Show list of accessible artists in navigation
  • Organization View: Filter to show only artists managed by a specific org
  • Personal View: Show only artists not shared with any organization