TrueVault Identity Manager

Basics of APIs

The methods, headers, parameters and status codes the TrueIdentity API uses.

The TrueIdentity API is a JSON REST API. Requests and responses are application/json, and every call is authenticated. If you are deciding which integration suits you, start at Choosing an Integration.

HTTP methods

The API uses three, and no others.

There is no PUT or PATCH. Nothing in the API is edited in place - an identity request is created, read, and either completed or deleted.

Headers

Four headers matter, and the first three are required on every authenticated call.

HeaderPurpose
AuthorizationThe access token from the auth endpoint
X-Tenant-IdYour tenant, issued to you when your account is set up
X-Request-TimestampUnix timestamp of the request
X-Correlation-IdOptional. Your own identifier for the request, echoed back on the response and in our logs. Worth sending: it is the fastest way for us to find a specific call

Parameters

The API takes no query parameters. Anything that shapes a request is either in the path or in the body.

Status codes

CodeMeaning
200The request succeeded
400The request was malformed, or a value failed validation
401Authentication failed, or no token was sent
403Authenticated, but not allowed to do this
404No such resource, or not yours
409Conflicts with something that already exists
410The credential has been revoked
412A precondition failed: expired, revoked, or awaiting acceptance
413The uploaded file is too large
422Understood, but could not be processed
429Rate limited. Back off and retry
500Something failed on our side
503A service the request depends on is unavailable

Errors

Every error returns the same shape, whatever the status code:

{
  "error": {
    "message": "Invalid phone number format",
    "type": "VALIDATION_ERROR",
    "code": "E1001",
    "timestamp": "2026-02-20T03:14:15Z",
    "correlation_id": "req-64b4a7e123456"
  }
}

Match on type or code, never on message. The message is written for people and may be reworded; the other two are part of the contract. The full list is in the Error schema on any endpoint page.

correlation_id is the one to quote if you contact us about a specific request.