# Quickstart Read your own listings and create your first draft from your application server. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## 1. Prepare access In an authorized environment, issue a key under Settings → API integrations in Motano. Select listings:read and listings:write. Set MOTANO_API_ORIGIN to your authorized test environment, such as http://localhost:3001. Store the key as MOTANO_API_KEY in your server’s secret store. ## 2. Read your listings An empty account returns an empty items array. Use nextCursor to fetch the next page. ```bash curl --fail-with-body --request GET \ --url "${MOTANO_API_ORIGIN}/api/v1/listings?limit=25" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" ``` ## 3. Create a draft Assign a unique UUID to each new operation. Keep the draft ID and response ETag so you can safely complete the listing. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/listings/drafts" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Idempotency-Key: ${MOTANO_IDEMPOTENCY_KEY}" \ --header "Content-Type: application/json" \ --dump-header - \ --data '{ "listingTypeValue": "osobowe" }' ``` ## 4. Prepare to publish Read listing-types for the requirements, prepare photos and complete the draft. After submission, check status and publicationState. For paid flows, direct the owner to their signed-in Motano account. ## API reference - [List your own listings](/en/reference/listListings/) - [Create a listing draft](/en/reference/createListingDraft/) - [List listing types](/en/reference/listListingTypes/) - [Submit a draft for publication](/en/reference/publishListingDraft/) --- # Get API access An integration acts on behalf of a private seller or dealer account owner. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Pilot access Production REST access is closed. In a pilot environment, Motano restricts access to approved accounts. Use an authorized local or test environment. ## Issue a key Sign in to Motano and open Settings → API integrations. Name the key and choose its scopes. Confirm with the code sent to your verified email address. The code is valid for 10 minutes. Copy the key when it is displayed after issuance. ## Rotate or revoke a key A key is valid for 90 days. Rotation immediately revokes the previous key, so update your integration’s secret store. You can revoke a key from the same account section. ## API reference - [List your own listings](/en/reference/listListings/) --- # Authentication and scopes Call the API from your server with a Bearer key and use HTTPS in production. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Authorization header Send Authorization: Bearer $MOTANO_API_KEY. Use a dedicated key for the integration and grant only the scopes it needs. Keep keys server-side, out of client code, history and logs. ```bash curl --fail-with-body --request GET \ --url "${MOTANO_API_ORIGIN}/api/v1/listings?limit=25" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" ``` ## Key scopes listings:read reads your listings, private previews and catalogs. listings:write changes listings, previews an unsaved listing and looks up CEPiK when enabled. media:write reserves, completes and checks photo uploads. statistics:read covers statistics and CSV exports. payments:read reads billing information and downloads documents. invoices:retry retries invoice issuance. ## Integration boundary Access uses account keys. OAuth application registration is unavailable. The REST API is intended for server-to-server integrations. ## API reference - [List your own listings](/en/reference/listListings/) --- # Local testing Exercise HTTP requests, response parsing and error handling before you get access. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Choose your environment The local simulator returns synthetic fixtures for every operation. Use it to check your HTTP client, headers, formats and parsers. An authorized Motano test installation is where you verify business behavior. ## Make a read and a write Start the simulator from Tools. Set MOTANO_API_ORIGIN to http://127.0.0.1:3201 and use the motano-docs-demo key. Creating a draft returns a fixed response without persisting listings. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/listings/drafts" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Idempotency-Key: ${MOTANO_IDEMPOTENCY_KEY}" \ --header "Content-Type: application/json" \ --dump-header - \ --data '{ "listingTypeValue": "osobowe" }' ``` ## Exercise failure paths Set X-Motano-Mock-Scenario to rate-limit for 429 or unavailable for 503. Wait before retrying when the response includes Retry-After. The response identifies the local simulator with X-Motano-Mock. ## API reference - [List your own listings](/en/reference/listListings/) - [Create a listing draft](/en/reference/createListingDraft/) - [Update a listing](/en/reference/updateListing/) - [Get checkout status](/en/reference/getOwnerCheckoutStatus/) --- # From draft to publication Combine catalog lookup, photo uploads, resource versions and visibility checks in one integration. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## 1. Read the form rules Fetch the listing types and matching catalogs. Keep the form version. Identify required and conditional fields and the minimum photo count for the chosen type. ```bash curl --fail-with-body --request GET \ --url "${MOTANO_API_ORIGIN}/api/v1/listing-types" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" ``` ## 2. Create a draft and keep its ID Create a draft with a unique Idempotency-Key. Map the Motano ID to your own record and keep the response ETag. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/listings/drafts" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Idempotency-Key: ${MOTANO_IDEMPOTENCY_KEY}" \ --header "Content-Type: application/json" \ --dump-header - \ --data '{ "listingTypeValue": "osobowe" }' ``` ## 3. Wait for ready photos Reserve a file, upload it with the reservation headers, complete the upload and check its status. Omit the Motano Bearer key when uploading to the signed URL. Attach only ready IDs to the listing. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/media" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Content-Type: application/json" \ --data '{ "contentType": "image/jpeg", "sizeBytes": 124000, "category": "osobowe" }' ``` ## 4. Complete the draft and submit it Complete the listing with the current ETag as If-Match and a new idempotency key. Use the returned ETag when submitting for publication. If the API returns paymentPath, send the owner to their signed-in Motano account. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/listings/${MOTANO_LISTING_ID}/publish" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Idempotency-Key: ${MOTANO_IDEMPOTENCY_KEY}" \ --header "If-Match: ${MOTANO_LISTING_ETAG}" \ --header "Content-Type: application/json" \ --dump-header - \ --data '{ "packageTier": "free" }' ``` ## 5. Synchronize visibility Poll the detail endpoint at reasonable intervals. Show the status returned by the API. Display the public link once publicPath has a value and status and publicationState indicate visibility. ```bash curl --fail-with-body --request GET \ --url "${MOTANO_API_ORIGIN}/api/v1/listings/${MOTANO_LISTING_ID}" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --dump-header - ``` ## API reference - [List listing types](/en/reference/listListingTypes/) - [Create a listing draft](/en/reference/createListingDraft/) - [Reserve a photo upload](/en/reference/reserveListingPhoto/) - [Complete a photo upload](/en/reference/completeListingPhoto/) - [Get photo status](/en/reference/getListingPhotoStatus/) - [Update a listing](/en/reference/updateListing/) - [Submit a draft for publication](/en/reference/publishListingDraft/) - [Get your own listing](/en/reference/getListing/) --- # Listing lifecycle Prepare, publish, update and close listings owned by your account. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Listing type and fields Fetch listing-types for the form version, required fields, conditions and minimum photo count. Use sale or rent in details.offerMode. Rentals are monthly and parts are listed for sale. Fetch matching equipment from the catalog. ## Draft, preview and duplicate A draft only requires listingTypeValue. You can preview a saved listing or incomplete data as JSON before saving. A duplicate is a separate draft on the free package with no photos, vehicle identifiers, mileage, promotions or payments copied over. ## Writes and concurrent edits For a new mutation, send a UUID as Idempotency-Key. Retry the identical request with the same key for up to 7 days. For changes to an existing listing, send its current ETag in If-Match. After a 412, fetch the latest version and reconcile changes before retrying. ## Publish, renew and close Read the status after submission. A public listing has status active and publicationState public. You can reopen an expired listing or renew an active listing within two days of expiry. Close as sold or withdrawn. After a sale or expiry, you can submit feedback. ## API reference - [List listing types](/en/reference/listListingTypes/) - [Create a listing draft](/en/reference/createListingDraft/) - [Create and submit a listing](/en/reference/submitListing/) - [Get your own listing](/en/reference/getListing/) - [Preview a saved listing](/en/reference/previewSavedListing/) - [Preview without saving](/en/reference/previewListingDraft/) - [Update a listing](/en/reference/updateListing/) - [Duplicate a listing as a draft](/en/reference/duplicateListing/) - [Submit a draft for publication](/en/reference/publishListingDraft/) - [Renew a listing](/en/reference/renewListing/) - [Close a listing](/en/reference/closeListing/) - [Submit feedback after archiving](/en/reference/submitArchiveFeedback/) --- # Photos and uploads Reserve uploads through the API and attach processed photo IDs to listings. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## 1. Reserve the upload Supply the category, JPEG, PNG, WebP or AVIF MIME type, and the exact size in bytes. Limits are 10 MiB per file and 300 reservations or 500 MiB per account per day. Daily limits reset at midnight UTC. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/media" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Content-Type: application/json" \ --data '{ "contentType": "image/jpeg", "sizeBytes": 124000, "category": "osobowe" }' ``` ## 2. Upload and complete PUT the raw file to uploadUrl with the headers returned by the reservation. The URL expires after 10 minutes. Send the Bearer key only to the Motano API. Then complete the upload for the returned ID and poll until ready or failed. ## 3. Attach a ready photo Pass the ID in images and arrange items in the desired order. On update, you can include existing:… references from the detail response. Private photo previews require listings:read. ## API reference - [Reserve a photo upload](/en/reference/reserveListingPhoto/) - [Complete a photo upload](/en/reference/completeListingPhoto/) - [Get photo status](/en/reference/getListingPhotoStatus/) - [Download a private photo preview](/en/reference/downloadOwnedListingImagePreview/) --- # Catalogs and vehicle data Choose valid form values and look up supporting data before publishing. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Makes, models, generations and equipment Use either scope or listingTypeValue. Pass makeId to the models catalog and modelId to the generations catalog. Use the generation name if its catalog id is null. Use stable IDs and keys from the same scope. ## Parts tree Supply listingTypeValue. Browse branches with repeated path parameters or search with q of at least two characters. Leaf results include details values to save. ```bash curl --fail-with-body --request GET \ --url "${MOTANO_API_ORIGIN}/api/v1/catalog/part-categories?listingTypeValue=czesci-samochodowe&q=chlodnic&limit=20" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" ``` ## Addresses, prices and CEPiK Address suggestions cover Poland and require a configured provider. The price barometer compares similar listings for sale. An estimate of null means a comparison is unavailable. CEPiK requires separate enablement and an authorized lookup with VIN, registration number and first registration date. ## API reference - [List makes](/en/reference/getCatalogMakes/) - [List models](/en/reference/getCatalogModels/) - [List generations](/en/reference/getCatalogGenerations/) - [List equipment and options](/en/reference/getCatalogEquipment/) - [List packages and promotions](/en/reference/getCatalogPromotions/) - [Browse and search parts categories](/en/reference/listPartCategories/) - [Suggest addresses](/en/reference/suggestListingAddresses/) - [Compare a listing price](/en/reference/estimateListingPrice/) - [Look up vehicle data in CEPiK](/en/reference/lookupCepikVehicle/) --- # Statistics and exports Read account statistics with a key that has statistics:read. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Date range and filters Read the filter values and then send range and filters in the statistics query. The result includes a summary, one page of listings and metadata. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/statistics/listings" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Content-Type: application/json" \ --data '{ "range": { "preset": "30" }, "filters": { "status": "active" }, "page": 1, "limit": 25 }' ``` ## Listing details The detail view includes daily series, the funnel, price history and a market comparison for that listing. ## CSV export Send the filters to the export endpoint to download matching listings as CSV. Keep the file, response headers and request identifier separate when diagnosing an error. ```bash curl --fail-with-body --request POST \ --url "${MOTANO_API_ORIGIN}/api/v1/statistics/export" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" \ --header "Content-Type: application/json" \ --data '{ "range": { "preset": "30" }, "filters": { "status": "active" } }' \ --output statistics.csv ``` ## API reference - [List statistics filters](/en/reference/listStatisticsFilters/) - [Get seller statistics](/en/reference/listOwnerStatistics/) - [Get listing statistics](/en/reference/getOwnerListingStatistics/) - [Export statistics as CSV](/en/reference/exportOwnerStatistics/) --- # Payments, invoices and corrections Prepare a paid purchase in the API and send the owner to Motano to confirm it. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Prepare checkout Paid publication, renewal and promotion require REST payments to be enabled separately. The API calculates payment.amountCents and returns paymentPath. The owner opens the path in their signed-in account, confirms the terms and pays through Stripe. New purchases return PAYMENTS_DISABLED when the feature is off. ## Checkout status and history Keep payment.id and read the recorded checkout status. When pending, checkoutState distinguishes awaiting_confirmation, opening and awaiting_payment. History includes paid or refunded payments. Amounts use PLN minor units. ```bash curl --fail-with-body --request GET \ --url "${MOTANO_API_ORIGIN}/api/v1/payments/${MOTANO_PAYMENT_ID}/checkout" \ --header "Authorization: Bearer ${MOTANO_API_KEY}" ``` ## Documents and retries The owner’s invoices and corrections are available in HTML or XML. Billing details come from the most recent paid purchase with saved details. Retrying issuance requires invoices:retry and uses the billing details saved at purchase. Check the response for accepted, failed or sending. ## API reference - [List packages and promotions](/en/reference/getCatalogPromotions/) - [Prepare a promotion purchase](/en/reference/prepareListingPromotion/) - [Get checkout status](/en/reference/getOwnerCheckoutStatus/) - [List your payments](/en/reference/listOwnerPayments/) - [Get saved billing details](/en/reference/getOwnerSavedInvoiceBilling/) - [Download an invoice](/en/reference/downloadOwnerInvoice/) - [Download an invoice correction](/en/reference/downloadOwnerCorrection/) - [Retry invoice issuance](/en/reference/retryOwnerInvoice/) --- # Errors, limits and retries Handle responses by HTTP status and the code field. Keep requestId for troubleshooting. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Request errors 400 indicates invalid input, 401 means there is no valid key, 403 means a missing scope, and 404 means the resource is unavailable to the account. 422 indicates form validation failed. API message text may be in Polish even when you use the English documentation. ## Conflicts and listing versions 409 may indicate a state conflict or an idempotency key reused with a different payload. 428 means If-Match is missing, and 412 means the ETag is stale. On an identical write retry, reuse the original Idempotency-Key. ## Rate limits and availability The API has limits of 60 requests per minute per key and 300 per minute per IP, with lower limits for selected operations. After a 429, wait for Retry-After when present. On a 503, read code. INTEGRATION_UNAVAILABLE can indicate closed access or temporary unavailability. For CEPIK_DISABLED or PAYMENTS_DISABLED, wait for enablement before retrying. ## Limits by operation Listing writes allow 10 per minute and 50 per hour per account. Photo reservations allow 30 per minute, plus daily limits on file count and size. CEPiK allows 6 per minute and 30 per hour per account, and 60 per minute across the integration. Address suggestions allow 20 per minute per account, and 120 per minute across the integration. The price barometer allows 20 per minute per account. Per account, statistics allow 10 reads and 3 CSV exports per minute. Billing limits per minute are 20 payment-history reads, 10 billing-detail reads, 30 checkout-status reads and 20 document downloads. Invoice issuance allows 3 retries per 10 minutes and 8 per hour. ## API reference - [List your own listings](/en/reference/listListings/) - [Update a listing](/en/reference/updateListing/) - [Look up vehicle data in CEPiK](/en/reference/lookupCepikVehicle/) - [Prepare a promotion purchase](/en/reference/prepareListingPromotion/) --- # Prepare to go live An integration checklist for enabling listing writes in an authorized environment. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Credentials and environments Use separate keys per environment and grant the minimum scopes. Keep the key on your server. Verify rotation and your client behavior on 401 and 403. ## Recovery and retries Keep operation identifiers and requestId. Check replay of the same write with the original Idempotency-Key. On 412, fetch the current ETag. Apply delays after 429 and transient 503 responses. ## Verify the target environment Before enabling traffic, check photos, draft writes, moderation, listing status and your own account permissions. If you use payments, renewals or CEPiK, check their availability separately. ## Check access Production REST access remains closed. Check the Availability page for the current status. When access opens, start with a small number of operations and monitor failures before increasing traffic. ## API reference - [List your own listings](/en/reference/listListings/) - [Get your own listing](/en/reference/getListing/) - [Update a listing](/en/reference/updateListing/) - [Get checkout status](/en/reference/getOwnerCheckoutStatus/) --- # FAQ Answers to common questions before integrating with Motano. > Production access is closed · Checked on 24 November 2026 · INTEGRATION_UNAVAILABLE ## Can I make a production request now? Production access is closed. Run examples in an authorized test installation. A public sandbox is currently unavailable. ## Can I read listings from other sellers? The REST list and detail endpoints return listings owned by the key owner. Marketplace search for other sellers’ listings is planned. ## How can I tell whether a listing is visible? Fetch the listing after saving. Look for status active, publicationState public and publicPath. Drafts, moderation and pending payments have different states. ## How do I report a problem? Use the Motano Help Center. Include the method, path, time, HTTP status, code and requestId. Remove keys, signed URLs and personal data from diagnostic material. ## API reference - [Get your own listing](/en/reference/getListing/) - [Get checkout status](/en/reference/getOwnerCheckoutStatus/)