cURL
curl --request GET \ --url https://api.social-api.ai/v1/posts/{pid}/logs \ --header 'Authorization: <api-key>'
{ "data": [ { "account_id": "acc_01HZ9X3Q4R5M6N7P8V2K0W1J", "action": "publish", "attempt": 1, "created_at": "2026-03-22T10:00:05Z", "duration_ms": 2340, "error_message": "<string>", "id": "<string>", "platform": "instagram", "post_id": "<string>", "status": "success", "status_code": 200 } ], "pagination": { "has_more": true, "limit": 25, "next_cursor": "<string>" } }
Returns all publishing attempt logs for a specific post.
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Authorization: Bearer sapi_key_...
Post ID
Max results (max 100, default 50)
OK
Show child attributes