API Endpoints

Endpoints

Ratelimits

The limit for each token is 60 requests per minute. However, if you require a higher limit, please contact our support server for assistance.

POST https://api.itzly.com/create

JSON Params

  • token [String]

  • url [String]

  • domain [String]

  • vanity [String] [Optional]

  • title [String] [Optional]

  • description [String] [Optional]

  • image [String] [Optional]

Response

  • Success

{"message" : "Success", "url" : "https://google.com", "short_url" : "https://itzly.com/vanity"}
  • Failure

{"error" : "Something went wrong"}
  • Invalid token

{"error" : "Invalid token"}
  • Vanity exists

{"error" : "Vanity already exists"}
GET https://api.itzly.com/urls

JSON Params

  • token [String]

Response

  • Success

{"urls" : [{ "vanity" : "https://itzly.com/vanity", "pointer" : "https://google.com" , "clicks" : 100 }]}
  • Failure

{"error" : "Something went wrong"}
  • Invalid token

{"error" : "Invalid token"}
POST https://api.itzly.com/update

JSON Params

  • token [String]

  • domain [String]

  • url [String] [Optional]

  • vanity [String] [Optional]

  • title [String] [Optional]

  • description [String] [Optional]

  • image [String] [Optional]

Response

  • Success

{"message" : "Success", "url" : "https://google.com", "short_url" : "https://itzly.com/vanity"}
  • Failure

{"error" : "Something went wrong"}
  • Invalid token

{"error" : "Invalid token"}
POST https://api.itzly.com/delete

JSON Params

  • token [String]

  • vanity [String]

  • domain [String]

Response

  • Success

{"message" : "Success"}
  • Failure

{"error" : "Something went wrong"}
  • Invalid token

{"error" : "Invalid token"}

Last updated