Skip to main content

Required headers

Send these headers in every request:

HeaderWhenDescription
X-Api-KeyAlwaysYour API key. See Authentication.
User-AgentAlwaysIdentifies your application (e.g. MinhaIntegracao/1.0). Without it, the request may be blocked by bot protection rules.
Content-TypeRequests with a body (POST, PUT)application/json
HostAlwayscarchost.fieldcontrol.com.br. HTTP libraries fill it in automatically.
curl -X POST https://carchost.fieldcontrol.com.br/customers \
-H "X-Api-Key: SUA_CHAVE" \
-H "User-Agent: MinhaIntegracao/1.0" \
-H "Content-Type: application/json" \
-d '{"name": "Padaria Pão Quente", "address": {"city": "São Paulo", "state": "SP", "coords": {"latitude": -23.558418, "longitude": -46.688081}}}'