Skip to main content

Identities

Validado on-chain (Sepolia, ERC-4337)
Suite T-REX — registro de identidade + claims (CRUD) + update validados on-chain. (POST duplicado retorna 409, corrigido nesta campanha.)

Gerada automaticamente do spec OpenAPI da API (fonte de verdade). 21 endpoint(s).

List identities

GET /v1/identities

List all registered identities

Auth: api-key

Respostas: 200, 401


Create identity

POST /v1/identities

Register a new identity for T-REX compliance

Auth: api-key

Request body:

CampoTipoObrigatórioDescrição

Respostas: 201, 400, 401, 409


Get identity

GET /v1/identities/{id}

Get identity details by ID

Auth: api-key

Path params: id

Respostas: 200, 401, 404


Update identity

POST /v1/identities/{id}

Update an identity's on-chain address

Auth: api-key

Path params: id

Request body:

CampoTipoObrigatórioDescrição

Respostas: 200, 201, 400, 401, 404


Update identity (PUT legacy)

PUT /v1/identities/{id}

Auth: api-key

Path params: id

Request body:

CampoTipoObrigatórioDescrição

Respostas: 200


Delete identity

DELETE /v1/identities/{id}

Remove an identity from the registry

Auth: api-key

Path params: id

Respostas: 200, 401, 404


List claims

GET /v1/identities/{id}/claims

List all claims for an identity

Auth: api-key

Path params: id

Respostas: 200, 401, 404


Add claim

POST /v1/identities/{id}/claims

Add a claim to an identity

Auth: api-key

Path params: id

Request body:

CampoTipoObrigatórioDescrição

Respostas: 201, 400, 401, 404


Remove claim

DELETE /v1/identities/{id}/claims/{claimId}

Remove a claim from an identity

Auth: api-key

Path params: id, claimId

Respostas: 200, 401, 404


Update identity country

POST /v1/identities/{id}/country

Update the country code for an identity

Auth: api-key

Path params: id

Request body:

CampoTipoObrigatórioDescrição

Respostas: 200, 201, 400, 401, 404


Update identity country (PATCH legacy)

PATCH /v1/identities/{id}/country

Auth: api-key

Path params: id

Request body:

CampoTipoObrigatórioDescrição

Respostas: 200


Check identity registry contains

GET /v1/identities/on_chain/contains

Check if an address is registered in the identity registry

Auth: api-key

Respostas: 200, 401


Get investor country on-chain

GET /v1/identities/on_chain/country

Get the country code for an investor from the identity registry

Auth: api-key

Respostas: 200, 401


Get identity address on-chain

GET /v1/identities/on_chain/identity

Get the on-chain identity contract address for a wallet

Auth: api-key

Respostas: 200, 401


Get registry linked addresses

GET /v1/identities/on_chain/registry_addresses

Get the identity storage, issuers registry, and topics registry addresses from an identity registry

Auth: api-key

Respostas: 200, 401


Verify identity on-chain

GET /v1/identities/on_chain/verify

Check if an address is verified in the identity registry

Auth: api-key

Respostas: 200, 401


Bind identity registry

POST /v1/identities/storage/bind

Bind an IdentityRegistry to the IdentityRegistryStorage contract

Auth: api-key

Request body:

CampoTipoObrigatórioDescrição

Respostas: 201, 400, 401


Get stored investor country

GET /v1/identities/storage/country

Get the stored investor country code from the IdentityRegistryStorage contract

Auth: api-key

Respostas: 200, 401


Get stored identity

GET /v1/identities/storage/identity

Get the stored identity address from the IdentityRegistryStorage contract

Auth: api-key

Respostas: 200, 401


List linked registries

GET /v1/identities/storage/linked_registries

List all IdentityRegistries bound to an IdentityRegistryStorage

Auth: api-key

Respostas: 200, 401


Unbind identity registry

POST /v1/identities/storage/unbind

Unbind an IdentityRegistry from the IdentityRegistryStorage contract

Auth: api-key

Request body:

CampoTipoObrigatórioDescrição

Respostas: 201, 400, 401