Skip to content

Prerequisites

Required Knowledge

Before you begin, you should be familiar with:

  • HTTP/REST APIs: Basic concepts of RESTful APIs
  • JSO N: JavaScript Object Notation Data Format
  • Authentication: Access tokens and headers HTTP
  • Programming language: Python, JavaScript, Java, PHP or similar

New in APIs?

If you are new to REST APIs, we recommend:

Access credentials

You'll need:

Get Credentials

Contact Pontotel support for:

  • Username: Your username
  • Password: Your password
  • Environment: Access to sandbox and/or production

HTTP Client

Choose a tool to test APIs:

Recommended for beginners

  • Intuitive visual interface
  • Collection Management
  • Environment support

Download Postman

Light and modern alternative

  • Clear interface
  • GraphQL Support
  • Open source

Download Insomnia

For command line users

Bash
# Já instalado na maioria dos sistemas Unix
curl --version

Code Editor

We recommend:

  • Visual Studio Code: Free and extensible editor
  • PyCharm: For Python development
  • WebStorm: JavaScript/TypeScript

Environment Manager

To manage environment variables:

Bash
pip install python-dotenv
Python
1
2
3
# .env
PONTOTEL_USERNAME=your_username
PONTOTEL_PASSWORD=your_password

==="JavaScript"

Text Only
1
2
3
4
5
6
7
8
9
```bash
npm install dotenv
```

```javascript
// .env
PONTOTEL_USERNAME=your_username
PONTOTEL_PASSWORD=your_password
```

Libraries HTTP

Python

Bash
pip install requests
Python
1
2
3
import requests

response = requests.get('https://api.example.com/')

JavaScript (Node.js)

Bash
1
2
3
npm install node-fetch
# ou
npm install axios
JavaScript
1
2
3
4
5
// Fetch
const response = await fetch('https://api.example.com/');

// Axios
const response = await axios.get('https://api.example.com/');

Java

Java
1
2
3
4
// Apache HttpClient
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;

PHP

PHP
// cURL nativo ou Guzzle
composer require guzzlehttp/guzzle

Check Connection

Test if you can access the API:

Bash
curl https://apis.pontotel.com.br/pontotel/api/v4/

Expected response:

JSON
1
2
3
4
5
{
  "message": "Pontotel API v4",
  "version": "4.0.0",
  "status": "active"
}

Prerequisite Checklist

Before proceeding, confirm that you have:

  • Access credentials (username/password)
  • HTTP client installed (Postman, Insomnia or cURL)
  • Code editor configured
  • HTTP library in your preferred language
  • Environment variable manager (optional but recommended)
  • Internet access and API URL

Next Steps

With everything ready, we go to authentication:

  1. Configure Authentication →
  2. Make first request →