TeaseDocs
DevelopersAPI referenceSmart links

Add a destination

Add a destination; 201 with its id for the rows. A link another one serves is 409.

Path Parameters

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

A new place the smart link may send to; its key comes from destination-options.

Response Body

application/json

application/json

POST
/v1/smart-links/{smart_link_id}/destinations
curl -X POST "https://example.com/v1/smart-links/1/destinations" \  -H "Content-Type: application/json" \  -d '{    "kind": "of_link"  }'
null
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}