Reschedule email

PATCH
/email/emails/{email_id}

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Path Parameters

email_id*string

The email's id.

Request Body

application/json
  1. body
scheduled_at?|

The new time, up to 30 days ahead; null sends it now.

Formatdate-time

Response Body

The send's new time.

application/json
  1. response
accepted_at*string
Formatdate-time
api_version*string
id*string

The email's ID.

reason_code*string
recipients*array<>
replayed?boolean|null
scheduled_at?|

When delivery starts, for a scheduled send.

Formatdate-time
state*string
tags*array<>
thread_id?string|null
topic_id?string|null
Example Request
curl -X PATCH 'https://api.relevate.app/email/emails/string' \
  -H 'Content-Type: application/json' \
  -d '{}'
Example Response
{
  "accepted_at": "2019-08-24T14:15:22Z",
  "api_version": "string",
  "id": "string",
  "reason_code": "string",
  "recipients": [
    {
      "address": "string",
      "copy": "string",
      "eligible_for_processing": true,
      "provider": "string",
      "provider_message_id": "string",
      "reason_code": "string",
      "recipient_send_id": "string",
      "state": "string"
    }
  ],
  "replayed": true,
  "scheduled_at": "2019-08-24T14:15:22Z",
  "state": "string",
  "tags": [
    {
      "name": "string",
      "value": "string"
    }
  ],
  "thread_id": "string",
  "topic_id": "string"
}