Skip to Content
EmbedEmbed APIPost Output

Get Post Output

GET /post/output/{embedPostId}

Retrieves the generated output for a completed post.

Headers

  • embed-api-key: your-api-key-here (required)

Path Parameters

ParameterTypeRequiredDescription
embedPostIdstringYesID of the embed post to retrieve

Example Request

curl --location 'https://embed-api.postnitro.ai/post/output/[embed-post-id]' \ --header 'embed-api-key: pn-plnnepb6v9omx2ik88v793ak'

Response

For PNG Response Type:

{ "success": true, "data": { "embedPost": { "id": "post123", "postType": "CAROUSEL", "responseType": "PNG", "status": "COMPLETED", "credits": 4, "createdAt": "2025-08-03T13:40:49.098Z", "updatedAt": "2025-08-03T13:40:53.425Z" }, "result": { "name": "Welcome to the Carousel!", "size": "4:5", "type": "png", "mimeType": "image/png", "data": [ "iVBORw0KGgoAAAANSUhEUgAABDgAAAVGCAIAAAD0LZzdAAAAAXNSR0IArs4c6QAAIABJREFUeJzs3XuUVnWh/" ] } } }

For PDF Response Type:

{ "success": true, "data": { "embedPost": { "id": "post123", "postType": "CAROUSEL", "responseType": "PDF", "status": "COMPLETED", "credits": 4, "createdAt": "2025-08-03T13:59:07.502Z", "updatedAt": "2025-08-03T13:59:12.181Z" }, "result": { "name": "Welcome to the Carousel!", "size": "4:5", "type": "pdf", "mimeType": "application/pdf", "data": "iVBORw0KGgoAAAANSUhEUgAABDgAAAVGCAIAAAD0LZzdAAAAAXNSR0IArs4c6QAAIABJREFUeJzs3XuUVnWh/" } } }

Result Object Details

FieldTypeDescription
namestringDesign name (from template or “Untitled”)
sizestringDesign aspect ratio (e.g., “4:5”)
typestringFile type in lowercase (“png” or “pdf”)
mimeTypestringMIME type for the file
datastring/arrayPNG: Array of URLs (one per slide)
PDF: Single URL
Last updated on