A report aggregates data for a given topic. We current support USER, TRANSACTION and REGULATORY reports. This document will guide you on how to create, and get report details.

Creating a Report

To create a report:

Make a POST request to /reports

  curl --request POST \
    --url https://api.pipevest.com/v1/reports\
    --header 'Authorization: Bearer 123456' \
    --header 'Content-Digest: sha-512=:RK/0qy18MlBSVnWgjwz6lZEWjP/lF5HF9bvEF8FabDg=:' \
    --header 'Content-Length: 18' \
    --header 'Content-Type: application/json' \
    --header 'Signature: sig1=:OTEyMjY4...A5NTNDMEQ=:' \
    --header 'Signature-Input: sig1=("Authorization" "Content-Digest" "Content-Length" "Content-Type" "X-Client-Id" "X-Idempotency-Key" "@method" "@target-uri" "@path" "@query");keyid="staging-pipevest-ed25519";created=1732893484;expires=1732893584' \
    --header 'X-Client-Id: 123456' \
    --header 'X-Idempotency-Key: 123456' \
    ...
    --data '{"reportTypes": ["REGULATORY", "USER"]}'

URL and emails

You can specify a url and/or email when creating a report request. The resulting report will be sent to the specified url and/or email.

  curl --request POST \
    --url https://api.pipevest.com/v1/reports\
    ...
    --data '{..., "url": "https://companyx/reports", "email": "reports@companyx.com"}'

If neither email or url is specified, the report will be sent to the organization’s email on file

Retrieving Reports

When requesting report details you can do so either by getting:

  • A list of reports
  • An report by a given Id

List of Reports

Make a GET request to /reports.

  curl --request GET \
    --url https://api.pipevest.com/v1/reports\
    --header 'Authorization: Bearer 123456' \
    --header 'Signature: sig1=:OTEyMjY4...A5NTNDMEQ=:' \
    --header 'Signature-Input: sig1=("Authorization" "Content-Digest" "Content-Length" "Content-Type" "X-Client-Id" "X-Idempotency-Key" "@method" "@target-uri" "@path" "@query");keyid="staging-pipevest-ed25519";created=1732893484;expires=1732893584' \
    --header 'X-Client-Id: 123456' \
This endpoint can be paginated and sorted.

Report by Id

Make a GET request to /reports/{reportId}

  curl --request GET \
    --url https://api.pipevest.com/v1/reports/123456\
    ...

Entity Reference

PropertyDefinition
reportIdUnique report identifier
reportTypesList of report types
statusCurrent status of the report
urlA valid url to receive the report
emailA valid email to receive the report
createdAtCreated at unix timestamp
updatedAtUpdated at unix timestamp

Status

NameDefinition
PROCESSINGReport is currenting processing
COMPLETEDReport has completed processing
ERRORReport processing ended in an error

Report Types

NameDefinition
USERUser reports
TRANSACTIONTransaction reports
REGULATORYRegulatory reports

Webhook Subscriptions

SubscriptionDefinitionDomain
REPORTOnly events that deal with reportsReports