# Get Me

> Channels API · Me

```http
GET /api/channel-me/
```

Return the current user's identity and channels.* permission flags.

Requires a valid Bearer token. On success returns::

    {
      "user": "asif",
      "groups": ["Admin"],
      "permissions": {
        "services.add_service":    true,
        "services.change_service": true,
        "services.delete_service": true
      }
    }

The front-end can call this once on load and use the permission flags to
disable or hide action buttons (stop, start, delete, edit) rather than
discovering access denial only after the user clicks.

## Authentication

- `Authorization` header — Bearer authentication of the form `Bearer <token>`.

## Example request

```bash
curl -X GET "/api/channel-me/" \
  -H "Authorization: Bearer <token>"
```

## Responses

### 200 — Successful Response

- `user` · string · **Required**
- `groups` · list of strings · **Required**
  - Array items (string):
- `permissions` · map from strings to boolean · **Required**
  - `[any key]` · boolean — map of additional properties

Example:

```json
{
  "user": "string",
  "groups": [
    "string"
  ],
  "permissions": {
    "key": true
  }
}
```

---

Source spec: `channels-api` · operationId: `get_me_me__get`
