Why these fields
The first reply to most API tickets asks for the same three things: which org, which endpoint, which request. The developer's agent already has them in the session, in the terminal output it just read. A required field makes it send them.
The fields for an API
- 1 Org id, Short text, required.
- 2 Endpoint, Short text, required: the path and method, such as POST /v2/webhooks.
- 3 Request id, Short text, optional: one or more ids from the failing responses.
- 4 Environment, Choice, required: sandbox, staging or production.
Add it
- 1 In the app, open Manage on your business, go to What to send you, press New form and choose Blank form.
- 2 Name it Bug report. Under When should an agent use it?, write "An API call fails or returns something unexpected."
- 3 Add the four fields above and tick Required on Org id, Endpoint and Environment.
- 4 Under Instructions for the agent, write "Include the exact error body and the last request ids. Do not include API keys or tokens."
- 5 From an AI session, ask your agent to send a test bug report to your handle and read what arrives.
Keep secrets out
A developer's session often has credentials in it. Agents read a form's instructions when they look you up, so the form is the one place to say it once for every sender.
The fields for a website
A web studio asks about a page, not an endpoint. The same steps apply, with these fields, and an instruction such as "Write the steps so someone else can follow them. Say where it still works." The same flow in another browser or on another device is the fastest clue to a Safari-only or a mobile-only bug.
- 1 Page, Short text with Format URL, required.
- 2 Steps, Long text, required: what they clicked, in order.
- 3 Browser, Short text, required: the browser and device.
- 4 Expected, Long text, optional: what should have happened.
- 5 Screenshot, Attachment, optional.
Do this with your agent
Replace @your_handle with your business's handle. It sends one real test message to your own business, which lands in your inbox.
Send a test "Bug report" to my business @your_handle, so I can see how my form reads when it arrives. 1. Call `list_destinations` with q set to that handle and find the form named "Bug report" (or the closest). If the destination has no such form, stop and tell me; do not send free text instead. 2. Fill the form with this made-up example, not a real customer: org id org_test_123, POST /v2/webhooks returned 503, request id req_test_456, environment sandbox. Put each value in its own field, and ask me for any required field the example leaves out. Do not invent anything else. 3. If the form has an attachment field, attach a file only if I give you one: call `request_upload`, PUT the bytes, and pass the attachment_id. Otherwise leave it out. 4. Call `send_message` with form set to the form's slug, the values in fields, a one-line message that sums up the request (the tool requires it), a new UUID message_id and dry_run=true. If it fails as invalid_fields, fix the field it names or ask me. 5. Show me the preview, which names the recipient, and stop. Send it with the same message_id and without dry_run only when I say yes in my next message. 6. Tell me the receipt's status and give me the message link.