curl --request POST \
--url https://api.gospott.com/clients/_search \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"filters": [
{
"type": "text",
"operator": "contains",
"path": "client.company.name",
"value": "<string>"
}
],
"page": 0,
"pageSize": 20
}
'{
"items": [
{
"id": "<string>",
"name": "<string>",
"domain": "<string>",
"logoUrl": "<string>",
"stage": {
"id": "<string>",
"order": 123,
"name": "<string>",
"colorHex": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"hasNextPage": true
}
}Search clients using a flexible filter set. Returns paginated results with basic client information.
curl --request POST \
--url https://api.gospott.com/clients/_search \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"filters": [
{
"type": "text",
"operator": "contains",
"path": "client.company.name",
"value": "<string>"
}
],
"page": 0,
"pageSize": 20
}
'{
"items": [
{
"id": "<string>",
"name": "<string>",
"domain": "<string>",
"logoUrl": "<string>",
"stage": {
"id": "<string>",
"order": 123,
"name": "<string>",
"colorHex": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"hasNextPage": true
}
}API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.