Start new challenge
POST/auth/display_code
Generates a one-time authentication challenge for granting API access to the user's vault. Upon providing a valid app_name
, the server issues a unique challenge_id
and displays a short code within the Anytype Desktop On success, the service returns a unique challenge ID. This challenge ID must then be used with the token endpoint (see below) to solve the challenge and retrieve an authentication token. This mechanism ensures that only trusted applications and authorized users gain access.
Request
Responses
- 200
- 400
- 500
The challenge ID associated with the started challenge
Invalid input
Internal server error