API and agents
Connect your assistant or app to samehand. Set up, connect your account and make your first request.
Connect an assistant
Choose your client
Codex CLI
Terminalhttps://samehand.app/mcpSign in here to get the URL and commands with your account access included.
Add server codex mcp add samehand --url 'https://samehand.app/mcp'Check connection codex mcp listStart a Codex session. Use /mcp to see the server and its tools.
After connecting, ask your agent
Rewrite this email in my writing voice without changing the facts.Make this WhatsApp draft clearer and more natural in my tone.Improve this proposal opening without inventing promises.Create short and formal versions of this draft and show what changed.Use these writing samples to prepare my writing profile and show a preview.Integrate your application
curl -s https://samehand.app/api/curl -s https://samehand.app/api/estiloReferences
/llms.txt— Guide for agents/api/— API index/llms-full.txt— Full reference/openapi.json— OpenAPI 3/.well-known/api-catalog— api-catalog (RFC 9727)/skill.md— skill.md — ready-made agent instructions (Agent Skills)
References
Request formats and authorization
- Choose an operation from the agent index or the API catalog.
Read the operation’s reference in llms-full.txt.
For one group of routes, add
?prefix=/api/…to the address.Before a request, check the operation’s authentication, usage limits and price.
Before an external action, get authorization for that action.
Read routes accept
GET,POST,PUTorPATCH.Send the same parameters as JSON or form data.
Responses use JSON. For HTML, set
Accept: text/html.
Use these API references for integration. Do not scrape the main interface or assume permission to access accounts, make payments or send messages.
Read skill.md for agent instructions. Find all API references in api-catalog or at /discovery/resources.
Public data archives
Postal codes and addresses
Addresses and coordinates · 2022 data. Does not certify current postal codes.
MCP https://api.pontofato.com/enderecos/mcpPublic procurement
Public procurement and documents by location and date.
MCP https://api.editalmd.com/licitacoes/mcp