---
title: "Employer confirmation"
description: "Ask an organization to confirm a job or education entry, and answer those requests with an API key."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.sureshake.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Employer confirmation

A person asks the organization named on their job or education entry to confirm it, and an administrator of that organization answers. This records confirmation by the named organization. It is not identity verification. The [guide for people](/hiring/employer-confirmation/) covers the same behavior from the product.

## Auth

| Route                                                                  | Session or API key                                           | Firm token |
| ---------------------------------------------------------------------- | ------------------------------------------------------------ | ---------- |
| `POST /v2/users/me/claim-confirmations`                                | **Write**. The person whose entry it is                      | Refused    |
| `GET /v2/users/me/claim-confirmations`                                 | **Read**. Your own entries                                   | Refused    |
| `GET /v2/entities/{id}/claim-confirmations`                            | **Read**. An administrator of the entity                     | Refused    |
| `POST /v2/entities/{id}/claim-confirmations/{confirmationId}/decision` | **Write**. An administrator, not the person making the claim | Refused    |

Firm tokens are refused with `401` because a firm token acts as the entity's owner, and any firm administrator can mint one. A co-administrator who made a claim could otherwise confirm their own job, recorded as the owner's decision. An `sk_` key acts as its person, so the check that nobody decides on their own entry sees who is really asking.

An API key can also manage the entries themselves through `/v2/professional/jobs` and `/v2/professional/educations`.

## Ask for a confirmation

The organization always comes from the entry. Sending `entityId` answers `400`.

```sh
curl -sS https://api.sureshake.com/v2/users/me/claim-confirmations \
  -H "X-API-Key: $SURESHAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "claimType": "job", "claimId": "JOB_ID" }'
```

| Status | Meaning                                                                                    |
| ------ | ------------------------------------------------------------------------------------------ |
| `201`  | A new request. The organization's administrators were notified                             |
| `200`  | A request is already open, or the entry is already confirmed. Nobody was notified          |
| `404`  | That entry is not yours                                                                    |
| `409`  | Nobody can answer. `error.details.reason` says why                                         |
| `429`  | 10 requests to this organization in a day, or more than 10 in a minute from one credential |

`error.details.reason` is one of:

| Reason                   | Meaning                                                                                                                                            |
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `entity_unclaimed`       | The organization is not claimed. Creating a record is not a claim                                                                                  |
| `entity_unverified`      | The organization has not been verified by Sureshake. Its administrators can [ask for that](#ask-to-be-verified). The person making the claim can't |
| `no_other_administrator` | The person making the claim is the organization's only administrator                                                                               |
| `entity_unavailable`     | The record is merged, withdrawn, or a person rather than an organization                                                                           |

Asking again while a request is open updates it to the entry as it now stands, without notifying anyone.

## Read your status

`GET /v2/users/me/claim-confirmations` lists every entry you hold, with `status` of `self_reported`, `pending`, `confirmed` or `declined`, and `blockedReason` when nobody could answer. Only you can read `pending` and `declined`.

## Answer a request

Read the queue, then send back the `claimHash` you read, so the decision applies to that version of the entry.

```sh
curl -sS "https://api.sureshake.com/v2/entities/$ENTITY_ID/claim-confirmations?status=pending" \
  -H "X-API-Key: $SURESHAKE_API_KEY"

curl -sS https://api.sureshake.com/v2/entities/$ENTITY_ID/claim-confirmations/$CONFIRMATION_ID/decision \
  -H "X-API-Key: $SURESHAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "decision": "confirmed", "claimHash": "HASH_FROM_THE_QUEUE" }'
```

| Status | Meaning                                                                                                                                                                |
| ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `200`  | Decided. The person is notified                                                                                                                                        |
| `401`  | A firm token                                                                                                                                                           |
| `403`  | Not an administrator, a read-scope key, your own entry, or an organization nobody has claimed or Sureshake has not verified. `error.details.reason` names the last two |
| `404`  | No such request on this entity                                                                                                                                         |
| `409`  | Already decided, or `error.details.reason` is `claim_changed` because the entry changed since you read it                                                              |

The queue shows each entry as it stands now and leaves out requests whose entry has changed. Its `standing` field says whether anyone can confirm for this entity, and `standing.reason` says why not.

## What counts as confirmed

`claimHash` covers the organization, the title or degree, the dates, and for education the field and GPA. A confirmation counts only while the hash still matches the entry, so an edit returns the entry to self-reported with nothing further to do. It also stops counting if the organization's claim is released, Sureshake withdraws its verification, or its record is merged or withdrawn.

## Ask to be verified

Only an organization Sureshake has verified can confirm entries. Verification records that a Sureshake administrator reviewed the organization. It is not a background check, and it says nothing about the organization's figures or reports.

An owner or admin of the organization asks with an `sk_` key with write scope. Both fields are optional. `documentUrl` must be `https`, and a reviewer opens it.

```sh
curl -sS https://api.sureshake.com/v2/entities/$ENTITY_ID/verification/request \
  -H "X-API-Key: $SURESHAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "note": "Where this organization can be checked.", "documentUrl": "https://example.com/filing.pdf" }'
```

| Status | Meaning                                                                                                    |
| ------ | ---------------------------------------------------------------------------------------------------------- |
| `201`  | The request is open                                                                                        |
| `400`  | A `documentUrl` that isn't `https`, or a field this route doesn't take                                     |
| `401`  | A firm token                                                                                               |
| `403`  | Not the owner or an admin of the organization, or a read-scope key                                         |
| `409`  | `error.details.reason` is `request_open`, `already_verified`, `entity_unclaimed` or `entity_unavailable`   |
| `429`  | 3 requests in 30 days, with `error.details.nextRequestAt`, or more than 10 in a minute from one credential |

## Read where it stands

An owner or admin of the organization can read these with an `sk_` key with read scope, and so can an admin-scope key. Anyone else gets `403`.

`GET /v2/entities/{id}/verification/status` returns `verificationStatus`, one of `pending`, `in_review`, `approved`, `rejected` or `withdrawn`. It also returns `canRequest`, `requestBlockedReason` when it can't, `nextRequestAt` while the request limit applies, `openRequest`, and `lastDecision` with its reason.

`GET /v2/entities/{id}/verification/history` lists every event oldest first, with the evidence and reasons recorded with it. Filter with `eventType`, and page with `limit`. Every change to `verified` has an event. `performedBy` names the administrator, and `eventSource` is `system` when no person made the change.

## Decide a verification request

These routes take a Sureshake administrator's session or an admin-scope key, and answer `403` to anything else. Firm tokens get `401`.

| Route                                          | What it does                                                                                                                                                                                              |
| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `GET /v2/verification/pending`                 | Open requests, oldest first, with who asked and what they sent. Each organization appears once                                                                                                            |
| `GET /v2/verification/verified`                | Verified organizations by name, paged with `limit` and `offset`. `approvedAt` is `null` when no administrator's approval or review is on record                                                           |
| `POST /v2/entities/{id}/verification/approve`  | Sets `verified`, with or without an open request. `notes` and `evidence` are optional                                                                                                                     |
| `POST /v2/entities/{id}/verification/reject`   | Declines the open request and never changes `verified`. `reason` is required, and the organization can read it. `409` with `details.reason` of `no_open_request` or `already_verified`                    |
| `POST /v2/entities/{id}/verification/withdraw` | Sets `verified` to false and writes an event. `reason` is required, and the organization can read it. Entries it confirmed return to self-reported at once. `409` with `details.reason` of `not_verified` |

Source: https://docs.sureshake.com/developers/employer-confirmation/index.mdx
