Skip to main content
POST
/
candidates
/
_search
Search candidates
curl --request POST \
  --url https://api.gospott.com/candidates/_search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "filters": [
    {
      "value": "<string>"
    }
  ],
  "page": 4503599627370495,
  "pageSize": 50
}
'
{
  "items": [
    {
      "id": "<string>",
      "name": {
        "avatarUrl": "<string>",
        "firstName": "<string>",
        "lastName": "<string>"
      },
      "gender": {},
      "nationality": {
        "nationality": []
      },
      "status": {
        "status": []
      },
      "emails": {
        "emails": [
          {
            "email": "<string>",
            "isPrimary": true
          }
        ]
      },
      "phoneNumbers": {
        "phoneNumbers": [
          {
            "phoneNumber": "<string>",
            "isPrimary": true
          }
        ]
      },
      "locations": {
        "locations": [
          {
            "street1": "<string>",
            "street2": "<string>",
            "postalCode": "<string>",
            "city": "<string>",
            "region": "<string>",
            "state": "<string>",
            "country": "<string>",
            "rawCityCountry": "<string>",
            "latitude": 123,
            "longitude": 123,
            "formattedAddress": "<string>"
          }
        ]
      },
      "dateOfBirth": {
        "dateOfBirth": "2023-11-07T05:31:56Z"
      },
      "socialMedia": {
        "socialMedia": [
          {
            "url": "<string>",
            "isPrimary": true
          }
        ]
      },
      "lastInteractionDate": {
        "lastInteractionDate": "2023-11-07T05:31:56Z"
      },
      "lastInteractionWith": {
        "user": {
          "userId": "<string>",
          "name": "<string>",
          "email": "jsmith@example.com",
          "avatarUrl": "<string>",
          "deactivatedAt": "2023-11-07T05:31:56Z"
        }
      },
      "nextInteractionDate": {
        "nextInteractionDate": "2023-11-07T05:31:56Z"
      },
      "nextInteractionWith": {
        "user": {
          "userId": "<string>",
          "name": "<string>",
          "email": "jsmith@example.com",
          "avatarUrl": "<string>",
          "deactivatedAt": "2023-11-07T05:31:56Z"
        }
      },
      "mainContact": {
        "user": {
          "userId": "<string>",
          "name": "<string>",
          "email": "jsmith@example.com",
          "avatarUrl": "<string>",
          "deactivatedAt": "2023-11-07T05:31:56Z"
        }
      },
      "languages": {
        "languages": [
          {
            "id": "<string>"
          }
        ]
      },
      "compensation": {
        "compensation": {
          "id": "<string>",
          "totalCompensation": 123,
          "baseCompensation": 123
        }
      },
      "currentPlacements": {
        "hasCurrentPlacement": true,
        "placements": [
          {
            "id": "<string>",
            "company": {
              "id": "<string>",
              "name": "<string>",
              "logoUrl": "<string>"
            },
            "startDate": "2023-11-07T05:31:56Z",
            "endDate": "2023-11-07T05:31:56Z"
          }
        ]
      },
      "nextTaskDue": {
        "nextTaskDue": {
          "id": "<string>",
          "content": "<string>",
          "dueDate": "2023-11-07T05:31:56Z"
        }
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "modifiedAt": "2023-11-07T05:31:56Z",
      "lastActivityDate": "2023-11-07T05:31:56Z",
      "acquisitionSource": {},
      "latestWorkExperience": {
        "title": "<string>",
        "company": {
          "id": "<string>",
          "name": "<string>",
          "logoUrl": "<string>"
        }
      },
      "customAttributes": [
        {
          "attributeDefinitionId": "<string>",
          "label": "<string>",
          "aiFillOngoing": true,
          "aiOverridden": true,
          "isFilledByAI": true,
          "value": {
            "text": "<string>"
          }
        }
      ],
      "aiSummary": "<string>",
      "skills": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ]
    }
  ],
  "pagination": {
    "hasNextPage": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://api-docs.spott.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Body

application/json
filters
object[]
page
integer
Required range: 0 <= x <= 9007199254740991
pageSize
integer
Required range: 1 <= x <= 100

Response

Candidates retrieved successfully

items
object[]
required
pagination
object
required