Skip to main content
POST
/
token
Obtain Access Token
curl --request POST \
  --url https://auth.interactsms.com/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data username=your_username \
  --data password=your_strong_password \
  --data client_id=ismstoken \
  --data grant_type=password
{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJE...",
  "expires_in": 120,
  "refresh_expires_in": 1200,
  "refresh_token": "eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJh...",
  "token_type": "Bearer",
  "scope": "email profile client_id"
}

Body

application/x-www-form-urlencoded
username
string
required
password
string
required
client_id
enum<string>
required
Available options:
ismstoken
grant_type
enum<string>
required
Available options:
password

Response

JWT Token Response Body

Last modified on April 8, 2026