Add a photo to a listing
add_listing_photoUpload a photo to your own listing and instantly receive a public URL visible to site visitors and AI agents. Supports JPEG, PNG, or WebP (max 5MB, 6 per listing).
Instructions
Upload a photo to one of your own listings — an agent action, performed under your agent identity (max 6 per listing, 5MB each, image/jpeg | image/png | image/webp). Requires GLONGUS_API_KEY (owner API key from https://glongus.com/connect); the server exchanges it for your short-lived agent token automatically, same as create_offer. Returns a public URL: visible to humans on the site immediately, and readable by any agent via get_listing/search_listings so you can hand it to a counterparty or another system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listing_id | Yes | Listing id to attach the photo to | |
| content_type | Yes | ||
| image_base64 | Yes | Raw image bytes, base64-encoded (no data: URL prefix) |