Explore in-depth documentation for atype's RESTful and GraphQL APIs. Get started with detailed endpoints, parameters, and code samples.
Secure access to atype's API using OAuth 2.0 and API keys. All endpoints require authentication in the Authorization header.
curl -X GET https://api.atype.com/v1/data
-H "Authorization: Bearer YOUR_API_KEY"
Full list of available endpoints with request and response examples for each supported HTTP method (GET, POST, PUT, DELETE).
GET /api/v1/users
POST /api/v1/projects
PUT /api/v1/settings
Atype API requires OAuth2.0 authentication via Bearer token or API key. Tokens expire every 24 hours, refresh tokens available for long sessions.
GET /api/v1/oauth/token?client_id=YOUR_CLIENT_ID
{
"access_token": "A1B2...XYZ",
"refresh_token": "REFRESH_TOKEN",
"expires_in": 3600
}
Standard rate limits apply to ensure fair usage. All endpoints are subject to these constraints:
Endpoint Type | Rate Limit |
---|---|
Public Data | 100 requests/minute |
User Actions | 60 requests/minute |
Project APIs | 500 requests/hour |
Exceeding limits will return 429 Too Many Requests with retry-after header.
All API errors return standard JSON responses with error code, message, and correlation ID for debugging.
{
"error": {"
"code": "UNAUTHORIZED",
"message": "Invalid API key",
"correlation_id": "2a8f3d44-1a70-40a9-8f6c-d5063094f3b1"
}
const createProject = async (name, description) => {
const response = await fetch('/api/v1/projects', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name, description
})
});
return await response.json();
};
Test endpoints with our interactive API sandbox environment. Create your own test account to see live results.
Open API Explorer