Skip to main content

API Overview

The Pictify API is a RESTful JSON API for generating images, GIFs, and PDFs programmatically.

Base URL

Authentication

All requests require a Bearer token:
See Authentication for details.

Request Format

  • Content-Type: application/json
  • Request bodies are JSON
  • Dates use ISO 8601 format

Response Format

Successful responses return JSON with relevant data:
Error responses follow RFC 9457 Problem Details format:

Rate Limits

Rate limits vary by plan: Rate limit headers are included in every response:

Pagination

List endpoints return paginated results:
Response includes pagination metadata:

HTTP Status Codes

Idempotency

POST requests can include an Idempotency-Key header for safe retries:
The same key with the same request will return the cached response for 24 hours.

Versioning

The API does not currently use URL-based versioning. All endpoints are accessed directly from the base URL. Breaking changes will be communicated in advance via release notes.

SDK Libraries

Official SDKs handle authentication, retries, and error handling:

Endpoints

Generation

Templates

Batch Operations

Webhooks

Bindings