GET
/
api
/
v1
/
scans
/
{id}
curl --request GET \
  --url https://api.passentry.com/api/v1/scans/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "019488b8-c2fc-7b5b-b5b4-deb2b7f33bdd",
    "type": "scan",
    "attributes": {
      "scanType": "nfc",
      "scanValue": "factory_scan_value",
      "validationType": "internalValidation",
      "status": "failed",
      "statusDetail": "Pass is not active",
      "scannedAt": "2025-01-13T13:00:00Z"
    },
    "relationships": {
      "pass": {
        "data": {
          "id": "7882e98b-0eba-4625-9223-5221eb8dad7f",
          "type": "pass"
        }
      },
      "reader": {
        "data": {
          "id": "south-gate-1",
          "type": "reader"
        }
      }
    }
  },
  "included": [
    {
      "id": "7882e98b-0eba-4625-9223-5221eb8dad7f",
      "type": "pass",
      "attributes": {
        "downloadUrl": "https://www.example.com?pass=7882e98b-0eba-4625-9223-5221eb8dad7f",
        "passType": "generic",
        "createdAt": "2022-01-01T00:00:00Z",
        "status": "issued",
        "extId": "4312d68fd106e3e6dd15",
        "passTemplateUuid": "8e94b9ae1c7828b4d8b75fe0",
        "passTemplateName": "Pass Template 9 2688",
        "nfc": null,
        "barcode": null,
        "passContent": {
          "fullName": "John Johnson"
        }
      }
    },
    {
      "id": "south-gate-1",
      "type": "reader",
      "attributes": {
        "name": "South Gate Reader",
        "readerType": "PassentryReader",
        "loggedIn": false,
        "qrEnabled": false,
        "mifareClassicNfcEnabled": false,
        "scanEnabled": true,
        "redeemEnabled": false,
        "addPointsEnabled": false,
        "ndefTagScanningEnabled": false,
        "lastSeenAt": "2020-03-13T13:00:00Z"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Scan UUID

Response

200
application/json
Successful
data
object
included
object[]

Was this page helpful?