Storyden
Auth

Phone Submit Code

Complete the phone number authentication flow by submitting the one-time code that was sent to the user's phone.

PUT/auth/phone/{account_handle}

Complete the phone number authentication flow by submitting the one-time code that was sent to the user's phone.

storyden-session<token>

In: cookie

Path Parameters

account_handle*string

Account handle.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

code*string

Response Body

application/json

application/json

curl -X PUT "https://example.com/auth/phone/southclaws" \  -H "Content-Type: application/json" \  -d '{    "code": "string"  }'
{
  "id": "string"
}
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}