OA

Your server URL: —

Connect or sign up to personalize examples with your API key.

iOS — 3 actions

  1. Get Contents of URL — POST + X-API-Key + JSON body (GPS optional)
  2. Get Dictionary Value — key message from Contents of URL
  3. Show Notification — Dictionary Value

Full iOS guide →

A

Recommended app: HTTP Shortcuts

Install HTTP Shortcuts from Google Play (free, by Waboodoo). It creates home-screen icons for REST calls — same idea as iOS Shortcuts.

B

Create Check-in shortcut

  1. Open HTTP Shortcuts → Add shortcut
  2. Name: Odoo Check In
  3. Method: POST
  4. URL: —
  5. Headers → add X-API-Key: your API key
  6. Body type: JSON, content: {} (auto) or {"action":"in"}
  7. Save and pin to home screen
C

Check-out shortcut

Duplicate the shortcut. Change URL to:

—
D

Optional: GPS on Android

In HTTP Shortcuts, use Variables to insert location if the app supports it, or use Tasker / MacroDroid:

  • MacroDroid: HTTP request action with lat/long from Location Context
  • Tasker: HTTP Request + %LOC or get fixed lat/lon via Get Location v2
{
  "latitude": 40.557046,
  "longitude": -8.558278
}
E

Alternative apps

  • MacroDroid — easier for location-based triggers
  • Tasker — most powerful, steeper learning curve
  • Automate — flow-based, similar to Tasker

Endpoints

All authenticated requests need header X-API-Key: YOUR_KEY.

MethodPathBody
GET/v1/status—
POST/v1/check-in{} or GPS JSON
POST/v1/check-out{} or GPS JSON
GET/v1/me—
PATCH/v1/mesettings JSON

Example: check-in with curl

—

Example: check-in with GPS

curl -X POST "—/v1/check-in" \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"latitude": 40.557, "longitude": -8.558}'