Read your marketplace's published content, submit leads and record events.
The CMS API gives you read access to the published content of your marketplace (listings, categories, filters, templates and marketplace settings), so you can build your own marketplace experience or show marketplace content on another site. It also lets you submit lead forms and record visitor events.
Which PartnerFleet API do I need?
| API | Use it to | Base URL | Key |
|---|---|---|---|
| CMS API (this one) | Read published marketplace content, submit leads, record events | https://<your-marketplace>.partnerfleet.app/api/v3 | An admin user's API key |
| Core API (Admin API v2) | Create, update and submit listings; keep customer accounts and attached integrations in sync | https://<your-marketplace>.partnerfleet.app/admin_api/v2 | A key from Settings → Advanced → API Keys |
| Admin API (v1) | Manage listing content, partners, partner accounts, users, submissions, leads, categories and filters | https://<your-marketplace>.partnerfleet.app/admin_api/api/admin | Your marketplace's Admin API key, issued by PartnerFleet |
| In-App API | Manage the partner integrations attached to your customers' accounts | https://<your-marketplace>.partnerfleet.app/in_app/api/in_app | A JWT signed by your backend |
Each API uses its own kind of key. You can use your marketplace's custom domain in place of the PartnerFleet subdomain.
Get an API key
Every CMS API endpoint requires an API key that belongs to an admin user of your marketplace. Each admin creates keys on their own account:
- In the PartnerFleet admin, open the account menu in the top right (your company logo and name) and click Account Management.
- In the menu on the left of your account page, click API Keys.
- Click New API Key, give it a name, optionally set an expiry date, and save.
- Copy the value in the Access Token column.
A key works only while its user is an admin, and only on the domains of the account it was created in.
Authenticate
Send the key in the Authorization header:
Authorization: Bearer <api-key>
You can also pass it as the api_key query parameter, but the header keeps the key out of URLs and logs. Requests without a valid key, with an expired key, or with a key whose user is not an admin return 401 Unauthorized.
Use your marketplace's domain
The domain identifies your account and the marketplace: listing search, category, filter and settings endpoints return data for the marketplace that serves the domain.
Pagination
The endpoints that list and search listings are paginated. They accept page (starting at 1) and per_page, and return the results in data and navigation URLs in links. first and last are always present; next and prev appear only when that page exists.
Other list endpoints return all results in a single response.
Errors
Errors return a JSON body with a single error message, for example { "error": "You are not authorized to access this page." }.
| Status | Meaning |
|---|---|
400 | A required parameter is missing or has the wrong type. |
401 | The API key is missing, invalid or expired, or does not belong to an admin user. |
404 | The requested record does not exist. |
Lead submissions report a rejected submission in the response body rather than with an error status; see Submit a lead.

