Skip to Content
SeyloDocs
API referenceSign-in and account

Get your sign-in methods

GET
/api/v1/auth.security

Returns how the signed-in person can sign in: password, authenticator app (TOTP), recovery codes left, passkeys and a linked GitHub login.

Any signed-in caller. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Response Body

Success.

application/json
  1. response
passwordSet*boolean
totp*
recoveryCodesLeft*integer
Range0 <= value
passkeys*array<>
passkeysAvailable*boolean
github*|null
githubAvailable*boolean
Example Request
curl -X GET 'https://example.com/api/v1/auth.security'
Example Response
{  "passwordSet": true,  "totp": {    "enabled": true,    "confirmedAt": "2019-08-24T14:15:22Z"  },  "recoveryCodesLeft": 0,  "passkeys": [    {      "id": "string",      "name": "string",      "createdAt": "2019-08-24T14:15:22Z",      "lastUsedAt": "2019-08-24T14:15:22Z"    }  ],  "passkeysAvailable": true,  "github": {    "login": "string",    "repoAccess": true,    "linkedAt": "2019-08-24T14:15:22Z"  },  "githubAvailable": true}