Join the Conversation

To sign in, use your existing MySonicWall account. To create a free MySonicWall account click "Register".

SonicOS APIs

Hello all - We are starting to use the SonicOS APIs on the TZ serie appliances. We successfully configured API through GUI and enabled 2FA and everything is working fine on the GUI side. However, to start using API we have to start by " POST /tfa" and post username, password and two-factor code to get bearer token. Where do we get the two-factor code from?

Greatly appreciate your assistance.

Category: Entry Level Firewalls
Reply

Best Answer

  • CORRECT ANSWER
    TKWITSTKWITS Community Legend ✭✭✭✭✭
    Answer ✓

    You get the 2FA code from the app you used to set it up…

Answers

  • MS500MS500 Newbie ✭

    Thank you for your response. Is Certificate required on the Tz appliances for APIs to work?

    Cheers.

  • TKWITSTKWITS Community Legend ✭✭✭✭✭

    I dont know, I dont use the API. What does their documentation say? All Sonicwalls come with a built in, self-signed SSL certificate.

  • MS500MS500 Newbie ✭

    Thank you.

Sign In or Register to comment.