GET
/
entities
/
{entityId}
/
background-checks
Get an entity's background checks
curl --request GET \
  --url https://api.syntage.com/entities/{entityId}/background-checks \
  --header 'X-API-Key: <api-key>'
{
  "@context": "<string>",
  "@id": "/entities/91ab5678-1234-5678-9abc-def012345678/background-checks",
  "@type": "hydra:Collection",
  "hydra:member": [
    {
      "@id": "/background-checks/91ab5678-1234-5678-9abc-def012345678",
      "@type": "BackgroundCheck",
      "id": "91ab5678-1234-5678-9abc-def012345678",
      "link": "/entities/91ab5678-1234-5678-9abc-def012345678",
      "country": "MX",
      "score": 85.5,
      "status": "completed",
      "scores": [
        {
          "id": "73de0123-4567-8901-bcde-f23456789012",
          "category": "criminal_record",
          "score": 92.3,
          "status": "clean",
          "recordsCount": 3
        }
      ],
      "databaseStatuses": [
        {
          "id": "64ef1234-5678-9012-cdef-345678901234",
          "database": {
            "id": "55f01234-5678-9012-cdef-345678901234",
            "name": "Mexico Criminal Records Database",
            "country": "MX"
          },
          "category": "criminal_record",
          "status": "completed"
        }
      ],
      "files": [
        {
          "@id": "/files/91106968-1abd-4d64-85c1-4e73d96fb997",
          "@type": "File",
          "id": "91106968-1abd-4d64-85c1-4e73d96fb997",
          "type": "<string>",
          "resource": "<string>",
          "mimeType": "<string>",
          "extension": "<string>",
          "size": 40544,
          "filename": "<string>",
          "createdAt": "2020-01-01T12:15:00.000Z",
          "updatedAt": "2020-01-01T12:15:00.000Z"
        }
      ],
      "createdAt": "2020-01-01T12:15:00.000Z",
      "updatedAt": "2020-01-01T12:15:00.000Z"
    }
  ],
  "hydra:totalItems": 1,
  "hydra:view": {
    "@id": "<string>",
    "@type": "hydra:PartialCollectionView",
    "hydra:first": "<string>",
    "hydra:next": "<string>",
    "hydra:last": "<string>"
  },
  "hydra:search": {
    "@type": "<string>",
    "hydra:template": "<string>",
    "hydra:variableRepresentation": "<string>",
    "hydra:mapping": [
      {
        "@type": "<string>",
        "variable": "<string>",
        "property": "<string>",
        "required": true
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

entityId
string<uuid>
required

Query Parameters

id[lt]
string

The collection cursor pointer to the next page

id[gt]
string

The collection cursor pointer to the previous page

itemsPerPage
integer
default:20

The number of items per page

Required range: 1 <= x <= 1000
status
enum<string>

Filter background checks by status

Available options:
pending,
completed,
error
Example:

"completed"

country
enum<string>

Filter background checks by country

Available options:
MX,
ALL
Example:

"MX"

order[score]
enum<string>

Order by background check score

Available options:
asc,
desc
Example:

"asc"

order[createdAt]
enum<string>

Order by resource creation date

Available options:
asc,
desc
Example:

"asc"

order[updatedAt]
enum<string>

Order by resource update date

Available options:
asc,
desc
Example:

"asc"

Response

200
application/ld+json

Entity Background Checks

The response is of type object.