Users

Readiness check

What the credential resolves to. An application secret answers kind: app with its environment and approval status; a connected user's token answers kind: user; a build grant answers kind: grant.

get/whoami

Request

  • Base URL: https://api.layout.link/v1
  • URL: https://api.layout.link/v1/whoami
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

Layout-Version'2026-10-01'

The API version you code against. Optional; without it you get 2026-10-01, the current version. Layout answers with the version it used.

Response

Who you are.

OR
OR

Example response

{
  "app": {
    "id": "lyt_app_3f9c2a7e1b4d8f6a0c5e9b27"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.