Skip to content

Create a contact import job

POST
/contacts/import
curl --request POST \
--url https://app.surveyrock.com/api/v1/contacts/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "file_path": "example", "field_mapping": [ "example" ], "strategy": "skip", "list_id": "example", "file_name": "example", "file_size_bytes": 1, "total_rows": 1 }'
Media typeapplication/json
object
file_path
required
string
field_mapping
required
Array<string>
strategy
required
string
Allowed values: skip update overwrite
list_id
string
nullable
file_name
required
string
file_size_bytes
integer
total_rows
required
integer

Import job created

Invalid import parameters