curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/emails/status/{mail_status}/update \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"email_ids": [
"1,2,3"
],
"key": "4"
}
'{
"message": "<string>",
"status": "<string>"
}API key generated from Developer Settings. Format: hys_...
The mail status key
Data needed to update the status of multiple emails
curl --request PUT \
--url https://api.helpyousponsor.com/v1/admin/emails/status/{mail_status}/update \
--header 'Content-Type: application/json' \
--header 'X-HYS-API-Key: <api-key>' \
--data '
{
"email_ids": [
"1,2,3"
],
"key": "4"
}
'{
"message": "<string>",
"status": "<string>"
}