Authentication & Access Keys

To use the 1PSIM API, all requests must be authenticated using your unique API key. This key is issued to you upon onboarding and identifies your partner account securely.

Getting Your API Key

After registering as a 1PSIM reseller or wholesale partner, you'll receive:

  • A Username

  • A Password

These credentials are required to authorize all API calls. Keep them secure and do not share them publicly.

Create a new user

POST https://1psim.api.lifeline.mobi/public/auth/login

Before calling any other API endpoint, you must first authenticate using your Email and Password to obtain a time-limited token.

Body

Name
Type
Description

username

string

email of your account

password

string

Response

	
Response body
Download
{
  "subscriber": {
    "id": "b00ab400-b3e4-4d3a-a076-a1b9394f8e53"
  },
  "authToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJiMDBhYjQwMC1iM2U0LTRkM2EtYTA3Ni1hMWI5Mzk0ZjhlNTMiLCJ1YSI6Ik1vemlsbGEvNS4wIChNYWNpbnRvc2g7IEludGVsIE1hYyBPUyBYIDEwXzE1XzcpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMzcuMC4wLjAgU2FmYXJpLzUzNy4zNiIsImlwIjoiMTQ5LjIwLjE5MS4xNzMiLCJwd2giOiIkMmIkMTAkVkxKQ1BTNDRSSktvUlZhaTE0ZmM1ZU1XalVtSG1FOTRoU1NTQjAwUFlkcy84QmVSWUZrcG0iLCJ0eXAiOiJzdWJzY3JpYmVyIiwiaWF0IjoxNzQ5OTU0MzYxLCJleHAiOjE3NDk5NTc5NjF9.m9kHckSIUuue7IcmG-Cz6JVHkjb-RmOZ3s4BmMHeI8Q"
}

Example

curl -X 'POST' \
  'https://1psim.api.lifeline.mobi/public/auth/login' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
  "username": "aaa",
  "password": "fff"
}'

Last updated