Typefully Public API
The Typefully Public API allows you to programmatically manage your social media drafts, schedule posts, and publish content across multiple platforms.
Important: X Automation Compliance
Before building with this API for X automation, please review these critical guidelines:
- Make sure to adhere to X automation rules and general X rules when scheduling content, otherwise your X account might be banned.
- If you plan to build an app on X that is not just for you or your company to use, you will need to use the X API with higher rate limits than Typefully's API, which is meant to create personal automations and workflows.
Authentication
All requests require a Bearer token in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Generate your API key from your Typefully settings.
Permissions & Access Levels
API keys inherit the same permissions as the user who created them. Your access to social sets (accounts) determines which API operations you can perform.
Rate Limiting
API requests are rate-limited on a per user and per social set basis. When you exceed the rate limit, you'll receive a 429 Too Many Requests response. All API responses include headers showing your current rate limit status:
User rate limits (applies to all endpoints, per user): X-RateLimit-User-Limit (maximum requests allowed), X-RateLimit-User-Remaining (requests remaining), X-RateLimit-User-Reset (Unix timestamp when limit resets).
Social set rate limits (applies to specific operations like draft creation, per social set): X-RateLimit-SocialSet-Limit, X-RateLimit-SocialSet-Remaining, X-RateLimit-SocialSet-Reset, X-RateLimit-SocialSet-Resource (the resource identifier, e.g., "drafts.create").
Pagination
List endpoints use limit-offset pagination for efficient data retrieval:
- limit: Maximum items per page (default: 10, max: 50)
- offset: Number of items to skip (default: 0)
Example request:
GET /v2/social-sets?limit=25&offset=50
Each paginated response includes:
- results: Array of items for the current page
- count: Total number of items available
- limit: Items per page used for this request
- offset: Current offset value
- next: URL for the next page (null if on last page)
- previous: URL for the previous page (null if on first page)