Back to Developer Docs

Field Reference

Complete specification of all fields accepted by our API endpoints, including types, validation rules, and usage examples.

Tickets API Fields

Field NameTypeRequiredValidationDescriptionExample
titlestringRequired3-200 charactersBrief, descriptive title for the ticket"Database connection issue"
descriptionstringRequired10-5000 charactersDetailed description of the issue or request"Unable to connect to production database..."
prioritystringOptionalEnum: low, medium, high, urgentUrgency level of the ticket"high"
categorystringOptionalMax 50 charactersCategorization for routing and organization"database"
statusstringRead-onlyEnum: open, in_progress, resolved, closedCurrent status of the ticket (set by system)"open"
tagsstring[]OptionalMax 10 tags, each ≤ 30 charsArray of tags for organization and filtering["urgent", "production"]
customer_emailstringOptionalValid email formatCustomer email for notifications and updates"user@company.com"
assigned_tostringSystemValid email formatAgent email (automatically assigned by system)"agent@support.com"
created_atstringRead-onlyISO 8601 datetimeTicket creation timestamp"2024-01-15T10:30:00Z"
updated_atstringRead-onlyISO 8601 datetimeLast update timestamp"2024-01-15T14:20:00Z"
metadataobjectOptionalMax 10KB JSONCustom key-value data for integrations{order_id: 12345}

Webhooks API Fields

Field NameTypeRequiredValidationDescriptionExample
urlstringRequiredValid HTTPS URLEndpoint URL to receive webhook events"https://api.company.com/webhooks"
eventsstring[]RequiredArray of valid event typesEvents to subscribe to["ticket.created", "ticket.resolved"]
secretstringOptional32-128 charactersSecret for webhook signature verification"whsec_abc123..."
activebooleanRead-onlytrue/falseWhether webhook is currently activetrue

Available Event Types

Ticket Events

  • ticket.created - New ticket submitted
  • ticket.updated - Ticket modified
  • ticket.assigned - Agent assigned
  • ticket.resolved - Issue resolved
  • ticket.closed - Ticket closed

System Events

  • webhook.failed - Delivery failed
  • system.maintenance - Scheduled maintenance
  • api.rate_limit - Rate limit exceeded