Get Settings Flow
When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. The public endpoint does not return 404 status codes but instead 403 or 500 to improve data privacy.
You can access this endpoint without credentials when using Ory Kratos' Admin API.
More information can be found at Ory Kratos User Settings & Profile Management Documentation.
Query parameters
ID is the Settings Flow ID
The value for this parameter comes from flow URL Query parameter sent to your application (e.g. /settings?flow=abcde).
Headers
The Session Token
When using the SDK in an app without a browser, please include the session token here.
HTTP Cookies
When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. You only need to do this for browser- based flows.
Response
selfServiceSettingsFlow
Example response
{
"expires_at": "2000-01-23T04:56:07.000+00:00",
"ui": {
"nodes": [
{
"meta": {
"label": {
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
}
},
"messages": [
{
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
},
{
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
}
],
"type": "type",
"group": "group"
},
{
"meta": {
"label": {
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
}
},
"messages": [
{
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
},
{
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
}
],
"type": "type",
"group": "group"
}
],
"method": "method",
"action": "action",
"messages": [
{
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
},
{
"context": "{}",
"id": 0,
"text": "text",
"type": "type"
}
]
},
"identity": {
"recovery_addresses": [
{
"updated_at": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"id": "id",
"value": "value",
"via": "via"
},
{
"updated_at": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"id": "id",
"value": "value",
"via": "via"
}
],
"traits": "",
"updated_at": "2000-01-23T04:56:07.000+00:00",
"credentials": {
"key": {
"updated_at": "2000-01-23T04:56:07.000+00:00",
"identifiers": [
"identifiers",
"identifiers"
],
"created_at": "2000-01-23T04:56:07.000+00:00",
"type": "type",
"config": "{}"
}
},
"verifiable_addresses": [
{
"updated_at": "2014-01-01T23:28:56.782Z",
"verified_at": "2000-01-23T04:56:07.000+00:00",
"verified": true,
"created_at": "2014-01-01T23:28:56.782Z",
"id": "id",
"value": "value",
"status": "status",
"via": "via"
},
{
"updated_at": "2014-01-01T23:28:56.782Z",
"verified_at": "2000-01-23T04:56:07.000+00:00",
"verified": true,
"created_at": "2014-01-01T23:28:56.782Z",
"id": "id",
"value": "value",
"status": "status",
"via": "via"
}
],
"schema_id": "schema_id",
"state_changed_at": "2000-01-23T04:56:07.000+00:00",
"created_at": "2000-01-23T04:56:07.000+00:00",
"schema_url": "schema_url",
"id": "id"
},
"active": "active",
"id": "id",
"type": "type",
"issued_at": "2000-01-23T04:56:07.000+00:00",
"request_url": "request_url"
}