Skip to main content

๐Ÿงช Swagger UI - Interactive API Documentation

Explore and test the Idling.app API directly in your browser with our interactive Swagger UI interface.

๐Ÿš€ Interactive API Explorerโ€‹

Loading...

๐Ÿ“š Getting Startedโ€‹

Authenticationโ€‹

Before testing endpoints:

  1. Click "Authorize" button at the top
  2. Enter your Bearer token: Bearer YOUR_TOKEN_HERE
  3. Click "Authorize" to save

Testing Endpointsโ€‹

  1. Expand any endpoint section
  2. Click "Try it out" button
  3. Fill in required parameters
  4. Click "Execute" to test

๐Ÿ” Authentication Setupโ€‹

Getting Your API Tokenโ€‹

  1. Login to your Idling.app account
  2. Navigate to Settings โ†’ API Keys
  3. Generate a new API key
  4. Copy the token for use in Swagger UI

Token Formatโ€‹

Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

๐Ÿ› ๏ธ Testing Examplesโ€‹

Example 1: Get User Profileโ€‹

curl -X 'GET' \
'https://api.idling.app/api/v1/user/profile' \
-H 'accept: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN'

Example 2: Create a Postโ€‹

curl -X 'POST' \
'https://api.idling.app/api/v1/posts' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-d '{
"title": "My New Post",
"content": "This is the content of my post",
"tags": ["example", "test"]
}'

Last Updated: January 28, 2025