canonical: https://jentic.com/apis/redirection.io/redirection

# redirection.io

This is the documentation of the public API of [redirection.io](https://redirection.io). Our mission is to provide marketing, SEO and IT managers with the rights tools to manage the HTTP traffic of their website, get aware of browsing issues, and fix them right away with a friendly and easy to use solution. The API exposes 20 endpoints secured with apiKey, bearer authentication.

## For AI agents

Programmatically creates a new domain, retrieves the collection of the domains.. Covers 20 operations with apiKey, bearer authentication.

## Scope

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

## Capabilities

- Creates a new domain
- Retrieves the collection of the domains.
- Permanently deletes a domain
- Deletes a Draft
- Monitor Redirection operational status and events

## Use cases

### Marketing Operations

Use the Redirection to perform marketing operations programmatically. The API provides 20 endpoints covering core functionality including creates a new domain, retrieves the collection of the domains., retrieves a projectdomain resource..

Example prompt: Call POST /domains to creates a new domain

### Automated Rule Management

Automate rule operations by combining multiple Redirection endpoints. Agents can retrieves the collection of the domains. and then retrieves a projectdomain resource. in a single workflow.

Example prompt: Call GET /domains to retrieves the collection of the domains., then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Redirection 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, bearer tokens manually.

Example prompt: Search Jentic for 'creates a new domain', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/domains` | Creates a new domain |
| GET | `/domains` | Retrieves the collection of the domains. |
| GET | `/domains/{id}` | Retrieves a ProjectDomain resource. |
| DELETE | `/domains/{id}` | Permanently deletes a domain |
| GET | `/drafts` | Retrieves the collection of Draft rules |
| GET | `/drafts/{id}` | Retrieves a Draft resource. |
| DELETE | `/drafts/{id}` | Deletes a Draft |
| GET | `/ips` | Retrieves the collection of Ip resources. |

## Key resources

- **Rule** — These endpoints allow to manage the rules of a project. It includes:
 * listing the currently publis
- **RuleModel** — This model can be used to create rules containing any trigger or action.
 <SchemaDefinition schemaRe

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 61 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 43 / 100
  - Developer Experience & Jentic Compatibility: 57 / 100
  - AI-Readiness & Agent Experience: 61 / 100
  - Agent Usability: 94 / 100
  - Security: 63 / 100
  - AI Discoverability: 72 / 100
- **View full report:** https://jentic.com/apis/redirection.io/redirection/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring redirection.io by hand means handling its bearer token and Authorization API key auth, pointing at the api.redirection.io host, and managing requests yourself. Through Jentic you install once, import redirection.io from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** redirection.io puts resource ids in the URL path (for example `/domains/{id}` and `/drafts/{id}`), so a rule can pin your agent to specific domains or drafts. You choose the operations it may call, so writes like deleting a domain or a draft are only included if you add them.
- **Credential handling:** Your redirection.io token 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 domain' or 'list drafts', and Jentic returns the matching redirection.io operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Mailchimp** — Alternative marketing API
- **Hubspot** — Alternative marketing API

## FAQ

### What authentication does the Redirection use?

The Redirection uses apiKey, bearer authentication. 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 creates a new domain with the Redirection?

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

### What are the rate limits for the Redirection?

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 creates a new domain through Jentic?

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

### How many endpoints does the Redirection have?

The Redirection exposes 20 endpoints covering rule, rulemodel operations.

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

Yes. Because you run Jentic One yourself and self-host it, your own rules decide which Redirection operations and credentials the agent may use. Redirection puts resource ids in the URL path, such as `/domains/{id}` and `/drafts/{id}`, so you can pin the agent to specific domains or drafts and choose exactly which endpoints it calls. Read-only calls like GET /domains or GET /drafts stay available, while destructive writes such as DELETE `/domains/{id}` or DELETE `/drafts/{id}` are included only if you add them.
