Skip to main content
POST
/
recipient-lists
/
{recipient_list_id}
/
recipients
/
upload-csv
Upload CSV (replace or append)
curl --request POST \
  --url https://api.staging.kathan.tech/recipient-lists/{recipient_list_id}/recipients/upload-csv \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-User-ID: <api-key>' \
  --form file='@example-file' \
  --form replace=true \
  --form use_template=false
{}

Authorizations

Authorization
string
header
required

API key authentication.

X-User-ID
string
header
required

Required user id for API key requests.

Path Parameters

recipient_list_id
string
required

Body

multipart/form-data
file
file
required
replace
boolean
default:true
use_template
boolean
default:false

If true, validate CSV against template columns

Response

Successful Response

The response is of type Response Upload Csv To List Recipient Lists Recipient List Id Recipients Upload Csv Post · object.