Skip to main content
GET
/
artist-clients
/
get-clients
Get Clients
curl --request GET \
  --url http://localhost:3000/api/artist-clients/get-clients
[
  {
    "id": "<string>",
    "displayName": "<string>",
    "email": "<string>",
    "locations": [
      {
        "address": "<string>",
        "city": "<string>",
        "state": "<string>",
        "country": "<string>",
        "latitude": 123,
        "longitude": 123
      }
    ],
    "phoneNumber": "<string>",
    "photoURL": "<string>",
    "pronouns": "Don't Specify",
    "firstBookingDate": 123,
    "totalSpent": 123,
    "notes": "<string>",
    "bookingIds": [
      "<string>"
    ],
    "conversationId": "<string>",
    "otherPronouns": "<string>"
  }
]

Response

List of clients retrieved successfully

id
string
required

The unique identifier of the client

displayName
string
required

The client's display name

email
string
required

The client's email address

locations
object[]
required

List of client's locations

phoneNumber
string
required

The client's phone number

photoURL
string
required

URL to the client's profile photo

pronouns
enum<string>
required

The client's preferred pronouns

Available options:
Don't Specify,
He/Him,
She/Her,
They/Them,
Other
firstBookingDate
number
required

Timestamp of the first booking with this client

totalSpent
number
required

Total amount spent by this client

notes
string
required

Artist's notes about this client

bookingIds
string[]
required

List of booking IDs associated with this client

conversationId
string
required

ID of the conversation thread with this client

otherPronouns
string

Custom pronouns when pronouns is 'Other'