Skip to main content
POST
/
recipient-lists
Create list (from CSV or empty)
curl --request POST \
  --url https://api.staging.kathan.tech/recipient-lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-User-ID: <api-key>' \
  --form 'name=<string>' \
  --form 'file=<string>' \
  --form use_template=false \
  --form file.0='@example-file'
{}

Authorizations

Authorization
string
header
required

API key authentication.

X-User-ID
string
header
required

Required user id for API key requests.

Body

multipart/form-data
name
string | null
file
file | null
use_template
boolean
default:false

If true, validate CSV against template columns

Response

Successful Response

The response is of type Response Create Recipient List Recipient Lists Post · object.