Authentication

Some routes in our API require authentication to ensure secure access to user-specific resources. To authenticate your requests, you need to obtain an authentication token. Follow the steps below to generate your token.

Generating a Token

  1. Visit your dashboard.

  2. Log in using your discord credentials or create a new account if you don't have one.

  3. Copy your token and securely store it. Treat your token like a password and do not share it with anyone.

Accessing Authorized Routes

curl -X GET \
  'https://api.waifu.im/fav' \
  -H 'Accept-Version: v5' \
  -H 'Authorization: Bearer TjBY0MBcS3-SEc3Ms6T4GKjHGJkbqM6McejlQdnqo2y47jWNLa4agsWYdJukocDqHpm2zYFO5z2AjMzkUSfLsCz1AgbDhSjKLMIOnhJGFgODgOkSnzaAWzvGZZPdbm6vOTxs2chmz-3DSRVzwQLl__eYE4Wnjtr0aIGzXlo82M0'

Last updated