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.
GET
/integrationsHeaders
x-api-keystringrequiredYour Track My Posts API key
Query Parameters
workspaceSlugstringrequiredWorkspace slug identifier
Example: my-workspace
Responses
200Successful response with list of workspace integrations
400Bad request - validation error
401Unauthorized - authentication required
403Forbidden - insufficient permissions
404Not found - workspace not found
500Internal server error
curl "https://api.trackmyposts.com/integrations?workspaceSlug=my-workspace" \
-H "x-api-key: YOUR_API_KEY"[
{
"id": "int_1234567890",
"workspaceId": "workspace-123",
"provider": "stripe",
"status": "connected",
"credentialsEncrypted": "encrypted_credentials_string",
"dataLastReceivedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
{
"id": "int_0987654321",
"workspaceId": "workspace-123",
"provider": "revenuecat",
"status": "connected",
"credentialsEncrypted": "encrypted_credentials_string",
"dataLastReceivedAt": "2024-01-15T09:15:00.000Z",
"createdAt": "2024-01-05T00:00:00.000Z",
"updatedAt": "2024-01-15T09:15:00.000Z"
}
]Data Structures
View all 4 data structuresIntegrations
Explore all data structures used in this API endpoint
curl "https://api.trackmyposts.com/integrations?workspaceSlug=my-workspace" \
-H "x-api-key: YOUR_API_KEY"[
{
"id": "int_1234567890",
"workspaceId": "workspace-123",
"provider": "stripe",
"status": "connected",
"credentialsEncrypted": "encrypted_credentials_string",
"dataLastReceivedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
{
"id": "int_0987654321",
"workspaceId": "workspace-123",
"provider": "revenuecat",
"status": "connected",
"credentialsEncrypted": "encrypted_credentials_string",
"dataLastReceivedAt": "2024-01-15T09:15:00.000Z",
"createdAt": "2024-01-05T00:00:00.000Z",
"updatedAt": "2024-01-15T09:15:00.000Z"
}
]