Console
Auth

Authorize App

Links your app to a user account. Call this when app.authorized === 0 in the login response.

POST /api/vaneltonid/auth.php
Requires Authorization: AppID:AppKey header + user token

Request body

FieldTypeRequiredDescription
tokenstringrequiredUser session token from login

Success response 200

{ "success": true, "message": "App authorized successfully." }

Errors

CodeMessageCause
401Authorization header with appid:appkey is required.Missing or malformed header
401Invalid or expired token.Token not valid
403Origin not allowed.Request from an unauthorized origin