canonical: https://jentic.com/apis/shrtlnk.dev/shrtlnk-dev

# Shrtlnk API

Simple and efficient short link creation. Shrtlnk provides a straightforward API for creating and managing shortened URLs. The API exposes 6 endpoints secured with apiKey authentication.

## For AI agents

Programmatically create a short link, list all shortened links. Covers 6 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for hr and recruiting only.

## Capabilities

- Create a short link
- List all shortened links
- Get link details
- Delete a short link
- Monitor Shrtlnk API operational status and events

## Use cases

### HR and Recruiting Operations

Use the Shrtlnk API to perform hr recruiting operations programmatically. The API provides 6 endpoints covering core functionality including create a short link, list all shortened links, get link details.

Example prompt: Call POST /links to create a short link

### Automated Links Management

Automate links operations by combining multiple Shrtlnk API endpoints. Agents can list all shortened links and then get link details in a single workflow.

Example prompt: Call GET /links to list all shortened links, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Shrtlnk API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'create a short link', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/links` | Create a short link |
| GET | `/links` | List all shortened links |
| GET | `/links/{key}` | Get link details |
| DELETE | `/links/{key}` | Delete a short link |
| GET | `/links/{key}/stats` | Get link click statistics |
| GET | `/account` | Get account information |

## Key resources

- **Links** — URL shortening and link management
- **Account** — Account information

## Why Jentic

- **Setup:** Wiring Shrtlnk by hand means reading its api-key header auth, pointing calls at https://shrtlnk.dev/api/v2, and handling link listing and stats yourself. Through Jentic you install once, import Shrtlnk from the API Directory, store the api-key once, and your agent calls it.
- **Permission scoping:** Shrtlnk puts the link key in the URL path (`/links/{key}`), so a rule can pin your agent to one link: it can read that link and its stats and nothing else. You choose the operations it may call, so destructive ones like deleting a link are not included unless you add them.
- **Credential handling:** Your Shrtlnk api-key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'create a short link' or 'get link stats', and Jentic returns the matching Shrtlnk operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Greenhouse** — Alternative hr recruiting API
- **Lever** — Alternative hr recruiting API
- **Workday** — Complementary hr recruiting API

## FAQ

### What authentication does the Shrtlnk API use?

The Shrtlnk API uses an API key passed in the `api-key` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I create a short link with the Shrtlnk API?

Yes. Use the POST /links endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Shrtlnk API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I create a short link through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create a short link'. Jentic returns the matching Shrtlnk API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Shrtlnk API have?

The Shrtlnk API exposes 6 endpoints covering links, account operations.

### Can I limit what my agent is allowed to do with the Shrtlnk API?

Yes. Jentic One is self-hosted by you, so your own rules decide which Shrtlnk operations and credentials your agent may use. Because Shrtlnk puts the link key in the URL path (`/links/{key}`), a rule can pin the agent to a single link so it only reads that link and its click stats via GET `/links/{key}` and GET `/links/{key}/stats` and nothing else. You choose which operations are callable, so destructive ones like DELETE `/links/{key}` or creating new links with POST /links are excluded unless you add them.
