> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/api/api-endpoints/affiliate/api-affiliate-link-styles.md).

# /api/affiliate/link‑styles

## GET /api/affiliate/link-styles

> Get the list of possible link styles for affiliate links

```json
{"openapi":"3.0.2","info":{"title":"API Specification","version":"v1"},"tags":[{"name":"/api/affiliate/link-styles"}],"security":[{"api-key":[],"api-username":[]}],"components":{"securitySchemes":{"api-key":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"get_affiliate_link-styles":{"type":"object","properties":{"success":{"type":"boolean"}}}}},"paths":{"/api/affiliate/link-styles":{"get":{"description":"Get the list of possible link styles for affiliate links","tags":["/api/affiliate/link-styles"],"responses":{"200":{"description":"success","content":{"text/php":{"schema":{"$ref":"#/components/schemas/get_affiliate_link-styles"}},"application/json":{"schema":{"$ref":"#/components/schemas/get_affiliate_link-styles"}},"application/xml":{"schema":{"$ref":"#/components/schemas/get_affiliate_link-styles"}}}}}}}}}
```
