Skip to content

Dulio Shortener API

Dulio Shortener exposes a small HTTPS API for account-scoped short links. This reference documents the complete public contract: every route, field, error, limit, normalization rule, and response format implemented by the service.

Purpose URL
Versioned JSON API https://3dreamstudio.com.br/api/v1
Public short links https://3dreamstudio.com.br/r/{code}
Browser application https://app.3dreamstudio.com.br/

The API does not use an api. subdomain. The documentation hostname is separate from the service and does not change request URLs.

After logging in, send the returned bearer token with the destination URL. A successful request returns the immutable link.

Request

curl --request POST \
  --url https://3dreamstudio.com.br/api/v1/links \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{"url":"https://example.com/articles/sonyflake"}'

201 response

{
  "id": "229605206530457602",
  "user_id": "229605206530457601",
  "code": "aZ09BcDe",
  "target_url": "https://example.com/articles/sonyflake",
  "short_url": "https://3dreamstudio.com.br/r/aZ09BcDe",
  "created_at": "2026-10-10T14:34:02.842Z"
}

Example identifiers, tokens, and timestamps in this site are illustrative.

Method Path Authentication Purpose
POST /api/v1/users No Create an account
GET /api/v1/users/me Bearer Get the current account
POST /api/v1/auth/login No Create a bearer session
POST /api/v1/auth/logout Bearer Revoke the current session
POST /api/v1/links Bearer Create a short link
GET /api/v1/links Bearer List the current account’s links
DELETE /api/v1/links/{id} Bearer Delete an owned link
GET /r/{code} No Redirect to a stored destination
GET, HEAD / No Redirect to the browser application
  • IDs are positive Sonyflake values returned as decimal JSON strings.
  • Timestamps are UTC RFC 3339 strings with optional fractional seconds.
  • Successful JSON responses use application/json.
  • Empty successes use HTTP 204 with no response body.
  • Failures use one stable errors envelope.
  • Authenticated operations expect Authorization: Bearer <token>.

Continue with Getting started for a complete account and link lifecycle.