Partner quick start
Easy partner and
agency onboarding.
Choose what you want to do. Follow just that path.
You do not need a referral account to run an agency or connect software. Signing up, paying for a plan and turning on service are separate steps.
I refer customers
1. Get your referral link
Your link tells us which new customers you referred. Register through the partner form with your name and email, then save the returned link and code.
Already registered? Use “Recover my links” on the same form. Use the email you registered with, then check the result shown in the form.
Referrals do not require API setup. Continue below when you need software access. Your referral code is public attribution, not an API key, login, workspace, or permission to manage customer accounts. Use your referral link for other customers, not your own business.

2. Save the link you get back
Look for “Your partner link is ready.” Use “Copy referral link” to save your link. This is a referral link, not a login or a secret key.

3. Find your link again
Choose “Recover my links” and enter the email you used to register. Check that inbox and its spam folder. Use your existing partner account to recover your links.


I run an agency
1. Create your agency or sign in
Set up the service you want to offer. Then review each client on its own. Begin at KaiCalls for agencies, or sign in to the agency portal when you already have an account.

2. Follow the saved launch steps
The agency portal shows the next required step. You can return to saved work; do not start a second agency to resume it.

- Set your agency profile, branding, and support contact.
- Choose the service your agency will offer.
- Choose whether your agency or the client pays KaiCalls. Review the required terms.
- Preview and publish your offer when the required checks are satisfied.
- Select or invite clients. Ask each client to confirm their facts and authorize required connections.
- Check each client’s activation results before treating the service as live.
Account creation alone does not purchase or activate a service. An agency-paid offer and a referral offer use different payer arrangements; review the arrangement in the portal. To use the API, you must belong to the agency and have access to that client. Your key also needs the permissions for the request. Those permissions are called scopes.

3. Add clients, then check each service
Choose a published offer before you prepare a client. The client must confirm their details and approve the needed access. An invite or saved setup is not proof that service is live.


If a check is blocked, use its setup link and check again after the required work. Do not treat account creation, a payment return or an invite as a passed check.
I build software
1. Choose the business
Choose the business you are setting up. Its workspace holds its phone numbers, calls and settings. Sign in, select that business, and have its owner or admin open Developer Platform with Partner integration selected.

2. Review and save the key privately
A key is a secret code for your server. Name the integration, review its permissions, and create a key. Save the key privately in your server secret manager as KAICALLS_API_KEY. Keep the key out of browser code, URLs, commits, and logs.
The Partner integration preset creates a key for one business, for setup and reads. Calls, texts, phone purchases, workspace lifecycle changes and billing changes need more permissions. The service must also allow them. This is not a partner-management key.
Need a business account first? Use KaiCalls signup, or use the owner-email verification flow below when building signup into your app. Agency operators should use the agency path.


3. Check your first request
First, check which businesses your key can access and which permissions it has. Use the capabilities request below for that read-only check. Run this Bash example from your server after loading the full key into KAICALLS_API_KEY through your secret manager.
export KAICALLS_BASE_URL='https://www.kaicalls.com/api/v1'
curl --fail-with-body "$KAICALLS_BASE_URL/capabilities" \
-H "Authorization: Bearer $KAICALLS_API_KEY"Confirm HTTP 200 and the expected accessible workspaces and permissions. A successful read verifies access; phone, SMS, and email activation are separate checks.
Example response with a fictional business; selected fields only. Your permissions may differ. Check that authenticated is true, the permissions are the ones you asked for, and the business is the one you chose.
{
"authenticated": true,
"enabled_scopes": [
"workspaces:read"
],
"workspaces": [
{
"id": "example-business",
"name": "Example Business"
}
]
}If access fails, check the key and the business you selected. Use the error guide below. A read does not turn on a paid plan or prove a phone, text or email channel is ready.
Continue to API integration →Choose another path. For a failed read, use API troubleshooting.
Embed customer signup in your app
Ask the business owner to use their own email and approve access. Request an email code, then ask the owner to check their inbox. Check the result before continuing with workspace setup. A referral code tracks a referred customer. Leave it out for your own business.
Owner-email verification: request, verify, and recover
Request an email code
Send this JSON to POST /api/v1/signup with Content-Type: application/json and no Authorization header. Replace the business, owner email, and referral code with the customer’s real details.
{
"business_name": "Customer business name",
"email": "owner@example.com",
"activation_mode": "otp",
"referral_code": "YOUR_PARTNER_CODE",
"api_key_scopes": [
"workspaces:read",
"numbers:read",
"agents:read",
"agents:write",
"products:read",
"products:write",
"knowledge:read",
"knowledge:write",
"webhooks:read",
"webhooks:write",
"calls:read",
"billing:read"
]
}The response returns status: otp_sent, challenge_id, and expires_in_seconds. Use the returned challenge for the next request. Ask the owner to enter the code from their own email.
Complete verification
Send the same request with the returned challenge and owner’s code added. Keep the requested scopes and other signup fields unchanged.
{
"business_name": "Customer business name",
"email": "owner@example.com",
"activation_mode": "otp",
"referral_code": "YOUR_PARTNER_CODE",
"api_key_scopes": [
"workspaces:read",
"numbers:read",
"agents:read",
"agents:write",
"products:read",
"products:write",
"knowledge:read",
"knowledge:write",
"webhooks:read",
"webhooks:write",
"calls:read",
"billing:read"
],
"challenge_id": "RETURNED_CHALLENGE_ID",
"otp_code": "OWNER_EMAIL_CODE"
}Omitting api_key_scopes produces a read-only key. Explicit scopes require OTP mode. Ask the owner to review the requested permissions before entering the code.
Save the returned api_key, business_id, agent_id, and phone_number against the correct customer. Encrypt the key and sensitive account-access links; give those links only to the verified owner. Use that customer’s key for their requests.
Recover an existing or incomplete account
An email_exists response means the owner should sign in and connect the existing business. Follow error.recovery_paths. Respect code expiry and HTTP 429 rate limits.
HTTP 503 with status: provisioning_failed can still mean an account exists. Securely save any returned credentials and access links, inspect setup_status, and follow setup_status.recovery_paths. Do not restart signup to create a duplicate account. If a response omits the key, check your secret manager. Revoke a lost key and create another.
Read the returned allowance, expiry, and setup status. Partner registration does not grant unlimited service or a separate sandbox.