Open app

Developer

Robomap API

HTTPS JSON API for the Robomap platform: authentication, on-demand services, devices, workspace data, account management, and integrations.

Overview

Production base URL: https://api.robomap.ai

Web app proxy: https://app.robomap.ai/api/ rewrites to the same backend for same-origin browser requests.

Machine API prefix: https://api.robomap.ai/api/ for Passport-protected integrations.

All requests use HTTPS. JSON is returned unless noted otherwise.

Authentication

The API supports three access patterns:

Authorization: Bearer YOUR_ACCESS_TOKEN

Social sign-in entry points:

MethodEndpointDescription
GET /auth/google Redirect to Google OAuth. Optional ?returnUrl=/home.
GET /auth/callback Google OAuth callback.
GET /auth/apple Redirect to Apple Sign In.
POST /auth/apple/callback Apple OAuth callback (form_post).

Public endpoints

MethodEndpointDescription
POST /auth/login Email/password login. Returns access_token and user payload.
POST /auth/register Create a user or business account.
POST /auth/logout End the current browser session.
GET /auth/me Current authenticated user (session).
GET /auth/oauth/bootstrap Resolve a bearer token to a user after social login.
GET /utilities/countries Country list for registration forms.
GET /utilities/phone-prefixes International phone prefixes.
GET /on-demand-services/catalog Public service categories and catalog metadata.
POST /assistant/chat Platform assistant chat endpoint.
GET /api/ping Health probe. Returns empty JSON object.
GET /api/check Extended API status check.

Authenticated session API

Requires a logged-in browser session or valid bearer token. Base path: https://api.robomap.ai

On-demand services

MethodEndpointDescription
GET/on-demand-services/mapMap data for active service activity.
GET/on-demand-services/requestsList service requests for the current user.
POST/on-demand-services/requestsCreate a new on-demand service request.
GET/on-demand-services/business/availableRequests available to business providers.
GET/on-demand-services/business/assignmentsAssignments claimed by the business.
POST/on-demand-services/business/requests/{id}/claimClaim a request.

Devices and workspace data

MethodEndpointDescription
GET/devicesList devices.
POST/devicesCreate a device.
PUT/devices/{id}Update a device.
DELETE/devices/{id}Delete a device.
GET/dataList workspace data records.
POST/dataCreate a data record.
PUT/data/{id}Update a data record.
DELETE/data/{type}/{id}Delete a typed data record.
GET/settingsRead workspace settings.
POST/settingsUpdate workspace settings.

Account, notifications, and administration

MethodEndpointDescription
GET/account/getuserdataCurrent profile data.
POST/account/user-profileUpdate profile fields.
GET/account/business-profileBusiness profile for provider accounts.
GET/account/plansSubscription plan catalog.
GET/notificationsIn-app notifications.
GET/administration/usersOrganization user list.
GET/administration/organizationsOrganizations for the active account.

Machine API

Passport-protected integrations use the /api prefix.

MethodEndpointDescription
POST/api/oauth/tokenIssue an OAuth access token.
POST/api/oauth/clientsRegister an OAuth client.
POST/api/devicesCreate a device via API token.
POST/api/dataIngest workspace data via API token.

OAuth 2.0

Robomap uses Laravel Passport for machine-to-machine access. Token and client management routes are available under /oauth/* and /api/oauth/*.

curl -X POST https://api.robomap.ai/api/oauth/token \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET"

Example: login

curl -X POST https://api.robomap.ai/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"user@example.com","password":"your-password"}'

Example: countries

curl https://api.robomap.ai/utilities/countries