Media

Media Upload

post/api/v1/media

Response

Successful media upload response

statusstring

Example response

{
  "status": "success",
  "data": {
    "id": 123,
    "created_at": "2025-08-28T10:00:00Z",
    "updated_at": "2025-08-28T10:00:00Z",
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "store": "fs",
    "filename": "example.jpg",
    "content_type": "image/jpeg",
    "model_id": 456,
    "model_type": "messages",
    "disposition": "attachment",
    "size": 102400,
    "meta": {
      "width": 800,
      "height": 600
    },
    "url": "/uploads/550e8400-e29b-41d4-a716-446655440000"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.