Skip to content

People

Keep every check you run on one person together: link checks with the Speedmap-Person header and read them back as one profile with what they agree on.

View as Markdown

Verifying someone properly is rarely one check. You look up the phone number, pull the credit report, confirm the BVN, read the NIN, test the bank account, match the face and screen the name. Each of those is its own verification.

A person is the folder that holds them. Create one, send its id on every check you run for that individual, and read the person back to get all the checks together: what was run, what each returned, and which facts the checks agree on.

Creating a person is free and runs no check. A person belongs to one mode, sandbox or live, like the key that created it.

How it works

  1. Create a person, optionally with your own reference (a pension number, a staff id, a customer id).
  2. Run each check as usual and add the header Speedmap-Person: per_…. The result carries person_id.
  3. Use what each check returns to make the next one: the name and date of birth from the phone lookup open the credit report; the NIN on the BVN record opens the NIN check.
  4. Retrieve the person to read every check and the consolidated identity.

Create a person

POST/v1/people

Body parameters

  • referencestring

    Your own id for the person, up to 80 characters. Unique per account and mode; you can look the person up by it later.

  • namestring

    A display name, up to 120 characters. You can leave it out and set it once a check has returned the name.

curl -X POST "https://api.speedmap.io/v1/people" \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "reference": "PEN-000482"
}'
201 Created
{
  "id": "per_3f9c1a7b2e4d6f8a",
  "object": "person",
  "reference": "PEN-000482",
  "name": null,
  "mode": "sandbox",
  "checks_count": 0,
  "last_check_at": null,
  "created_at": "2026-12-03T09:41:07.512Z",
  "updated_at": "2026-12-03T09:41:07.512Z"
}

A reference that another person already uses returns 409 person_reference_in_use.

Add the Speedmap-Person header to any verification call. Nothing else about the request changes, and the price of the check is the same.

curl -X POST "https://api.speedmap.io/v1/verify/phone" \
  -H "Authorization: Bearer sk_test_..." \
  -H "Speedmap-Person: per_3f9c1a7b2e4d6f8a" \
  -H "Content-Type: application/json" \
  -d '{
  "phone": "08034567812",
  "reason": "pensionEnrollment",
  "consent": {
    "obtained": true
  }
}'

The response is the usual verification object with "person_id": "per_3f9c1a7b2e4d6f8a". The header works on every /v1/verify/* endpoint and on /v1/screen.

CodeMeaning
400 invalid_personThe header is not a person id (per_ followed by 16 characters).
404 person_not_foundNo person with that id exists in this mode. The check is not run and nothing is charged.

Add a check afterwards

A check that was run without the header can be added later, and removed again. A check belongs to one person at a time; adding one that is already on another person returns 409 check_belongs_to_another_person.

POST/v1/people/{id}/checks
curl -X POST "https://api.speedmap.io/v1/people/per_3f9c1a7b2e4d6f8a/checks" \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "reference_id": "spm_a7bd5d24fe62881e9ecffcb8"
}'
DELETE/v1/people/{id}/checks/{reference_id}

Removing a check from a person does not delete it: it stays in your verification history.

Retrieve a person

GET/v1/people/{id}
curl "https://api.speedmap.io/v1/people/per_3f9c1a7b2e4d6f8a" \
  -H "Authorization: Bearer sk_test_..."
200 OK, full tier
{
  "id": "per_3f9c1a7b2e4d6f8a",
  "object": "person",
  "reference": "PEN-000482",
  "name": "Folasade Abimbola Adeyemi",
  "mode": "sandbox",
  "checks_count": 8,
  "last_check_at": "2026-12-03T09:46:44.468Z",
  "created_at": "2026-12-03T09:41:07.512Z",
  "updated_at": "2026-12-03T09:41:07.512Z",
  "counts": {
    "checks": 8,
    "verified": 8,
    "not_found": 0,
    "failed": 0,
    "pending": 0
  },
  "products": [
    "aml",
    "face",
    "account",
    "nin",
    "bvn",
    "credit_report_premium",
    "phone"
  ],
  "first_check_at": "2026-12-03T09:41:07.512Z",
  "has_records": true,
  "checks": [
    {
      "reference_id": "spm_1740b77546833baddeb828cf",
      "object": "verification",
      "product": "aml",
      "method": "aml_screen_person",
      "status": "verified",
      "match": null,
      "person_id": "per_3f9c1a7b2e4d6f8a",
      "created_at": "2026-12-03T09:46:44.468Z",
      "…": "the same verification object every check returns"
    },
    "… 7 more"
  ],
  "identity": [
    {
      "field": "name",
      "value": "FOLASADE ABIMBOLA ADEYEMI",
      "confirmed_by": [
        {
          "product": "phone",
          "reference_id": "spm_a7bd5d24fe62881e9ecffcb8",
          "checked_at": "2026-12-03T09:41:07.512Z"
        },
        {
          "product": "credit_report_premium",
          "reference_id": "spm_59ce3b785b723d0540c82f54",
          "checked_at": "2026-12-03T09:42:10.036Z"
        },
        {
          "product": "bvn",
          "reference_id": "spm_94bb39e3dfc771bb0ce5ec14",
          "checked_at": "2026-12-03T09:44:31.453Z"
        },
        {
          "product": "nin",
          "reference_id": "spm_9c001c61d7a5829fe0429d9e",
          "checked_at": "2026-12-03T09:45:02.462Z"
        },
        {
          "product": "account",
          "reference_id": "spm_f9db9f8ba421d9848f787b7b",
          "checked_at": "2026-12-03T09:45:40.464Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "date_of_birth",
      "value": "1958-06-12",
      "confirmed_by": [
        {
          "product": "phone",
          "reference_id": "spm_a7bd5d24fe62881e9ecffcb8",
          "checked_at": "2026-12-03T09:41:07.512Z"
        },
        {
          "product": "credit_report_premium",
          "reference_id": "spm_59ce3b785b723d0540c82f54",
          "checked_at": "2026-12-03T09:42:10.036Z"
        },
        {
          "product": "bvn",
          "reference_id": "spm_94bb39e3dfc771bb0ce5ec14",
          "checked_at": "2026-12-03T09:44:31.453Z"
        },
        {
          "product": "nin",
          "reference_id": "spm_9c001c61d7a5829fe0429d9e",
          "checked_at": "2026-12-03T09:45:02.462Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "gender",
      "value": "female",
      "confirmed_by": [
        {
          "product": "credit_report_premium",
          "reference_id": "spm_59ce3b785b723d0540c82f54",
          "checked_at": "2026-12-03T09:42:10.036Z"
        },
        {
          "product": "bvn",
          "reference_id": "spm_94bb39e3dfc771bb0ce5ec14",
          "checked_at": "2026-12-03T09:44:31.453Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "phone",
      "value": "08034567812",
      "confirmed_by": [
        {
          "product": "phone",
          "reference_id": "spm_a7bd5d24fe62881e9ecffcb8",
          "checked_at": "2026-12-03T09:41:07.512Z"
        },
        {
          "product": "bvn",
          "reference_id": "spm_94bb39e3dfc771bb0ce5ec14",
          "checked_at": "2026-12-03T09:44:31.453Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "bvn",
      "value": "22222222227",
      "confirmed_by": [
        {
          "product": "bvn",
          "reference_id": "spm_94bb39e3dfc771bb0ce5ec14",
          "checked_at": "2026-12-03T09:44:31.453Z"
        },
        {
          "product": "face",
          "reference_id": "spm_f5f7961b7d71b409a141232f",
          "checked_at": "2026-12-03T09:46:18.466Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "nin",
      "value": "61234567890",
      "confirmed_by": [
        {
          "product": "bvn",
          "reference_id": "spm_94bb39e3dfc771bb0ce5ec14",
          "checked_at": "2026-12-03T09:44:31.453Z"
        },
        {
          "product": "nin",
          "reference_id": "spm_9c001c61d7a5829fe0429d9e",
          "checked_at": "2026-12-03T09:45:02.462Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "account_number",
      "value": "5678901234",
      "detail": {
        "bank_code": "011",
        "bank_name": "First Bank of Nigeria",
        "account_name": "FOLASADE ABIMBOLA ADEYEMI"
      },
      "confirmed_by": [
        {
          "product": "account",
          "reference_id": "spm_f9db9f8ba421d9848f787b7b",
          "checked_at": "2026-12-03T09:45:40.464Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "liveness",
      "value": "passed",
      "detail": {
        "confidence": 0.752
      },
      "confirmed_by": [
        {
          "product": "face",
          "reference_id": "spm_f5f7961b7d71b409a141232f",
          "checked_at": "2026-12-03T09:46:18.466Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "face_match",
      "value": "passed",
      "detail": {
        "confidence": 0.92
      },
      "confirmed_by": [
        {
          "product": "face",
          "reference_id": "spm_f5f7961b7d71b409a141232f",
          "checked_at": "2026-12-03T09:46:18.466Z"
        }
      ],
      "conflicts": []
    },
    {
      "field": "sanctions",
      "value": "clear",
      "detail": {
        "hit_count": 0,
        "screened_lists": [
          "ng",
          "pep"
        ]
      },
      "confirmed_by": [
        {
          "product": "aml",
          "reference_id": "spm_1740b77546833baddeb828cf",
          "checked_at": "2026-12-03T09:46:44.468Z"
        }
      ],
      "conflicts": []
    }
  ],
  "photo": {
    "product": "nin",
    "reference_id": "spm_9c001c61d7a5829fe0429d9e",
    "checked_at": "2026-12-03T09:45:02.462Z",
    "image": "/9j/2wBDAAcHBwcHBwgJCQgLDAsM…"
  },
  "records": [
    {
      "reference_id": "spm_f9db9f8ba421d9848f787b7b",
      "product": "account",
      "method": "account_name_enquiry",
      "checked_at": "2026-12-03T09:45:40.464Z",
      "data": {
        "account_number": "5678901234",
        "bank_code": "011",
        "bank_name": "First Bank of Nigeria",
        "account_name": "FOLASADE ABIMBOLA ADEYEMI",
        "bvn_linked": true,
        "name_match": true
      }
    },
    "… one per verified check"
  ]
}

Response

  • countsobject

    How many checks the person has, by status: checks, verified, not_found, failed, pending.

  • productsstring[]

    The products checked for this person.

  • checksobject[]

    Every check, newest first, each the same verification object the check returned.

  • has_recordsboolean

    Whether any verified check holds a record.

  • identityobject[]

    Full tier. One entry per fact the verified checks established, in this order: name, date_of_birth, gender, phone, email, bvn, nin, account_number, liveness, face_match, sanctions.

  • identity[].confirmed_byobject[]

    The checks that returned this value: product, reference_id, checked_at.

  • identity[].conflictsobject[]

    Checks that returned a different value for the same fact, each with the value it returned. Empty when every check agrees.

  • photoobject

    Full tier. The most recent photograph a check returned, base64 encoded, with the check it came from.

  • recordsobject[]

    Full tier. The record each verified check returned, as data.

What your tier receives

identity, photo and records are returned to full-tier accounts on the REST API, following the same rule as data on a single check. Assertion-tier accounts receive the person, counts, products and checks. See Response shaping.

Reading identity

identity answers the question the separate checks cannot: do they describe the same person? A name confirmed by the phone lookup, the credit report, the BVN, the NIN and the bank account is one name, five times. A date of birth that the NIN returns differently from the BVN appears under conflicts, with both checks named, so your reviewer sees it without opening each result.

Speedmap reports what the checks returned. The decision stays yours.

List and find people

GET/v1/people
curl "https://api.speedmap.io/v1/people?reference=PEN-000482" \
  -H "Authorization: Bearer sk_test_..."

Pass reference to find the person with your own id. Lists take limit (up to 100, default 50) and the before cursor. See Pagination.

Update and delete

PATCH/v1/people/{id}
curl -X PATCH "https://api.speedmap.io/v1/people/per_3f9c1a7b2e4d6f8a" \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Folasade Abimbola Adeyemi"
}'
DELETE/v1/people/{id}

Deleting a person removes the folder only. Their checks stay in your verification history, no longer tied to anyone, and the response tells you how many with checks_untied.

In the dashboard

People in the dashboard lists every person. A profile shows the checks, what they agree on, and the next checks that can be opened with what is already known. Each result in the playground offers the same step: pick the next check and its form opens with the values carried over. Opening a person's records is limited to roles that can reveal, and every opening is written to your audit log.

Try the whole file in the sandbox

The sandbox has a test person who passes every check: phone 08034567812, BVN 22222222227, NIN 61234567890, account 5678901234 at bank 011, date of birth 1958-06-12. See Sandbox for the full set of test values.

Questions? Email support@speedmap.io. This page is also available as Markdown.