Skip to content

API Overview

The PostProxy API allows you to programmatically create and manage social media posts across multiple platforms including Facebook, Instagram, TikTok, LinkedIn, YouTube, X (Twitter), and Threads.

All API requests should be made to:

https://api.postproxy.dev

All API requests require authentication using a Bearer token in the Authorization header.

Authorization: Bearer your_api_key_here
TypeScopeCapabilities
Full AccessEntire accountAccess all profile groups, create/delete profile groups
Profile Group ScopedSingle profile groupAccess only the specified profile group, cannot create/delete profile groups

API requests operate within a profile group context. The profile group is determined by:

  1. Explicit parameter: Pass ?profile_group_id=<id> as a query parameter
  2. API key scope: If your API key is scoped to a profile group, that group is used automatically
  3. Default: If neither is specified and the key has full access, the first profile group in your account is used

All responses are JSON. IDs are returned as hashids (URL-safe encoded identifiers).

Single resource:

{
"id": "abc123xyz",
"name": "My Profile Group",
"profiles_count": 3
}

Collection with pagination:

{
"total": 150,
"page": 0,
"per_page": 10,
"data": [
{ "id": "..." },
{ "id": "..." }
]
}
CodeResponse
401{"error": "Invalid API key"}
404{"error": "Not found"}
400{"status": 400, "error": "Bad Request", "message": "..."}
422{"errors": ["Validation error message"]}
CodeMeaning
200 OKRequest succeeded
201 CreatedResource was created successfully
400 Bad RequestMissing required parameters
401 UnauthorizedInvalid, missing, or insufficient API key permissions
404 Not FoundResource does not exist or is not accessible
422 Unprocessable EntityValidation failed

List endpoints support pagination with the following query parameters:

ParameterTypeDefaultDescription
pageinteger0Page number (zero-indexed)
per_pageinteger10Number of items per page
PlatformPlatform IDAvailable Formats
Facebookfacebookpost, story
Instagraminstagrampost, reel, story
TikToktiktokpost
LinkedInlinkedinpost
YouTubeyoutubepost (channel video)
X (Twitter)twitterpost
Threadsthreadspost