Create collection

Request Information
URLPOST https://www.testo.link/api/link
Category4.0
Header
tokenYOUR SECURE TOKEN GOES HERE
Content-Typeapplication/json
JSON
{
    "url": "http:\/\/polymatic.media\/podcast",
    "warnings": [],
    "description": "A collection for episode 999",
    "type": "collection",
    "custom": "show999"
}

Example responses

Response for a create collection with a custom link
200 OK
{
    "success": true,
    "link": {
        "shortCode": "k",
        "hits": 0,
        "warnings": [],
        "options": [],
        "description": "A collection for episode 999",
        "realShortCode": "k",
        "customCode": "show999",
        "type": "collection",
        "link": "http:\/\/testo.local\/k",
        "customLink": "http:\/\/testo.local\/show999",
        "url": "http:\/\/polymatic.media\/podcast",
        "detailLink": "http:\/my\/collection\/k",
        "links": [],
        "stats": []
    }
}