Nimbu Developer Docs
ReferenceSites

List sites accessible to the current user

GET
/sites

Authorization

bearerToken
AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

Response Body

application/json

curl -X GET "https://example.com/sites"
[
  {
    "id": "string",
    "url": "http://example.com",
    "name": "string",
    "domain": "string",
    "domain_url": "http://example.com",
    "subdomain": "string",
    "account": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
]
Empty