API ReferenceConsole APIProjects

List all project domains

GETapi.blutui.com/v1/agencies/{username}/projects/{id}/domains

List all domains for a project in your agency.

Path parameters

idstringrequired

The ID of the project to retrieve.

Query parameters

limitinteger | default: 10

Limit the number of objects to return, ranging between 1 and 20.

pageinteger | default: 1

The current page used to display the pagination results.

Response

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.agency('studio').projects.domains('9c17d63b-96c0-4315-b4dd-e55373ce4ffd')
JSON Response
{
  "object": "list",
  "data": [
    {
      "id": "9c17d680-e0af-4f00-9e28-08c4e38e89e0",
      "object": "domain",
      "name": "example.com",
      "token": "s0IWaAJ3IKIW2u8awxSJ6zgpXE8apYKougfefrkpkqO0sbLs55dqsWlz863ZR3hk",
      "project": "9c17d63b-96c0-4315-b4dd-e55373ce4ffd",
      "verified_at": 1711305486,
      "created_at": 1711305486,
      "updated_at": 1711305486
    },
    {...},
    {...}
  ],
  "meta": {
    "has_more": false,
    "current_page": 1,
    "from": 1,
    "to": 3,
    "total": 3,
    "per_page": 10,
    "last_page": 1
  }
}
idstring

The unique identifier for this domain.

objectstring

This will always contain domain for this endpoint.

namestring

The domain name.

tokenstring

The verification token used to verify this domain.

projectstring | null

The ID of the project this domain belongs to.

verified_attimestamp

The domain's verified at timestamp.

created_attimestamp

The domain's created at timestamp.

updated_attimestamp

The domain's updated at timestamp.

Last updated on