# Set brand image credits

```http
POST https://api.synup.com/api/v4/social-post-ideas/set-brand-image-credits
```

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

Source: https://developer.synup.com/api/social-post-ideas/set-brand-image-credits

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Synup-Version` | string | required | API version date (YYYY-MM-DD). |

## Request body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `socialProfileId` | string | required |  |
| `monthlyLimit` | integer | optional |  |
| `isActive` | boolean | optional |  |

## Example request

```bash
curl -X POST 'https://api.synup.com/api/v4/social-post-ideas/set-brand-image-credits' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "socialProfileId": "6f1c2a90-...",
  "monthlyLimit": 100,
  "isActive": true
}'
```

## Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized - Invalid or missing API key |
