Skip to main content
POST
Register or remove a device token

Authorizations

Authorization
string
header
required

All API requests must include a valid Bearer token in the Authorization header. Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.

Example:

Body

application/json
action
enum<string>
required
Available options:
register,
remove
csrf_token
string
required
Example:

"abc123def456"

device_token
string
Example:

"device_token_001"

platform
enum<string>
Available options:
ios,
android,
web
Example:

"ios"

Response

Device token registered or removed

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"