---
title: "Create paragraph"
method: POST
path: "/draft_trips/{trip_uuid}/paragraphs"
tags: ["Paragraphs"]
---

# Create paragraph

`POST /draft_trips/{trip_uuid}/paragraphs`

## Request

- Base URL: `https://api.wetravel.com/v2`
- URL: `https://api.wetravel.com/v2/draft_trips/{trip_uuid}/paragraphs`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`

Create Paragraph

## Path parameters

- `trip_uuid` string, required

## Request body

- object
  - `data` CreateParagraph: Create Paragraph
    - `title` string, required: Title of the paragraph.yml
    - `text` string, required: Text of the paragraph.yml

## Response `201`

Successfully created

- object
  - `data` Paragraph: Paragraph model
    - `id` integer: ID of the paragraph
    - `trip_uuid` string, required: Unique ID of the trip
    - `title` string, required: Title of the paragraph
    - `text` string, required: Text of the paragraph
    - `created_at` integer: Time at which the object was created. Measured in seconds since the Unix epoch.

---

[API](https://skmtc.dev/wetravel/apis/trips-builder-api.md) - [All operations](https://skmtc.dev/wetravel/apis/trips-builder-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wetravel/apis/trips-builder-api/revisions/57bdbcf06273?raw)
