Candidate List

GET /candidate

This API is to get candidate list. This is an authendicated API so we need to pass bearer token in request header to access the data.

Headers

  • Content-Type string Required

    application/json

  • Accept string Required

    application/json

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • status string
    • data array[object]
      Hide data attributes Show data attributes object
      • id number
      • first_name string
      • last_name string
      • full_name string
      • candidate_code string
      • mobile_number string
      • jobs array[object]
        Hide jobs attributes Show jobs attributes object
        • id string
        • name string
    • message string
GET /candidate
curl \
 --request GET 'https://api-console.logezy.co/v1/candidate' \
 --header "Content-Type: Bearer your-access-token" \
 --header "Accept: application/json"
Response examples (200)
{
  "data": [
    {
      "id": 1,
      "jobs": [
        {
          "id": 1,
          "name": "Nurse"
        },
        {
          "id": 11,
          "name": "Cleaners"
        }
      ],
      "full_name": "Seby P",
      "last_name": "P",
      "first_name": "Seby",
      "mobile_number": "+44 7446 960179",
      "candidate_code": "DEM73CA1"
    }
  ],
  "status": "success",
  "message": "Candidates list retrieved successfully."
}