Skip to main content
PUT
Replace Offsite Audiences Job

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Path Parameters

audience-id
string
required

The audience ID to replace.

Body

application/json
name
string | null

Optional updated name of the user list audience.

Minimum string length: 1
Example:

"My user list audience"

description
string | null

Optional updated description of the user list audience.

Minimum string length: 1
Example:

"This is a user list audience description."

Response

Accepted

jobId
string<uuid>
required

The unique identifier for the queued job.

Example:

"123e4567-e89b-12d3-a456-426614174000"

url
string
required

The presigned url to upload the audience csv file. Presigned url must be used with PUT method and include the header Content-Type: text/csv.

Example:

"https://offsite-ads-user-list-uploads.s3.us-east-2.amazonaws.com/123e4567-e89b-12d3-a456-426614174000.csv"