Skip to main content
Docs menu

API reference

Settings

People, invitations, teams, branches, profile, sign-in, layouts, billing and do-not-call, as an Admin does in Settings. Member tokens only.

Beta. These endpoints are switched on per organization. While they are off for yours, each one answers 403 settings_api_off. Ask Finn support to turn them on.

Overview

The Settings API does what an Admin does in Settings in Finn: people and invitations, sales teams and branches, the workspace profile and sign-in, layouts, billing details, wallet auto-reload and the do-not-call list. It is the API behind the MCP server's settings_* tools.

Base URL: https://api.hirefinn.ai/api/v1. See authentication and scopes.

Credential: member token only

Every endpoint here acts as one person. Call it with that person's own token: a personal MCP key (finn_mcp_...) or an AI app's OAuth access token (finn_oat_...). Each request is checked against that person's workspace role.

An org API key gets 403 forbidden. Org keys can't change settings for now.

If the person belongs to more than one organization, send Finn-Org with the organization's ID on every request (without it: 400 org_required). GET /me/organizations lists the organizations a token can act in and answers without Finn-Org. It takes no scope and also works with an org key, which sees its own organization with role: null.

Scopes and roles

Reads take admin:read; writes take admin:write. The token also needs a workspace role at least as high as the Least role column: Owner, then Admin, Supervisor, Member and View-only. A role below it gets 403 forbidden.

Bodies and answers are the dashboard's own shape: camelCase keys, usually inside { "success": true, "data": ... }. Errors from the gate, auth, scope and role checks use the shape on api-errors.

Writes held for approval

Writes marked Held in the tables don't run at once. They answer 202 with "status": "pending_approval", an approval_id and an approve_url, and run once the person who made the call approves them in Finn. A held write needs approval holds on for your organization; while they are off it answers 403 approval_unavailable. Inviting an Admin is always held and needs the workspace owner's token. See requests held for approval.

Writes take an Idempotency-Key header. A retry with the same key returns the first answer, or the same hold.

People and invitations

MethodPathScopeLeast roleWhat it does
GET/settings/members/performanceadmin:readAny memberList members with their AI apps and call results.
DELETE/settings/members/{user_id}admin:writeAdminRemove a person from the workspace. Held (member.remove).
GET/settings/invitationsadmin:readAdminList pending invitations.
POST/settings/invitationsadmin:writeAdminInvite a person to the workspace. Held (invitation.create).
POST/settings/invitations/{invitation_id}/revokeadmin:writeAdminRevoke a pending invitation.

Sales teams and branches

MethodPathScopeLeast roleWhat it does
GET/settings/sales_teamsadmin:readAny memberList sales teams.
POST/settings/sales_teamsadmin:writeAdminCreate a sales team.
PATCH/settings/sales_teams/{team_id}admin:writeAdminRename a sales team.
DELETE/settings/sales_teams/{team_id}admin:writeAdminDelete a sales team. Held (sales_team.delete).
PUT/settings/sales_teams/{team_id}/membersadmin:writeAdminSet who is on a sales team. Held unless relaxed.
PUT/settings/sales_teams/{team_id}/chatadmin:writeAdminSet a sales team's chat inboxes and routing. Held unless relaxed.
GET/settings/team_viewsadmin:readAdminList the shared views pinned for each team.
PUT/settings/sales_teams/{team_id}/viewadmin:writeAdminSet the views pinned for a team.
GET/settings/branchesadmin:readAny memberList branches.
POST/settings/branchesadmin:writeAdminCreate a branch.
POST/settings/branches/from_teamsadmin:writeAdminPreview or create one branch per sales team.
PUT/settings/branches/settingsadmin:writeAdminSet who sees which branch. Held unless relaxed.
GET/settings/branches/compareadmin:readAdminCompare branches over a date range.
PATCH/settings/branches/{branch_id}admin:writeAdminUpdate or archive a branch.
DELETE/settings/branches/{branch_id}admin:writeAdminDelete a branch. Held (branch.delete).
PUT/settings/branches/{branch_id}/membersadmin:writeAdminSet who is in a branch. Held unless relaxed.
PUT/settings/branches/{branch_id}/teamsadmin:writeAdminSet which teams belong to a branch.

Workspace profile and sign-in

MethodPathScopeLeast roleWhat it does
GET/settings/profileadmin:readAny memberRead the workspace profile.
PUT/settings/profileadmin:writeAdminUpdate the workspace profile (website, address, industry, size).
PUT/settings/nameadmin:writeAdminRename the workspace.
PUT/settings/logoadmin:writeAdminSet the workspace logo from an image URL.
PUT/settings/timezoneadmin:writeAdminSet the workspace time zone.
PUT/settings/require_mfaadmin:writeAdminRequire two-step sign-in for everyone. Held (workspace.require_mfa).
GET/settings/ssoadmin:readAdminRead the single sign-on setup.
POST/settings/sso/domains/{domain}/verifyadmin:writeAdminCheck the DNS record for a claimed sign-on domain.

Layouts

MethodPathScopeLeast roleWhat it does
GET/settings/layoutadmin:readAny memberRead the workspace layout.
PUT/settings/layoutadmin:writeAdminSet the workspace layout. Held unless relaxed.
GET/settings/layouts/scopesadmin:readAdminList layouts set per role, team and person.
PUT/settings/layouts/role/{role}admin:writeAdminSet the layout for a role. Held unless relaxed.
PUT/settings/layouts/team/{team_id}admin:writeAdminSet the layout for a team. Held unless relaxed.
PUT/settings/layouts/person/{user_id}admin:writeAdminSet the layout for one person. Held unless relaxed.

Billing and minutes

MethodPathScopeLeast roleWhat it does
GET/settings/billingadmin:readAdminRead the plan, minutes and wallet.
GET/settings/finn_invoicesadmin:readAdminList Finn's invoices to this workspace.
GET/settings/finn_invoices/{invoice_id}/downloadadmin:readAdminGet the PDF link for one of Finn's invoices.
GET/settings/billing_detailsadmin:readAdminRead the billing details on Finn's invoices.
PUT/settings/billing_detailsadmin:writeAdminChange the billing details on Finn's invoices. Held (billing_details.update).
GET/settings/billing_historyadmin:readSupervisorRead wallet and minutes history.
GET/settings/minutesadmin:readSupervisorCheck minutes left and whether calls can start.
GET/settings/auto_reloadadmin:readAdminRead wallet auto-reload.
PUT/settings/auto_reloadadmin:writeAdminChange wallet auto-reload (primary owner). Held (auto_reload.update).

Do not call and API usage

MethodPathScopeLeast roleWhat it does
GET/settings/do_not_calladmin:readAny memberList the do-not-call list.
POST/settings/do_not_calladmin:writeMemberAdd a number to the do-not-call list.
POST/settings/do_not_call/checkadmin:readAny memberCheck numbers against the do-not-call list.
DELETE/settings/do_not_call/{phone}admin:writeAdminRemove a number from the do-not-call list. Held (do_not_call.remove).
GET/settings/legacy_api_usageadmin:readAdminRead which keys still call the old API hosts.

Org keys manage the same do-not-call list through Do not call (/do_not_call).

Example: check minutes before a campaign

curl "https://api.hirefinn.ai/api/v1/settings/minutes" \
  -H "Authorization: Bearer $FINN_MCP_KEY"
{
  "success": true,
  "data": {
    "hasMinutes": true,
    "availableMinutes": 1240,
    "canStartCall": true,
    "requiredMinutes": 1,
    "message": "Sufficient credits available",
    "isCritical": false,
    "shouldPauseCampaigns": false,
    "activeCallCount": 2,
    "concurrentCallLimit": 10,
    "canStartCampaign": true
  }
}

The answer also carries a serviceHealth object, left out here. The token's person must be a Supervisor or above.

Rate limits

120 reads and 30 writes per minute per credential, across all Settings endpoints. Over the limit: 429 rate_limited; wait Retry-After seconds. See rate limits.

Errors

StatusCodeWhen
400invalid_requestThe body or a parameter isn't valid.
400org_requiredThe person is in more than one organization and Finn-Org is missing.
401api_key_required, invalid_api_keyThe token is missing, unknown or revoked.
403settings_api_offSettings by API aren't turned on for your organization.
403insufficient_scopeThe token lacks admin:read or admin:write.
403forbiddenAn org API key, or a role below the least role.
403approval_unavailableA held write while approval holds are off for your organization.
404not_foundNo such member, team, branch, invitation or number in this workspace.
409variousThe change conflicts, for example owner_must_transfer (the primary owner can't be removed), not_pending (the invitation was used or revoked), branch_in_use, branch_name_taken, head_office_locked, MFA_SELF_REQUIRED (turn on two-step sign-in for yourself first), SSO_DOMAIN_TAKEN, opted_out (the person opted out themselves).
423ai_apps_pausedAn admin paused all AI apps. Writes are refused; reads still work.
429rate_limitedOver the limit. Wait Retry-After seconds.
503unavailableThe organization's settings couldn't be read. Try again shortly.