Docs menu
Get All Posts
Every finished post of your brand.
Request URL
GET https://gnraisolutions.com/api/v1/get_posts?brand_id=YOUR_BRAND_IDParameters
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
brand_id | Your Brand ID. | String | — | Yes |
media_type | Only this type: single_image, carousel or video. | String | all | No |
page_n | Page number. | Integer | 1 | No |
items_n | Posts per page, at most 20. | Integer | 10 | No |
Responses
{
"posts": [{
"post_id": "...",
"urls": ["..."],
"thumb_url": "...",
"caption": "...",
"media_type": "carousel",
"status": "ready",
"ai_generated": true,
"created_at": "..."
}],
"total_pages": 5,
"errors": []
}Includes posts made in the app and in the SDK, not only through the API — everything with media.