POST/desk/api/v2/scheduledemails.json
Create a new scheduledemail.
Body Params
ScheduledEmailAPIBody handles the get/create/update request/response for scheduledemail.
- Name
included
- Type
- object
- Description
- Included allows adding referenced objects on the API response. The included keys should map to the `types` in the Relationship slices/objects.
- Name
scheduledemail
- Type
- object
- Description
- ScheduledEmail represents a ScheduledEmail.
- Name
sendNow
- Type
- boolean
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
ScheduledEmailAPIBody handles the get/create/update request/response for scheduledemail.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
201 Created
ScheduledEmailAPIBody
{ "included": { "addresses": [ { "city": "string", "country": "string", "firstLine": "string", "id": 0, "postalCode": "string", "secondLine": "string", "state": "string" } ], "agentsnotified": [ { "autoFollowOnCC": true, "avatarURL": "string", "createdAt": "2024-09-06T11:47:28.940Z",