---
title: "Set brand image credits"
method: POST
path: "/social-post-ideas/set-brand-image-credits"
tags: ["Social Post Ideas"]
---

# Set brand image credits

`POST /social-post-ideas/set-brand-image-credits`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/social-post-ideas/set-brand-image-credits`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/social-post-ideas/set-brand-image-credits/post.ts> (a function with typed inputs; its response is checked against the schema)

Sets the monthly image-generation credit limit for a brand (social profile) and whether image-credit metering is active.

## Headers

- `Synup-Version` string, required
- `Authorization` string, required

## Request body

- SetBrandImageCreditsRequest
  - `socialProfileId` string, required
  - `monthlyLimit` integer
  - `isActive` boolean

## Response `200`

Successful response

- object
  - `data` object
    - `setBrandImageCredits` MutationResponseV3
      - `success` boolean
      - `error` ErrorV3
        - `message` string
        - `code` string
        - `contextInfo` object[]
          - `key` string
          - `value` string

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
