Skip to main content
POST
/
auth
/
email-change
/
verify-current
Verify current email OTP
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/auth/email-change/verify-current \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "123456"
}
'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Body

application/json
code
string
required

OTP sent to the current email.

Example:

"123456"

Response

Current email verified.

success
boolean
required
Example:

true

data
object
required