API Documentation
Sales Website
  • Introduction
  • Authentication
  • Errors
  • Pagination
  • Rate Limits
  • API reference
    • Account
    • Host
    • Link
    • Redirect
    • Workspace
      • Subscription
  • Specification
Powered by GitBook
On this page
  1. API reference

Host

PreviousAccountNextLink

list of hosts

get

Get all hostnames

Authorizations
Responses
200
success
application/json
get
GET /v1/host HTTP/1.1
Host: api.redirhub.com
Authorization: YOUR_API_KEY
Accept: */*
200

success

{
  "data": [
    {
      "host": "www.example.com",
      "domain": "example.com",
      "correct": "1639562002248499321",
      "require": "[]",
      "https_requested": true,
      "checked_at": "2023-01-01 00:00:00",
      "created_at": "2023-01-01 00:00:00",
      "updated_at": "2023-01-01 00:00:00"
    }
  ]
}