--- title: "Admin API Overview" slug: "admin-api-overview" description: "Admin API v2 enables integrations and automation through service account authentication, OAuth tokens, permissions, scopes, and allowed IPs." tags: ["OAuth Tokens"] status: "new" updated: 2026-12-01T15:51:15Z published: 2026-12-01T15:51:15Z canonical: "help.narmi.com/admin-api-overview" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Admin API Overview Our Admin API v2 allows internal developers, third-party integrations, and Narmi Functions to interact with platform data programmatically. Access is granted through a service account, which is a special type of staff user in Narmi Command that provides API-only access without access to the Narmi Command UI. This article provides an overview of what the API offers and how service account authentication works. Once you're familiar with these concepts, see [Create a Service Account for Admin API](/apihome/apidocs/create-service-account-for-admin-api) to get set up, and [Admin API v2 Permissions and Scopes](/apihome/apidocs/admin-api-permissions-and-scopes) for details on access control. ## Admin API Capabilities Our Admin API v2 supports a wide range of use cases, from syncing user data and monitoring transactions to automating customer support workflows and triggering [push notifications](/apihome/apidocs/send-push-notifications-via-admin-api). All endpoints follow the pattern `https://api.sandbox.narmi.dev/v2/admin/{resource}/`. For production, your Narmi Relationship Manager will provide your institution-specific base URL. **Core Resources** | Resource | Use Case | | --- | --- | | `accounts/` | Read account data | | `account_applications/` | Pull deposit account application data | | `account_application_eligibility_answers/` | Read eligibility Q&A for deposit applications | | `account_application_due_diligence_answers/` | Read CDD/due diligence answers for deposit applications | | `applicants/` | Read applicant data from account opening | | `users/` | Lookup or sync user data | | `user_actions/` | Read user activity/event log | | `groups/` | Manage user permission groups | | `organizations/` | Read business banking org data | **Payments & Transfers** | Resource | Use Case | | --- | --- | | `ach_companies/` | Read ACH company configurations | | `ach_details/` | Read ACH account details | | `ach_payments/` | Monitor ACH payment activity | | `ach_transactions/` | Read ACH transaction records | | `ach_transfers/` | Read scheduled ACH transfers | | `ach_manager/` | NACHA file download/retry operations | | `intra_institution_transfers/` | Read internal transfer data | | `transfers/instant/` | Read instant transfer data | | `wire_transactions/` | Read domestic wire transactions | **Lending** | Resource | Use Case | | --- | --- | | `lendingapplications/` | Personal loan application data | | `creditcardapplications/` | Credit card application data | | `vehicleloanapplications/` | Vehicle loan application data | **Messaging & Support** | Resource | Use Case | | --- | --- | | `threads/` | Read support message threads | | `messages/` | Read individual messages | | `staff_assignments/` | Read staff ticket assignments | | `push_notifications/` | Send push notifications programmatically | | `subscriptions/` | Manage notification subscriptions | | `workflow_rules/` | Read workflow/routing rules | **External Accounts & Savings** | Resource | Use Case | | --- | --- | | `external_accounts/` | Read linked external account data | | `automatic_savings_enrollments/` | Read automatic savings enrollment data | **Analytics & Reporting** | Resource | Use Case | | --- | --- | | `transactions/` | Read transaction history | | `reports/` | Generate/export reports | | `billing_stats/` | Pull billing metrics | | `device_evaluations/` | Read third-party device/login evaluation results | **Integrations (per-user sub-routes)** | Resource | Use Case | | --- | --- | | `integrations/users/{uuid}/payees/` | Read bill pay payees for a user | | `integrations/users/{uuid}/payments/` | Read bill pay payments for a user | | `integrations/users/{uuid}/deposits/` | Read deposit actions for a user | ## Prerequisites Before using a service account, make sure you have: - A service account created in Narmi Command (see [Create a Service Account for Admin API](/apihome/apidocs/create-service-account-for-admin-api)) - A service user who has received the token via email - Reviewed the permissions and scopes assigned to the service user (see [Admin API v2 Permissions and Scopes](/apihome/apidocs/admin-api-permissions-and-scopes)) ## How the Token Works Service accounts authenticate with a valid OAuth access token associated with the service user. Three conditions are enforced on every request: - **Permissions** — Set on the service user's role in Narmi Command, these define what the user is fundamentally allowed to do (e.g., view or modify accounts). - **Scopes** — Selected during service account setup, these define what operations the token can perform in the API (e.g., `admin_api:accounts:read`). - **Allowed IPs** — Requests must originate from an IP address or CIDR range approved for the service user. Narmi's own egress IPs are always permitted. A request will only succeed if all three conditions are met. *Note: Service users receive an email with a link to retrieve the Admin API token. After clicking the link in the email, they will not be able to access the token again. The service user must save this token to a secure location as this will be the only time the token is visible.* ## Make an API Request To authenticate, pass the token as a Bearer token in the `Authorization` header of each request: ``` Authorization: Bearer ``` **Example — retrieving a list of accounts:** ``` curl --request GET \ --url https://api.sandbox.narmi.dev/v2/admin/accounts/ \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' ``` **Example — sending a push notification to an end user:** ``` curl --request POST \ --url https://api.sandbox.narmi.dev/v2/admin/push_notifications/ \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --data '{ "user": "76f62a58-5404-486d-9afc-07bded328704", "title": "Action required", "message": "Please verify your recent transaction." }' ``` The token does not expire and does not rotate automatically. Store it securely (e.g., in a secrets manager or environment variable) and never commit it to source code. ## Verify Access If a request returns a `403 Forbidden` response, the cause is one of the following: | Cause | What to check | | --- | --- | | Missing permission | Confirm the service user's role includes the required Django permission for the resource | | Missing scope | Confirm the token's scopes include the required scope for the operation (e.g., `admin_api:accounts:read` for read access) | | IP not allowlisted | Confirm the requesting IP address is on the service user's IP allowlist | Both the permissions/role and the scopes must be correct. Having one without the other will result in a rejected request. ## Manage Access You can update a service user's permissions, scopes, and IP allowlist without issuing a new token in most cases. ### Update Permissions or Role Changes to a service user's role or permissions take effect automatically, so no new token is needed. In Narmi Command, go to **Staff members** > **Staff** > select the service user and update the role or permissions as needed. ### Update Scopes To add or remove scopes, go to the service user's profile page via **Staff members** > **Staff** > select the service user > **Scopes**. ### Update the Allowed IP List To add or remove allowed IP addresses, go to the service user's profile and select **Allowed IPs**. ### Regenerate or Revoke a Token If a token is compromised or lost, you can regenerate or revoke the token. In Narmi Command, go to the service user's profile page via **Staff members** > **Staff** and select the user's name. On the profile page that appears, select the three dots > **Regenerate token**. This will send the service user a new email with a token link. You can also select **Revoke token**. There is no email sent for revoking a token.