Check Post Status
GET /post/status/{embedPostId}
Retrieves the current status and processing logs for a specific post.
Headers
embed-api-key: your-api-key-here
(required)
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
embedPostId | string | Yes | ID of the embed post to check |
Example Request
curl --location 'https://embed-api.postnitro.ai/post/status/post123' \
--header 'embed-api-key: pn-plnnepb6v9omx2ik88v793ak'
Response
{
"success": true,
"data": {
"embedPostId": "post123",
"embedPost": {
"id": "post123",
"postType": "CAROUSEL",
"status": "COMPLETED",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:35:00Z"
},
"logs": [
{
"id": "log1",
"embedPostId": "post123",
"step": "INITIATED",
"status": "SUCCESS",
"message": "Post generation initiated",
"timestamp": "2024-01-15T10:30:00Z"
},
{
"id": "log2",
"embedPostId": "post123",
"step": "PROCESSING",
"status": "SUCCESS",
"message": "Content generated successfully",
"timestamp": "2024-01-15T10:32:00Z"
},
{
"id": "log3",
"embedPostId": "post123",
"step": "COMPLETED",
"status": "SUCCESS",
"message": "Post generation completed",
"timestamp": "2024-01-15T10:35:00Z"
}
]
}
}