v1
guests
{id}
documents
bearer
In: header
header
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/v1/guests/string/documents" \ -F docType="passport"
Type of identification document
"passport" | "national_id" | "driver_license" | "work_permit" | "visa" | "other"
ISO 3166-1 alpha-2 country code
Document expiry date (ISO 8601)