Mobile apps: app tokens
A company user signs in with their email and password and gets a token for the app API and the app MCP server. Two-step verification and password rules apply as in the app.
POST /api/v1/app/token
Mihnaro for developers
A REST API for mobile apps and integrations, and MCP servers for AI assistants. Both use the same accounts, permissions and rules as the app, in English and Arabic.
REST API
https://api.mihnaro.com/api/v1
MCP · app
https://api.mihnaro.com/mcp/app
MCP · platform
https://api.mihnaro.com/mcp/platform
Your first call in five minutes: a key or token, the headers and copy-ready examples.
Permissions and branches, pages, dates, errors, limits and versions.
The main endpoints of each section, and Postman.
Events, payloads and signature checks in PHP, JavaScript and Python.
Connect Claude Desktop, Claude Code or another MCP client.
A company user signs in with their email and password and gets a token for the app API and the app MCP server. Two-step verification and password rules apply as in the app.
POST /api/v1/app/token
Company admins create keys under Settings, Integrations. A key starts with mhk_, works only on its own company, acts as the person it was made for, and can be limited to reading, writing, updating or deleting, to IP addresses and to an end date.
Authorization: Bearer mhk_…
The platform API and MCP server manage companies, licenses and the website. Only Mihnaro platform admins get these keys.
/api/v1/platform · /mcp/platform
curl -X POST https://api.mihnaro.com/api/v1/app/token \
-H "Accept: application/json" \
-d [email protected] -d password=… \
-d device_name="My app"
curl https://api.mihnaro.com/api/v1/app/me \
-H "Authorization: Bearer <token>" \
-H "Accept-Language: ar"
The reference lists every endpoint with the permission it needs, and every MCP tool. reference.json · openapi.json
Try the live demo, or read the help center.
We use cookies to understand how the site is used. You can accept or decline.