Event

/event

GET

Get all events, optionally filtered by type.

Query parameters

type string One of ‘contact_update’, ‘domain_register’, ‘domain_transfer’, ‘domain_delete’, ‘domain_renew’, ‘domain_expiration_reminder’, ‘domain_post_expiration_renewal’, ‘hosting_account_suspend’, ‘hosting_account_restore’ or ‘ox_license_delete’
is_acknowledged boolean Select or exclude acknowledged events.

JSON response

array: Hosting Event

array: OX Event

array: Domain Event

array: Event Contact

Possible errors

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/event?type=domain_register" | python -m json.tool

/event/{id}

PUT

Update an event.

JSON request

is_acknowledged boolean Set true to mark it as acknowledged.

JSON response

object: Event

Possible errors

Sample

curl \
--request PUT \
--user "{{api_username}}:{{api_key}}" \
--data '
    {
        "is_acknowledged": true
    }
' \
"{{api_base_url}}/event/{id}" | python -m json.tool