Is AI recommending you? Ask Contentstack Canoe for free
Is AI recommending your brand? Find out with Contentstack Canoe for free
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Contentstack for Developers
  • Agents Start Here
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • The Forrester Wave™: Digital Experience Platforms, Q4 2025
  • Webinars
  • Glossary
  • Content generative library
  • Community

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.
/
  1. Home
  2. APIs
  3. Lytics Management API
  4. Content Import

Content Import

markdownView as Markdown

Import entries from a project's Contentstack stacks into Lytics, and manage those imports.

List all content imports across the project

GEThttps://lytics-api.contentstack.com/projects/{id}/content-import

undefined

Sample Response
Status|200 OK
1
Content imports

Look up the titles of imported entries, from the stacks the project's content sources read, as the caller. Uids with no title found are left out.

GEThttps://lytics-api.contentstack.com/projects/{id}/content-import/entries

undefined

Sample Response
Status|200 OK
12345678
{
  "entries": [
    {
      "uid": "blt1234567890abcdef",
      "title": "Cutting delivery emissions in half"
    }
  ]
}

Get a single content import

GEThttps://lytics-api.contentstack.com/projects/{id}/content-import/{importId}

undefined

Sample Response
Status|200 OK
1
Content import

Edit a content import, or reconnect it under a newly authorized delivery token. Entries already read are kept. A completed import is created again, so the returned id can differ from the one given.

PATCHhttps://lytics-api.contentstack.com/projects/{id}/content-import/{importId}

undefined

Sample Request
12345678910111213
{
  "deliveryTokenUid": "blt1234567890abcdef",
  "contentTypes": [
    "destination",
    "article"
  ],
  "domain": "wanderlust.com",
  "taxonomies": [
    "activities"
  ],
  "tagsAsTopics": true,
  "keepUpdated": true
}
Sample Response
Status|200 OK
1
Import updated

Delete a content import

DELETEhttps://lytics-api.contentstack.com/projects/{id}/content-import/{importId}

undefined

Sample Response
Status|204 No Content
1
Import deleted

Authorize a stack for Content Import

POSThttps://lytics-api.contentstack.com/projects/{id}/content-import/stacks/{stackApiKey}/authorize

undefined

Sample Request
12345
{
  "deliveryTokenUid": "blt1234567890abcdef",
  "checkOnly": false,
  "refresh": false
}
Sample Response
Status|200 OK
1
Stack authorized

Create a content import under a stack

POSThttps://lytics-api.contentstack.com/projects/{id}/content-import/stacks/{stackApiKey}

undefined

Sample Request
1234567891011121314
{
  "deliveryTokenUid": "blt1234567890abcdef",
  "label": "Destinations Import",
  "contentTypes": [
    "destination",
    "article"
  ],
  "domain": "wanderlust.com",
  "taxonomies": [
    "activities"
  ],
  "tagsAsTopics": true,
  "keepUpdated": true
}
Sample Response
Status|201 Created
1
Import created

Pause a content import

POSThttps://lytics-api.contentstack.com/projects/{id}/content-import/{importId}/pause

undefined

Sample Response
Status|204 No Content
1
Import pausing

Resume a paused content import, or run a sleeping one now

POSThttps://lytics-api.contentstack.com/projects/{id}/content-import/{importId}/run

undefined

Sample Response
Status|204 No Content
1
Import running
Hide Parameters

URL Parameters

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

idrequiredstring

Project UID

Query Parameters

uidsrequiredstring

Comma-separated entry uids, at most 50

uidsrequiredstring

Comma-separated entry uids, at most 50

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

importIdrequiredstring

Lytics job id

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

importIdrequiredstring

Lytics job id

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Body Parameters

deliveryTokenUidoptionalstring

Reconnect: the delivery token the import runs under from now on. Must already be authorized for the import's stack.

contentTypesoptionalstring[]

Content type uids to import. At least one when given.

domainoptionalstring

The domain used to scope imported entries in Lytics

taxonomiesoptionalstring[]

Taxonomy uids to import. An empty array clears them.

tagsAsTopicsoptionalboolean

Import entry tags as Lytics topic signals

keepUpdatedoptionalboolean

Re-import new and updated entries on a schedule. Maps to lio’s continuous_update.

Hide Parameters

URL Parameters

importIdrequiredstring

Lytics job id

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

stackApiKeyrequiredstring

Contentstack stack API key

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Body Parameters

deliveryTokenUidrequiredstring

The stack's selected delivery token uid

checkOnlyoptionalboolean

Check only — report whether this stack and delivery token are already authorized, without creating anything. No management token is created, no Lytics authorization is made, and nothing is written. Returns { authorized: false } when the combination is not yet authorized.

refreshoptionalboolean

Reconnect: authorize again even when this stack and delivery token already are, because the stored values stopped working. Resolves the delivery token again, creates a fresh management token and updates the existing Lytics authorization in place, keeping its id.

Hide Parameters

URL Parameters

stackApiKeyrequiredstring

Contentstack stack API key

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Body Parameters

deliveryTokenUidrequiredstring

The delivery token this import runs under. Must already be authorized for this stack — the import is bound to that authorization.

labelrequiredstring

Becomes the Lytics job's name; shown in the imports table

contentTypesrequiredstring[]

Content type uids to import. At least one is required.

domainrequiredstring

The domain used to scope imported entries in Lytics

taxonomiesoptionalstring[]

Taxonomy uids to import. Optional — omit for none.

tagsAsTopicsoptionalboolean

Import entry tags as Lytics topic signals

keepUpdatedoptionalboolean

Re-import new and updated entries on a schedule. Maps to lio’s continuous_update.

Hide Parameters

URL Parameters

importIdrequiredstring

Lytics job id

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)

Hide Parameters

URL Parameters

importIdrequiredstring

Lytics job id

idrequiredstring

Project UID

Headers

authorizationoptionalstring

Bearer token for authorization

authtokenoptionalstring

Contentstack authtoken

organization_uidrequiredstring

Contentstack organization UID

x-cs-api-versionoptionalstring

API version (defaults to v1)