Skip to main content
POST
/
identity
/
entities
/
search
Search Customer
curl --request POST \
  --url https://api.sandbox.sardine.ai/v1/identity/entities/search \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "+14155551234"
}
'
{
  "customerId": "3f8c1a22-1234-4abc-9def-000000000001",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

HTTP Basic Auth. Use your clientId as the username and clientSecret as the password.

Body

application/json
phoneNumber
string
required

E.164 formatted phone number

Example:

"+14155551234"

Response

Customer record (may be empty if not found)

customerId
string | null
Example:

"3f8c1a22-1234-4abc-9def-000000000001"

createdAt
string<date-time> | null