Get accounts
Use this endpoint to retrieve a list of Accounts available to your API key. Use this when you need to discover which Accounts you have access to, find a specific Account by name, or load Account options into your UI.
Filtering options
companyIdquery parameter - filter by Company ID (8+ alphanumeric characters)namequery parameter - return Accounts whose name matchesfieldsquery parameter - comma-separated list of fields to return. Valid values:id,name,createdAt,updatedAt,companyId,fullRequest-Sourceheader - source of the request (api_native,api_zapier,api_salesforce,api_ftp,api_make)
Pagination
skipquery parameter - number of records to skip (default0)limitquery parameter - max records per page (1-1000, default100)
Please note
- The response wraps Accounts in a
resultsarray, withskipandlimitechoed back in the envelope.
Permissions
- Requires:
accounts:read
Authorizations
Company Level Authentication
Company level authentication provides access to all resources under your company, including accounts, campaigns, gifts, and recipients.
Getting Your API Key
- Create an API Key: Use the
POST /v2/authentication/apiKeysendpoint to generate a new API key - Set Expiration: Choose from 30, 60, 90, or 180 days (default: 90 days)
- Optional mTLS: Enable mutual TLS for enhanced security
- Name Your Key: Provide a descriptive name for easy identification
Using Your API Key
Include your API key in the X-Api-Key header for every request:
X-Api-Key: YOUR_24_CHARACTER_API_KEYAPI Key Management
- Maximum Keys: Up to 3 active API keys per company
- Rotation: Delete old keys before creating new ones when at the limit
- Security: Keys are hashed and cannot be retrieved after creation
Enhanced Security (mTLS)
For production environments, enable mutual TLS authentication:
- Set
enforceMtls: truewhen creating the API key - Contact support to obtain your client certificates
- Use the mTLS endpoint:
https://mtls-api.snappy.com/public-api
Headers
Source of the request
api_native, api_zapier, api_salesforce, api_ftp, api_make "api_native"
Query Parameters
Company ID
^[A-Za-z0-9]{8,}$"12345678"
The name of the account
"Snappy"
The fields that can be returned for the account. comma-separated format without whitespace in between. valid values are: id, name, createdAt, updatedAt, companyId, full.
1The fields that can be returned for the account. Valid values are: id, name, createdAt, updatedAt, companyId, full.
id, name, createdAt, updatedAt, companyId, full ["full"]Number of records to skip for pagination (use with limit for paging through results)
x >= 00
Maximum number of records to return per page
1 <= x <= 1000100