Import Contacts
POSThttps://api.tinyemail.com/v1/contacts/import
Create a new contact list by importing members from csv file
Request
- multipart/form-data
Body
required
contactFile binaryrequired
The CSV file to upload
Responses
- 200
- 400
- 401
- 405
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
id uuid
{
"id": "00000000-0000-0000-0000-000000000000"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Some error message"
}
API key is missing or invalid
Method Not Allowed
Authorization: X-API-KEY
name: X-API-KEYtype: apiKeyin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://api.tinyemail.com/v1/contacts/import' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'
ResponseClear