---
title: "Test report delivery REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Test report delivery, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apireportsreport_idtest-send/"
---

# Test report delivery REST API

POST

/api/reports/{report_id}/test-send

FetchcURL

```
const url = 'http://127.0.0.1:25737/api/reports/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test-send';
const options = {method: 'POST', headers: {cookie: 'hk_token=<hk_token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```
curl --request POST \
  --url http://127.0.0.1:25737/api/reports/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test-send \
  --cookie hk_token=<hk_token>
```

-

Builds the current report content for its latest completed period and sends it only to the current user. Team tests are audited.

## Authorizations

- **[cookieAuth](https://hitkeep.com/api/#cookieauth)**

## Parameters

### Path Parameters

**report_id**

required

string format: uuid

Report definition UUID.

## Responses

### 200

Accepted by mail server

application/json

object

**message_id**

required

string

**sent_at**

required

string format: date-time

**status**

required

string

Allowed values: accepted

##### Example

```
{
  "status": "accepted"
}
```

### 409

Mail unavailable

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

### 422

Report content unavailable or suppressed

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

### 502

Mail server did not accept message

application/json

object

**message**

string

##### Examplegenerated

```
{
  "message": "example"
}
```

[Previous List report runs](https://hitkeep.com/api/operations/apireportsreport_idruns/)[Next Get Search Console country or device breakdown](https://hitkeep.com/api/operations/apisitesidsearch-consolebreakdowns/)
