WeTravel Paragraphs API
The Paragraphs API from WeTravel — 2 operation(s) for paragraphs.
The Paragraphs API from WeTravel — 2 operation(s) for paragraphs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wetravel-paragraphs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WeTravel Partner Access token Paragraphs API
version: 2.0.0
description: WeTravel Partner API — Trip Builder, Bookings/Orders, Payments (payment links), Transactions, Suppliers and Leads. Enables travel companies to programmatically create WeTravel trip and booking pages and sync customers, orders and transactions. Harvested from the WeTravel Developer Hub per-endpoint OpenAPI fragments (developer.wetravel.com). Paths normalized to the https://api.wetravel.com/v2 base.
x-apievangelist:
generated: '2026-07-21'
method: searched
source: https://developer.wetravel.com/reference (per-endpoint OpenAPI fragments, merged; paths normalized to the /v2 base)
note: Harvested v2 Partner API. Current release is v3 (2026-02-01); see changelog/.
servers:
- url: https://api.wetravel.com/v2
description: Production
- url: https://api.demo.wetravel.to/v2
description: Sandbox
security:
- bearerAuth: []
- tokenAuth: []
tags:
- name: Paragraphs
paths:
/draft_trips/{trip_uuid}/paragraphs:
post:
tags:
- Paragraphs
summary: Create paragraph
description: Create Paragraph
operationId: createParagraph
parameters:
- name: trip_uuid
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/CreateParagraph'
required: true
responses:
'201':
description: Successfully created
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Paragraph'
get:
tags:
- Paragraphs
summary: List paragraphs
description: Get Paragraphs
operationId: getParagraphs
parameters:
- name: trip_uuid
in: path
required: true
schema:
type: string
responses:
'200':
description: Get Paragraphs
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Paragraph'
/draft_trips/{trip_uuid}/paragraphs/{id}:
delete:
tags:
- Paragraphs
summary: Delete paragraph
description: Delete Paragraph
operationId: deleteParagraph
parameters:
- name: trip_uuid
in: path
required: true
schema:
type: string
- name: id
in: path
description: ID of the paragraph.yml
required: true
schema:
type: string
responses:
'204':
description: Delete Paragraph
content: {}
get:
tags:
- Paragraphs
summary: Get paragraph
description: Get Paragraph
operationId: getParagraphById
parameters:
- name: trip_uuid
in: path
required: true
schema:
type: string
- name: id
in: path
description: ID of the paragraph.yml
required: true
schema:
type: string
responses:
'200':
description: Get Paragraph
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Paragraph'
patch:
tags:
- Paragraphs
summary: Update paragraph
description: Update Paragraph
operationId: updateParagraph
parameters:
- name: trip_uuid
in: path
required: true
schema:
type: string
- name: id
in: path
description: ID of the paragraph.yml
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/UpdateParagraph'
required: true
responses:
'200':
description: Successfully updated
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Paragraph'
components:
schemas:
UpdateParagraph:
type: object
properties:
title:
type: string
description: Title of the paragraph.yml
example: About this trip
text:
type: string
description: Text of the paragraph.yml
example: This trip is going to be epic
description: Update Paragraph
CreateParagraph:
required:
- text
- title
type: object
properties:
title:
type: string
description: Title of the paragraph.yml
example: About this trip
text:
type: string
description: Text of the paragraph.yml
example: This trip is going to be epic
description: Create Paragraph
Paragraph:
required:
- text
- title
- trip_uuid
type: object
properties:
id:
type: integer
description: ID of the paragraph
format: int32
example: 66
trip_uuid:
type: string
description: Unique ID of the trip
example: '105544110'
title:
type: string
description: Title of the paragraph
example: About this trip
default: About this trip
text:
type: string
description: Text of the paragraph
example: This trip is going to be epic
default: This trip is going to be epic
created_at:
type: integer
description: Time at which the object was created. Measured in seconds since the Unix epoch.
format: int32
example: 122234
description: Paragraph model
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
tokenAuth:
type: apiKey
in: header
name: X-Api-Key