POST
/
reports
/
{report_id}
/
executions
/
{report_execution_id}
/
url
curl --request POST \
  --url https://api.{id}.gr4vy.app/reports/{report_id}/executions/{report_execution_id}/url \
  --header 'Authorization: Bearer <token>'
{
  "url": "https://example.com/download/report.csv?signature=abc123",
  "expires_at": "2024-06-01T00:00:00.000Z"
}

Authorizations

Authorization
string
header
required

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

Headers

x-gr4vy-merchant-account-id
string

The ID of the merchant account to use for this request.

Examples:

"default"

Path Parameters

report_id
string
required

The ID of the report to retrieve a URL for.

Examples:

"4d4c7123-b794-4fad-b1b9-5ab2606e6bbe"

report_execution_id
string
required

The ID of the execution of a report to retrieve a URL for.

Examples:

"003bc416-f32a-420c-8eb2-062a386e1fb0"

Response

200
application/json

Successful Response

The response is of type object.