Skip to Content
Omnibase

Get current identity

GET
/api/v1/auth/identity

Authorization

headerX-Session-Token<token>

Kratos session JWT token. Alternative to cookie authentication for non-browser clients.

Response Body

OK

application/json
  1. response
AdditionalProperties?
created_at?string
Formatdate-time
credentials?
id*string
metadata_admin?unknown
metadata_public?unknown
organization_id?
recovery_addresses?array<>|null
schema_id*string
schema_url*string
state?string
state_changed_at?string
Formatdate-time
traits*unknown
updated_at?string
Formatdate-time
verifiable_addresses?array<>|null
Example Request
curl -X GET 'https://api.omnibase.tech/api/v1/auth/identity'
Example Response
{  "AdditionalProperties": {    "property1": null,    "property2": null  },  "created_at": "2019-08-24T14:15:22Z",  "credentials": {    "property1": {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "config": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "identifiers": [        "string"      ],      "type": "string",      "updated_at": "2019-08-24T14:15:22Z",      "version": 0    },    "property2": {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "config": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "identifiers": [        "string"      ],      "type": "string",      "updated_at": "2019-08-24T14:15:22Z",      "version": 0    }  },  "id": "string",  "metadata_admin": null,  "metadata_public": null,  "organization_id": {},  "recovery_addresses": [    {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "updated_at": "2019-08-24T14:15:22Z",      "value": "string",      "via": "string"    }  ],  "schema_id": "string",  "schema_url": "string",  "state": "string",  "state_changed_at": "2019-08-24T14:15:22Z",  "traits": null,  "updated_at": "2019-08-24T14:15:22Z",  "verifiable_addresses": [    {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "status": "string",      "updated_at": "2019-08-24T14:15:22Z",      "value": "string",      "verified": true,      "verified_at": "2019-08-24T14:15:22Z",      "via": "string"    }  ]}