cURL
curl --request POST \ --url https://api.example.com/api/v1/users/{user_id}/import/apple/xml/s3 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "filename": "", "expiration_seconds": 300, "max_file_size": 52428800 } '
{ "upload_url": "<string>", "form_fields": {}, "file_key": "<string>", "expires_in": 123, "max_file_size": 123, "bucket": "<string>" }
Generate presigned URL for XML file upload and trigger processing task.
The access token received from the authorization server in the OAuth 2.0 flow.
Custom filename
200
URL expiration time in seconds (1 min - 1 hour)
60 <= x <= 3600
Maximum file size in bytes (1KB - 500MB)
1024 <= x <= 1073741824
Successful Response
Show child attributes
Was this page helpful?