Skip to content
Navigation

Get an agency's public profile

GET
https://api.nicer.travel/identity/public/company/{companyName}

Returns an agency's display name, booking-site theme and addresses (its booking site, portal and Pay, on its own domains once live) to anyone, for the Pay page and booking site that paint the agency and link to its other apps before anyone signs in. Anyone may call it, without a token. Errors: 404 ERROR_ITEM_NOT_FOUND for an agency there is not.

Path parameters

  • companyName
    string
    required

Returns

200

OK

JSON
  • branding
    object
    required
    • accentColor
      optional
      string
      pattern: ^#[0-9a-fA-F]{6}$
    • backgroundColor
      optional
      string
      pattern: ^#[0-9a-fA-F]{6}$
    • bodyFont
      optional
      string
      ·
      one of 12 values
      Allowed values: Inter, DM Sans, Manrope, Poppins, Montserrat, Lato, Nunito, Work Sans, Playfair Display, Merriweather, Lora, Cormorant Garamond
    • borderColor
      optional
      string
      pattern: ^#[0-9a-fA-F]{6}$
    • contact
      optional
      object
      • email
        optional
        string
        format: email · maxLength: 254 · pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
      • instagram
        optional
        string
        maxLength: 64
      • phone
        optional
        string
        maxLength: 32
      • whatsapp
        optional
        string
        maxLength: 32
    • faviconUrl
      optional
      string
    • headingFont
      optional
      string
      ·
      one of 12 values
      Allowed values: Inter, DM Sans, Manrope, Poppins, Montserrat, Lato, Nunito, Work Sans, Playfair Display, Merriweather, Lora, Cormorant Garamond
    • hero
      optional
      object
      • imageUrl
        optional
        string
        format: uri · maxLength: 2048
      • subtitle
        optional
        string
        maxLength: 160
      • title
        optional
        string
        maxLength: 80
    • logoDarkUrl
      optional
      string
      format: uri · maxLength: 2048
    • logoUrl
      optional
      string
    • mode
      optional
      light
      or
      dark
      or
      system
    • mutedTextColor
      optional
      string
      pattern: ^#[0-9a-fA-F]{6}$
    • primaryColor
      optional
      string
    • privacyUrl
      optional
      string
      format: uri · maxLength: 2048
    • radius
      optional
      integer
      maximum: 24 · minimum: 0
    • seo
      optional
      object
      • description
        optional
        string
        maxLength: 160
      • title
        optional
        string
        maxLength: 60
    • surfaceColor
      optional
      string
      pattern: ^#[0-9a-fA-F]{6}$
    • textColor
      optional
      string
      pattern: ^#[0-9a-fA-F]{6}$
  • companyName
    string
    required
  • displayName
    string
    required
  • urls
    optional
    object
    • payUrl
      string
      required
      format: uri · maxLength: 2048
    • portalUrl
      string
      required
      format: uri · maxLength: 2048
    • siteUrl
      string
      required
      format: uri · maxLength: 2048

400

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

Type to search…

↑↓ navigate↵ selectEsc close