> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getaptly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify a delegate token (keyless)

> Validates a short-lived delegate token without requiring an API key. The token must
include an `appClientId` (i.e. it was issued for an embedded app via
`POST /api/platform/user-token`). Returns the user's identity, company name, and
the app's title.




## OpenAPI

````yaml /openapi.yaml post /api/app/verify
openapi: 3.0.3
info:
  title: Aptly API
  version: '1.0'
  description: >
    The Aptly API lets you read and write cards on any Aptly board from external
    systems.


    All requests require an API key passed as the `x-token` header.

    API keys are scoped to your company and work across all boards.
servers:
  - url: https://core-api.getaptly.com
    description: Production
security:
  - ApiKeyHeader: []
paths:
  /api/app/verify:
    post:
      tags:
        - App
      summary: Verify a delegate token (keyless)
      description: >
        Validates a short-lived delegate token without requiring an API key. The
        token must

        include an `appClientId` (i.e. it was issued for an embedded app via

        `POST /api/platform/user-token`). Returns the user's identity, company
        name, and

        the app's title.
      operationId: verifyDelegateToken
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - token
              properties:
                token:
                  type: string
                  description: Delegate token returned by `POST /api/platform/user-token`.
      responses:
        '200':
          description: Token is valid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  userId:
                    type: string
                  email:
                    type: string
                    nullable: true
                  firstName:
                    type: string
                    nullable: true
                  lastName:
                    type: string
                    nullable: true
                  companyId:
                    type: string
                  companyName:
                    type: string
                    nullable: true
                  appClientId:
                    type: string
                  appTitle:
                    type: string
                    nullable: true
        '400':
          description: token field is missing.
        '401':
          description: >-
            Token is invalid, expired, or was not issued for an embedded app
            (missing appClientId).
      security: []
components:
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-token

````