Add a attachment to a venue

​

Creates a attachment with record_id set to this venue.

Path Parameters

  • Venue id.

Body·

required
application/json

Fields accepted when creating a attachment. Unknown or read-only fields are rejected.

  • Where the file lives.

  • e.g. application/pdf, image/jpeg.

  • The table of the record it is attached to, e.g. equipment or gigs.

  • The id of the record it is attached to.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/venues/{id}/attachments
curl https://api.weddingoperatingsystems.com/api/v1/venues/123e4567-e89b-12d3-a456-426614174000/attachments \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "label": null,
  "entity": null,
  "record_id": null,
  "url": null,
  "content_type": null,
  "size_bytes": null,
  "notes": null
}'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "label": null,
    "entity": null,
    "record_id": null,
    "url": null,
    "content_type": null,
    "size_bytes": null,
    "notes": null,
    "created_time": "2026-10-05T21:22:26.975Z",
    "last_edited_time": "2026-10-05T21:22:26.975Z"
  }
}