> For the complete documentation index, see [llms.txt](https://docs.posynt.win/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.posynt.win/api-reference/accounts.md).

# Tracked accounts

An "account track" tells Posynt to watch a specific X account and deliver its **latest posts** — just like a hashtag track, but for a user.

## List accounts

```bash
curl https://api.posynt.win/v1/accounts \
  -H "Authorization: Bearer psy_live_xxx"
```

```json
{
  "data": [
    { "id": "acc_7b1e", "username": "officialoddguy", "exclude_replies": true, "track_engagement": false, "track_likes": true, "track_reposts": true, "track_comments": true, "status": "active", "created_at": "2026-07-12T10:00:00Z" }
  ]
}
```

## Add an account

```bash
curl -X POST https://api.posynt.win/v1/accounts \
  -H "Authorization: Bearer psy_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{"username": "officialoddguy"}'
```

### Parameters

| Field                                              | Type   | Required | Description                                                                                                                                                                                              |
| -------------------------------------------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `username`                                         | string | ✅        | The X handle, without the `@` (1-15 chars).                                                                                                                                                              |
| `exclude_replies`                                  | bool   | –        | Ignore replies (default `true`).                                                                                                                                                                         |
| `track_engagement`                                 | bool   | –        | Also watch RT/like/comment counts + who, on every matched post (default `false`). Same mechanics as for [hashtags](/api-reference/tracks.md#engagement-tracking) — toggle with `PATCH /v1/accounts/:id`. |
| `track_likes` / `track_reposts` / `track_comments` | bool   | –        | Which of the three to actually track (default `true` each) — same as [hashtags](/api-reference/tracks.md#engagement-tracking).                                                                           |

{% hint style="info" %}
The number of tracked accounts is capped by your plan. A `POST` beyond the limit returns `403` with the code `plan_limit_reached`.
{% endhint %}

## Delete an account

```bash
curl -X DELETE https://api.posynt.win/v1/accounts/acc_7b1e \
  -H "Authorization: Bearer psy_live_xxx"
```

```json
{ "id": "acc_7b1e", "deleted": true }
```

## Fetching the posts

Account posts land in the same `/v1/posts` feed, tagged with `type: "account"`. Filter them with the `account` query param:

```bash
curl "https://api.posynt.win/v1/posts?account=officialoddguy" \
  -H "Authorization: Bearer psy_live_xxx"
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.posynt.win/api-reference/accounts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
