POST
/
reports
/
{report_id}
/
executions
/
{report_execution_id}
/
url
curl --request POST \
  --url https://api.mattildapayments.com/reports/{report_id}/executions/{report_execution_id}/url \
  --header 'Authorization: Bearer <token>'
{
  "url": "https://example.com/download",
  "expires_at": "2013-07-16T19:23:00.000+00:00"
}

This endpoint requires the reports.write scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

report_id
string
required

The unique ID for a report.

Example:

"8724fd24-5489-4a5d-90fd-0604df7d3b83"

report_execution_id
string
required

The unique ID for a report execution.

Example:

"8724fd24-5489-4a5d-90fd-0604df7d3b83"

Response

200
application/json
Returns the signed download URL of a report execution result and its expiration date and time.

The temporary signed URL to download the result of a report execution and its expiration date and time.

url
string

The URL to download the report execution.

Example:

"https://example.com/download"

expires_at
string

The date and time when the download URL expires.

Example:

"2013-07-16T19:23:00.000+00:00"