---
title: "POST Import Bitly links cron handler"
description: "Handles Qstash cron trigger to import links from Bitly for a given workspace"
last_updated: "2026-10-05T05:08:29.642763+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/cron/postbitlyimportcron"
---

<APIEndpoint
  method={"POST"}
  path={"/api/cron/import/bitly"}
  summary={"Import Bitly links cron handler"}
  description={"Handles Qstash cron trigger to import links from Bitly for a given workspace"}
  deprecated={false}
  baseUrl={""}
/>

## Request Body

Bitly import payload containing workspace and configuration details

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Successfully processed import task or rate limited"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"500"}
  description={"Internal server error or failed import"}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/cron/import/bitly"}
  parameters={[]}
  requestBody={{"contentType":"application/json","required":true,"description":"Bitly import payload containing workspace and configuration details","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
