Tenant API Documentation
Integrate feedback collection and retrieval into your applications with our RESTful API.
Getting Started
1. Get Your API Key
API access is a $25/month add-on. Once enabled, you can find your API key in your dashboard settings.
2. Authentication
Include your API key in the Authorization header with every request:
Authorization: Bearer fbk_tenant_your-business_xxxx...3. Base URL
https://getfeedbackgpt.com/api/v1Quick Start
cURL
curl -X GET "https://getfeedbackgpt.com/api/v1/my" \ -H "Authorization: Bearer fbk_tenant_your-business_xxxx..."
JavaScript
const response = await fetch('https://getfeedbackgpt.com/api/v1/my', {
headers: {
'Authorization': 'Bearer fbk_tenant_your-business_xxxx...'
}
});
const data = await response.json();
console.log(data);Python
import requests
response = requests.get(
'https://getfeedbackgpt.com/api/v1/my',
headers={'Authorization': 'Bearer fbk_tenant_your-business_xxxx...'}
)
data = response.json()
print(data)Rate Limiting
API requests are rate limited to 60 requests per minute per API key. Rate limit information is included in response headers:
X-RateLimit-Limit- Maximum requests per minuteX-RateLimit-Remaining- Requests remaining in current windowX-RateLimit-Reset- When the rate limit resets (ISO 8601)
Error Handling
| Status Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad request (invalid parameters) |
| 401 | Unauthorized (invalid or missing API key) |
| 402 | Payment required (usage limit exceeded) |
| 429 | Rate limit exceeded |
| 500 | Server error |
API Endpoints
Need Help?
Contact our support team for API assistance or to enable API access.
Contact Support