PressOne eSIM Developer Platform
  1. Authenticate
PressOne eSIM Developer Platform
  • OVERVIEW
    • Introduction
    • Attribute descriptions
    • FAQ
    • User journeys
      • Top-up Journey
      • Purchase Journey
    • Guides
      • eSIM installation methods for API Partners
      • How to generate the QR code for an eSIM
  • REST API
    • Data / Data + Voice + SMS eSIM
      • Introduction
      • Error handling
      • Endpoints
        • Authenticate
          • Request access token
            POST
        • Check balance
          • Get balance
        • Compatible devices
          • Get compatible device lite list
        • Browse packages
          • Get packages
        • Place order
          • Submit order
        • Install eSIM
          • Get eSIM
          • Get installation instructions
        • Monitor usage
          • Get usage (data, text & voice)
        • Place top up order
          • Get top-up package list
          • Submit top-up order
        • Manage orders
          • Get order list
          • Get order
        • Manage eSIMs
          • Get eSIMs list
          • Get eSIM package history
    • Voice-only eSIM
      • Getting Started
      • Error handling
      • Endpoints
        • List Available Numbers
        • Claim Number
        • Renew Number
        • List User
  1. Authenticate

Request access token

POST
/customer/v2/token
This endpoint provides an access token required for making authenticated requests to the PressOne eSIM API. Submit your client ID and client secret to obtain a token valid for 24 hours. While the token remains valid for a year, we recommend refreshing it more frequently for enhanced security.

Important Notes#

The response contains the access token, which must be cached and reused for subsequent API calls until it expires or is refreshed.
Store the client ID and client secret securely in an encrypted format on your systems.
All actions performed using these credentials will be considered valid transactions, and the partner will be responsible for any associated costs.

Request

Header Params

Body Params multipart/form-data

Responses

🟢200Request Access Token (200)
application/json
Body

🟠422Request Access Token (422)
🟠422Request Access Token (401)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://prod.your-api-server.com/customer/v2/token' \
--header 'Accept: application/json' \
--form 'client_id="<replace with client id>";type=string' \
--form 'client_secret="<replace with client secret>"' \
--form 'grant_type="client_credentials"'
Response Response Example
200 - Request Access Token (200)
{
    "data": {
        "token_type": "Bearer",
        "expires_in": 31622400,
        "access_token": "<access token>"
    },
    "meta": {
        "message": "success"
    }
}
Modified at 2025-11-16 21:58:57
Previous
Endpoints
Next
Check balance
Built with