All API requests must be authenticated via https using a bearer token.
https://www.chastitytracker.org
GET /api/orginsert.php HTTP/2
Host: www.chastitytracker.org
Authorization: Bearer {YOUR_API_TOKEN}
POST /api/orginsert.phpInsert a new orgasm(s). Requires a valid authentication token (with write permission) and parameter(s) via json body (underlined means mandatory).
inserto: 1date: YYYY-MM-DDpublic: 0/1 to make it public or notgrantedby: stringtype: string (e.g. Stroke,Rub etc etc) max 50 charactersnumber: integer (to insert more than one)mode: string (if not one of the following, T&D will be inserted)
full: 1ruined: 1milking: 1dom: 1
POST /api/orginsert.php HTTP/2
Host: www.chastitytracker.org
Authorization: Bearer {YOUR_API_TOKEN}
Content-Type: application/json
{
"inserto":1,
"date":"2025-05-28",
"mode":"full",
"public":1
}
{
"message": "Orgasm(s) inserted succesfully",
"orgasms_id": [1234,1235,...]
}
201 Created β Session inserted400 Bad Request β Missing or malformed input (an info about the error will be returned)401 Unauthorized β Invalid or missing token403 Forbidden β Missing authorization500 Internal Server Error β Something went wrong server-side