Skip to main content
POST
/
api
/
notices
Create a notice
curl --request POST \
  --url https://api.propops.app/api/notices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "create",
  "csrf_token": "abc123def456",
  "title": "Scheduled Maintenance",
  "body": "The platform will be offline on 01/07/2026 from 02:00–04:00 UTC.",
  "target_account_types": [
    1,
    2,
    3
  ],
  "target_account_ids": []
}
'
{
  "success": true,
  "message": "Operation completed successfully"
}

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:

Authorization: Bearer a1b2c3d4e5f6...

Body

application/json
action
enum<string>
required
Available options:
create
csrf_token
string
required
Example:

"abc123def456"

title
string
Example:

"Scheduled Maintenance"

body
string
Example:

"The platform will be offline on 01/07/2026 from 02:00–04:00 UTC."

target_account_types
integer[]
Example:
[1, 2, 3]
target_account_ids
integer[]
Example:
[]

Response

Notice created

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"