Leads

Download export file

Export leads in a 3-stage process:

(1) Filter and choose which leads to export using POST /leads/exports - works like POST /leads/search with filtering, returns the UUID of the export record.

(2) Check export status using GET /leads/exports/{id} - status can be INITIATED, PROCESSING, PROCESSED, or FAILED.

(3) Download the file using POST /leads/exports/{id}/download - returns the URL of the file in the url field that can be fetched using a simple HTTP GET request.

This is Stage 3 of 3: Download the file.

post/leads/exports/{id}/download

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/leads/exports/{id}/download
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.surense.com/oauth/token scopes: global:export

Path parameters

idstring uuid required

Export record UUID

Response

OK

fileNamestring
contentTypestring
urlstring

Changes

No recorded changes to this operation across all 1 revision of this API.