# List

This endpoint will retrieve the list of all the profiles created in a specific bot.

### Request

The following request will publish a chatbot on the currently active channels

```bash
curl --location --request GET 'https://<SERVICE ENDPOINT>/teams/profiles' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'
```

### Response

If successful, the response will contain the list of all the profiles created in a bot specified in the request token.

<pre class="language-javascript"><code class="lang-javascript">[
<strong>    {
</strong>        "Id": "&#x3C;profile id>",
        "Name": "Super User",
        "Description": "This is the super user",
        "Permissions":{
            ...
        }
    }
]
</code></pre>

### Response Codes

This endpoint will reply with the following standard HTTP codes.

<table data-header-hidden><thead><tr><th width="276">Code</th><th>Meaning</th></tr></thead><tbody><tr><td>Code</td><td>Meaning</td></tr><tr><td>200</td><td>Ok. The request has been successfully fulfilled.</td></tr><tr><td>400</td><td>Bad Request. The supplied token is invalid or does not have enough permissions.</td></tr><tr><td>404</td><td>Not Found. The account or the chatbot specified could not be found.</td></tr></tbody></table>
