---
title: "Get an agency's public profile"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an agency's public profile

Path: Nicer API › identity

`GET /identity/public/company/{companyName}`

URL: `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` (`identity.public.company.get.path.companyName`; string, required)

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.identity.public.company.get({
  "companyName": "string"
});
```

### Nicer CLI

```bash
nicer identity public company get --company-name 'string'
```

### cURL

```bash
curl --request GET \
  --url 'https://api.nicer.travel/identity/public/company/<companyName>'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/identity/public/company/<companyName>';
const options = {method: 'GET'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/identity/public/company/<companyName>"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "branding": {
    "accentColor": "string",
    "backgroundColor": "string",
    "bodyFont": "Inter",
    "borderColor": "string",
    "contact": {
      "email": "user@example.com",
      "instagram": "string",
      "phone": "string",
      "whatsapp": "string"
    },
    "faviconUrl": "string",
    "headingFont": "Inter",
    "hero": {
      "imageUrl": "http://example.com",
      "subtitle": "string",
      "title": "string"
    },
    "logoDarkUrl": "http://example.com",
    "logoUrl": "string",
    "mode": "light",
    "mutedTextColor": "string",
    "primaryColor": "string",
    "privacyUrl": "http://example.com",
    "radius": 24,
    "seo": {
      "description": "string",
      "title": "string"
    },
    "surfaceColor": "string",
    "textColor": "string"
  },
  "companyName": "string",
  "displayName": "string",
  "urls": {
    "payUrl": "http://example.com",
    "portalUrl": "http://example.com",
    "siteUrl": "http://example.com"
  }
}
```

- `branding` (`identity.public.company.get.response.200.branding`; object, required)
  - `accentColor` (`identity.public.company.get.response.200.branding.accentColor`; string, optional)
    - pattern: `^#[0-9a-fA-F]{6}$`
  - `backgroundColor` (`identity.public.company.get.response.200.branding.backgroundColor`; string, optional)
    - pattern: `^#[0-9a-fA-F]{6}$`
  - `bodyFont` (`identity.public.company.get.response.200.branding.bodyFont`; string, optional)
    - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"`
  - `borderColor` (`identity.public.company.get.response.200.branding.borderColor`; string, optional)
    - pattern: `^#[0-9a-fA-F]{6}$`
  - `contact` (`identity.public.company.get.response.200.branding.contact`; object, optional)
    - `email` (`identity.public.company.get.response.200.branding.contact.email`; string, optional)
      - 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` (`identity.public.company.get.response.200.branding.contact.instagram`; string, optional)
      - maxLength: `64`
    - `phone` (`identity.public.company.get.response.200.branding.contact.phone`; string, optional)
      - maxLength: `32`
    - `whatsapp` (`identity.public.company.get.response.200.branding.contact.whatsapp`; string, optional)
      - maxLength: `32`
  - `faviconUrl` (`identity.public.company.get.response.200.branding.faviconUrl`; string, optional)
  - `headingFont` (`identity.public.company.get.response.200.branding.headingFont`; string, optional)
    - one of `"Inter"`, `"DM Sans"`, `"Manrope"`, `"Poppins"`, `"Montserrat"`, `"Lato"`, `"Nunito"`, `"Work Sans"`, `"Playfair Display"`, `"Merriweather"`, `"Lora"`, `"Cormorant Garamond"`
  - `hero` (`identity.public.company.get.response.200.branding.hero`; object, optional)
    - `imageUrl` (`identity.public.company.get.response.200.branding.hero.imageUrl`; string, optional)
      - format: `uri` · maxLength: `2048`
    - `subtitle` (`identity.public.company.get.response.200.branding.hero.subtitle`; string, optional)
      - maxLength: `160`
    - `title` (`identity.public.company.get.response.200.branding.hero.title`; string, optional)
      - maxLength: `80`
  - `logoDarkUrl` (`identity.public.company.get.response.200.branding.logoDarkUrl`; string, optional)
    - format: `uri` · maxLength: `2048`
  - `logoUrl` (`identity.public.company.get.response.200.branding.logoUrl`; string, optional)
  - `mode` (`identity.public.company.get.response.200.branding.mode`; string, optional)
    - one of `"light"`, `"dark"`, `"system"`
  - `mutedTextColor` (`identity.public.company.get.response.200.branding.mutedTextColor`; string, optional)
    - pattern: `^#[0-9a-fA-F]{6}$`
  - `primaryColor` (`identity.public.company.get.response.200.branding.primaryColor`; string, optional)
  - `privacyUrl` (`identity.public.company.get.response.200.branding.privacyUrl`; string, optional)
    - format: `uri` · maxLength: `2048`
  - `radius` (`identity.public.company.get.response.200.branding.radius`; integer, optional)
    - maximum: `24` · minimum: `0`
  - `seo` (`identity.public.company.get.response.200.branding.seo`; object, optional)
    - `description` (`identity.public.company.get.response.200.branding.seo.description`; string, optional)
      - maxLength: `160`
    - `title` (`identity.public.company.get.response.200.branding.seo.title`; string, optional)
      - maxLength: `60`
  - `surfaceColor` (`identity.public.company.get.response.200.branding.surfaceColor`; string, optional)
    - pattern: `^#[0-9a-fA-F]{6}$`
  - `textColor` (`identity.public.company.get.response.200.branding.textColor`; string, optional)
    - pattern: `^#[0-9a-fA-F]{6}$`
- `companyName` (`identity.public.company.get.response.200.companyName`; string, required)
- `displayName` (`identity.public.company.get.response.200.displayName`; string, required)
- `urls` (`identity.public.company.get.response.200.urls`; object, optional)
  - `payUrl` (`identity.public.company.get.response.200.urls.payUrl`; string, required)
    - format: `uri` · maxLength: `2048`
  - `portalUrl` (`identity.public.company.get.response.200.urls.portalUrl`; string, required)
    - format: `uri` · maxLength: `2048`
  - `siteUrl` (`identity.public.company.get.response.200.urls.siteUrl`; string, required)
    - format: `uri` · maxLength: `2048`

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`identity.public.company.get.response.400.errorCode`; string, required)
- `errorMessage` (`identity.public.company.get.response.400.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/identity/identity.public.company.get/index.md
