v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-15367117899.6 KB
People

Upload employment evidence

Upload employment evidence in Betayum. Invite and manage workforce members, training status, device compliance, email preferences, and employee evidence records.

post/v1/people/{id}/employment-evidence/{eventType}

Path parameters

idstring required
Example:mem_abc123def456

Member ID

eventType'onboard' | 'offboard' required

Request body

fileNamestring required

Name of the file

fileTypestring required

MIME type of the file

fileDatastring required

Base64 encoded file data

descriptionstring

Description of the attachment

userIdstring

User ID of the user uploading the attachment (required for API key auth, ignored for JWT auth)

Example request

{
  "fileName": "document.pdf",
  "fileType": "application/pdf",
  "fileData": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==",
  "description": "Meeting notes from Q4 planning session",
  "userId": "usr_abc123def456"
}