Agent Numbers

Download export file

Export agent numbers in a 3-stage process:

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

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

(3) Download the file using POST /agent-numbers/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/agentnumbers/exports/{id}/download

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/agentnumbers/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.