---
title: "List personal links for every public profile in the workspace"
description: "Owner, admin or manager only. The role is read from workspace_members, not from the token. Managers can view. Owners and admins also get can_unpublish. This route never creates a code. Returns 503 when the database function is missing. A caller who is not a member of the workspace in x-workspace-id is rejected by authenticate.\n"
---

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

Path: Channel Automation API › Rep profiles

`GET /api/rep-profiles/team/public-links`

Owner, admin or manager only. The role is read from workspace_members, not from the token. Managers can view. Owners and admins also get can_unpublish. This route never creates a code. Returns 503 when the database function is missing. A caller who is not a member of the workspace in x-workspace-id is rejected by authenticate.

## Header parameters

- `x-workspace-id` (`get/api/rep-profiles/team/public-links.header.x-workspace-id`; string, optional)

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.channelautomation.com/api/rep-profiles/team/public-links
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/rep-profiles/team/public-links';
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.channelautomation.com/api/rep-profiles/team/public-links"

response = requests.get(url)

print(response.text)
```

## Responses

### 200

{ can_unpublish, reps: [{ user_id, name, role, is_member, published, eligible, has_link, link_live, public_url }] }

### 403

The caller is not an owner, admin or manager.

### 503

The team list is not available yet.


Source: https://developer.channelautomations.com/api/get-api-rep-profiles-team-public-links/index.md
