Docs menu
Create Posts using Brand Palette
Posts in your brand colours.
Set your colours once in the Brand kit, then ask for them with color_palette_type.
Python
import requests
url = "https://gnraisolutions.com/api/v1/create_content"
payload = {
"brand_id": "YOUR_BRAND_ID",
"text": "What to bring to your first photography session",
"media_type": "carousel",
"color_palette_type": "brand",
}
headers = {"Authorization": "YOUR_API_KEY"}
response = requests.post(url, data=payload, headers=headers)
print(response.json())
# {"post_ids": ["..."], "post_status": "inProgress", "errors": []}The finished post arrives on your webhook, or with Get All Posts.