Gifli API Docs
Api

Login

Log in with email and password to receive a session token. Rate limit 20 per 10 minutes per IP.

POST
/auth/login

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/auth/login" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "password": "string"  }'
{  "token": "a1b2c3d4..."}
{  "error": "string"}
{  "error": "Too many requests",  "retryAfterSec": 0}