4. Get an application settings

You can get a specific application by using the GET HTTP method and the application’s UUID:

curl \
-X GET \ 
-H  "apiKey: yourApiKey" \
https://api.tyntec.com/2fa/v1/application/2a9a2a1f-ad49-39e4-9a0e-8f2b648ebf83

* 45bd08a1-228d-4a8b-bbfe-e59309bfa7f6 is the uuid of the specific application for this example.

 

Response to Basic Example for Get application (JSON)

HTTP/1.1 200 OK

{ accountId: 'your account id',
  applicationId: '2a9a2a1f-ad49-39e4-9a0e-8f2b648ebf83',
  name: 'default',
  pinLength: 4,
  alphanumeric: false,
  attempts: 3,
  expire: 300,
  template: 
   { en: 'OTP code: {{OTP}}. Valid for {{SEC}} seconds.',
     'en-voice': 'Your OTP code is  {{OTP}} . Repeat of OTP Code: {{OTP}}' },
  sender: 'VERIFY',
  created: 1499695238322 }

* 2a9a2a1f-ad49-39e4-9a0e-8f2b648ebf83 is the uuid of the specific application for this example.