Skip to main content
POST
Turn a domain's tracking on or off

Authorizations

Authorization
string
header
required

API key created in the organization settings.

Headers

Idempotency-Key
string

Unique key for the operation, 1 to 255 characters (a UUID, for example). Repeating the same key with the same body within 24 hours returns the original response instead of running it again.

Path Parameters

email_domain_id
string
required

Public ID of the sending domain, as in GET /v1/email-domains.

Pattern: ^edm_[A-Za-z0-9_-]+$

Body

application/json

At least one field. Fields not sent stay as they are.

open_tracking
boolean

true adds the open tracking image to the emails; false removes it.

click_tracking
boolean

true sends links through the click tracking address; false leaves links pointing straight at their destination.

Response

The sending domain after the change, as the email service reports it.

object
enum<string>
required
Available options:
email_domain
id
string
required
Pattern: ^edm_[A-Za-z0-9_-]+$
name
string
required

The sending domain, such as mail.yourstore.com.

verification_status
enum<string>
required
Available options:
verified,
pending,
failed,
temporary_failure,
not_started
open_tracking
boolean
required

Whether emails sent from this domain carry the invisible image that records opens.

click_tracking
boolean
required

Whether links in emails sent from this domain pass through the tracking address click.email.bevits.com, which records clicks. Off, links go straight to their destination and clicks aren't recorded.

html_url
string<uri>
required

The domain's page in Settings → Domains.