For the complete documentation index, see llms.txt. This page is also available as Markdown.

User Preferences

Get User Preferences

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Query parameters
user_idstringRequired
Responses
200

Successful Response

application/json
user_idstringRequired
notificationsstring[] · nullableOptionalDefault: []
get/api/v1/user_preferences
GET /api/v1/user_preferences?user_id=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "user_id": "text",
  "notifications": [
    "text"
  ]
}

Create User Preferences

post
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Body
user_idstringRequired
notificationsstring[] · nullableOptionalDefault: []
Responses
200

Successful Response

application/json
user_idstringRequired
notificationsstring[] · nullableOptionalDefault: []
post/api/v1/user_preferences
POST /api/v1/user_preferences HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "user_id": "text",
  "notifications": [
    "text"
  ]
}
{
  "user_id": "text",
  "notifications": [
    "text"
  ]
}

Update User Preferences

put
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
user_idstringRequired
Body
notificationsstring[] · nullableOptional
Responses
200

Successful Response

application/json
user_idstringRequired
notificationsstring[] · nullableOptionalDefault: []
put/api/v1/user_preferences/{user_id}
PUT /api/v1/user_preferences/{user_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 26

{
  "notifications": [
    "text"
  ]
}
{
  "user_id": "text",
  "notifications": [
    "text"
  ]
}

Last updated