Developers

Vidifye Partner API

Create seller accounts, post video ads and add 360° spins to Vidifye listings from your own platform.

Base URLhttps://vidifye.com/api/v1 Version1.1

1Overview

The Partner API is a server-to-server JSON API for platforms that manage listings for their customers, such as dealer software or inventory tools. With one API key you can:

Accounts

Create Vidifye accounts for your customers, with an optional business profile, a complimentary plan or a free trial.

Ads and video

Post their ads, video included, and submit them for review.

360° spins

Attach a spin that plays natively on the listing page and in the Vidifye apps (no iframe).

All requests and responses are JSON over https. The full machine-readable contract is the OpenAPI 3.1 spec.

2Authentication

Keys are issued by Vidifye. Contact us to become a partner. A key looks like vfk_…. We send it to you once, so store it as a secret. If it is lost, we issue a new one. Send it on every request:

Authorization: Bearer vfk_your_key

Each key has scopes, an optional expiry date and a per-minute rate limit. Vidifye can rotate or revoke a key at any time.

Your accounts only. A key only sees the accounts it created and their ads; anything else answers 404.
ScopeAllows
readRead your key, accounts, ads, spins and categories
accounts:writeCreate accounts and set their complimentary plan
ads:writeCreate, edit and submit ads; add videos
spins:writeAttach and remove 360° spins

Check what your key can do with GET /Partner/me.

3Quick start

Four calls take a seller from nothing to an ad waiting for review.

  1. Create the seller’s account

    Here with a business profile (logo and banner included) and 30 complimentary days. See Business profile for every field.

    curl -X POST https://vidifye.com/api/v1/Partner/accounts \
      -H "Authorization: Bearer $VIDIFYE_KEY" -H "Content-Type: application/json" \
      -d '{"email":"jane@janemotors.example","name":"Jane Doe","language":"en",
           "terms_accepted":true,"comp_days":30,
           "business":{"name":"Jane Motors","website":"https://janemotors.example",
             "location":{"address":"1234 Boul. Taschereau, Longueuil, QC"},
             "logo":{"url":"https://cdn.janemotors.example/logo.png"},
             "banner":{"url":"https://cdn.janemotors.example/showroom.jpg"}}}'
  2. Post an ad

    seller_id is the account id returned above. Vidifye fetches the video from your link.

    curl -X POST https://vidifye.com/api/v1/Partner/ads \
      -H "Authorization: Bearer $VIDIFYE_KEY" -H "Content-Type: application/json" \
      -d '{"seller_id":2040,"external_ref":"STK-1001","title":"2025 Kawasaki Ridge XR",
           "description":"One owner, HVAC cab.","category":"Motorcycle/ATV","price":28995,
           "condition":"used","location":{"address":"Montréal, QC"},
           "video":{"url":"https://cdn.example.com/stk-1001.mp4"}}'
  3. Add the 360° spin optional

    curl -X POST https://vidifye.com/api/v1/Partner/ads/4092/spin \
      -H "Authorization: Bearer $VIDIFYE_KEY" -H "Content-Type: application/json" \
      -d '{"manifest_url":"https://api.example.com/spins/140343.json","vendor":"Example Spins"}'
  4. Submit it for review

    The ad becomes pending, and the Vidifye team publishes it.

    curl -X POST https://vidifye.com/api/v1/Partner/ads/4092/submit \
      -H "Authorization: Bearer $VIDIFYE_KEY" -H "Content-Type: application/json" \
      -d '{"terms_accepted":true}'

4Accounts

How your customers sign in

Your key has one onboarding mode, agreed with Vidifye:

Invite default

Vidifye emails your customer a link to choose their password, valid for 72 hours. The account shows status: "invited" until they do.

Pre-verified

No email is sent. The response carries set_password.url (valid for 72 hours), which you pass on to your customer.

Partner password

You send password (10 characters or more) and the account is ready at once.

Consent required. Every request must confirm "terms_accepted": true: your customer accepted the Vidifye Terms of Use and Privacy Policy.

Complimentary plans and trials

  • comp_days gives the new account your agreed plan (Premium or Business) free for that many days, up to your key’s limit, if your key allows it. If you leave it out, your key’s default applies.
  • trial: true starts a 30-day Business trial with no card, where your key allows trials.
  • When both apply, the one that lasts longer wins.
  • A business profile appears as a storefront while the account has a Business plan.
  • Vidifye reminds the user three days before a free period ends.

5Business profile

Send business when you create the account, or set it later with PATCH /Partner/accounts/{id}/business. On a later PATCH, only the fields you send change, and null clears a field or removes an image. The profile becomes a public storefront while the account has a Business plan.

FieldValue
nameRequired when the business is created (max 100 characters)
descriptionStorefront text. Basic formatting is kept (paragraphs, bold, italics, lists, links).
location{"address": "…"}, geocoded like an ad. Send latitude and longitude as well to set the map pin yourself.
phone, websiteContact details; website is an http(s) URL
social_facebook, social_instagram, social_twitter, social_linkedin, social_youtubeFull profile URLs
primary_color, secondary_colorBrand colors, like "#0b3d91"
finance_linkFinancing application link shown on the business’s ads
logo, banner, finance_qrImages: {"url": "https://…"} or {"base64": "…"}. The banner is the storefront cover (wide, about 1920×480).
Images. PNG, JPEG or WebP, at most 10 MB each. A URL must be public https and answer directly (no redirects) within 15 seconds: Vidifye downloads it once and hosts its own copy. base64 may be bare base64 or a data:image/…;base64, URI. A bad image fails the whole call, and nothing is created.
curl -X PATCH https://vidifye.com/api/v1/Partner/accounts/2040/business \
  -H "Authorization: Bearer $VIDIFYE_KEY" -H "Content-Type: application/json" \
  -d '{"phone":"+1 450 555 0123",
       "banner":{"url":"https://cdn.janemotors.example/summer-sale.jpg"},
       "finance_qr":null}'

The verified badge and the active flag are set by Vidifye and cannot be changed through the API. If the user joined another company’s team in the app, that business is not yours to change (409 business_managed_elsewhere).

6Ads and video

Ads follow the same rules as ads posted in the Vidifye app.

  • Category: send category_id, or category with the category’s name in English or French (see Categories).
  • Before you submit, an ad needs a title, a description, a category, and a price or "price_on_request": true. problems lists whatever is missing.
  • Video comes from a public https link, or you upload the file yourself to a one-time URL. Encoding is asynchronous: video.status goes from processing to ready. The playable length depends on the seller’s plan.
  • No duplicates. Give each ad your own external_ref (stock number, VIN): if you repeat the call with the same reference, you get the existing ad back.

7Categories

Use the id as category_id, or the name as category (case does not matter, and the French name works too). Categories can change, so read the live list from GET /Partner/categories.

All categories (44)
idName
2Antiques
3Appliances
4Art/Design
5Auto Parts
6Baby/Accessories
7Beauty/Health
8Bicycle
9Boats/Marine
10Building/Construction
11Business
12Camping/Accessories
13Cars/Vehicles
14Cigar/Vape
44Cleaning Services
15Clothes/Accessories
16Computer/Electronics
43Counseling
17Dental
18Entertainment
19Events
20Florist
21Food/Drink
22Furniture/Household
46Hobbies/Collectibles
23Home Improvement
24Homes For Sale
25Jewelry
26Lawn/Garden
27Local Events
28Motorcycle Parts
29Motorcycle/ATV
30Moving/Shipping
31Music Gigs/Video
32Music Instruments
33Party Services
34Pet/Supplies
35Photo/Video
36Rentals/Apartments/Rooms
37Rentals/Homes
38Rentals/Office/Business
39Rentals/Vacation
40Sporting
41Tattoo
42Wedding

8360° spins

A spin is a set of photos taken at even angles around the item. Visitors drag to turn it, on the web and in the apps. You give Vidifye the URL of a manifest, and Vidifye reads it again whenever your frame links are about to expire, so short-lived signed URLs are fine. The manifest must:

  • be JSON, served over https from a public host, without redirects, within 5 seconds and under 1 MB;
  • list 8 to 360 frames as https image URLs (WebP or JPEG, about 1,500 px wide), in order;
  • optionally say when to read it again (refreshAfterMs).
{
  "status": "ready",
  "refreshAfterMs": 6900000,
  "frames": [
    { "order": 0, "url": "https://cdn.example.com/spin/140343/0.webp" },
    { "order": 1, "url": "https://cdn.example.com/spin/140343/1.webp" }
  ]
}

The object may also be wrapped in {"data": …}, and frames may be a plain list of URLs.

9Endpoint reference

Paths are relative to https://vidifye.com/api/v1.

Key

EndpointScopeWhat it does
GET /Partner/mereadYour key: scopes, expiry, limits and settings
GET /Partner/categoriesreadCategories for category_id / category

Accounts

EndpointScopeWhat it does
POST /Partner/accountsaccounts:writeCreate a seller account (and business)
GET /Partner/accountsreadList your accounts (?email=, ?page=)
GET /Partner/accounts/{id}readOne account: status, plan, business
PATCH /Partner/accounts/{id}/compaccounts:writeRun the complimentary plan days from now (0 ends it)
PATCH /Partner/accounts/{id}/businessaccounts:writeCreate or change the business profile (fields, logo, banner)

Ads

EndpointScopeWhat it does
POST /Partner/adsads:writeCreate an ad (draft)
GET /Partner/adsreadList your accounts’ ads (?seller_id=, ?external_ref=)
GET /Partner/ads/{id}readOne ad, with video status and what blocks submission
PATCH /Partner/ads/{id}ads:writeEdit an ad
POST /Partner/ads/{id}/submitads:writeSubmit for review

Video

EndpointScopeWhat it does
POST /Partner/ads/{id}/videoads:writeAdd the video from a public https link
POST /Partner/ads/{id}/video/upload-urlads:writeGet a one-time URL to upload the file yourself

360° spins

EndpointScopeWhat it does
POST /Partner/ads/{id}/spinspins:writeAttach or replace the 360° spin
GET /Partner/ads/{id}/spinreadThe spin and its last check
DELETE /Partner/ads/{id}/spinspins:writeRemove the spin

10Errors and limits

Every error uses the same format. Branch on code; the message is for humans and may change.

{
  "error": {
    "code": "validation_failed",
    "message": "title must be 1-200 characters.",
    "field": "title"
  }
}
HTTPCodes
400invalid_json
401invalid_key, key_revoked, key_inactive, key_expired
403insufficient_scope (with required_scope)
404not_found: does not exist, or was not created with your key
409email_taken, comp_managed_by_vidifye, business_managed_elsewhere
422validation_failed, comp_not_allowed, comp_exceeds_limit, trial_not_allowed, ad_incomplete, ad_rejected, invalid_manifest, manifest_not_ready, manifest_unreachable, invalid_image, image_unreachable
429rate_limited (see Retry-After), account_cap_reached, conflict_limit, busy
5xxserver_error, video_fetch_failed, video_unavailable, unavailable: retry later
Limits. Each key has a per-minute request limit (60 by default) and a daily account limit. Requests for email addresses that already have a Vidifye account count against a separate daily allowance.

11Changelog

  • 1.1 Base URL without .admin (the old one keeps working). Full business profile with logo, banner and finance QR; PATCH /Partner/accounts/{id}/business; ads accept a category name.
  • 1.0 First release: keys, accounts, ads, video, 360° spins.