Skip to main content
GET
/
api
/
domains
/
{domain_id}
/
activity-logs
cURL
curl --request GET \
  --url https://domainwarden.app/api/domains/{domain_id}/activity-logs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "019a11e5-1234-5678-9012-123456789012",
      "domain_id": 1,
      "domain_label": "example.com",
      "domain_url": "https://example.com",
      "domain_favicon_url": "https://www.google.com/s2/favicons?domain=example.com&sz=128",
      "user_id": 42,
      "user_name": "John Doe",
      "message": "DNS monitoring was enabled",
      "type": "dns_enabled",
      "type_human": "DNS Enabled",
      "created_at": "2024-10-27 12:00:00",
      "created_at_human": "2 hours ago"
    }
  ],
  "links": {
    "first": "http://example.com/api/domain/1/activity-logs?page=1",
    "last": "http://example.com/api/domain/1/activity-logs?page=3",
    "prev": null,
    "next": "http://example.com/api/domain/1/activity-logs?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 3,
    "per_page": 15,
    "to": 15,
    "total": 42
  }
}

Authorizations

Authorization
string
header
required

You can obtain your API Token from your Domainwarden account settings.

Path Parameters

domain_id
string
required

The ID of the domain.

domain
integer
required

The ID of the domain.

Query Parameters

per_page
integer

Number of items per page (default: 15, max: 100).

Example:

20

page
integer

Page number for pagination.

Example:

1

Response

data
object[]
Example:
[
{
"id": "019a11e5-1234-5678-9012-123456789012",
"domain_id": 1,
"domain_label": "example.com",
"domain_url": "https://example.com",
"domain_favicon_url": "https://www.google.com/s2/favicons?domain=example.com&sz=128",
"user_id": 42,
"user_name": "John Doe",
"message": "DNS monitoring was enabled",
"type": "dns_enabled",
"type_human": "DNS Enabled",
"created_at": "2024-10-27 12:00:00",
"created_at_human": "2 hours ago"
}
]
meta
object