Build with Modifold, with the docs you wish every API had.
Find the endpoint you need, copy a real request, check the required fields, and see the response before you wire it into your app.
Base URL
bashhttps://api.modifold.com
Authentication
Protected endpoints require a Bearer token in the Authorization header:
bashAuthorization: Bearer YOUR_TOKEN
Modifold accepts two kinds of tokens:
- Regular JWT tokens are created after signing in with Discord, Telegram, or GitHub. They are stored in the browser as
authTokencookies or inlocalStorage, and are valid for 30 days by default. - Long-lived API tokens start with
mf_and are better for bots, scripts, CI/CD, and external apps. You can create and revoke them from API settings, with expiration options from 1 week to forever.
Keep tokens private. If a token is leaked, revoke it immediately. API tokens have the same permissions as regular JWT tokens.
Rate Limiting
All API requests are rate limited to 120 requests. Heavier endpoints, such as project listing or search-like routes, may use stricter limits.
Rate limit responses include standard headers:
bashx-ratelimit-limitx-ratelimit-remainingx-ratelimit-reset
When the limit is exceeded, the API returns 429 Too Many Requests with a retry-after header. For retries, respect retry-after and use exponential backoff.
Quick Example
bashcurl -X GET "https://api.modifold.com/projects?search=box&limit=20"
Open Source
These docs are open-source. If you spot something outdated or want to improve an example, the source lives on GitHub: