API Reference
Track My Posts API
Integrate Track My Posts into your workflow with our powerful REST API. Access your data programmatically, automate workflows, and build custom integrations.
Authentication
Sign in to generate and manage your API keys.
Quick Start
Authentication Example
// All API requests require authentication and workspaceSlug
const response = await fetch("https://api.trackmyposts.com/billing?workspaceSlug=my-workspace", {
headers: {
"x-api-key": "YOUR_API_KEY"
}
});
const data = await response.json();Available Endpoints
8 endpointsBilling
API endpoint for retrieving workspace billing information and subscription status
GET
GET
Creators
API endpoint for retrieving workspace creators and their account information
GETPOSTDELETEPATCH
GETPOSTDELETEPATCH
Integrations
API endpoint for managing workspace integrations. Supports retrieving and removing integrations for a workspace. To add or update integrations, use the web interface or OAuth callback endpoints.
GETDELETE
GETDELETE
Posts
API endpoint for retrieving workspace posts with optional filtering, sorting, and pagination. Requires authentication and posts:view permission.
GET
GET
Post Revenue Attributions
API endpoint for retrieving revenue attribution history for a specific post. Shows why a post was attributed a certain revenue amount across multiple sync windows.
GET
GET
Revenue
API endpoint for retrieving workspace revenue transactions and analytics
GET
GET
Workspace Members
API endpoint for managing workspace members. Supports retrieving members with optional filtering, sorting, and pagination, as well as inviting, removing, and updating member roles.
GETPOSTDELETEPATCH
GETPOSTDELETEPATCH
Workspaces
API endpoint for managing workspaces. Supports retrieving, updating, and deleting workspaces. Returns all workspaces the authenticated user is a member of, or all workspaces if the user is an admin.
GETDELETEPATCH
GETDELETEPATCH
Base URL
https://api.trackmyposts.comNeed Help?
Have questions about the API or need assistance? Reach out to our support team.