Skip to main content

Create Challenge

POST 

/v1/auth/challenges

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 4-digit code within the Anytype Desktop. The challenge_id must then be used with the /v1/auth/api_keys endpoint to solve the challenge and retrieve an authentication token. This mechanism ensures that only trusted applications and authorized users gain access.

Request​

Responses​

The challenge ID associated with the started challenge