Skip to content

Consulter une Authentification

get
https://api.reach.talkylabs.com/rest/authentix/v1/configurations/{configurationId}/authentications/{authenticationId}

Cette opération permet de consulter les details d'une authentification.

Paramètres

  • configurationIdstringrequiredpath

    L'identifiant de la configuration utilisée.

  • authenticationIdstringrequiredpath

    L'identifiant de l'authentification à consulter.

Exemple 1: Consulter les details d'une authentication

L'exemple ci-dessous montre comment consulter les détails d'une authentification donnée en utilisant son attribut authenticationId à l'aide de l'API Reach Authentix.

curl -X GET https://api.reach.talkylabs.com/rest/authentix/v1/configurations/CIDXXXXXXXXXXXX/authentications/VIDXXXXXXXXXXXX -H "ApiUser: $REACH_TALKYLABS_API_USER" -H "ApiKey: $REACH_TALKYLABS_API_KEY"
Output example
{
  "appletId": "AIDXXXXXXXXXXXX",
  "apiVersion": "1.0.0",
  "configurationId": "CIDXXXXXXXXXXXX",
  "authenticationId": "VIDXXXXXXXXXXXX",
  "status": "awaiting",
  "dest": "+237671234567",
  "channel": "sms",
  "expiryTime": 5,
  "maxTrials": 5,
  "maxControls": 3,
  "paymentInfo": {
    "payee": "ACME",
    "amount": 1000,
    "currency": "xaf"
  },
  "trials": [
    {
      "dateCreated": "2016-08-29T09:12:33.001Z",
      "trialId": "TRDXXXXXXXXXX",
      "channel": "sms"
    }
  ],
  "dateCreated": "2016-08-29T09:12:33.001Z",
  "dateUpdated": "2016-08-29T09:12:35.001Z"
}