---
title: "Create a GIF attachment from an external URL (Giphy)"
method: POST
path: "/v1/attachments/gifs"
tags: ["attachments"]
---

# Create a GIF attachment from an external URL (Giphy)

`POST /v1/attachments/gifs`

## Request body

- object
  - `externalUrl` string, uri, required
  - `thumbnailUrl` string, uri
  - `width` integer, required
  - `height` integer, required

## Response `200`

Successful response

- object
  - `attachmentId` string, uuid, required
  - `externalUrl` string, uri, required
  - `thumbnailUrl` string, uri, nullable
  - `width` integer, nullable
  - `height` integer, nullable

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/versions/34b8f4885f8a/schema)
