public

Send photos of a bar's menu

Up to 3 JPEG photos of a listed bar's menu (data URIs, the body at most about 2.2 MB). Answers at once; Workers AI then reads the beer prices into drafts for the AI reviewer, and the photos are not kept. Behind Turnstile and a daily cap per address; a contact, if any, is kept encrypted and deleted after 90 days.

post/api/v1/menu-photos

Request

  • Base URL: https://cervejabarata.com.br
  • URL: https://cervejabarata.com.br/api/v1/menu-photos
  • Auth: none declared

Request body

citystring required
venuestring required

The bar's slug in that city

imagesstring[] required
contactstring

Phone or email, only to ask about these prices; deleted after 90 days

is_ownerboolean

Sent by the bar's owner or manager

refstring

The bar's own link token (?ref= on the page, from GET /api/admin/venues/{id}/menu-link): a valid one makes the upload trusted, so its prices inside the hard bounds are approved at once

consentboolean

LGPD consent: required with a contact

turnstilestring required

Cloudflare Turnstile token

Response

Received: the prices are read in the background

status'received' | 'duplicate' required

duplicate: the same thing from the same address is already waiting for review

Changes

No recorded changes to this operation across all 1 revision of this API.