> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.docs.siftsy.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.docs.siftsy.com/_mcp/server.

# Add a public account's recent posts

POST https://api.siftsy.app/analyst/v1/content/accounts/add
Content-Type: application/json

Requires `accounts:write` (opt-in when the key is created). Discovers
the recent public posts of one account URL (TikTok, Instagram,
YouTube, Facebook page, LinkedIn, X), applies `filters`, and adds the
matching posts to the team — the same as adding an account in the
Siftsy app. Discovery runs in the background: responds `202` with
`status: discovering`; poll `GET /content/jobs/{jobId}`.

Filters are the ones the app offers: `since` / `until`, `limit`
(default 20, max 100), `keywords` (includes / exact / excludes on the
caption), plus `minViews`, `minLikes`, and `postType`. You cannot
hand-pick individual posts beyond these filters — use
`POST /content/posts/add` for that.

Order of operations: the request validates, resolves the target team
and `collections`, runs the replay check, saves the account on the
team, and returns the job as `discovering`. A worker then pulls the
account's recent posts newest-first (`since` / `until` / `limit` /
`keywords` at the source, retried up to 3 times), applies `minViews`
/ `minLikes` / `postType`, dedupes, cuts to `limit`, and hands the
links to the same dedupe → fund check → reserve + create → queue path
as `POST /content/posts/add`, moving the job to `syncing`. A
discovery failure leaves the job `failed` with an `error` and no
charge.

Credits are reserved only for posts that pass the filters and are not
already on the team. Set `dryRun: true` to discover and price without
adding anything: the job completes with `discovered[]` and
`credits.estimated`.

`collections`, `tags`, `teamId`, `credits`, and `capture` behave as in
`POST /content/posts/add`. Rate class `content_add_accounts`
(2 / minute, 20 / day per key).

Reference: https://api.docs.siftsy.com/api-reference/siftsy-analyst-api/add-account

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.
- `X-Api-Key` header (required) — API Key authentication via header

## Servers

- `https://api.siftsy.app/analyst/v1` (Production, default)
- `http://localhost:3000/analyst/v1` (Local development)

## Request

### Body (application/json)

This endpoint expects an AddAccountRequest.

- `account` (AddAccountRequestAccount, required)
- `filters` (AccountFilters, optional) — The same account filters offered in the Siftsy app.
- `dryRun` (boolean, optional, default: false) — Discover and price the matching posts without adding or charging
- `teamId` (string, optional) — Enterprise keys only — a sub-team of the key's enterprise to add to
- `collections` (list of CollectionRef, optional)
- `tags` (list of string, optional)
- `credits` (CreditOptions, optional)
- `capture` (CaptureOptions, optional)

## Response

### 200

Identical request replayed; existing job returned (`meta.replayed: true`)

- `data` (ContentJob, optional)
- `meta` (EnvelopeContentJobMeta, optional)

### 202

Content job created (`status: discovering`)

- `data` (ContentJob, optional)
- `meta` (EnvelopeContentJobMeta, optional)

## Errors

### 400 Bad Request Error

Invalid request

- `any`

### 403 Forbidden Error

Missing required scope

- `any`

### 404 Not Found Error

Resource not found

- `any`

### 409 Conflict Error

A `collections[].name` matched more than one active collection on the team. `error.code` is `collection_name_ambiguous` and `error.candidates[]` lists `{ id, name, type }`; retry with one of the ids. Nothing was created or charged.

- `any`

### 429 Too Many Requests Error

A per-minute cap, a per-day budget, or the daily transfer cap was exceeded. `error.message` is `Rate limit exceeded`, `Daily request limit exceeded`, or `Daily transfer limit exceeded`. Honor `Retry-After` (next UTC minute for burst caps; UTC midnight for daily budgets). Sized for a scheduled BI refresh: burst caps that a sequential loop cannot trip, daily budgets that fit eight full refreshes a day of a 500-post workspace or one full refresh plus hourly incrementals. Defaults: 300/minute and 10,000/day globally, with class budgets for per-post comment samples (120/min, 1,000/day), analysis-wide comment samples (20/min, 300/day), collection posts (60/min, 1,000/day), analysis reads (60/min, 2,000/day), analysis create (10/min, 100/day), AI search (2/min, 10/day), adding posts (10/min, 200/day), adding accounts (2/min, 20/day), refreshing posts (10/min, 200/day), and content job polls (60/min, 2,000/day). Daily transfer cap 500 MB.

- `any`

## Types

### AddAccountRequestAccount

- `url` (string, required) — Public profile URL on TikTok, Instagram, YouTube, Facebook (page), LinkedIn, or X

### AccountFilters

The same account filters offered in the Siftsy app.

- `since` (datetime, optional) — Only posts published on or after this time (ISO 8601; a date is accepted)
- `until` (datetime, optional) — Only posts published on or before this time (defaults to now)
- `limit` (integer, optional, default: 20) — Maximum posts to add, newest first
- `keywords` (list of AccountFiltersKeywordsItems, optional) — Caption keyword filters. Strings mean `includes`.
- `minViews` (integer, optional)
- `minLikes` (integer, optional)
- `postType` (enum, optional)
  - Allowed values: `video`, `image`, `carousel`, `reel`, `short`, `story`, `text`, `other`

### CollectionRef

Exactly one of `id` or `name`. `id` must be an active collection on the target team. `name` reuses an exact (case-insensitive) match on an active collection, otherwise creates one. Ambiguous names return `409 collection_name_ambiguous`.

- `id` (string, optional) — Existing collection id
- `name` (string, optional) — Collection name to match or create
- `type` (enum, optional, default: campaign) — Structural type when creating by name
  - Allowed values: `campaign`, `group`
- `parentId` (string, optional) — With `type: group` — the campaign to nest the new group under

### CreditOptions

- `source` (enum, optional, default: auto) — `auto` spends MAPs first and overflows into Ad Hoc credits; `adhoc` spends Ad Hoc credits only
  - Allowed values: `auto`, `adhoc`

### CaptureOptions

- `fullRead` (boolean, optional, default: false) — Capture the full comment section (5 credits per post instead of 1)
- `commentLimit` (integer, optional) — Cap comments captured per post (ignored with `fullRead`)

### ContentJob

- `id` (string, optional) — `cj_…`
- `url` (string, optional, nullable) — Absolute URL of this job on the host you called. Poll it as-is.
- `kind` (enum, optional)
  - Allowed values: `posts`, `account`, `refresh`
- `status` (enum, optional) — `discovering` (account jobs, before posts are known) → `queuing` → `syncing` (posts created and processing) → `completed` (every requested link added and processed), `partial` (some skipped, rejected, or failed to process), or `failed` (nothing added).
  - Allowed values: `discovering`, `queuing`, `syncing`, `completed`, `partial`, `failed`
- `teamId` (string, optional) — Team the content was added to
- `dryRun` (boolean, optional)
- `account` (ContentJobAccount, optional, nullable)
- `filters` (AccountFilters, optional) — The same account filters offered in the Siftsy app.
- `collections` (list of ContentJobCollectionsItems, optional)
- `tags` (list of string, optional)
- `credits` (ContentJobCredits, optional) — Credit accounting derived from link outcomes and post status
- `minRefreshIntervalHours` (integer, optional) — Refresh jobs — the per-post floor between programmatic refreshes (12)
- `counts` (ContentJobCounts, optional)
- `error` (ContentJobError, optional, nullable)
- `pollAfterMs` (integer, optional) — Present while the job is not terminal
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)
- `completedAt` (datetime, optional, nullable)
- `expiresAt` (datetime, optional)
- `accepted` (list of ContentJobLinkResult, optional) — Links that reserved a credit and created a post
- `skipped` (list of ContentJobLinkResult, optional) — Links already on the team (not charged)
- `rejected` (list of ContentJobLinkResult, optional) — Links that were not added (not charged)
- `discovered` (list of ContentJobDiscoveredItems, optional) — Account `dryRun` jobs — the posts that matched the filters

### EnvelopeContentJobMeta

- `status` (string, optional)
- `pollAfterMs` (integer, optional) — Present while the job is not terminal
- `replayed` (boolean, optional) — `true` when an identical request returned an existing job

### AccountFiltersKeywordsItems

- string
- AccountFiltersKeywordsItems1

### ContentJobAccount

- `url` (string, optional)
- `platform` (string, optional)

### ContentJobCollectionsItems

- `id` (string, optional)
- `name` (string, optional, nullable)
- `type` (string, optional)
- `created` (boolean, optional) — `true` when this request created the collection by name

### ContentJobCredits

Credit accounting derived from link outcomes and post status

- `source` (enum, optional)
  - Allowed values: `auto`, `adhoc`
- `perPost` (integer, optional) — 1, or 5 with `capture.fullRead`
- `reserved` (integer, optional) — Credits reserved for accepted links
- `settled` (integer, optional, nullable) — Credits for accepted posts that finished processing
- `refunded` (integer, optional, nullable) — Credits returned for accepted posts that failed to process
- `estimated` (integer, optional) — Account jobs — what adding the discovered posts would cost (`dryRun`)
- `included` (integer, optional) — Refresh jobs — accepted refreshes covered by the plan's included cadence (cost 0)

### ContentJobCounts

- `requested` (integer, optional)
- `discovered` (integer, optional, nullable) — Account jobs — posts matching the filters
- `accepted` (integer, optional)
- `skipped` (integer, optional)
- `rejected` (integer, optional)
- `syncing` (integer, optional)
- `complete` (integer, optional, nullable)
- `failed` (integer, optional, nullable)

### ContentJobError

- `message` (string, optional)
- `code` (string, optional)

### ContentJobLinkResult

- `link` (string, optional)
- `postId` (string, optional, nullable)
- `postStatus` (string, optional) — Processing status of the created post while the job is syncing
- `reason` (string, optional, nullable) — Why a link was skipped or rejected. Add jobs: `already_complete`, `already_processing`, `duplicate_in_batch`, `unsupported_platform`, `invalid_url`, `insufficient_credits`, `create_failed`. Refresh jobs add `min_interval` (inside the 12-hour floor), `cooldown`, `not_found`, `not_on_team`, `unreachable`, `resync_not_enabled`.
- `creditSource` (enum, optional) — Refresh jobs — `included` (free under the plan's refresh cadence) or `credit` (charged)
  - Allowed values: `included`, `credit`
- `creditCost` (integer, optional) — Refresh jobs — 0, 1, or 5 (Full Read)
- `dataVersion` (integer, optional) — Refresh jobs — the data version this refresh will produce
- `nextRefreshAt` (datetime, optional) — Refresh jobs — when a `min_interval` / `cooldown` skip becomes eligible

### ContentJobDiscoveredItems

- `link` (string, optional)
- `postedAt` (datetime, optional, nullable)
- `postType` (string, optional, nullable)
- `engagement` (Engagement, optional) — Platform engagement counts as last refreshed. Null when the platform does not report a metric.

### AccountFiltersKeywordsItems1

- `term` (string, required)
- `match` (enum, optional, default: includes)
  - Allowed values: `includes`, `exact`, `excludes`

### Engagement

Platform engagement counts as last refreshed. Null when the platform does not report a metric.

- `views` (double, optional, nullable)
- `likes` (double, optional, nullable)
- `comments` (double, optional, nullable)
- `shares` (double, optional, nullable)
- `saves` (double, optional, nullable)
- `engagementRate` (double, optional, nullable)

## Examples

### Price a keyword-filtered pull without adding

**Request**

```json
{
  "account": {
    "url": "https://www.instagram.com/dove/"
  },
  "filters": {
    "limit": 100,
    "keywords": [
      {
        "term": "scrub",
        "match": "includes"
      }
    ]
  },
  "dryRun": true
}
```

**Response**

```json
{
  "data": {
    "id": "cj_5f2c1a9e3b7d4c0e8a1f2b3c4d5e6f70",
    "kind": "posts",
    "status": "syncing",
    "teamId": "team_2f8c1a",
    "dryRun": false,
    "collections": [
      {
        "id": "col_launch",
        "name": "Q4 Launch",
        "type": "campaign",
        "created": false
      }
    ],
    "tags": [
      "launch",
      "paid"
    ],
    "credits": {
      "source": "auto",
      "perPost": 1,
      "reserved": 2,
      "settled": 0,
      "refunded": 0
    },
    "counts": {
      "requested": 3,
      "accepted": 2,
      "skipped": 0,
      "rejected": 1,
      "syncing": 2,
      "complete": 0,
      "failed": 0
    },
    "pollAfterMs": 5000,
    "createdAt": "2026-09-13T22:10:00.000Z",
    "updatedAt": "2026-09-13T22:10:00.000Z",
    "completedAt": null,
    "expiresAt": "2026-10-13T22:10:00.000Z",
    "accepted": [
      {
        "link": "https://www.tiktok.com/@dove/video/7412345678901234567",
        "postId": "post_01j9y",
        "postStatus": "fetching"
      },
      {
        "link": "https://www.instagram.com/reel/C9AbCdEfGhI/",
        "postId": "post_01j9z",
        "postStatus": "fetching"
      }
    ],
    "skipped": [],
    "rejected": [
      {
        "link": "https://example.com/not-social",
        "reason": "unsupported_platform"
      }
    ]
  },
  "meta": {
    "status": "string",
    "pollAfterMs": 1,
    "replayed": true
  }
}
```

**SDK Code**

```python Price a keyword-filtered pull without adding
import requests

url = "https://api.siftsy.app/analyst/v1/content/accounts/add"

payload = {
    "account": { "url": "https://www.instagram.com/dove/" },
    "filters": {
        "limit": 100,
        "keywords": [
            {
                "term": "scrub",
                "match": "includes"
            }
        ]
    },
    "dryRun": True
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Price a keyword-filtered pull without adding
const url = 'https://api.siftsy.app/analyst/v1/content/accounts/add';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"account":{"url":"https://www.instagram.com/dove/"},"filters":{"limit":100,"keywords":[{"term":"scrub","match":"includes"}]},"dryRun":true}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Price a keyword-filtered pull without adding
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.siftsy.app/analyst/v1/content/accounts/add"

	payload := strings.NewReader("{\n  \"account\": {\n    \"url\": \"https://www.instagram.com/dove/\"\n  },\n  \"filters\": {\n    \"limit\": 100,\n    \"keywords\": [\n      {\n        \"term\": \"scrub\",\n        \"match\": \"includes\"\n      }\n    ]\n  },\n  \"dryRun\": true\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Price a keyword-filtered pull without adding
require 'uri'
require 'net/http'

url = URI("https://api.siftsy.app/analyst/v1/content/accounts/add")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"account\": {\n    \"url\": \"https://www.instagram.com/dove/\"\n  },\n  \"filters\": {\n    \"limit\": 100,\n    \"keywords\": [\n      {\n        \"term\": \"scrub\",\n        \"match\": \"includes\"\n      }\n    ]\n  },\n  \"dryRun\": true\n}"

response = http.request(request)
puts response.read_body
```

```java Price a keyword-filtered pull without adding
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.siftsy.app/analyst/v1/content/accounts/add")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"account\": {\n    \"url\": \"https://www.instagram.com/dove/\"\n  },\n  \"filters\": {\n    \"limit\": 100,\n    \"keywords\": [\n      {\n        \"term\": \"scrub\",\n        \"match\": \"includes\"\n      }\n    ]\n  },\n  \"dryRun\": true\n}")
  .asString();
```

```php Price a keyword-filtered pull without adding
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.siftsy.app/analyst/v1/content/accounts/add', [
  'body' => '{
  "account": {
    "url": "https://www.instagram.com/dove/"
  },
  "filters": {
    "limit": 100,
    "keywords": [
      {
        "term": "scrub",
        "match": "includes"
      }
    ]
  },
  "dryRun": true
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Price a keyword-filtered pull without adding
using RestSharp;

var client = new RestClient("https://api.siftsy.app/analyst/v1/content/accounts/add");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"account\": {\n    \"url\": \"https://www.instagram.com/dove/\"\n  },\n  \"filters\": {\n    \"limit\": 100,\n    \"keywords\": [\n      {\n        \"term\": \"scrub\",\n        \"match\": \"includes\"\n      }\n    ]\n  },\n  \"dryRun\": true\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Price a keyword-filtered pull without adding
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "account": ["url": "https://www.instagram.com/dove/"],
  "filters": [
    "limit": 100,
    "keywords": [
      [
        "term": "scrub",
        "match": "includes"
      ]
    ]
  ],
  "dryRun": true
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.siftsy.app/analyst/v1/content/accounts/add")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Example 2

**Request**

```json
{
  "account": {
    "url": "https://www.tiktok.com/@dove"
  },
  "filters": {
    "since": "2026-08-13",
    "limit": 50,
    "minViews": 10000,
    "postType": "video"
  },
  "collections": [
    {
      "name": "Dove creator watch"
    }
  ],
  "tags": [
    "creator"
  ]
}
```

**Response**

```json
{
  "data": {
    "id": "cj_5f2c1a9e3b7d4c0e8a1f2b3c4d5e6f70",
    "kind": "posts",
    "status": "syncing",
    "teamId": "team_2f8c1a",
    "dryRun": false,
    "collections": [
      {
        "id": "col_launch",
        "name": "Q4 Launch",
        "type": "campaign",
        "created": false
      }
    ],
    "tags": [
      "launch",
      "paid"
    ],
    "credits": {
      "source": "auto",
      "perPost": 1,
      "reserved": 2,
      "settled": 0,
      "refunded": 0
    },
    "counts": {
      "requested": 3,
      "accepted": 2,
      "skipped": 0,
      "rejected": 1,
      "syncing": 2,
      "complete": 0,
      "failed": 0
    },
    "pollAfterMs": 5000,
    "createdAt": "2026-09-13T22:10:00.000Z",
    "updatedAt": "2026-09-13T22:10:00.000Z",
    "completedAt": null,
    "expiresAt": "2026-10-13T22:10:00.000Z",
    "accepted": [
      {
        "link": "https://www.tiktok.com/@dove/video/7412345678901234567",
        "postId": "post_01j9y",
        "postStatus": "fetching"
      },
      {
        "link": "https://www.instagram.com/reel/C9AbCdEfGhI/",
        "postId": "post_01j9z",
        "postStatus": "fetching"
      }
    ],
    "skipped": [],
    "rejected": [
      {
        "link": "https://example.com/not-social",
        "reason": "unsupported_platform"
      }
    ]
  },
  "meta": {
    "status": "string",
    "pollAfterMs": 1,
    "replayed": true
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.siftsy.app/analyst/v1/content/accounts/add"

payload = {
    "account": { "url": "https://www.tiktok.com/@dove" },
    "filters": {
        "since": "2026-08-13",
        "limit": 50,
        "minViews": 10000,
        "postType": "video"
    },
    "collections": [{ "name": "Dove creator watch" }],
    "tags": ["creator"]
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.siftsy.app/analyst/v1/content/accounts/add';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"account":{"url":"https://www.tiktok.com/@dove"},"filters":{"since":"2026-08-13","limit":50,"minViews":10000,"postType":"video"},"collections":[{"name":"Dove creator watch"}],"tags":["creator"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.siftsy.app/analyst/v1/content/accounts/add"

	payload := strings.NewReader("{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.siftsy.app/analyst/v1/content/accounts/add")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.siftsy.app/analyst/v1/content/accounts/add")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.siftsy.app/analyst/v1/content/accounts/add', [
  'body' => '{
  "account": {
    "url": "https://www.tiktok.com/@dove"
  },
  "filters": {
    "since": "2026-08-13",
    "limit": 50,
    "minViews": 10000,
    "postType": "video"
  },
  "collections": [
    {
      "name": "Dove creator watch"
    }
  ],
  "tags": [
    "creator"
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.siftsy.app/analyst/v1/content/accounts/add");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "account": ["url": "https://www.tiktok.com/@dove"],
  "filters": [
    "since": "2026-08-13",
    "limit": 50,
    "minViews": 10000,
    "postType": "video"
  ],
  "collections": [["name": "Dove creator watch"]],
  "tags": ["creator"]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.siftsy.app/analyst/v1/content/accounts/add")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Example 3

**Request**

```json
{
  "account": {
    "url": "https://www.tiktok.com/@dove"
  },
  "filters": {
    "since": "2026-08-13",
    "limit": 50,
    "minViews": 10000,
    "postType": "video"
  },
  "collections": [
    {
      "name": "Dove creator watch"
    }
  ],
  "tags": [
    "creator"
  ]
}
```

**Response**

```json
{
  "data": {
    "id": "cj_5f2c1a9e3b7d4c0e8a1f2b3c4d5e6f70",
    "kind": "posts",
    "status": "syncing",
    "teamId": "team_2f8c1a",
    "dryRun": false,
    "collections": [
      {
        "id": "col_launch",
        "name": "Q4 Launch",
        "type": "campaign",
        "created": false
      }
    ],
    "tags": [
      "launch",
      "paid"
    ],
    "credits": {
      "source": "auto",
      "perPost": 1,
      "reserved": 2,
      "settled": 0,
      "refunded": 0
    },
    "counts": {
      "requested": 3,
      "accepted": 2,
      "skipped": 0,
      "rejected": 1,
      "syncing": 2,
      "complete": 0,
      "failed": 0
    },
    "pollAfterMs": 5000,
    "createdAt": "2026-09-13T22:10:00.000Z",
    "updatedAt": "2026-09-13T22:10:00.000Z",
    "completedAt": null,
    "expiresAt": "2026-10-13T22:10:00.000Z",
    "accepted": [
      {
        "link": "https://www.tiktok.com/@dove/video/7412345678901234567",
        "postId": "post_01j9y",
        "postStatus": "fetching"
      },
      {
        "link": "https://www.instagram.com/reel/C9AbCdEfGhI/",
        "postId": "post_01j9z",
        "postStatus": "fetching"
      }
    ],
    "skipped": [],
    "rejected": [
      {
        "link": "https://example.com/not-social",
        "reason": "unsupported_platform"
      }
    ]
  },
  "meta": {
    "status": "string",
    "pollAfterMs": 1,
    "replayed": true
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.siftsy.app/analyst/v1/content/accounts/add"

payload = {
    "account": { "url": "https://www.tiktok.com/@dove" },
    "filters": {
        "since": "2026-08-13",
        "limit": 50,
        "minViews": 10000,
        "postType": "video"
    },
    "collections": [{ "name": "Dove creator watch" }],
    "tags": ["creator"]
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.siftsy.app/analyst/v1/content/accounts/add';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"account":{"url":"https://www.tiktok.com/@dove"},"filters":{"since":"2026-08-13","limit":50,"minViews":10000,"postType":"video"},"collections":[{"name":"Dove creator watch"}],"tags":["creator"]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.siftsy.app/analyst/v1/content/accounts/add"

	payload := strings.NewReader("{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.siftsy.app/analyst/v1/content/accounts/add")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.siftsy.app/analyst/v1/content/accounts/add")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.siftsy.app/analyst/v1/content/accounts/add', [
  'body' => '{
  "account": {
    "url": "https://www.tiktok.com/@dove"
  },
  "filters": {
    "since": "2026-08-13",
    "limit": 50,
    "minViews": 10000,
    "postType": "video"
  },
  "collections": [
    {
      "name": "Dove creator watch"
    }
  ],
  "tags": [
    "creator"
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.siftsy.app/analyst/v1/content/accounts/add");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"account\": {\n    \"url\": \"https://www.tiktok.com/@dove\"\n  },\n  \"filters\": {\n    \"since\": \"2026-08-13\",\n    \"limit\": 50,\n    \"minViews\": 10000,\n    \"postType\": \"video\"\n  },\n  \"collections\": [\n    {\n      \"name\": \"Dove creator watch\"\n    }\n  ],\n  \"tags\": [\n    \"creator\"\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "account": ["url": "https://www.tiktok.com/@dove"],
  "filters": [
    "since": "2026-08-13",
    "limit": 50,
    "minViews": 10000,
    "postType": "video"
  ],
  "collections": [["name": "Dove creator watch"]],
  "tags": ["creator"]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.siftsy.app/analyst/v1/content/accounts/add")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```