Skip to main content
POST
https://api.clay.com/public/v0
/
searches
Create a search from natural language text
curl --request POST \
  --url https://api.clay.com/public/v0/searches \
  --header 'Content-Type: application/json' \
  --header 'clay-api-key: <api-key>' \
  --data '
{
  "query": "<string>"
}
'
{
  "search_id": "<string>"
}

Authorizations

clay-api-key
string
header
required

Personal API key tied to your Clay user. Create one under Settings → Account in the Clay app.

Body

application/json

Body

query
string
required
Minimum string length: 1
source_type
enum<string>
required
Available options:
people,
companies

Response

200

search_id
string
required