API reference
Create filter
POST
https://api.tradesync.com/filtersCreate a saved set of account or copier IDs.
Last updated
Request body
- typeType: stringRequired: Yes
- Resource type for all identifiersAccepted values / limits: accounts, copiers
- identifiersType: arrayRequired: Yes
- Existing account or copier IDs belonging to the authenticated userAccepted values / limits: Non-empty array of unique IDs
Response example
See response field definitions for field types and conditional fields.
{
"result": "success",
"status": 200,
"data": {
"id": 431,
"created_at": "2026-11-12T10:00:00Z",
"updated_at": "2026-11-12T10:00:00Z",
"type": "accounts",
"identifiers_count": 2,
"identifiers": [
1241453,
1241451
]
}
}
Errors
| Code | HTTP status | Condition |
|---|---|---|
| duplicate_entries | 422 | The identifiers array contains duplicate IDs. |
| identifier_mismatch | 422 | At least one ID does not belong to the user or does not match type. |
See also common response codes.