GET
/
v1
/
accounts
/
contacts
/
search
curl --request GET \
  --url https://platform.thena.ai/v1/accounts/contacts/search \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <api-key>'
[
  {
    "id": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>",
    "phoneNumber": "<string>",
    "avatarUrl": "<string>",
    "accounts": [
      "<string>"
    ],
    "contactTypeId": "<string>",
    "contactType": "<string>",
    "customFieldValues": [
      "<string>"
    ],
    "metadata": {},
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Query Parameters

email
string
required

The email of the customer contact to search

Example:

"john.doe@example.com"

Response

200
application/json
Operation successful
id
string
required

The identifier of the customer contact

firstName
string
required

The first name of the customer contact

lastName
string
required

The last name of the customer contact

email
string
required

The email of the customer contact

phoneNumber
string
required

The phone number of the customer contact

avatarUrl
string
required

The avatar URL of the customer contact

accounts
string[]
required

The name of the account

contactTypeId
string
required

The identifier of the contact type

contactType
string
required

The name of the contact type

customFieldValues
string[]
required

The custom field values

metadata
object
required

The metadata of the contact

createdAt
string
required

The creation date of the contact

updatedAt
string
required

The last update date of the contact