# REST API Reference

First written 11 March 2026, revised 15 August 2026.

The ~alter REST API exposes 76 endpoints across 11 sections for [authentication](https://truealter.com/docs/authentication), identity management, Discovery, identity matching, and [credential](https://truealter.com/docs/credentials) infrastructure. For agent-based access, see the [MCP Identity Server](https://truealter.com/docs/mcp).

## Base URL

```
https://api.truealter.com/api/v1

```
All endpoint paths below are relative to this base URL. The `https://mcp.truealter.com/api/v1/mcp` host serves the MCP endpoint only; REST calls against it are turned away at the access wall.

## Authentication

Endpoints use one of four authentication methods, indicated by the auth badge on each endpoint. For full details, see [Authentication](https://truealter.com/docs/authentication):

JWT `Bearer`

Bearer token in the `Authorization` header. Obtained via `/auth/login` or `/auth/register`. Expires after 6 hours; refresh via `/auth/refresh`.

Capability token `Bearer`

The path for agents and programmatic clients. Connect through the OAuth flow and receive a capability token scoped per tool with explicit consent, passed as a bearer credential in the `Authorization` header.

x402 `micropayment`

HTTP 402-based micropayment protocol. The server returns a 402 response with payment requirements; the client fulfils payment and retries. $0.01–$1.00 per identity query, 75% to data subject.

Public `no auth`

No authentication required. Used for registration, login, public archetype exploration, and anonymous discovery entry points.

## Pagination

All list endpoints use cursor-based pagination. Pass `cursor` and `limit` as query parameters. The response includes a `next_cursor` field for fetching the next page.

```
GET /members?limit=20&cursor=eyJpZCI6MTAwfQ==

```
Default `limit` varies by endpoint (max 100); see each endpoint's reference. Omit `cursor` to start from the beginning. When `has_more` is `false`, you have reached the last page.

## API Sections

[

### Authentication

11 endpoints

Registration, login, token management, and MFA.

](https://truealter.com/docs/rest-api/auth)[

### People

12 endpoints

Individual profile management, consent settings, and discovery flow.

](https://truealter.com/docs/rest-api/members)[

### Organisations

7 endpoints

Organisation profiles, context configuration, SSO, and retention analytics.

](https://truealter.com/docs/rest-api/orgs)[

### Contexts

7 endpoints

Context management, external tracking system sync, and indexing.

](https://truealter.com/docs/rest-api/jobs)[

### Matches

9 endpoints

Match results, belonging probability tiers, and interest tracking.

](https://truealter.com/docs/rest-api/matches)[

### Identity

2 endpoints

Identity claim flow for verifying and linking individual identities.

](https://truealter.com/docs/rest-api/identity)[

### Credentials

7 endpoints

W3C Verifiable Credential issuance, verification, and revocation.

](https://truealter.com/docs/rest-api/credentials)[

### Credential Queries

5 endpoints

x402-gated identity queries with audit trail.

](https://truealter.com/docs/rest-api/credential-queries)[

### Marketplace

4 endpoints

x402 transaction records and identity income tracking.

](https://truealter.com/docs/rest-api/marketplace)[

### Webhooks

8 endpoints

Webhook subscription management and event delivery.

](https://truealter.com/docs/rest-api/webhooks)[

### Exports

4 endpoints

PDF reports and CSV data exports.

](https://truealter.com/docs/rest-api/exports)

## See also

[

### Getting Started

Make your first API call in three steps.

](https://truealter.com/docs/getting-started)[

### Error Reference

HTTP status codes, error format, and rate limit handling.

](https://truealter.com/docs/errors)[

### Webhooks

Subscribe to real-time events instead of polling.

](https://truealter.com/docs/webhooks)[

### MCP Identity Server

Agent-to-agent access via Model Context Protocol.

](https://truealter.com/docs/mcp)

https://truealter.com/docs/rest-api
