Logto Core (0.1.0)
Download OpenAPI specification:Download
/api/interaction
Request Body schema: application/json
event required | string Enum: "SignIn" "Register" "ForgotPassword" |
object or object or object or object or object or object or object or object | |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "event": "SignIn",
- "identifier": {
- "username": "string",
- "password": "string"
}, - "profile": {
- "username": "/regex/",
- "email": "/regex/",
- "phone": "/regex/",
- "connectorId": "string",
- "password": "/regex/"
}
}
/api/interaction/profile
Request Body schema: application/json
username | string <regex> /^[A-Z_a-z]\w*$/ |
phone | string <regex> /^\d+$/ |
connectorId | string |
password | string <regex> /^((?=.*\d)(?=.*[A-Za-z])|(?=.*\d)(?=.*[!"#$%... |
Responses
Request samples
- Payload
Content type
application/json
{- "username": "/regex/",
- "email": "/regex/",
- "phone": "/regex/",
- "connectorId": "string",
- "password": "/regex/"
}
/api/interaction/profile
Request Body schema: application/json
username | string <regex> /^[A-Z_a-z]\w*$/ |
phone | string <regex> /^\d+$/ |
connectorId | string |
password | string <regex> /^((?=.*\d)(?=.*[A-Za-z])|(?=.*\d)(?=.*[!"#$%... |
Responses
Request samples
- Payload
Content type
application/json
{- "username": "/regex/",
- "email": "/regex/",
- "phone": "/regex/",
- "connectorId": "string",
- "password": "/regex/"
}
/api/applications
Request Body schema: application/json
tenantId | string <= 21 characters |
name required | string <= 256 characters |
secret | string <= 64 characters |
description | string or null |
type required | string Enum: "Native" "SPA" "Traditional" "MachineToMachine" |
object | |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "name": "string",
- "secret": "string",
- "description": "string",
- "type": "Native",
- "oidcClientMetadata": {
- "redirectUris": [
- { }
], - "postLogoutRedirectUris": [
- "string"
], - "logoUri": "string"
}, - "customClientMetadata": {
- "corsAllowedOrigins": [
- "string"
], - "idTokenTtl": 0,
- "refreshTokenTtl": 0,
- "tenantId": "string"
}
}
/api/applications/:id
path Parameters
id required | string non-empty |
Request Body schema: application/json
tenantId | string <= 21 characters |
name | string <= 256 characters |
secret | string <= 64 characters |
description | string or null |
type | string Enum: "Native" "SPA" "Traditional" "MachineToMachine" |
object | |
object | |
isAdmin | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "name": "string",
- "secret": "string",
- "description": "string",
- "type": "Native",
- "oidcClientMetadata": {
- "redirectUris": [
- { }
], - "postLogoutRedirectUris": [
- "string"
], - "logoUri": "string"
}, - "customClientMetadata": {
- "corsAllowedOrigins": [
- "string"
], - "idTokenTtl": 0,
- "refreshTokenTtl": 0,
- "tenantId": "string"
}, - "isAdmin": true
}
/api/configs/admin-console
Request Body schema: application/json
livePreviewChecked | boolean |
applicationCreated | boolean |
signInExperienceCustomized | boolean |
passwordlessConfigured | boolean |
communityChecked | boolean |
furtherReadingsChecked | boolean |
roleCreated | boolean |
m2mApplicationCreated | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "livePreviewChecked": true,
- "applicationCreated": true,
- "signInExperienceCustomized": true,
- "passwordlessConfigured": true,
- "communityChecked": true,
- "furtherReadingsChecked": true,
- "roleCreated": true,
- "m2mApplicationCreated": true
}
/api/connectors
Request Body schema: application/json
config | object arbitrary |
connectorId required | string <= 128 characters |
object | |
syncProfile | boolean |
id | string <= 128 characters |
Responses
Request samples
- Payload
Content type
application/json
{- "config": { },
- "connectorId": "string",
- "metadata": {
- "target": "string",
- "name": { },
- "logo": "string",
- "logoDark": "string"
}, - "syncProfile": true,
- "id": "string"
}
/api/connectors/:id
path Parameters
id required | string non-empty |
Request Body schema: application/json
config | object arbitrary |
object | |
syncProfile | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "config": { },
- "metadata": {
- "target": "string",
- "name": { },
- "logo": "string",
- "logoDark": "string"
}, - "syncProfile": true
}
/api/resources/:id
path Parameters
id required | string non-empty |
Request Body schema: application/json
tenantId | string <= 21 characters |
name | string |
indicator | string |
accessTokenTtl | number |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "name": "string",
- "indicator": "string",
- "accessTokenTtl": 0
}
/api/resources/:resourceId/scopes/:scopeId
path Parameters
resourceId required | string non-empty |
scopeId required | string non-empty |
Request Body schema: application/json
name required | string <= 256 characters |
description required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string"
}
/api/sign-in-exp
query Parameters
removeUnusedDemoSocialConnector | string |
Request Body schema: application/json
tenantId | string <= 21 characters |
object | |
object | |
object | |
object | |
object | |
socialSignInConnectorTargets | Array of strings |
signInMode | string Enum: "SignIn" "Register" "SignInAndRegister" |
customCss | string or null |
object | |
(string or null) or string | |
(string or null) or string |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "color": {
- "primaryColor": "/regex/",
- "isDarkModeEnabled": true,
- "darkPrimaryColor": "/regex/"
}, - "branding": {
- "logoUrl": "string",
- "darkLogoUrl": "string",
- "favicon": "string"
}, - "languageInfo": {
- "autoDetect": true,
- "fallbackLanguage": "af-ZA"
}, - "signIn": {
- "methods": [
- {
- "identifier": "username",
- "password": true,
- "verificationCode": true,
- "isPasswordPrimary": true
}
]
}, - "signUp": {
- "identifiers": [
- "username"
], - "password": true,
- "verify": true
}, - "socialSignInConnectorTargets": [
- "string"
], - "signInMode": "SignIn",
- "customCss": "string",
- "customContent": {
- "property1": "string",
- "property2": "string"
}, - "termsOfUseUrl": "string",
- "privacyPolicyUrl": "string"
}
/api/users
Request Body schema: application/json
primaryPhone | string <regex> /^\d+$/ |
primaryEmail | |
username | string <regex> /^[A-Z_a-z]\w*$/ |
password | string <regex> /^((?=.*\d)(?=.*[A-Za-z])|(?=.*\d)(?=.*[!"#$%... |
name | string |
Responses
Request samples
- Payload
Content type
application/json
{- "primaryPhone": "/regex/",
- "primaryEmail": "/regex/",
- "username": "/regex/",
- "password": "/regex/",
- "name": "string"
}
/api/users/:userId
path Parameters
userId required | string |
Request Body schema: application/json
(string or null) or (string or null) | |
(string or null) or (string or null) | |
(string or null) or (string or null) | |
(string or null) or (string or null) | |
(string or null) or (string or null) | |
customData | object arbitrary |
Responses
Request samples
- Payload
Content type
application/json
{- "username": "/regex/",
- "primaryEmail": "/regex/",
- "primaryPhone": "/regex/",
- "name": "string",
- "avatar": "string",
- "customData": { }
}
/api/roles
Request Body schema: application/json
tenantId | string <= 21 characters |
name required | string <= 128 characters |
description required | string <= 128 characters |
scopeIds | Array of strings[ items non-empty ] |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "name": "string",
- "description": "string",
- "scopeIds": [
- "string"
]
}
/api/custom-phrases/:languageTag
path Parameters
languageTag required | string Enum: "af-ZA" "am-ET" "ar-AR" "as-IN" "az-AZ" "be-BY" "bg-BG" "bn-IN" "br-FR" "bs-BA" "ca-ES" "cb-IQ" "co-FR" "cs-CZ" "cx-PH" "cy-GB" "da-DK" "de" "de-DE" "el-GR" "en" "en-GB" "en-US" "eo-EO" "es" "es-ES" "es-419" "et-EE" "eu-ES" "fa-IR" "ff-NG" "fi-FI" "fo-FO" "fr" "fr-CA" "fr-FR" "fy-NL" "ga-IE" "gl-ES" "gn-PY" "gu-IN" "ha-NG" "he-IL" "hi-IN" "hr-HR" "ht-HT" "hu-HU" "hy-AM" "id-ID" "ik-US" "is-IS" "it" "it-IT" "iu-CA" "ja" "ja-JP" "ja-KS" "jv-ID" "ka-GE" "kk-KZ" "km-KH" "kn-IN" "ko" "ko-KR" "ku-TR" "ky-KG" "lo-LA" "lt-LT" "lv-LV" "mg-MG" "mk-MK" "ml-IN" "mn-MN" "mr-IN" "ms-MY" "mt-MT" "my-MM" "nb-NO" "ne-NP" "nl-BE" "nl-NL" "nn-NO" "or-IN" "pa-IN" "pl-PL" "ps-AF" "pt" "pt-BR" "pt-PT" "ro-RO" "ru" "ru-RU" "rw-RW" "sc-IT" "si-LK" "sk-SK" "sl-SI" "sn-ZW" "sq-AL" "sr-RS" "sv-SE" "sw-KE" "sy-SY" "sz-PL" "ta-IN" "te-IN" "tg-TJ" "th-TH" "tl-PH" "tr" "tr-TR" "tt-RU" "tz-MA" "uk-UA" "ur-PK" "uz-UZ" "vi-VN" "zh" "zh-CN" "zh-HK" "zh-MO" "zh-TW" "zz-TR" |
Responses
/api/custom-phrases/:languageTag
path Parameters
languageTag required | string Enum: "af-ZA" "am-ET" "ar-AR" "as-IN" "az-AZ" "be-BY" "bg-BG" "bn-IN" "br-FR" "bs-BA" "ca-ES" "cb-IQ" "co-FR" "cs-CZ" "cx-PH" "cy-GB" "da-DK" "de" "de-DE" "el-GR" "en" "en-GB" "en-US" "eo-EO" "es" "es-ES" "es-419" "et-EE" "eu-ES" "fa-IR" "ff-NG" "fi-FI" "fo-FO" "fr" "fr-CA" "fr-FR" "fy-NL" "ga-IE" "gl-ES" "gn-PY" "gu-IN" "ha-NG" "he-IL" "hi-IN" "hr-HR" "ht-HT" "hu-HU" "hy-AM" "id-ID" "ik-US" "is-IS" "it" "it-IT" "iu-CA" "ja" "ja-JP" "ja-KS" "jv-ID" "ka-GE" "kk-KZ" "km-KH" "kn-IN" "ko" "ko-KR" "ku-TR" "ky-KG" "lo-LA" "lt-LT" "lv-LV" "mg-MG" "mk-MK" "ml-IN" "mn-MN" "mr-IN" "ms-MY" "mt-MT" "my-MM" "nb-NO" "ne-NP" "nl-BE" "nl-NL" "nn-NO" "or-IN" "pa-IN" "pl-PL" "ps-AF" "pt" "pt-BR" "pt-PT" "ro-RO" "ru" "ru-RU" "rw-RW" "sc-IT" "si-LK" "sk-SK" "sl-SI" "sn-ZW" "sq-AL" "sr-RS" "sv-SE" "sw-KE" "sy-SY" "sz-PL" "ta-IN" "te-IN" "tg-TJ" "th-TH" "tl-PH" "tr" "tr-TR" "tt-RU" "tz-MA" "uk-UA" "ur-PK" "uz-UZ" "vi-VN" "zh" "zh-CN" "zh-HK" "zh-MO" "zh-TW" "zz-TR" |
Request Body schema: application/json
string or Translation (any) (Translation) | |
One of string |
Responses
Request samples
- Payload
Content type
application/json
{- "input": {
- "username": "Username",
- "password": "Password"
}, - "action": {
- "sign_in": "Sign In",
- "continue": "Continue"
}
}
/api/custom-phrases/:languageTag
path Parameters
languageTag required | string Enum: "af-ZA" "am-ET" "ar-AR" "as-IN" "az-AZ" "be-BY" "bg-BG" "bn-IN" "br-FR" "bs-BA" "ca-ES" "cb-IQ" "co-FR" "cs-CZ" "cx-PH" "cy-GB" "da-DK" "de" "de-DE" "el-GR" "en" "en-GB" "en-US" "eo-EO" "es" "es-ES" "es-419" "et-EE" "eu-ES" "fa-IR" "ff-NG" "fi-FI" "fo-FO" "fr" "fr-CA" "fr-FR" "fy-NL" "ga-IE" "gl-ES" "gn-PY" "gu-IN" "ha-NG" "he-IL" "hi-IN" "hr-HR" "ht-HT" "hu-HU" "hy-AM" "id-ID" "ik-US" "is-IS" "it" "it-IT" "iu-CA" "ja" "ja-JP" "ja-KS" "jv-ID" "ka-GE" "kk-KZ" "km-KH" "kn-IN" "ko" "ko-KR" "ku-TR" "ky-KG" "lo-LA" "lt-LT" "lv-LV" "mg-MG" "mk-MK" "ml-IN" "mn-MN" "mr-IN" "ms-MY" "mt-MT" "my-MM" "nb-NO" "ne-NP" "nl-BE" "nl-NL" "nn-NO" "or-IN" "pa-IN" "pl-PL" "ps-AF" "pt" "pt-BR" "pt-PT" "ro-RO" "ru" "ru-RU" "rw-RW" "sc-IT" "si-LK" "sk-SK" "sl-SI" "sn-ZW" "sq-AL" "sr-RS" "sv-SE" "sw-KE" "sy-SY" "sz-PL" "ta-IN" "te-IN" "tg-TJ" "th-TH" "tl-PH" "tr" "tr-TR" "tt-RU" "tz-MA" "uk-UA" "ur-PK" "uz-UZ" "vi-VN" "zh" "zh-CN" "zh-HK" "zh-MO" "zh-TW" "zz-TR" |
Responses
/api/hooks
Request Body schema: application/json
tenantId | string <= 21 characters |
event required | string Enum: "PostRegister" "PostSignIn" "PostResetPassword" |
required | object |
createdAt | number |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "event": "PostRegister",
- "config": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "retries": 0
}, - "createdAt": 0
}
/api/hooks/:id
path Parameters
id required | string non-empty |
Request Body schema: application/json
tenantId | string <= 21 characters |
event | string Enum: "PostRegister" "PostSignIn" "PostResetPassword" |
object | |
createdAt | number |
Responses
Request samples
- Payload
Content type
application/json
{- "tenantId": "string",
- "event": "PostRegister",
- "config": {
- "url": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "retries": 0
}, - "createdAt": 0
}