This website requires JavaScript to run properly.
to.it.com
Référence API

OpenAPI spec.

Mini pages, link-in-bio profiles, and URL shortener API. Use the Public endpoints to check handle availability and access public profile data. to.it.com is a simple, affordable link-in-bio, mini landing page, bento-style profile, and URL shortener platform.

Démarrage rapide

Version 1.0.0

api.to.it.com
Authentification Bearer

Fonctionnalités de l’API

Créer des liens courts
Lire les analytics de clics
Gérer les clés API
Limitation & sécurité

Liens courts

Analytics

Clés API

OpenAPI

01

Aperçu

Mini pages, link-in-bio profiles, and URL shortener API.

Use the Public endpoints to check handle availability and access public profile data.
to.it.com is a simple, affordable link-in-bio, mini landing page, bento-style profile, and URL shortener platform.

v1.0.0

URLs de base :

  • https://api.to.it.comPublic API base URL

02

Authentification

apiKeyApiKeyAuth

API key authentication using Bearer token format: Bearer toit_your_api_key_here

En-tête :Authorization

03

Endpoints

gethttps://api.to.it.com/handle-availability
Public

Check if a handle is available

Checks whether a given handle (username) is available for registration. No authentication required. Returns availability status, the normalized handle, and a reason if the handle is unavailable.

Paramètres

NomDescription
username
stringqueryRequis
The handle to check (e.g., "john doe")

Réponses

posthttps://api.to.it.com/v1/short-links
Short Links

Create a short link

Creates a new short link in the authenticated workspace.

Corps de requête

application/jsonrequis
{
  "type": "object",
  "required": [
    "targetUrl"
  ],
  "properties": {
    "targetUrl": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "profileId": {
      "type": "string",
      "format": "uuid"
    },
    "isProfileScoped": {
      "type": "boolean"
    },
    "startsAt": {
      "type": "string",
      "format": "date-time",
      "description": "Schedule activation (Plus/Business)"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "Schedule expiration (Plus/Business)"
    },
    "countdownPage": {
      "type": "boolean",
      "description": "Show a live countdown page to visitors before startsAt (requires scheduling + startsAt)"
    },
    "password": {
      "type": "string",
      "description": "Plain-text password for visitors (Plus/Business); stored as bcrypt hash"
    },
    "passwordBeforeCountdown": {
      "type": "boolean",
      "description": "When both password and countdown are enabled, show password first by default"
    }
  }
}

Réponses

04

Schémas

Error

Intégrer

Commencez à construire avec l’API.

Créez une clé API, suivez le démarrage rapide, et automatisez les liens courts depuis votre stack.