GitScrum / Docs

Video Added

Webhook payload reference for the videos.issues.store event, triggered when a video is added to a task.

Triggered when a video is added to a task.

  • Event: videos.issues.store
  • Category: Tasks
  • Triggers: Adding a YouTube or Vimeo video link to a task

Payload

The payload contains the full video resource via VideoResource:

{
  "id": 101,
  "uuid": 101,
  "resource": {
    "type": "task",
    "uuid": "abc123-def456-ghi789"
  },
  "video_id": "dQw4w9WgXcQ",
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "title": "Feature Demo - User Authentication",
  "thumbnail": "//img.youtube.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
  "user": {
    "id": 1,
    "uuid": "user-uuid-123",
    "name": "Jane Smith",
    "username": "janesmith",
    "avatar": "https://avatar.url/jane.jpg",
    "headline": "Lead Developer",
    "location": "Porto, Portugal",
    "timezone_name": "Europe/Lisbon",
    "language": "en",
    "created_at": {
      "date_for_humans": "1 year ago",
      "iso8601": "2025-01-15T10:00:00+00:00",
      "timestamp": 1736935200
    }
  },
  "created_at": {
    "date_for_humans": "Just now",
    "iso8601": "2026-02-06T14:30:00+00:00",
    "timestamp": 1738852200
  }
}

Field Reference

FieldTypeDescription
idintegerVideo record ID
uuidintegerSame as id (not a UUID string)
resource.typestringParent resource type ("task")
resource.uuidstringParent task UUID
video_idstringYouTube or Vimeo video code
urlstringFull video URL
titlestringVideo title
thumbnailstringThumbnail URL (protocol-relative)
userobjectUser who added the video
created_atobjectCreation timestamp

Notes

  • The thumbnail URL is protocol-relative (starts with //). Prepend https: when using it.
  • The uuid field is an integer (same as id), not a UUID string.