Developers
Vidifye Partner API
Create seller accounts, post video ads and add 360° spins to Vidifye listings from your own platform.
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.
404.| Scope | Allows |
|---|---|
read | Read your key, accounts, ads, spins and categories |
accounts:write | Create accounts and set their complimentary plan |
ads:write | Create, edit and submit ads; add videos |
spins:write | Attach 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.
-
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"}}}' -
Post an ad
seller_idis the accountidreturned 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"}}' -
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"}' -
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.
"terms_accepted": true: your customer accepted the Vidifye Terms of Use and Privacy Policy.Complimentary plans and trials
comp_daysgives 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: truestarts 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.
| Field | Value |
|---|---|
name | Required when the business is created (max 100 characters) |
description | Storefront 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, website | Contact details; website is an http(s) URL |
social_facebook, social_instagram, social_twitter, social_linkedin, social_youtube | Full profile URLs |
primary_color, secondary_color | Brand colors, like "#0b3d91" |
finance_link | Financing application link shown on the business’s ads |
logo, banner, finance_qr | Images: {"url": "https://…"} or {"base64": "…"}. The banner is the storefront cover (wide, about 1920×480). |
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, orcategorywith 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.problemslists 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.statusgoes fromprocessingtoready. 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)
| id | Name |
|---|---|
| 2 | Antiques |
| 3 | Appliances |
| 4 | Art/Design |
| 5 | Auto Parts |
| 6 | Baby/Accessories |
| 7 | Beauty/Health |
| 8 | Bicycle |
| 9 | Boats/Marine |
| 10 | Building/Construction |
| 11 | Business |
| 12 | Camping/Accessories |
| 13 | Cars/Vehicles |
| 14 | Cigar/Vape |
| 44 | Cleaning Services |
| 15 | Clothes/Accessories |
| 16 | Computer/Electronics |
| 43 | Counseling |
| 17 | Dental |
| 18 | Entertainment |
| 19 | Events |
| 20 | Florist |
| 21 | Food/Drink |
| 22 | Furniture/Household |
| 46 | Hobbies/Collectibles |
| 23 | Home Improvement |
| 24 | Homes For Sale |
| 25 | Jewelry |
| 26 | Lawn/Garden |
| 27 | Local Events |
| 28 | Motorcycle Parts |
| 29 | Motorcycle/ATV |
| 30 | Moving/Shipping |
| 31 | Music Gigs/Video |
| 32 | Music Instruments |
| 33 | Party Services |
| 34 | Pet/Supplies |
| 35 | Photo/Video |
| 36 | Rentals/Apartments/Rooms |
| 37 | Rentals/Homes |
| 38 | Rentals/Office/Business |
| 39 | Rentals/Vacation |
| 40 | Sporting |
| 41 | Tattoo |
| 42 | Wedding |
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
| Endpoint | Scope | What it does |
|---|---|---|
GET /Partner/me | read | Your key: scopes, expiry, limits and settings |
GET /Partner/categories | read | Categories for category_id / category |
Accounts
| Endpoint | Scope | What it does |
|---|---|---|
POST /Partner/accounts | accounts:write | Create a seller account (and business) |
GET /Partner/accounts | read | List your accounts (?email=, ?page=) |
GET /Partner/accounts/{id} | read | One account: status, plan, business |
PATCH /Partner/accounts/{id}/comp | accounts:write | Run the complimentary plan days from now (0 ends it) |
PATCH /Partner/accounts/{id}/business | accounts:write | Create or change the business profile (fields, logo, banner) |
Ads
| Endpoint | Scope | What it does |
|---|---|---|
POST /Partner/ads | ads:write | Create an ad (draft) |
GET /Partner/ads | read | List your accounts’ ads (?seller_id=, ?external_ref=) |
GET /Partner/ads/{id} | read | One ad, with video status and what blocks submission |
PATCH /Partner/ads/{id} | ads:write | Edit an ad |
POST /Partner/ads/{id}/submit | ads:write | Submit for review |
Video
| Endpoint | Scope | What it does |
|---|---|---|
POST /Partner/ads/{id}/video | ads:write | Add the video from a public https link |
POST /Partner/ads/{id}/video/upload-url | ads:write | Get a one-time URL to upload the file yourself |
360° spins
| Endpoint | Scope | What it does |
|---|---|---|
POST /Partner/ads/{id}/spin | spins:write | Attach or replace the 360° spin |
GET /Partner/ads/{id}/spin | read | The spin and its last check |
DELETE /Partner/ads/{id}/spin | spins:write | Remove 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"
}
}
| HTTP | Codes |
|---|---|
| 400 | invalid_json |
| 401 | invalid_key, key_revoked, key_inactive, key_expired |
| 403 | insufficient_scope (with required_scope) |
| 404 | not_found: does not exist, or was not created with your key |
| 409 | email_taken, comp_managed_by_vidifye, business_managed_elsewhere |
| 422 | validation_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 |
| 429 | rate_limited (see Retry-After), account_cap_reached, conflict_limit, busy |
| 5xx | server_error, video_fetch_failed, video_unavailable, unavailable: retry later |
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 acategoryname. - 1.0 First release: keys, accounts, ads, video, 360° spins.