Skip to main content
POST
Create Feed Configuration
POST /v1/ims/feeds
AutoSnap-internal only. This endpoint is restricted to AutoSnap admin clients. Customers must email AutoSnap support to onboard a new IMS feed; non-admin API keys receive 403 ADMIN_REQUIRED.
Create a new IMS feed configuration. The system will poll the specified CSV file on SFTP every 60 seconds and import any changes into the ims_vehicle table. Before creating, the endpoint validates that:
  • The SFTP directory exists and contains the specified file
  • The file was modified within the last 48 hours (provider must be actively pushing)
  • No existing feed config exists for this dealership + provider combination

Request Body

Supported Providers

The provider field determines which field mapping is used to parse the CSV. The ftp_path field determines which directory on the SFTP server to look in. These may differ — for example, MaxDigital uses provider: "maxdigital" but ftp_path: "firstlook".

Example

Multi-dealer file example (ProMax)

When a provider sends all dealers in a single CSV, use dealer_identifier to filter:

Response

The feed configuration is immediately active. The system polls SFTP every 60 seconds, checking for changes to the specified file.
The first import will not occur until the provider pushes a file. Creating a feed config tells AutoSnap where to look — but if the provider hasn’t sent the file yet, there is nothing to import. The 60-second polling means that once the file arrives, it will be picked up within a minute.To know when the first import completes, subscribe to the ims.import.complete webhook event before creating the feed config. This webhook fires as soon as the file is successfully parsed and all vehicles are imported. You can then call GET /v1/ims/vehicles to retrieve the inventory.If the file is already present on SFTP when you create the config (verified by the 48-hour freshness check), the first import will typically complete within 60 seconds.

Errors

Body

application/json
api_key
string
required
dealership_id
string
required

Public ID (e.g. dlr_xxx) or internal ID

provider
enum<string>
required
Available options:
vauto,
homenet,
vincue,
promax,
maxdigital,
inventoryplus,
dealercenter,
idms,
ansira
ftp_path
string
required

Provider directory name on SFTP (e.g. vauto, firstlook)

file_name
string
required

Exact CSV filename on SFTP (e.g. MP14015.csv)

dealer_identifier
string | null

Dealer ID within the CSV for multi-dealer files

staleness_threshold_hours
integer
default:48

Response

Feed created