Skip to main content
POST
Create initial identity state

Authorizations

Authorization
string
header
required

Firebase Auth JWT issued by Google Identity Platform. Obtain a token by signing in at your app domain and calling firebase.auth().currentUser.getIdToken().

Path Parameters

tenant_id
string
required

Tenant identifier.

Body

application/json

Immutable versioned identity state envelope. Stored as a snapshot. attributes is an open map — the canonical v1 field lists for organization and individual subjects are defined in the schema package and documented in the identity model.

envelope_version
enum<string>
required
Available options:
entity_state_envelope_v1
snapshot_id
string<uuid>
required

Deterministic UUIDv5 derived from subject and patch content.

snapshot_version
integer
required

Monotonically increasing version number per subject.

Required range: x >= 1
generated_at
string<date-time>
required
subject
object
required
attributes
object
required

Identity attributes. Open map — any key/value is accepted. Canonical organization attributes are grouped under legal, contact, jurisdiction, and identifiers; legal.legal_name is required. Canonical individual attributes are grouped under biographic, contact, jurisdiction, and identifiers; biographic.name is required with at least one of given_name, family_name, or formatted_name.

evidence
object[]
required
audit
object
required
attribute_paths
object

Maps JSON Pointer paths to arrays of evidence references. Encodes which evidence supports each attribute value.

diff
object

Response

Snapshot created.

snapshot_id
string<uuid>
snapshot_version
integer
envelope_hash
string | null