The event object

The event object represents a notification about an operation that occurred on a resource in your OpusDNS account. Events are returned by GET /v1/events and GET /v1/events/{event_id}.

Example response

{
  "event_id": "event_01h45ytscbebyvny4gc8cr8ma2",
  "object_id": "dom_01h45ytscbebyvny4gc8cr8ma2",
  "object_type": "DOMAIN",
  "type": "REGISTRATION",
  "subtype": "SUCCESS",
  "event_data": {
    "version": "1.0",
    "message": "Domain example.com registered successfully"
  },
  "created_on": "2026-01-15T10:30:00Z",
  "acknowledged_on": null
}

Fields

Field Type Description
event_id string Unique identifier for the event (TypeID format, prefixed with event_).
object_id string | null The ID of the resource this event relates to (e.g., a domain ID or contact ID).
object_type string The type of resource. See Object types.
type string | null The category of operation. See Event types.
subtype string | null The outcome of the operation. See Subtypes.
event_data object Structured payload with event details. See Event data.
created_on datetime When the event was created.
acknowledged_on datetime | null When the event was acknowledged. null if not yet acknowledged.

Object types

The object_type field indicates which kind of resource the event relates to.

Object type Description
DOMAIN A domain in your account.
CONTACT A contact record.
HOST A subordinate host (glue record).
RAW A raw registry event not mapped to a specific resource type.
UNKNOWN The object type could not be determined.

Event types

The type field indicates which operation triggered the event.

Type Description
REGISTRATION A domain was registered.
RENEWAL A domain was renewed.
MODIFICATION A domain or contact was modified.
DELETION A domain was deleted.
INBOUND_TRANSFER A domain was transferred into OpusDNS.
OUTBOUND_TRANSFER A domain was transferred away from OpusDNS.
TRANSIT A domain entered transit state (TLD-specific, e.g., .de).
WITHDRAW A domain was withdrawn from the registry (TLD-specific, e.g., .at).
VERIFICATION A contact or domain verification event. Domain verification events follow a verification case.

Subtypes

The subtype field indicates the outcome or stage of the operation.

Subtype Description
NOTIFICATION Informational — an operation started or needs your attention.
SUCCESS The operation completed successfully.
FAILURE The operation failed.
CANCELED The operation was canceled.
OVERDUE A deadline passed before the operation completed. Used by domain verification events.
REMINDER A reminder fell due. Used by domain verification events of organizations that confirm their registrants' emails themselves.

New types, subtypes and detail values are added over time. Accept values your integration does not know yet instead of rejecting the event, for example by not generating closed enums from the API spec.

Event data

The event_data object uses a standardized V1 structure. Every event includes a version and a message. Failure events also include an error object, and some events carry additional typed data in a details object.

Field Required Description
version Yes Payload format version. Always "1.0".
message Yes Human-readable summary of the event.
error No Structured failure information. Present only for failure events.
details No Typed event-specific data, such as renewal or verification details.

Successful event

{
  "event_id": "event_01h45ytscbebyvny4gc8cr8ma2",
  "object_id": "example.com",
  "object_type": "DOMAIN",
  "type": "INBOUND_TRANSFER",
  "subtype": "SUCCESS",
  "event_data": {
    "version": "1.0",
    "message": "Domain transferred in successfully"
  },
  "created_on": "2026-05-05T10:30:00Z",
  "acknowledged_on": null
}

Failure event

Failure events include event_data.error.code and event_data.error.detail. Registry error codes are preserved when available.

{
  "event_id": "event_01h45ytscbebyvny4gc8cr8ma2",
  "object_id": "example.com",
  "object_type": "DOMAIN",
  "type": "OUTBOUND_TRANSFER",
  "subtype": "FAILURE",
  "event_data": {
    "version": "1.0",
    "message": "Outbound domain transfer failed",
    "error": {
      "code": "ERROR_DOMAIN_TRANSFER",
      "detail": "Outbound transfer failed for example.com"
    }
  },
  "created_on": "2026-05-05T10:30:00Z",
  "acknowledged_on": null
}
Error field Type Description
code string Machine-readable error code.
detail string Human-readable explanation of the failure.

Renewal details

When a domain renewal succeeds, the event includes the new registration expiration date under event_data.details.

{
  "event_data": {
    "version": "1.0",
    "message": "Domain renewed successfully",
    "details": {
      "detail_type": "domain_renewal",
      "expires_on": "2027-01-01T00:00:00Z"
    }
  }
}
Details field Type Description
detail_type string Always domain_renewal for renewal details.
expires_on datetime The new registration expiration date after the renewal.

Verification details

Domain verification events (object_type DOMAIN, type VERIFICATION) follow a verification case: one event when the case opens or changes (NOTIFICATION), and one when it ends (SUCCESS, FAILURE, CANCELED) or its deadline passes (OVERDUE). ICANN cases of organizations that confirm their registrants' emails themselves also log a REMINDER event for each reminder after the first mail, see ICANN cases. The object_id is the domain name, and details describe the case.

{
  "event_id": "event_01h45ytscbebyvny4gc8cr8ma2",
  "object_id": "example.de",
  "object_type": "DOMAIN",
  "type": "VERIFICATION",
  "subtype": "NOTIFICATION",
  "event_data": {
    "version": "1.0",
    "message": "Domain verification notification received",
    "details": {
      "detail_type": "domain_verification",
      "domain_id": "domain_01h455e1yewzjmrqt7xk5g8w4d",
      "verification_id": "domain_verification_01h455e1yewzjmrqt7xk5g8w7g",
      "source": "REGISTRY",
      "verification_deadlines": [
        { "type": "verification", "date": "2026-05-20T11:01:05Z" },
        { "type": "dedelegation", "date": "2026-05-20T11:01:05Z" },
        { "type": "deletion", "date": "2026-08-18T11:01:05Z" }
      ],
      "verification_claims": [
        "address",
        "name"
      ],
      "registrants": [
        {
          "contact_id": "contact_01h455e1yewzjmrqt7xk5g8w6f",
          "name": "Jane Doe",
          "email": "jane.doe@example.com"
        }
      ]
    }
  },
  "created_on": "2026-04-20T11:01:07Z",
  "acknowledged_on": null
}
Details field Type Description
detail_type string Always domain_verification for verification details.
domain_id string TypeID of the domain the case is about.
verification_id string TypeID of the verification case. Matches verification_id in the domain's active_verifications and case history.
source string Who asks for the verification: REGISTRY or ICANN.
verification_deadlines array The case's deadlines. verification is the date to act by, the earliest of them; dedelegation and deletion are the registry's consequences. See Deadlines.
verification_claims array Claims that need verification: name, legal_entity, address, email or phone. Empty when the registry does not name them.
registrants array Registrant contacts associated with the domain.

A FAILURE event also carries event_data.error with the code ERROR_DOMAIN_VERIFICATION_REGISTRY_REJECTED. Older verification events, stored before verification cases existed, have no verification_id or source.

Integration notes

Integrations that read event_data should:

  1. Check event_data.version.
  2. Use event_data.message as the primary event summary.
  3. For failures, use event_data.error.code and event_data.error.detail.
  4. For renewal events, read event_data.details.expires_on when event_data.details.detail_type is domain_renewal.
  5. For verification events, read verification_id, source, verification_deadlines, verification_claims, and registrants when event_data.details.detail_type is domain_verification.

Older events that were created before the V1 migration may still contain the previous event_data shape. Integrations that process historical events should keep a fallback path for legacy event_data and use the top-level type and subtype fields to route those events.