Skip to Content
HelvetlyDocs
API referenceEngagements

Email a period's service report

Needs a token with the write:engagements scope. Authentication

Try in Playground sends a real request to app.helvetly.com with a token you paste. It stays in this browser tab only (session storage) and goes to no one else.

POST
/api/v1/engagements/{id}/periods/{period_id}/report/send

Emails the service report PDF. Recipients default to the client's email address; 422 validation_failed when none is valid. 503 mail_unavailable when email is not set up. Cannot be undone and a retry sends the email again.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A personal API token, hvt_…, with scopes such as read:* or write:invoices

Path Parameters

id*string

The engagement's id.

period_id*string

The period's id, from list_engagement_periods.

Request Body

application/json
  1. body
to?array<>

Default: the client's email address.

Itemsitems <= 10
cc?array<>
Itemsitems <= 10
subject?|
Lengthlength <= 200
message?|
Lengthlength <= 5000

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X POST 'https://app.helvetly.com/api/v1/engagements/string/periods/string/report/send' \  -H 'Content-Type: application/json' \  -d '{  "to": [    "accounts@example.com"  ],  "message": "Please find the service report attached."}'
Example Response
{  "data": {    "to": [      "string"    ]  }}