Get Version Details

Written By Team BugSmash

Last updated 9 days ago

METHOD: GET
URL: https://api.bugsmash.io/api/v2/version/{versionId}

HEADERS:
  X-API-Key: YOUR_API_KEY
  Content-Type: application/json

PATH PARAMETERS:
  versionId  (uuid, required)  - The version ID

CURL:
curl --location 'https://api.bugsmash.io/api/v2/version/{versionId}' \
--header 'X-API-Key: YOUR_API_KEY'

RESPONSE:
{
  "status": true,
  "message": "Version details",
  "data": {
    "id": "b2c3d4e5-f6a7-8901-bcde-f01234567891",
    "project_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "ext_link": "https://example.com",
    "version_name": "V1",
    "version_no": 1,
    "email_slug": null,
    "updated_at": "2026-01-31T07:58:30.000000Z",
    "status": "To Review",
    "pause_comment": 0,
    "upload_status": "completed",
    "approved_by": null,
    "approved_by_email": null,
    "project_type": "website",
    "project_files": [
      {
        "file_url": "https://cdn.bugsmash.io/files/{workspace-id}/image/example-file.png",
        "extension": ".png",
        "file_size": 1759914,
        "project_file_id": "c3d4e5f6-a7b8-9012-cdef-012345678902",
        "link": "https://example.com"
      }
    ],
    "short_url": "https://app.bugsmash.io/review/AbCdE"
  }
}