**Source URL:** https://limited.veevavault.dev/commercial/vault-api/api-reference/21.1/safety-suite/safety/import-narrative.md

# Import Narrative



Use the following endpoint to import narrative text into a Case narrative.

<Endpoint path="/api/{version}/app/safety/import-narrative" method="POST"></Endpoint>
The request creates a narrative document for the destination Case, in the format of the E2B import narrative template.

If a Case narrative document already exists for the given language, the request creates a new version of the document.

Before submitting this request, the destination Case must exist.

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `caseId` | Destination Case or Adverse Event Report ID. |
| `narrativeType` | For the main narrative, enter `primary`. For a narrative translation, enter `translation`. The primary narrative must exist before you can add a translation. |
| `narrativeLanguage` | Three-letter ISO 639-2 language code. Currently, the primary narrative must be English (`eng`). |
| `Content-Type` | `text/plain` |
</FieldTable>

## Body {#body}

In the body of the request, enter the narrative text. You can import up to 100,000 characters of narrative text.

## Request {#request}

<CodeExample title="">
```
curl -X POST \
https://myvault.vaultdev.com/api/v20.1/app/safety/import-narrative \
-H 'Authorization: {SESSION_ID}' \
-H 'caseId: V2B000000000201' \
-H 'narrativeType: primary' \
-H 'narrativeLanguage: eng' \
-H 'Content-Type: text/plain' \
-d 'The patient took 500 mg cholecap at 2pm and started experiencing heart palpitations at 2:30pm...'

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
{
"responseStatus": "SUCCESS",
}

```
</CodeExample>

## Response Details {#response-details}

On SUCCESS, the response only includes the `responseStatus`.

On FAILURE, the response also returns a message describing the reason for the failure.



---

**Previous:** [Safety](/commercial/vault-api/api-reference/21.1/safety-suite/safety)  
**Next:** [Safety.AI](/commercial/vault-api/api-reference/21.1/safety-suite/safetyai)