Explore the API
The 28 endpoints of the upCampo API, generated from
openapi.json: open one of them to see the parameters, the body fields and the
response format. To understand what each one means — the role of
ID_REFERENCIA, the seven-day window, the work order allocation —, see the
written documentation.
How to test
- Open
POST /autenticar, click Try it out and paste into the body the credentials JSON that upCampo gave you. - Click Execute. If it works, the token is applied automatically — the padlock at the top closes and the Authorize field is already filled in. No need to copy anything by hand.
- From then on, any
GETcan be executed: open it, fill in the parameters and Execute.
The token is valid for 24 hours and stays stored in the browser — when you come back tomorrow, redo step 1. Already have a token? Click Authorize directly and paste it.
This same list becomes a ready-made collection in a few clicks — and there the POST
requests work, which is what this page blocks on purpose. In Postman, click
Import, choose Link and paste:
https://suporte.upcampo.com.br/api/openapi.jsonIt builds the collection with the 28 endpoints, already with the parameters, the example bodies and the
baseUrl variable pointing to https://api.upcampo.com.br. Then open
Authorization on the collection, choose Bearer Token and paste the token from
POST /autenticar — that way it applies to every request at once.
The same goes for Insomnia (Import from URL) and for client generators, which create the code in Java, C# or Python from the same file.
There is no built-in test environment: the token carries a fixed company and farm, and every call from here hits that farm's production database.
That is why only /autenticar and the GET requests run. The other
POST requests — movement, load ticket, inventory count, bale — remain documented, with the example
body ready to copy, but execution is blocked on this page: a distracted click
would save a real document. To send them, use Postman or curl, with the
same token.