This documentation will take you through all the steps you'll need to integrate your site with 2FAS. You can avail of our service using REST API or dedicated SDK (for PHP only).
To use our service you need to sign up for an account at 2fas.com. You have many services to which you want to add 2FA - we call them an integration.
To add an integration, sign in to your account and select the following Integrations → Add Integration and type your integration name eg. “My site”. After adding the integration, it appears in the integration list and has a unique identifier that you will use in the SDK:
To sign in to the API you need to add a key for the integration. To do this click on Keys → Add key. The login key will appear when you click on the Token:
Use this data to log in through the API as Basic Auth or use our SDK.
Note: You can also use our additional SDK to manage your account from the server. You can find more information here