Static Lists
Update list contents
Replace the contents of an existing static list via CSV file upload. Uploads must be newline-delimited identifiers (text/CSV) with commas as the delimiter.
The CSV format is two columns: identifier_type and identifier. The identifier is the associated identifier you wish to send to. The identifier_type must be one of:
- named_user
- ios_channel
- android_channel
- amazon_channel
- sms_channel
- email_channel
- open_channel
- web_channel
The first entry in the uploaded CSV may be a header row, which will be ignored. If present, the header row must contain exactly two entries, and the first column must not be an identifier_type as specified above.
put/api/lists/{list_name}/csv
Request
- Base URLhttps://go.urbanairship.com
- Auth
- HTTP basic
- or HTTP bearer
- or OAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopeslst
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body text/csv
string binary required
Response
The request has been accepted for processing.
Changes
No recorded changes to this operation across all 9 revisions of this API.