# Statements

## Insert Statement

<mark style="color:orange;">`PUT`</mark> `https://{organisation}.clearlrs.com/xapi/statements`

Inserts a single **Statement** into the LRS. The **Statement** will be processed and expose the meaning of its data to reporting interfaces.

#### Query Parameters

| Name        | Type   | Description                                                                                                   |
| ----------- | ------ | ------------------------------------------------------------------------------------------------------------- |
| statementId | string | Store the statement under this **id** for later retrieval. If omitted, an id will be generated automatically. |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

#### Request Body

| Name      | Type   | Description      |
| --------- | ------ | ---------------- |
| timestamp | string |                  |
| result    | object |                  |
| context   | object |                  |
| object    | object |                  |
| verb      | object | The verb object  |
| actor     | object | The actor object |

{% tabs %}
{% tab title="204 Statement successfully inserted." %}

```
```

{% endtab %}

{% tab title="400 The Statement content is invalid." %}

```
```

{% endtab %}

{% tab title="409 The statementId specified already exists in the LRS." %}

```
```

{% endtab %}
{% endtabs %}

## Bulk Insert Statements

<mark style="color:green;">`POST`</mark> `https://{organisation}.clearlrs.com/xapi/statements`

#### Path Parameters

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}
