POST
/
admin
/
program
/
emailset
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/program/emailset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123,
  "emailset_id": 123,
  "client_id": "<string>"
}'
{
  "message": "Successfully Added Email Set To Program"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Data needed to add an email set to a program
id
integer

The ID of the program

emailset_id
integer

The ID of the email set

client_id
string

The ID of the client

Response

200
application/json
Successfully added email set to program
message
string
Example:

"Successfully Added Email Set To Program"