Welcome to the API documentation. This API allows you to interact with your posts.

For any questions, pls reach out: [email protected]


Getting Started

  1. Sign Up
  2. Create an Organization
  3. Generate an API Key
  4. Create Content
  5. Start Making Requests

Authentication

All endpoints require the following headers:

Header Description
Authorization Bearer <API_TOKEN>

Endpoints

1. Get All Posts

Retrieve a paginated list of posts.

Method Endpoint Query Parameters Description
GET /posts page (optional, default: 1) Page number for pagination.
limit (optional, default: 10) Number of posts per page.

Example Request

GET <https://api.guifordb.com/posts?page=1&limit=10>
Authorization: Bearer your_api_token
async function getAllPosts() {
  const response = await fetch("<https://api.guifordb.com/posts?page=1&limit=10>", {
    headers: {
      Authorization: `Bearer YOUR_API_TOKEN`,
    }
  });
}