Skip to main content
POST
/
api
/
v1
/
auth
/
token
S'authentifier et obtenir un token
curl --request POST \
  --url https://egimgarsud.gimpayapp.com/api/v1/auth/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=password \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{
  "access_token": "<string>",
  "expires_in": 123,
  "token_type": "<string>",
  "refresh_expires_in": 123,
  "scope": "<string>",
  "not_before_policy": 123
}

Body

application/x-www-form-urlencoded

Identifiants de connexion de l'utilisateur.

grant_type
string
required

Le type d'authentification

Example:

"password"

client_id
string
required

L'identifiant du client

client_secret
string
required

Le secret du client

Response

Authentification réussie. Le jeton est retourné dans la réponse.

access_token
string
expires_in
integer<int32>
token_type
string
refresh_expires_in
integer<int32>
scope
string
not_before_policy
integer<int32>