Usage
Examples for calling the Data Access API with curl and common patterns.
Get current key info
curl -X GET https://api.form.nour-lab.com/v1/me \
-H "Authorization: Bearer $NOURFORM_API_KEY"List forms
curl -X GET https://api.form.nour-lab.com/v1/forms \
-H "Authorization: Bearer $NOURFORM_API_KEY"List responses with pagination
curl -X GET "https://api.form.nour-lab.com/v1/forms/FORM_ID/responses?limit=50" \
-H "Authorization: Bearer $NOURFORM_API_KEY"
# Next page
curl -X GET "https://api.form.nour-lab.com/v1/forms/FORM_ID/responses?limit=50&cursor=CURSOR" \
-H "Authorization: Bearer $NOURFORM_API_KEY"List payments (requires payments:read)
curl -X GET "https://api.form.nour-lab.com/v1/forms/FORM_ID/payments?limit=50" \
-H "Authorization: Bearer $NOURFORM_API_KEY"Error Handling
- 401 Unauthorized — Missing/invalid/revoked key, or wrong auth header.
- 403 Forbidden — Key lacks required scope (message includes missing scope).
- 404 Not Found — Resource not found or not owned by key (tenant isolation).
- 429 Too Many Requests — Rate limited.