Docs menu
Authorization
Sending your API key.
Get an API key
- Sign in to GNR AI.
- Go to Brand & Accounts → API & SDK and make a key.
Making requests
Send the key in the Authorization header of every request — on its own, or after Bearer.
Python
import requests
url = "https://gnraisolutions.com/api/v1/create_content"
payload = {
"brand_id": "YOUR_BRAND_ID",
"text": "3 tips for a calmer Monday morning at the salon",
"media_type": "single_image",
}
headers = {"Authorization": "YOUR_API_KEY"}
response = requests.post(url, data=payload, headers=headers)
print(response.json())
# {"post_ids": ["..."], "post_status": "inProgress", "errors": []}A missing or wrong key returns HTTP 401 with the details. A revoked key stops working at once.