ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiAuth

Complete 2FA login — exchange the challenge token for tokens

POST
/api/v1/auth/2fa/verify

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Invalid code or expired challenge

Example Request
curl -X POST 'http://localhost:3001/api/v1/auth/2fa/verify'
Example Response401
Empty