Skip to main content
POST
/
api
/
sync
cURL
curl --request POST \
  --url https://api.kazzle.app/api/sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ops": [
    {
      "id": "<string>",
      "op": "PUT",
      "table": "<string>",
      "data": {}
    }
  ]
}
'
{
  "ok": true,
  "discarded": true,
  "code": "<string>",
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Body

application/json
ops
object[]

Response

200 - application/json

Sync result

ok
boolean
required
discarded
boolean
code
string
error
string