This website requires JavaScript to run properly.
to.it.com
Referência da API

Especificação OpenAPI.

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.

Início rápido

Versão 1.0.0

api.to.it.com
Autenticação Bearer

Recursos da API

Criar links curtos
Consultar análises de cliques
Gerenciar chaves de API
Segura e com limites de uso

Links curtos

Análises

Chaves de API

OpenAPI

01

Visão geral

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 base:

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

02

Autenticação

apiKeyApiKeyAuth

API key authentication using Bearer token format: Bearer toit_your_api_key_here

Cabeçalho: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.

Parâmetros

NomeDescrição
username
stringqueryObrigatório
The handle to check (e.g., "john doe")

Respostas

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

Create a short link

Creates a new short link in the authenticated workspace.

Corpo da solicitação

application/jsonobrigatório
{
  "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"
    }
  }
}

Respostas

04

Esquemas

Error

Integração

Comece a criar com a API.

Crie uma chave de API, siga o guia de início rápido e automatize links curtos no seu stack.