Create POST /links

Create a new link.


Name Type Description
advert String The identifier code of the advert you wish to display with this link.
url URL The URL you wish to share.

Example Request

POST /links HTTP/1.1
Authorization: Bearer ...
Accept: application/json
Content-Type: application/json

  "advert": "abc123",
  "url": ""

Example Responses

HTTP/1.1 200 OK

  "created_at": "2015-01-01 12:00:00",
  "url": "",
  "title": "Example Domain",
  "description": "This is an example website.",
  "image": "",
  "code": "abc123",
  "short_url": "",
  "url_host": ""