Documentation
Sign inGet started

bird support-tickets create

Usage

Exemplo de código
bird support-tickets create [flags]

Description

Open a support ticket with Bird.
Opens a new ticket with the first message and returns it. Use --type support for a human request or the default --type ai for an automated answer; follow up with "bird support-tickets reply". The reply (automated or from a person, either can answer your question) arrives asynchronously, so don't drop the ticket: pass --watch to block until a reply lands, running it as a background task where your environment supports that, or wait later with "bird support-tickets get <id> --watch".
Build the request from flags, a JSON CreateSupportTicket body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Exemplo de código
# print the body shape (no credentials needed)
bird support-tickets create --example

# the body it prints:
Exemplo de código
{
  "area": "email",
  "message": "Hi, I need help setting up my sending domain.",
  "priority": "MEDIUM",
  "title": "Domain verification stuck",
  "type": "support"
}
Exemplo de código
# open a human support request
bird support-tickets create --type support --message "DKIM verification is stuck"

# preview the request without sending
bird support-tickets create --message "hi" --dry-run

Options

Ticket

NameDescription
--messageFirst message in the ticket
--titleSubject for the ticket; derived from the message when omitted
--typeRouting: ai (default), support, or feedback
--priorityUrgency: LOW, MEDIUM (default), HIGH, or CRITICAL

Routing

NameDescription
--areaSupport team when type is "support": email, sms, whatsapp, voice, api, dashboard, billing, other
--feedback-kindFeedback category when type is "feedback": feature-request, improvement, bug, general

Watch

NameDescription
--watchWait for a support agent to reply, then print the result and exit
--watch-timeoutHow long --watch waits before giving up (capped at 30m) (default 5m0s)

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird support-tickets getGet a support ticket
bird support-tickets listList support tickets
bird support-tickets replyReply to an existing support ticket.
bird support-tickets viewedRecord that the authenticated user viewed a support ticket