The developin API allows project owners to check if an email address has an active subscription to their projects. All API requests require authentication using a personal access token.
Follow these steps to start using the API:
All API requests must include your personal access token in the Authorization header.
POST /api/tokens/create
Request body:
{
"token_name": "My API Token"
}
Response:
{
"token": "your-token-here",
"message": "Token created successfully"
}
Include your token in the Authorization header:
Authorization: Bearer your-token-here
POST /api/subscriptions/check
Checks if an email address has an active subscription to your project.
{
"email": "[email protected]",
"project_name": "my-awesome-project"
}
{
"has_subscription": true|false,
"message": "Active subscription found"|"No active subscription found",
"plan_name": "Pro Plan"|null
}
subscription:check
abilityGET /api/tokens
DELETE /api/tokens
Request body:
{
"token_id": "123"
}
API requests are subject to rate limiting. If you exceed the limit, you'll receive a 429 Too Many Requests response. Please implement appropriate retry logic in your applications.