> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate a Coupon Code

Validate a specific coupon code to check if the coupon is valid and active

## HTTP Request

`POST /campaign_codes/:campaign_code/actions/validate`

## Route (URL) Parameters

| Parameter | Default | Description | Required |
| - | - | - | - |
| campaign\_code | n/a | The coupon code to validate | Yes |

## Query Parameters

| Parameter | Type | Description | Required |
| - | - | - | - |
| `activate` | boolean | When enabled, (1) this parameter activates the coupon code as part of same call. | No |

## Accepts

None.

## Returns

A minified [Campaign Code](Campaign_Codes) object

**Parent topic:**[Campaign Codes](../topics/Campaign_Codes)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.