GET /v0/websites/:id
Get a specific website.

Examples

{
  "data": {
    "id": "1904",
    "type": "websites",
    "attributes": {
      "url": "example.com"
    },
    "relationships": {
      "website_pages": {
        "data": [
          {
            "id": "19041",
            "type": "website_pages"
          },
          {
            "id": "19042",
            "type": "website_pages"
          }
        ]
      }
    }
  },
  "included": [
    {
      "id": "19041",
      "type": "website_pages",
      "attributes": {
        "url": "http://example.com/"
      }
    },
    {
      "id": "19042",
      "type": "website_pages",
      "attributes": {
        "url": "http://example.com/contact.html"
      }
    }
  ]
}

Params

Param name Description
id
required

The website id, as found in the company endpoint.

Validations:

  • Must match regular expression /\A\d+\Z/.