Reset PIN API

Reset Pin Request

POST https://www.cotter.app/api/v0/user/reset/request/:client_user_id

This endpoint allows you to get free cakes.

Path Parameters

NameTypeDescription

client_user_id

string

The Cotter User ID of the user. If you have a different client_user_id, use that instead.

Headers

NameTypeDescription

Content-Type

string

application/json

API_SECRET_KEY

string

Your API Secret Key

API_KEY_ID

string

Your API Key ID

Request Body

NameTypeDescription

name

string

The user's name

sending_destination

string

The user's email address

sending_method

string

The string EMAIL, we only send the PIN reset code via email for now.

method

string

The string PIN

{
  "success": true,
  "challenge_id": 123,
  "challenge": "abcde12345"
}

Last updated