logo
OverviewIntroduction

API Reference

Full technical reference for the Conta Simples API endpoints

About this section

The API Reference is the technical description of the Conta Simples API endpoints. Here you will find:

  • All available endpoints with parameters and schemas
  • Request and response examples
  • HTTP response codes
  • An interactive playground to test calls

New here? We recommend starting with the Guides before exploring the technical reference. The guides cover concepts and flows — this section focuses on the technical details of each endpoint.


How to use this reference

Understand the flow in the Guides

Read the Recommended integration flow to see the end-to-end journey.

Open the specific endpoint

Use this reference to see parameters, types, and examples for each endpoint.

Try the playground

Use the interactive playground next to each endpoint to test calls.

Check the data dictionary

For field meanings, see the Data dictionary.


Available endpoints


Authentication

All requests require a Bearer token in the Authorization header:

curl -X GET https://api-sandbox.contasimples.com/statements/v1/credit-card \
  -H "Authorization: Bearer {TOKEN}" \
  -H "Content-Type: application/json" \
  -H "User-Agent: {your-app-name}/{version}"
HeaderValueRequired
AuthorizationBearer {TOKEN}Yes
Content-Typeapplication/jsonYes (for POST)

Authentication guide

How to obtain and refresh access tokens.


Notes per endpoint

POST /oauth/v1/access-token

First time? See the Authentication guide for the full OAuth 2.0 Client Credentials flow, token refresh, and credential security.

GET /statements/v1/credit-card

Context: For field definitions, use the Data dictionary. For pagination and retry patterns, see Best practices.

GET /attachments/v1/content/{attachmentId}

Context: Attachment IDs are returned in each transaction’s attachments array (GET /statements/v1/credit-card). For download examples, see Best practices — Attachments.


Conventions

Dates

ContextFormatExample
Request parametersYYYY-MM-DD2025-01-15
Response fieldsISO 86012025-01-15T14:30:00.000Z

Money amounts

Values are number (decimal) in Brazilian Reais (BRL).

Pagination

Cursor-based pagination via nextPageStartKey. See Best practices — Pagination for a full implementation.