CLI

Create CLI authentication request

Start the CLI login flow by creating a pending authentication request. Returns a code that the CLI displays to the user for browser-based approval.

post/api/cli/auth

Request

  • Base URL: https://intentdocs.com
  • URL: https://intentdocs.com/api/cli/auth
  • Auth: none declared

Response

Authentication request created successfully

codestring required

One-time code for CLI polling (expires in 10 minutes)

Example response

{
  "code": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
}

Changes

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