Base URL: https://phly.ir/api/
Content-Type: application/json
Endpoint: /links/create
Method: POST
Name | Type | Required | Description |
---|---|---|---|
url | string | ✅ | The original URL to shorten |
{
"url": "https://example.com"
}
{
"message": "success",
"status": 200,
"data": {
"code": "jucc"
}
}
Use the short link via:
https://phly.ir/jucc
Endpoint: /ideas/create
Method: POST
Name | Type | Required | Description |
---|---|---|---|
idea | string | ✅ | The idea content to send |
{
"idea": "Add support for analytics on short links"
}
- HTTP 200 – Everything is OK
📎 To use this API, make sure you send all requests with the appropriate Content-Type: application/json
header.