Caregivers can create their own AveeCare API keys from the Caregiver Portal Settings page. A key lets an AI assistant like Claude Code, or a program or script you write against the AveeCare API, work with your own visits and schedule. It can only do what your caregiver role can already do in the app.
Quick answer
Open Settings from the caregiver sidebar, scroll to the API Keys card, then click Generate New API Key. Give the key a label, choose Read-only or Read & write, pick an expiry and click Generate Key. Copy the key from the dialog that follows; it is shown once. Use Revoke on the key when you are done with it.
What a caregiver key can do
- Only what your caregiver role allows. Your own visits, schedule, profile and messages. It cannot open the company patient list, other caregivers' schedules, payroll, billing or settings.
- It always acts as you. Notes, swap requests and visit requests made with your key are recorded as yours; a key cannot file them in another caregiver's name or approve them on the office's behalf.
- Read-only or Read & write. A Read-only key can look things up but cannot change anything. Choose Read & write only if your program or assistant needs to make changes.
- Logged. Every action the key takes is attributed to your caregiver account.
- It expires. You choose 30, 60, 90 or 180 days when you create it.
- No MFA prompt per request. The key replaces signing in, so store it like a password.
1. Open Settings and find the API Keys card
Click Settings in the caregiver sidebar, then scroll to the API Keys card.
The card sits below your notification settings. If you have no keys yet it says No API keys yet. Below the list, a Use your key panel shows the API address, a test command and SDK install commands.
2. Label the key and choose its access
Click Generate New API Key and read the notice.
The Security & Compliance Notice explains that the key works without MFA on each request, carries your role, must be kept secret, and that everything it does is logged against your account.Type a label and choose Read-only or Read & write.
Use a label that says where the key will live, for exampleClaude Code - My Phone. Read-only is selected by default and is enough for an assistant that answers questions about your schedule.
Pick an expiry, then click Generate Key.
Choose 30, 60, 90 (recommended) or 180 days.
3. Copy the key once from the Your API Key dialog
Click Copy next to the key.
The key starts withak_. This is the only time it is shown; AveeCare keeps only a hash, so nobody, including your office, can show it to you again.
Tick the confirmation box, then click Done.
Done stays disabled until you tick I have copied and securely stored this key.
4. Connect an AI assistant or your own program
The Use your key panel has two tabs. REST API & SDKs shows the API address, a curl command to check the key works, and SDK install commands, with links to the API documentation. AI assistants (MCP) has a tab each for Claude Code, Codex, Cursor, Windsurf and other assistants, with the command or config to copy. Inside the dialog the examples already contain your new key.
5. Renew or revoke a key
Renew: replace a key before it expires.
Click Renew. You get a new key with the same label and access, and the old key stops working, so update your assistant or program straight away. Within 14 days of expiry the card shows how many days are left.Revoke: stop a key immediately.
Click Revoke, then Revoke Key to confirm. The key shows as Revoked and stops working at once. The trash-can icon then removes it from your list.
Common pitfalls
- Closing the dialog before copying. The key is shown once. If you lose it, revoke it and generate a new one.
- Expecting office-level access. A caregiver key carries your caregiver role. If you need company-wide data, ask your office to create a key from their own account.
- Using one key on several devices. Create a key per phone, laptop or program, so you can revoke one without breaking the others.
- Letting a key expire. Expired keys stop working. Renew before the date shown on the card.