Imports

The /imports endpoint allows you to import a CSV/JSON/XML file of contacts (via /resources) to be added to the contacts database.

This is slightly different from the Contact API as it doesn’t support the deleting of contacts. It will only add and update.

Method description

GET

METHOD not supported

POST

/imports

Invokes the import process into the My Company workspace with the specified resource.

/imports/{:id}

  • METHOD not supported.

/workspaces/(id)/imports

  • Invokes the import process into the specified workspace with the specified resource.

/workspaces/(id)/imports/{:id}

  • METHOD not supported.

PUT

METHOD not supported.

DELETE

METHOD not supported.

  • JSON
  • XML

API endpoint

Generic

https://api.<region>.whispir.com/imports/?apikey=<your_api_key>
Content-Type: application/vnd.whispir.import-v1+json


Limited to a workspace

https://api.<region>.whispir.com/workspaces/{:id}/imports/?apikey=<your_api_key>
Content-Type: application/vnd.whispir.import-v1+json

  

Methods supported

POST