canonical: https://jentic.com/apis/rebrandly.com/rebrandly-api

# Rebrandly API

URL shortening and branded link management API. The API exposes 16 endpoints secured with apiKey authentication.

## For AI agents

Programmatically create a new link, get a list of links. Covers 16 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- Create a new link
- Get a list of links
- Delete multiple links in bulk
- Update a specific link
- Access Rebrandly API developer tools resources via REST API

## Use cases

### Developer Tools Operations

Use the Rebrandly API to perform developer tools operations programmatically. The API provides 16 endpoints covering core functionality including create a new link, get a list of links, delete multiple links in bulk.

Example prompt: Call POST /v1/links to create a new link

### Automated v1 Management

Automate v1 operations by combining multiple Rebrandly API endpoints. Agents can get a list of links and then delete multiple links in bulk in a single workflow.

Example prompt: Call GET /v1/links to get a list of links, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Rebrandly 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 new link', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /v1/links | Create a new link |
| GET | /v1/links | Get a list of links |
| DELETE | /v1/links | Delete multiple links in bulk |
| POST | /v1/links/{id} | Update a specific link |
| GET | /v1/links/{id} | Get details about a specific link |
| DELETE | /v1/links/{id} | Delete a specific link |
| GET | /v1/links/count | Get count of links with filtering |
| GET | /v1/domains | Get domains shared in workspace |

## Key resources

- **v1** — Operations related to v1

## Why Jentic

- **Setup:** Wiring the Rebrandly API by hand means learning its apikey header auth, calling the versioned /v1 paths on its host, and handling requests yourself. Through Jentic you install once, import the Rebrandly API from the API Directory, store the API key once, and your agent calls it.
- **Permission scoping:** Rebrandly puts the link id in the URL path (/v1/links/{id}), so a rule can pin your agent to specific branded links and its list of domains. You choose the operations it may call, so deleting a link is not included unless you add it.
- **Credential handling:** Your Rebrandly 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 branded short link' or 'list domains', and Jentic returns the matching Rebrandly operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the Rebrandly API use?

The Rebrandly API uses an API key passed in the `apikey` 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 new link with the Rebrandly API?

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

### What are the rate limits for the Rebrandly 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 new 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 new link'. Jentic returns the matching Rebrandly API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

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

The Rebrandly API exposes 16 endpoints covering v1 operations.

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

Yes. Jentic One is self-hosted, so your own rules decide which Rebrandly operations and credentials the agent can use. Because Rebrandly puts the link id in the URL path at /v1/links/{id}, a rule can pin the agent to specific branded links and to your workspace domains from GET /v1/domains. You choose the operations it may call, so creating links with POST /v1/links or deleting them with DELETE /v1/links is only available if you allow it.
