Skip to main content
POST
/
auth
/
email-change
/
initiate
Initiate email change
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/auth/email-change/initiate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newEmail": "new@example.com"
}
'
{
  "success": true,
  "data": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
newEmail
string
required

The new email address to change to.

Example:

"new@example.com"

Response

OTP sent to current email.

success
boolean
required
Example:

true

data
object
required