Request the 6-digit verification code
POST/v1/partner/supplier-access/request-code
Called after the partner clicks the magic link in their invitation email and lands on the regen page. Mints a fresh 6-digit code, stores its hash on the session, and emails the code to the address on file.
The invitation email contains the magic link only; this endpoint triggers the second email so a partner who never visits the page does not receive an unsolicited code.
Request
Responses
- 200
- 400
- 401
- 410
- 423
- 429
Code minted + emailed.
Missing token.
Invalid or expired magic token.
Session already used or invitation expired.
Session locked after 5 failed verification attempts.
Rate limit exceeded.