TeaseDocs
DevelopersAPI referenceSmart links

Create a smart link

Create a smart link on the account's domain; 201 with its card.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

A new smart link on one of the account's domains.

Response Body

application/json

application/json

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