> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# lc.cx

> lc.cx provides URL shortening, branded domains, workspaces, tags, click statistics, and QR code generation through its API.

![lc.cx logo](https://mintcdn.com/composio-preview/ufpARLIsio16odJB/images/toolkits/lc_cx.svg?fit=max\&auto=format\&n=ufpARLIsio16odJB\&q=85\&s=dfec6577600731b4ed0990eac3acda28)

* **Category:** url shortener
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 10
* **Triggers:** 0
* **Slug:** `LC_CX`
* **Version:** 20261101\_00

## Tools

> [accordion] Create Short Link
>
> **Slug:** `LC_CX_CREATE_SHORT_LINK`
>
> Shorten one destination URL on lc.cx, optionally choosing its path, tags, note, and workspace. Warning: each successful creation permanently consumes one unit of the current monthly quota, even if the link is later deleted.
>
> #### Input Parameters
>
> **note** `string`
>
> Private note of at most 255 characters.
>
> **tag\_ids** `array`
>
> Existing tag ids to attach to the short link.
>
> **domain\_id** `string`
>
> Domain id from Get Account Context. Defaults to the built-in lc.cx domain.
>
> **custom\_path** `string`
>
> Requested URL path without a leading slash. Omit for an automatically generated path.
>
> **destination** `string` *required*
>
> Absolute HTTP or HTTPS destination URL for the short link.
>
> **workspace\_id** `string`
>
> Workspace in which to create the link. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Create Tags
>
> **Slug:** `LC_CX_CREATE_TAGS`
>
> Create one or more tags in a workspace and return their ids for attaching to short links.
>
> #### Input Parameters
>
> **tags** `array` *required*
>
> One or more tags to create.
>
> **workspace\_id** `string`
>
> Workspace in which to create the tags. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Short Link
>
> **Slug:** `LC_CX_DELETE_SHORT_LINK`
>
> Permanently delete one short link. Deletion does not restore the monthly creation quota.
>
> #### Input Parameters
>
> **link\_id** `string` *required*
>
> Short-link id to permanently delete.
>
> **workspace\_id** `string`
>
> Workspace containing the link. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Delete Tag
>
> **Slug:** `LC_CX_DELETE_TAG`
>
> Permanently delete one tag from the selected workspace.
>
> #### Input Parameters
>
> **tag\_id** `string` *required*
>
> Tag id to permanently delete.
>
> **workspace\_id** `string`
>
> Workspace containing the tag. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Account Context
>
> **Slug:** `LC_CX_GET_ACCOUNT_CONTEXT`
>
> Return lc.cx plan and short-link quota information together with available domains and workspaces needed to create and route short links.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Short Link
>
> **Slug:** `LC_CX_GET_SHORT_LINK`
>
> Retrieve one short link by its lc.cx link id from the selected workspace.
>
> #### Input Parameters
>
> **link\_id** `string` *required*
>
> Short-link id returned by create or list.
>
> **workspace\_id** `string`
>
> Workspace containing the link. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Short Links
>
> **Slug:** `LC_CX_LIST_SHORT_LINKS`
>
> Return one page of recently created short links in the selected workspace, with an offset for the next page when one may exist.
>
> #### Input Parameters
>
> **offset** `integer`
>
> Number of newer links to skip. Use next\_offset from the prior response to continue.
>
> **workspace\_id** `string`
>
> Workspace to read from. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Tags
>
> **Slug:** `LC_CX_LIST_TAGS`
>
> Return all tags available in the selected workspace for organizing short links.
>
> #### Input Parameters
>
> **workspace\_id** `string`
>
> Workspace whose tags to list. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Short Link
>
> **Slug:** `LC_CX_UPDATE_SHORT_LINK`
>
> Update a short link's destination or note and replace its complete tag assignment. The tag ID list is required on every update; resend current IDs to preserve them or use an empty list to clear them.
>
> #### Input Parameters
>
> **note** `string`
>
> New private note. Send an empty string to clear it.
>
> **link\_id** `string` *required*
>
> Short-link id to update.
>
> **tag\_ids** `array` *required*
>
> Complete replacement tag-id list. Get the current link and resend its tag ids to preserve them, or send \[] to remove all tags.
>
> **destination** `string`
>
> New absolute destination URL.
>
> **workspace\_id** `string`
>
> Workspace containing the link. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Update Tag
>
> **Slug:** `LC_CX_UPDATE_TAG`
>
> Update the name or color of one tag in the selected workspace.
>
> #### Input Parameters
>
> **name** `string`
>
> New tag name.
>
> **color** `string`
>
> New six-digit hexadecimal color including #.
>
> **tag\_id** `string` *required*
>
> Tag id to update.
>
> **workspace\_id** `string`
>
> Workspace containing the tag. Omit to use the personal/default workspace.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
