Skip to main content

Download Data by File SID

This request downloads the file, targeted by secure ID.

Sample

get /storage/files{file_sid}/data

A sample GET request to get a file, targeted by secure ID:

curl -X GET \
'https://api.carrierx.com/core/v2/storage/files/f6070be2-9abd-4726-870c-c86c9aac5c7e/data' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

200 status code and the data of the file.

Required Scopes

To get information about a File object, the partner must have one of the following scopes enabled:

  • storage.manage
  • storage.read

Path Arguments

ParameterData TypeDescription
file_sid requiredstringThe secure ID of the file.