Skip to content
Navigation

List booking-site hostnames

GET
https://api.nicer.travel/identity/admin/hosts

Every agency hostname on the platform (booking sites, portals and Pay), for support, filtered by app and status when they are sent. Nicer staff only.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Query parameters

  • app
    optional
    BOOKING
    or
    PORTAL
    or
    PAY
  • status
    optional
    PENDING_DNS
    or
    ISSUING
    or
    ACTIVE
    or
    FAILED_DNS
    or
    FAILED_CERT
    or
    REMOVING

Returns

200

OK

JSON
  • items
    array of
    object
    required
    • canonical
      boolean
      required
    • companyName
      string
      required
      minLength: 1
    • createdAt
      string
      required
    • createdBy
      string
      required
      minLength: 1
    • kind
      SUBDOMAIN
      or
      CUSTOM
      or
      ALIAS
      required
    • status
      PENDING_DNS
      or
      ISSUING
      or
      ACTIVE
      or
      FAILED_DNS
      or
      FAILED_CERT
      or
      REMOVING
      required
    • updatedAt
      string
      required
    • host
      string
      required
      minLength: 1
    • advisorUserId
      optional
      string
      minLength: 1
    • aliasOf
      optional
      string
    • app
      optional
      BOOKING
      or
      PORTAL
      or
      PAY
    • attempt
      optional
      integer
      maximum: 9007199254740991 · minimum: 0
    • certificateArn
      optional
      string
    • dnsElsewhereSince
      optional
      string
    • dnsTarget
      optional
      string
    • lastError
      optional
      string
    • tenantId
      optional
      string
    • tenantName
      optional
      string
    • validationMode
      optional
      cloudfront
      or
      self-hosted
    • validationRedirectFrom
      optional
      string
    • validationRedirectTo
      optional
      string

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close