---
title: "POST /admin/notifications/send/{template_name}"
method: POST
path: "/admin/notifications/send/{template_name}"
tags: ["notifications"]
---

# POST /admin/notifications/send/{template_name}

`POST /admin/notifications/send/{template_name}`

Send a notification to your affiliates

## Path parameters

- `template_name` 'partneraccountapproved' | 'partneraccountblocked' | 'partnerpayoutemail' | 'partnersale' | 'partnerinvitation', required

## Request body

- object
  - `affiliate_id` string — ID of the affiliate to send the notification to
  - `order_id` string — ID of the order (if an order template is being sent)
  - `payout_id` string — ID of the payout (if a payout template is being sent)
  - `html` string — HTML content of the email
  - `subject` string — Subject of the email
  - `to` string — To email address
  - `from` string — From email address
  - `replyTo` string — Reply-to email address

## Response `200`

- object
  - `success` number

## Other responses

- `403` — Not authenticated

---

[API](https://skmtc.dev/goaffpro/apis/goaffpro-api.md) · [All operations](https://skmtc.dev/goaffpro/apis/goaffpro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goaffpro/goaffpro-api/revisions/832de9c7d0ae/schema)
