Prerequisites
- An Authsignal Tenant
- An Authenticator Configured (in this example we use Email OTP)
Configuration
1
Import
Navigate to your Postman Workspace and click ‘Import’
2
Enter URL
Enter the relevant OpenAPI Specification URL in the Import Dialog.Links to OpenAPI specifications can be found in the relevant API Reference overviews.For now, we will enter the URL for the Server API
https://docs.authsignal.com/server-api.json and the Client API https://docs.authsignal.com/client-api.json.3
Import
Choose ‘Postman Collection’ to add to your existing Workspace
Server API
1
Set up variables - Server API
Double click on the ‘Server API’ collection.In the 
authorization tab, enter your Authsignal API Key from the Authsignal settings page .In the variables tab, ensure the baseUrl matches the correct regional URL for your Tenant’s configuration.
2
Set up your Track Action request
In the Server API workspace, select 
users -> actions -> {action} -> Track Action.Be sure to update the variables to match a relevant user ID and action code.For the purposes of this tutorial, use a random GUID as the userId, and signIn as your action code. The relevant values here may differ depending on your Authsignal Tenant’s configuration.
3
Execute request
Select ‘Send’.In the response body, make note of the
token value in the response. We will use this in a moment to test the Client API.Client API
1
Set up variables - Client API
Now that we have a token generated by our Track Action call, next we will set up the Client API to simulate a front end application.Double click on ‘Client API’ in the workspace menu.On the authorization tab, enter the token obtained from the previous step as the
bearerToken value.On the variables tab, ensure the baseUrl matches the correct regional URL for your Tenant’s configuration.2
Set up your Authenticator Enrolment
In this example, we will enrol the user with an Email OTP authenticator.In the Client API workspace select
user-authenticators -> email-otp -> Start Email OTP Enrolment.Head to the body of the request, and enter your email address.
Click ‘Send’ to start enrolment.3
Complete Email OTP enrolment
You should now have recieved an email with the OTP code.
In the Client API workspace select 
verify -> email-otp -> Verify Email OTP Challenge.Head to the body of the request, and enter the OTP code from the email.
Click ‘Send’ to verify the enrolment.
The response should include recovery codes, and an accessToken that can be used to call the Session API.

