API Method: create


  1 year, 3 months ago by Admin

Please see the API Overview for general information on making an API call and processing the response

This method allows you to create new Taveo tracking links.

Parameters

Parameter Name Possible Values Description Required?
apikey

32 character Hex String

Your account api key , found here.

Yes
destination

The url encoded value of your destination URL.

The desired destination url, ex: http://www.google.com

Yes
comment

Any string.

A comment or note about this link.

No
type

1 - for a 301 Redirect (Permanent)
2 - for a 302 Redirect (Temporary)

The desired destination url, ex: http://www.google.com. If this parameter is not given, a 301 redirect is used as the default.

No
source

2 - for tav.so
3 - for zo.gd

The desired short url domain. The default is 2.

No

Example

In this example we are accessing the /create method to create a new link with a destination url of http://google.com/news, using the tav.so short link domain and a 302 Redirect.

Request:
https://api.taveo.net/1/create?apikey=0F0F0F0F0F0F0F0F0F0F0&destination=http%3A%2F%2Fwww.google.com%2Fnews&type=2&source=2
Response:
{
"status": "ok",
"msg": "Successfully Created Link",
"url": "http://tav.so/r3j2B"
}











Can't find the answer to your question? Contact our support team