# List affiliate coupons

## Request

| Method | URL                                                 |
| ------ | --------------------------------------------------- |
| `GET`  | `https://api.getrewardful.com/v1/affiliate_coupons` |

### Optional parameters

| Parameter     | Description                                 |
| ------------- | ------------------------------------------- |
| affiliate\_id | A filter based on the coupon's affiliate.\* |

## Example&#x20;

#### List all affiliate coupons

```bash
curl --request GET \
  --url https://api.getrewardful.com/v1/affiliate_coupons \
  -u YOUR_API_SECRET:
```

#### List all affiliate coupons by affiliate

```
curl --request GET \
  --url https://api.getrewardful.com/v1/affiliate_coupons?affiliate_id=a3482343-8680-40c5-af9a-9efa119713b5 \
  -u YOUR_API_SECRET:
```
