kochira
  1. shortening
kochira
  • account
    • auth
      • Register
      • Login
      • Logout
      • Refresh
      • Infer
  • account
  • link
    • shortening
      • My Endpoints
        GET
      • Get By Id
        GET
      • Create
        POST
      • Update By Id
        PUT
      • Delete By Id
        DELETE
    • redirect
      • Redirect
  • subscription
    • Get Self
      GET
  1. shortening

Create

POST
/link/api/v1/link

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟢201Created
🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/link/api/v1/link' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "destination": "www.google.com"
}'
Response Response Example
200 - Success
null
Modified at 2025-10-10 00:30:43
Previous
Get By Id
Next
Update By Id
Built with