GUIDEcx
🚀

GUIDE 2.0 is Now Live!

Experience the next generation of our API with faster performance, batch operations, upserts, and granular permissions. Our redesigned platform delivers up to 10x faster response times, intelligent batch processing for bulk operations, seamless upsert capabilities for data synchronization, and fine-grained permission controls for enhanced security.

Ready to upgrade? Contact your account manager to be added to the new platform.

Overview

The GUIDEcx API is organized around REST and documented using the OpenAPI specification. Our API accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. Before getting started you'll want to ensure that the API is enabled for your workspace. Please contact your account manager who can assist in getting the API enabled for your workspace. Once enabled, a secret token will be generated for your workspace that you then use to authenticate each request to the API.

Quick Start Guide

Get up and running with the GUIDEcx API in minutes:

curl -X GET "https://api.guidecx.com/api/v3/projects" \
    -H "Authorization: Bearer YOUR_SECRET_TOKEN" \
    -H "Content-Type: application/json"

Error Handling

The API uses conventional HTTP response codes to indicate the success or failure of an API request:

Error responses include a consistent structure:
{
    "code": "string",
    "message": "string",
    "status": "integer"
}

Rate Limits

The GUIDEcx API employs a rate limit strategy based on the "leaky bucket" design. This approach ensures a smooth flow of requests while preventing abuse and maintaining system stability. The rate limit is calculated based on the number of requests within a specified time window. When the limit is reached, subsequent requests will be rejected until the bucket has room for another request. To help you manage your requests effectively, the API includes response headers that provide details on the remaining limits. The following quota headers are included in every response:

By monitoring these headers on successful responses, you can adjust your request frequency to stay within limits before receiving errors. When a limit is exceeded, the API returns 429 Too Many Requests with a Retry-After header (seconds to wait before retrying). Use Retry-After for backoff on 429 responses; use X-RateLimit-* headers to monitor quota on all responses.

Rate Limit Best Practices

Pagination

Pagination is an important concept when working with queries for multiple objects. Requests with large result sets may timeout or be truncated; therefore, pagination is strongly encouraged to ensure both you and your users have the best experience when using the GUIDEcx API

How Pagination Works

The GUIDEcx API supports limit and offset-based pagination, where limit denotes the page size, and offset the number of records to skip. Using both of those query parameters in conjunction with the metadata object returned with each request will enable you to page through the complete result set.

Example Pagination Request

GET /v3/projects?limit=10&offset=20

Example Pagination Response

{
    "data": [...],
    "metadata": {
        "total": 45,
        "limit": 10,
        "offset": 20
    }
}

The GUIDEcx API uses Bearer Token authentication. To authenticate, include the token in the Authorization header of your requests. The token is a unique string that identifies your workspace and grants access to the API. There are two different types of API tokens:

Both types of tokens can be found in your workspace admin portal.

Example Authentication Header

Authorization: Bearer YOUR_SECRET_TOKEN