---
title: "Create image"
method: POST
path: "/draft_trips/{trip_uuid}/images"
tags: ["Images"]
---

# Create image

`POST /draft_trips/{trip_uuid}/images`

Create Image

## Path parameters

- `trip_uuid` string, required

## Request body

- object
  - `data` CreateImage — Create Image
    - `url` string, required — Allows you to set the URL of the image to upload

## Response `201`

Successfully created

- object
  - `data` Image — Image model
    - `id` integer — ID of the image
    - `trip_uuid` string, required — Unique ID of the trip
    - `url` string, required — URL of the image
    - `created_at` integer — Time at which the object was created. Measured in seconds since the Unix epoch.

---

[API](https://skmtc.dev/wetravel/apis/authentication-api.md) · [All operations](https://skmtc.dev/wetravel/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wetravel/authentication-api/revisions/5c747875f084/schema)
