Skip to content

API Documentation

The FAQCraft API is easy to use and free for all plans.

Endpoints

Getting started

To begin using the FAQCraft API, you'll need to understand a few key concepts:

Base URL

All API requests should be made to:

https://api.faqcraft.com

Authentication

Most endpoints require authentication using a Bearer token. Include your token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN

Create a token in the app under Settings > MCP > Create Token. MCP tokens are accepted as Bearer tokens on every endpoint, grant the same access as your login, and work for six months, or until you revoke them.

HTTP status codes

The API uses standard HTTP status codes to indicate the success or failure of requests:

  • 200 - Successful request
  • 400 - Bad request (validation errors)
  • 401 - Unauthorized (invalid or missing token)
  • 404 - Resource not found
  • 500 - Server error

Error response format

When an error occurs, the API returns a JSON object with an error message:

{
  "error": "Validation error message"
}

Rate limiting

The API implements rate limiting to ensure fair usage. If you exceed the rate limit, you'll receive a 429 status code.

What Google Analytics sets
Cookie What it does Kept for
_ga Tells one visit from another 2 years
_ga_* Remembers the current visit 2 years

Google may process this data in the US. We don't use it for ads and don't share it with anyone else. More in our privacy policy.

Can we use Google Analytics to see which pages help? Google sets two cookies. No ads.