We employ JSON Web Tokens (JWT) for authentication, a single token is valid for one year. Once expired, a token must be renewed.

API key for 5SIM protocol

API key for 5SIM protocol (Deprecated API)

API Documentation Overview:

API key is a JWT-based token—JWT stands for JSON Web Token—which has to be added to an HTTP request header with key denoted as Authorization and value as "Bearer apiKey". You can find the API key in the settings of your account.

Example of How a Header Should Look Like:

Authorization: Bearer
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ

Example of a Curl-Based Header:

curl -s -X GET -H 'Authorization: Bearer YOUR_API_KEY' 'https://5sim.net/v1/user/buy/activation/england/vodaphone/telegram'

Example of a Header in Zennoposter:

More tab, in the Useragent field write:
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY