Import data into existing account-level collection
[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.
Upload a CSV file containing the collection of string values that should be attached as payload for collection.
The file should be sent as multipart data.
The import replaces the initial content of the collection.
The CSV file must only contain the following column:
- item: the values in your collection.
A collection is limited to 500,000 items.
Example
item
Adidas
Nike
Asics
[!note] Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
Request
- Base URLhttps://yourbaseurl.talon.one
- Auth
- API key in header Authorization
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the collection. You can get it with the List collections in account endpoint.
Request body multipart/form-data
Response
OK
Example response
{
"id": 6,
"created": "2020-06-10T09:05:27.993483Z",
"accountId": 3886,
"userId": 388,
"entity": "AttributeAllowedList",
"amount": 10
}Changes
No recorded changes to this operation across all 2 revisions of this API.