Introduction
Welcome to the JotUrl API Version i1 ! This is the right place to find information on how to programmatically interact with the JotUrl interface.
Authentication Session token Step 1: acquiring a token
Example
{PUBLIC_KEY} = "ae7b4635320411fe"
{PRIVATE_KEY} = "9283c835ef5e21d3"
{GMT_DATETIME} = "2018-11-30T20:04Z"
{PASSWORD} = HMAC_SHA256({PRIVATE_KEY}, {PUBLIC_KEY} + ':' + {GMT_DATETIME}) =
= HMAC_SHA256("9283c835ef5e21d3", "ae7b4635320411fe:2018-11-30T20:04Z") =
= "e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa"
Request
https://joturl.com/a/i1/users/login?username=test@example.com&password=e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
The above request returns a JSON structured like this:
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
},
"result" : {
"session_id" : "93bed02bf74e191294e22da6272a18a8" ,
"datetime" : "2018-11-30T20:04Z"
}
}
Session authentication needs the generation of a session token session_id
that is used to sign all other request to the API endpoints.
To generate the session_id
you have to make a request (GET
or POST
) to the API endpoint:
https://joturl.com/a/i1/users/login?username={EMAIL}&password={PASSWORD}
where {EMAIL}
is the email you use to login the JotUrl dashaboard and {PASSWORD}
is obtained by using an HMAC_SHA256 hash function:
{PASSWORD} = HMAC_SHA256({PRIVATE_KEY}, {PUBLIC_KEY} + ':' + {GMT_DATETIME})
{PUBLIC_KEY}
and {PRIVATE_KEY}
are your public and private API keys, respectively (API Keys ).
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API key in publicly
accessible areas such as GitHub, client-side code, and so forth.
Parameter {GMT_DATETIME}
is the the GMT date/time in the format YYYY-MM-ddThh:mmZ
where:
YYYY is the full numeric representation of the year (4 digits)
MM is the month with leading zeros (01-12)
dd is the day with leading zeros (01-31)
T is the uppercase letter T
hh is the hour with leading zeros (00-23)
mm are the minutes with leading zeros (00-59)
Z is the uppercase letter Z
Parameter {GMT_DATETIME}
must be generated on a device as synchronized as possible with the GMT date/time (each request requires a new {GMT_DATETIME}
).
The examples in this section return the expected values for the HMAC_SHA256
hash, these values can be used to test the implementation of
the HMAC_SHA256
hash you are using.
Step 2: sign API calls
Example
_sid = {session_id} =
= "93bed02bf74e191294e22da6272a18a8"
_h = HMAC_SHA256({PRIVATE_KEY}, {session_id} + ':' + {GMT_DATETIME}) =
= HMAC_SHA256("9283c835ef5e21d3", "93bed02bf74e191294e22da6272a18a8:2018-11-30T20:04Z") =
= "c9afd295a66bdfd68b2ee5a6c1031ff343d17691d56af17504127cf22d5a9d5b"
Request
https://joturl.com/a/i1/users/info?_sid=93bed02bf74e191294e22da6272a18a8&_h=c9afd295a66bdfd68b2ee5a6c1031ff343d17691d56af17504127cf22d5a9d5b
Response
{
"status" : {
"code" : 500 ,
"text" : "INVALID session" ,
"error" : "" ,
"rate" : 0
},
"result" : []
}
Every request to API endpoints have to be signed with the parameters _sid
and _h
.
Where _sid
is the session token {session_id}
obtained in step 1 and _h
is generated with the same method used for the {PASSWORD}
parameter in step 1:
_h = HMAC_SHA256({PRIVATE_KEY}, {session_id} + ':' + {GMT_DATETIME})
Parameter {GMT_DATETIME}
is obtained in the same way and follows the same rules as in step 1.
The examples in this section return the expected values for the HMAC_SHA256
hash, these values can be used to test the implementation of
the HMAC_SHA256
hash you are using.
You can also send parameters _sid
and _h
in the request headers BUT they become sid
and h
respectively.
The session token
The session token session_id
expires approximately every 30 days, but may expire sooner due to various factors and if you call the API method users/logout .
As a best practice, we suggest you to continue to use it until you get an "INVALID session" error response from the API endpoint.
In this case, you have to restart the authentication procedure from the beginning.
The session token is not linked to the device that generated it and therefore can be used by several devices at the same time.
Do not generate a session token on every API call, this may cause your account to be blocked by our engine.
Examples
The examples in this section return the expected values for the HMAC_SHA256
hash, these values can be used to test the implementation of
the HMAC_SHA256
hash you are using. You can find SDKs and examples here .
PHP
PHP example.
<?php
function HMAC_SHA256 ( $private_key , $message , $time = null ) {
return hash_hmac (
'sha256' ,
$message . ':' . ( $time ?: gmdate ( "Y-m-d\TH:i\Z" , time () ) ),
$private_key
);
}
$public_key = "ae7b4635320411fe" ;
$private_key = "9283c835ef5e21d3" ;
$gmt_datetime = "2018-11-30T20:04Z" ;
// e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
echo HMAC_SHA256 ( $private_key , $public_key , $gmt_datetime );
Python
Python example.
# coding: utf8
import sys
import hmac
import hashlib
try :
def HMAC_SHA256 ( private_key = "" , message = "" , time = "" ):
message += ":"
if time :
message += str ( time )
else :
message += str ( datetime . datetime . utcnow (). strftime ( '%Y-%m-%dT%H:%MZ' ))
return hmac . new ( str . encode ( private_key ), str . encode ( message ), hashlib . sha256 ). hexdigest ()
public_key = "ae7b4635320411fe"
private_key = "9283c835ef5e21d3"
gmt_datetime = "2018-11-30T20:04Z"
# e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
print ( HMAC_SHA256 ( private_key , public_key , gmt_datetime ))
except Exception as t :
print ( t )
sys . exit ( 0 )
# end try
NodeJS
NodeJS example.
const crypto = require ( ' crypto ' );
try {
function gmdate () {
var iso = ( new Date ()). toISOString ();
return iso . substr ( 0 , iso . length - 8 ) + ' Z ' ;
}
function create_sha256 ( key , message ) {
var hmac = crypto . createHmac ( ' sha256 ' , key );
hmac . update ( message );
return hmac . digest ( ' hex ' );
}
function HMAC_SHA256 ( private_key , message , time ) {
var msg = message + " : " + ( time ? time : gmdate ());
return create_sha256 ( private_key , msg );
}
var public_key = " ae7b4635320411fe " ;
var private_key = " 9283c835ef5e21d3 " ;
var gmt_datetime = " 2018-11-30T20:04Z " ;
// e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
console . log ( HMAC_SHA256 ( private_key , public_key , gmt_datetime ));
} catch ( e ) {
console . log ( e . message );
}
Java
Java example.
import javax.crypto.Mac ;
import javax.crypto.spec.SecretKeySpec ;
import java.security.NoSuchAlgorithmException ;
import java.security.InvalidKeyException ;
import java.text.SimpleDateFormat ;
import java.util.Locale ;
import java.util.Date ;
import java.util.TimeZone ;
public class HMAC_SHA256_EXAMPLE {
public static String gmdate () {
String pattern = "yyy-MM-dd'T'HH:mm'Z'" ;
SimpleDateFormat simpleDateFormat = new SimpleDateFormat ( pattern );
simpleDateFormat . setTimeZone ( TimeZone . getTimeZone ( "UTC" ));
return simpleDateFormat . format ( new Date ());
}
public static String hex ( byte [] bytes ) {
StringBuilder result = new StringBuilder ();
for ( byte aByte: bytes ) {
result . append ( String . format ( "%02x" , aByte ));
}
return result . toString ();
}
public static String HMAC_SHA256 ( String private_key , String message , String date_time )
throws NoSuchAlgorithmException , InvalidKeyException {
Mac sha256_HMAC = Mac . getInstanceNumber ( "HmacSHA256" );
SecretKeySpec secret_key = new SecretKeySpec ( private_key . getBytes (), "HmacSHA256" );
sha256_HMAC . initClient ( secret_key );
return hex ( sha256_HMAC . doFinal (( message + ":" + date_time ). getBytes ()));
}
public static String HMAC_SHA256 ( String private_key , String message )
throws NoSuchAlgorithmException , InvalidKeyException {
return HMAC_SHA256 ( private_key , message , gmdate ());
}
public static void main ( String [] args ) {
try {
String public_key = "ae7b4635320411fe" ;
String private_key = "9283c835ef5e21d3" ;
String date_time = "2018-11-30T20:04Z" ;
// e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
System . out . println ( HMAC_SHA256 ( private_key , public_key , date_time ));
}
catch ( Exception e ) {
System . out . println ( "Error" );
}
}
}
C#
C# example.
using System ;
using System.Security.Cryptography ;
using System.Text ;
namespace HMAC_SHA256_EXAMPLE
{
class Program
{
public static string gmdate ()
{
return DateTime . UtcNow . ToString ( "yyyy-MM-ddTHH:mmZ" );
}
public static string hex ( byte [] ba )
{
StringBuilder hex = new StringBuilder ( ba . Length * 2 );
foreach ( byte b in ba )
{
hex . AppendFormat ( "{0:x2}" , b );
}
return hex . ToString ();
}
private static string HMAC_SHA256 ( string private_key , string message , string time = "" )
{
var hash = new HMACSHA256 ( Encoding . ASCII . GetBytes ( private_key ));
return hex ( hash . ComputeHash ( Encoding . ASCII . GetBytes ( message + ":" + ( time ?? gmdate ()))));
}
static void Main ( string [] args )
{
var public_key = "ae7b4635320411fe" ;
var private_key = "9283c835ef5e21d3" ;
var gmt_datetime = "2018-11-30T20:04Z" ;
// e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
Console . WriteLine ( HMAC_SHA256 ( private_key , public_key , gmt_datetime ));
}
}
}
Flutter (Dart)
Flutter (Dart) example.
import 'dart:convert' ;
import 'package:crypto/crypto.dart' ;
void main () {
String public_key = 'ae7b4635320411fe' ;
String private_key = '9283c835ef5e21d3' ;
String gmt_datetime = '2018-11-30T20:04Z' ;
// e78a507e8e031a02c5c81a2eacb5bd6c1f846a99af7c5d0f339f006dc44384aa
print ( HMAC_SHA256 ( private_key , public_key , gmt_datetime ));
}
String gmdate () {
String iso = DateTime . now () . toUtc () . toIso8601String ();
return iso . substring ( 0 , 16 ) + 'Z' ;
}
String create_sha256 ( String key , String message ) {
var hmacSha256 = new Hmac ( sha256 , utf8 . encode ( key ));
var digest = hmacSha256 . convert ( utf8 . encode ( message ));
return digest . toString ();
}
String HMAC_SHA256 ( String private_key , String message , [ String time = '' ]) {
String msg = message + ":" + ( ! time . isEmpty ? time : gmdate ());
return create_sha256 ( private_key , msg );
}
Token authentication
Token authentication (also called bearer authentication) is an HTTP authentication scheme that involves security tokens
called bearer tokens.
Step 1: acquiring a token
Request
https://joturl.com/a/i1/apis/tokens
The above request returns a JSON structured like this:
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
},
"result" : {
"read_write_token" : "tok_RWxtd74zqlcv18d6qiau75kr1bwpagqbq5" ,
"read_only_token" : "tok_RO064cmpvzcsxc5ufg0xzx58ms3q15bn10"
}
}
API tokens authentication needs a read-only or read/write token that is used to sign all other request to the API endpoints.
API tokens do not expire and can be reset using the endpoint apis/tokens .
To get API tokens you have to make a request (GET
or POST
) to the endpoint:
https://joturl.com/a/i1/users/tokens
you must already be logged in using the session token .
Step 2: sign API calls
Every request to API endpoints have to be signed with the Authorization
HTTP header:
Authorization: Bearer {token}
where {token}
is one of the API tokens obtained in step 1.
With the read-only token you can only call endpoints with access [read] .
You can find the required access of each endpoint immediately below the endpoint itself in this documentation.
Example
https://joturl.com/a/i1/urls/shorten?long_url=https%3A%2F%2Fwww.joturl.com%2F&alias=jot
Parameters to each JotUrl API can be passed both with the GET and POST methods.
Query
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 87
},
"result" : { DATA }
}
Query
format=jsonp&callback=clbfunc
Response
clbfunc ({
" status " : {
" code " : 200 ,
" text " : " OK " ,
" error " : "" ,
" rate " : 87
},
" result " : { DATA }
})
Query
Response
{
"status" : {
"code" : 500 ,
"text" : "MISSING callback" ,
"error" : "" ,
"rate" : 21
},
"result" : []
}
Query
Response
<?xml version="1.0" encoding="UTF-8"?>
<response>
<status>
<code> 200</code>
<text> OK</text>
<error></error>
<rate> 87</rate>
</status>
<result> {DATA}</result>
</response>
Query
Response
status_code=200
status_text=OK
status_error=
status_rate=87
result={DATA}
Query
Response
The JotUrl API supports Cross Origin Resource Sharing (CORS ) requests from any domain.
All JotUrl APIs support five return formats: json
, jsonp
, xml
, txt
, plain
. Note that the formats txt
and plain
may return only limited information.
The default output format is format = json
that is also used when the parameter format is invalid (e.g., format = jsonp
but no callback parameter is specified).
In cases format = json
and format = jsonp
, when a method returns an empty object, it returns an empty JSON array (i.e., []
), if you want to
change this behavior pass the header force-empty-objects: 1
in the request, this forces an empty JSON object (i.e., {}
) instead.
When format = plain
, check the HTTP response status for problems with the request, rate limiting, or other errors.
Rate limits
If the rate limits are exceeded, the call fails and returns a 403 status code, with a LIMIT EXCEEDED status text (see Output formats for details).
Typical response
{
"status" : {
"code" : <STATUS CODE> ,
"text" : "<STATUS TEXT>" ,
"error" : "<STATUS ERROR>" ,
"rate" : <REQUESTS PER SECOND>
},
"result" : <DATA>
}
If you send requests too quickly, make sure that the rate
parameter in the status
response is below the rate limits
set for your account. The rate
parameter is always expressed in requests per second. If you exceed the limits set for
your account, our engine may block your requests for a time directly proportional to the speed with which you are
sending the requests: the greater the gap with your rate limits, the greater the blocking time. Finally, if you do not
fall within your rate limits for a long time, our engine could permanently block any further requests.
QR-Codes
A QR-Code is provided for each shorten URL. To generate it append .qrcode
or .qr
to the end of any shortened link. For example: http://jo.my/jotvideo.qrcode
, http://jo.my/jotvideo.qr
Errors
For each request the status code is equal to the HTTP response status that can be:
code
text
error
explanation
200
OK
successful request
403
LIMIT EXCEEDED
details on the error if available
rate limit exceeded
404
NOT FOUND
details on the error if available
the query is well-formed but there is no available response
405
METHOD NOT ALLOWED
details on the error if available
the endpoint is not available to the calling user
414
Request-URI Too Large
details on the error if available
GET request contains long query information, use a POST request instead
500
INVALID [PARAMETER]
details on the error if available
invalid parameter [PARAMETER] in the request
INVALID METHOD [METHOD]
details on the error if available
invalid method [METHOD]
MISSING [ARGUMENT]
details on the error if available
the required argument [ARGUMENT] is missing in the request
503
GENERIC ERROR
details on the error if available
a generic error occurred and/or the service is temporarily unavailable 1
1 A GENERIC ERROR
(503) is also issued in all those cases where a parameter has passed all
validation checks, but for some reason our engine cannot use it to complete the request. For example, if you try to
create a tracking link with the alias $alias
you will see the error INVALID alias
(500), since
the alias $alias
contains the forbidden character $
, but if you try to create a tracking link with the alias alias
and it is already
have been used, you will see the error GENERIC ERROR
(503) and the error
field of the output status
will be "The chosen alias is not available".
Parameters types
API endpoints require some parameters to be sent as part of the request.
Most parameters are simple strings, but some endpoints require other types to be provided.
type
description
example
string
sequence of alphanumeric text or other symbols
hamburger
id
variable length string obtained as a result of an API call
62613864764b3762725a343966673d3d
array
comma separated list of type string , a maximum of 100 items are allowed
hamburger, test
array_of_ids
comma separated list of type id , a maximum of 100 items are allowed
62613864764b375a343966673d3d, 86590152f1891e680, 5952b26623c9b47ad9e
integer
integer
12
float
float with . (point) as a decimal separator
12.34
boolean
boolean parameter, accepted values are true , false , on , off , 1 , 0
1
date
date in the format yyyy-mm-dd (UTC)
2019-06-04
datetime
date/time in the format yyyy-mm-dd hh:mm:ss (UTC)
2019-06-04 19:21:34
json
stringified JSON object or associative array
{"test":"check"}, param[test]=check
enum
is a string with a value chosen from a list of allowed values
remarketing
JotUrl SDKs
JotUrl SDKs help you develop apps, websites and plugins that relies on all the functionality of our APIs.
We currently support PHP, Python, Java and NodeJS, but you can easily integrate our APIs with all development technologies.
PHP SDK
Click here to download the SDK for PHP with an example included.
PHP example
<?php
// replace [your login] with the email you use to login into JotUrl
define ( 'SDK_USER_NAME' , '[your login]' );
// replace [public key] with your public key: https://www.joturl.com/reserved/settings.html#tools-api
define ( 'SDK_PUBLIC_API_KEY' , '[public key]' );
// replace [private key] with your private key: https://www.joturl.com/reserved/settings.html#tools-api
define ( 'SDK_PRIVATE_API_KEY' , '[private key]' );
require_once 'sdk/JotUrlSDK.php' ;
try {
// create an instance of JotUrlSDK
$joturl = new JotUrlSDK ( SDK_USER_NAME , SDK_PUBLIC_API_KEY , SDK_PRIVATE_API_KEY );
$joturl -> wrapper ( function ( $sdk ) {
// get logged user information
$url = $sdk -> buildURL ( 'users/info' );
echo "Getting user info" . PHP_EOL ;
$result = $sdk -> call ( $url );
echo "====== USER INFO ======" . PHP_EOL ;
print_r ( $result );
} );
$joturl -> wrapper ( function ( $sdk ) {
// get first 5 projects
$url = $sdk -> buildURL ( 'projects/list' , array ( "fields" => "id,name" , "length" => 5 ) );
echo "Getting first 5 projects (if available)" . PHP_EOL ;
$result = $sdk -> call ( $url );
echo "====== PROJECTS ======" . PHP_EOL ;
print_r ( $result );
} );
} catch ( Throwable $t ) {
die ( $t -> getMessage () );
}
Documentation
<?php
/**
* Creates an instance of the JotUrl SDK.
*
* @param string $username the username used to login into JotURL dashboard
* @param string $public_key public api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
* @param string $private_key private api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
*/
new JotUrlSDK ( $username , $public_key , $private_key );
/**
* Automatically try to access the JotURL API, the callback is called if the access is successful.
*
* @param mixed $callback callback to be called on success
*
* @return mixed value returned by the $callback function, an exception is thrown on error
*/
function wrapper ( $callback );
/**
* Given an endpoint and parameters (optional) returns the URL to be called.
*
* @param string $endpoint endpoint to be called
* @param array $parameters associative array [param => value]
*
* @return string the URL to be called
*/
function buildURL ( $endpoint , $parameters = array () );
/**
* Call and get results from the API endpoint.
*
* @param string $url URL to be called
* @param array $postParameters [OPTIONAL] array containing post parameters
*
* @return bool|array associative array containing the result of the call
*/
function call ( $url , $postParameters = array () );
Python SDK
Click here to download the SDK for Python 3+ with an example included.
Python example
# coding: utf8
import sys
from sdk.JotUrlSDK import JotUrlSDK
# replace [your login] with the email you use to login into JotUrl
SDK_USER_NAME = "[your login]"
# replace [public key] with your public key: https://www.joturl.com/reserved/settings.html#tools-api
SDK_PUBLIC_API_KEY = "[public key]"
# replace [private key] with your private key: https://www.joturl.com/reserved/settings.html#tools-api
SDK_PRIVATE_API_KEY = "[private key]"
try :
# create an instance of JotUrlSDK
joturl = JotUrlSDK ( SDK_USER_NAME , SDK_PUBLIC_API_KEY , SDK_PRIVATE_API_KEY )
def getUserInfo ( sdk ):
# get logged user information
url = sdk . buildURL ( "users/info" )
print ( "Getting user info" )
result = sdk . call ( url )
print ( "====== USER INFO ======" )
print ( result )
joturl . wrapper ( getUserInfo )
def getProjectsList ( sdk ):
# get first 5 projects
url = sdk . buildURL ( "projects/list" , { "fields" : "id,name" , "length" : 5 })
print ( "Getting first 5 projects (if available)" )
result = sdk . call ( url )
print ( "====== PROJECTS ======" )
print ( result )
joturl . wrapper ( getProjectsList )
def getProjectsListWithPOSTRequest ( sdk ):
# get first 5 projects
url = sdk . buildURL ( "projects/list" )
print ( "Getting first 5 projects (if available) with a POST request" )
result = sdk . call ( url , { "fields" : "id,name" , "length" : 5 })
print ( "====== PROJECTS ======" )
print ( result )
joturl . wrapper ( getProjectsListWithPOSTRequest )
except Exception as t :
print ( t )
sys . exit ( 0 )
# end try
Documentation
"""
Creates an instance of the JotUrl SDK.
@param username the username used to login into JotURL dashboard
@param public_key public api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
@param private_key private api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
"""
def __init__ ( self , username = "" , public_key = "" , private_key = "" ):
"""
Automatically try to access the JotURL API, the callback is called if the access is successful.
@param callback callback to be called on success
returns True on success, raises an exception on error
"""
def wrapper ( self , callback = None ):
"""
Given an endpoint and parameters (optional) returns the URL to be called.
@param endpoint endpoint to be called
@param parameters associative array [param => value]
returns the URL to be called
"""
def buildURL ( self , endpoint = "" , parameters = {}):
"""
Call and get results from the API endpoint.
@param url URL to be called
@param postParameters [OPTIONAL] array containing post parameters
returns bool|array JSON containing the result of the call, false on failure, raises an exception on error
"""
def call ( self , url = "" , postParameters = {}):
NodeJS SDK
Click here to download the SDK for NodeJS with an example included.
NodeJS example
// replace [your login] with the email you use to login into JotUrl
const SDK_USER_NAME = ' [your login] ' ;
// replace [public key] with your public key: https://www.joturl.com/reserved/settings.html#tools-api
const SDK_PUBLIC_API_KEY = ' [public key] ' ;
// replace [private key] with your private key: https://www.joturl.com/reserved/settings.html#tools-api
const SDK_PRIVATE_API_KEY = ' [private key] ' ;
try {
// create an instance of JotUrlSDK
let joturl = require ( ' ./sdk/JotUrlSDK.js ' )( SDK_USER_NAME , SDK_PUBLIC_API_KEY , SDK_PRIVATE_API_KEY );
// get logged user information
console . log ( " Getting user info " );
joturl . call ( ' users/info ' ). then ( result => {
console . log ( result );
/* get first 5 projects */
console . log ( " Getting first 5 projects (if available) " );
joturl . call ( ' projects/list ' , { " fields " : " id,name " , " length " : 5 }). then ( result => {
console . log ( result );
}). catch ( e => {
console . log ( e . message );
});
}). catch ( e => {
console . log ( e . message );
});
} catch ( e ) {
console . log ( e . message );
}
Documentation
/**
* Creates an instance of the JotUrl SDK.
*
* @param _username the username used to login into JotURL dashboard
* @param _public_key public api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
* @param _private_key private api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
* @param base_url the base URL to be use to call API endpoints, defaults to https://joturl.com/a/i1/
*
* @returns {JotUrlSDK}
*/
require ( ' JotUrlSDK ' )( _username , _public_key , _private_key , base_url );
/**
* Call and get results from the API endpoint.
*
* @param endpoint API endpoint to be called
* @param parameters [OPTIONAL] parameters to be passed to the call
* @param postParameters [OPTIONAL] post parameters to be passed to the call
*
* @returns {Promise}
*/
function call ( endpoint , parameters = {}, postParameters = {});
Java SDK
Click here to download the SDK for Java with an example included.
Java example
import joturlsdk.JotUrlRunnable ;
import joturlsdk.JotUrlSDK ;
public class JotUrlExample {
public static void main ( String [] args ) {
try {
JotUrlSDK sdk = new JotUrlSDK ( "[username]" , "[public_key]" , "[private_key]" );
sdk . call ( "users/info" , new JotUrlRunnable () {
public void run () {
System . out . println ( this . result );
}
});
} catch ( Exception e ) {
System . out . println ( "Error: " + e . getMessage ());
}
}
}
Documentation
/**
* Creates an instance of the JotUrl SDK.
*
* @param _username the username used to login into JotURL dashboard
* @param _public_key public api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
* @param _private_key private api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
*
* @returns {JotUrlSDK}
*/
JotUrlSDK sdk = new JotUrlSDK ( _username , _public_key , _private_key );
/**
* Call and get results from the API endpoint.
*
* @param endpoint API endpoint to be called
* @param parameters parameters to be passed to the call (null to ignore)
* @param postParameters post parametersto be passed to the call (null to ignore)
*
*/
JotUrlSDK . call ( String endpoint , JotUrlRunnable callback , Map < String , String > parameters , Map < String , String > postParameters );
JotUrlSDK . call ( String endpoint , JotUrlRunnable callback );
JotUrlSDK . callGET ( String endpoint , Map < String , String > parameters , JotUrlRunnable callback );
JotUrlSDK . callPOST ( String endpoint , Map < String , String > postParameters , JotUrlRunnable callback );
Flutter SDK
Click here to download the SDK for Flutter with an example included.
Dart example
import 'package:joturlsdk/joturlsdk.dart' ;
void main () async {
final String username = '[username]' ;
final String public_key = '[public_key]' ;
final String private_key = '[private_key]' ;
try {
JotUrlSDK sdk = new JotUrlSDK ( username , public_key , private_key );
dynamic result = await sdk . call ( "users/info" );
print ( 'result: ' + result . toString ());
} catch ( e ) {
print ( "Error: " + e . toString ());
}
}
Documentation
/**
* Creates an instance of the JotUrl SDK.
*
* @param _username the username used to login into JotURL dashboard
* @param _public_key public api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
* @param _private_key private api key, you can find it on https://www.joturl.com/reserved/settings.html#tools-api
* @param base_url the base URL to be use to call API endpoints, defaults to https://joturl.com/a/i1/
*
* @returns JotUrlSDK
* @constructor
*/
JotUrlSDK sdk = new JotUrlSDK ( _username , _public_key , _private_key );
/**
* Call and get results from the API endpoint.
*
* @param endpoint API endpoint to be called
* @param getParameters query parameters to be passed to the call (null to ignore)
* @param postParameters post parametersto be passed to the call (null to ignore)
*
*/
sdk . call ( endpoint , { Map < String , dynamic > getParameters = null , Map < String , dynamic > postParameters = null });
API reference /decode
access: [READ]
This method converts API error codes into a friendly text message (in the current user language).
Example 1 (json)
Request
https://joturl.com/a/i1/decode?code=10
Query parameters
code = 10
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"message" : "An error occurred while deleting the QR codes of a URL"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/decode?code=10&format=xml
Query parameters
code = 10
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<message> An error occurred while deleting the QR codes of a URL </message>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/decode?code=10&format=txt
Query parameters
code = 10
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_message = An error occurred while deleting the QR codes of a URL
Example 4 (plain)
Request
https://joturl.com/a/i1/decode?code=10&format=plain
Query parameters
code = 10
format = plain
Response
An error occurred while deleting the QR codes of a URL
Required parameters
parameter
description
codeSTRING
numeric code representing the error message
Return values
parameter
description
lang
language in which the message is
message
decoded text message
/timestamp
access: [READ]
This method returns the current server timestamp (UTC) with microseconds as float.
Example 1 (json)
Request
https://joturl.com/a/i1/timestamp
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"timestamp" : 1707568197.9847
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/timestamp?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<timestamp> 1707568197.9847 </timestamp>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/timestamp?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_timestamp = 1707568197.9847
Example 4 (plain)
Request
https://joturl.com/a/i1/timestamp?format=plain
Query parameters
format = plain
Response
1707568197.9847
Return values
parameter
description
timestamp
the current Unix timestamp with microseconds
/translate
access: [READ]
This method translates an error codes into a friendly text message.
Example 1 (json)
Request
https://joturl.com/a/i1/translate?code=sample_message&lang=en
Query parameters
code = sample_message
lang = en
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"text" : "This is a sample error message" ,
"lang" : "en"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/translate?code=sample_message&lang=en&format=xml
Query parameters
code = sample_message
lang = en
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<text> This is a sample error message </text>
<lang> en </lang>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/translate?code=sample_message&lang=en&format=txt
Query parameters
code = sample_message
lang = en
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_text = This is a sample error message
result_lang = en
Example 4 (plain)
Request
https://joturl.com/a/i1/translate?code=sample_message&lang=en&format=plain
Query parameters
code = sample_message
lang = en
format = plain
Response
This is a sample error message
en
Required parameters
parameter
description
codeSTRING
string code representing the error message
Optional parameters
parameter
description
langSTRING
language in which you want to translate the message
Return values
parameter
description
lang
language in which the message is
text
text message corresponding to code
/apis /apis/accepted
access: [WRITE]
This method returns the actual result from an accepted (202) API endpoint.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/accepted
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : []
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/accepted?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/accepted?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result =
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/accepted?format=plain
Query parameters
format = plain
Response
Example 5 (json)
Request
https://joturl.com/a/i1/apis/accepted?_accepted_id=aa00b1619f05074fe5e4b9bfeecce656
Query parameters
_accepted_id = aa00b1619f05074fe5e4b9bfeecce656
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"_accepted_id" : "aa00b1619f05074fe5e4b9bfeecce656" ,
"_accepted_key" : "method_id" ,
"_accepted_perc" : 0 ,
"_accepted_count" : 0 ,
"_accepted_total" : 0 ,
"_accepted_errors" : 0 ,
"_accepted_dt" : "2024-02-10 12:29:55"
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/apis/accepted?_accepted_id=aa00b1619f05074fe5e4b9bfeecce656&format=xml
Query parameters
_accepted_id = aa00b1619f05074fe5e4b9bfeecce656
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<_accepted_id> aa00b1619f05074fe5e4b9bfeecce656 </_accepted_id>
<_accepted_key> method_id </_accepted_key>
<_accepted_perc> 0 </_accepted_perc>
<_accepted_count> 0 </_accepted_count>
<_accepted_total> 0 </_accepted_total>
<_accepted_errors> 0 </_accepted_errors>
<_accepted_dt> 2024-02-10 12:29:55 </_accepted_dt>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/apis/accepted?_accepted_id=aa00b1619f05074fe5e4b9bfeecce656&format=txt
Query parameters
_accepted_id = aa00b1619f05074fe5e4b9bfeecce656
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result__accepted_id = aa00b1619f05074fe5e4b9bfeecce656
result__accepted_key = method_id
result__accepted_perc = 0
result__accepted_count = 0
result__accepted_total = 0
result__accepted_errors = 0
result__accepted_dt = 2024-02-10 12:29:55
Example 8 (plain)
Request
https://joturl.com/a/i1/apis/accepted?_accepted_id=aa00b1619f05074fe5e4b9bfeecce656&format=plain
Query parameters
_accepted_id = aa00b1619f05074fe5e4b9bfeecce656
format = plain
Response
aa00b1619f05074fe5e4b9bfeecce656
method_id
0
0
0
0
2024-02-10 12:29:55
Optional parameters
parameter
description
_accepted_idID
ID returned by the accepted (202) API endpoint
stop_taskBOOLEAN
1 to stop the background task, _accepted_id is mandatory if stop_task is 1
Return values
parameter
description
_accepted_count
[OPTIONAL] completed subtasks (e.g., the number of imported tracking links)
_accepted_dt
[OPTIONAL] starting date/time of the task
_accepted_errors
[OPTIONAL] total number of subtasks not completed correctly (e.g., the number of tracking links for which the import has failed)
_accepted_id
[OPTIONAL] ID of the task started by the accepted (202) API endpoint
_accepted_key
[OPTIONAL] key that uniquely identifies the accepted (202) API endpoint that started the task
_accepted_perc
[OPTIONAL] percentage of completition of the task
_accepted_total
[OPTIONAL] total number of subtasks (e.g., the total number of tracking links to be imported)
data
[OPTIONAL] data returned at the end of the task from the accepted (202) API endpoint
stopped
[OPTIONAL] 1 if the task has been stopped, 0 otherwise, returned only if stop_task is 1
/apis/has_access
access: [READ]
User permissions can remove access to this version of the API. This method returns 1 only if the user has access to this version of the API.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/has_access
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"has_access" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/has_access?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<has_access> 0 </has_access>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/has_access?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_has_access = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/has_access?format=plain
Query parameters
format = plain
Response
0
Return values
parameter
description
has_access
1 if the user has access to this API version, 0 otherwise
/apis/keys
access: [WRITE]
This method returns the API keys associated to the logged in user.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/keys
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"public" : "0daf948711ebf339faeeb82248dd92bc" ,
"private" : "03f0e709620f892aeb293afe453e8a87"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/keys?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<public> 0daf948711ebf339faeeb82248dd92bc </public>
<private> 03f0e709620f892aeb293afe453e8a87 </private>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/keys?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_public = 0daf948711ebf339faeeb82248dd92bc
result_private = 03f0e709620f892aeb293afe453e8a87
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/keys?format=plain
Query parameters
format = plain
Response
0daf948711ebf339faeeb82248dd92bc
03f0e709620f892aeb293afe453e8a87
Example 5 (json)
Request
https://joturl.com/a/i1/apis/keys?password=ob1c1lphmc&reset=1
Query parameters
password = ob1c1lphmc
reset = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"public" : "39ad6768222fb27290c649315acad93b" ,
"private" : "143c3211ab953818439e465df66f203e"
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/apis/keys?password=ob1c1lphmc&reset=1&format=xml
Query parameters
password = ob1c1lphmc
reset = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<public> 39ad6768222fb27290c649315acad93b </public>
<private> 143c3211ab953818439e465df66f203e </private>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/apis/keys?password=ob1c1lphmc&reset=1&format=txt
Query parameters
password = ob1c1lphmc
reset = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_public = 39ad6768222fb27290c649315acad93b
result_private = 143c3211ab953818439e465df66f203e
Example 8 (plain)
Request
https://joturl.com/a/i1/apis/keys?password=ob1c1lphmc&reset=1&format=plain
Query parameters
password = ob1c1lphmc
reset = 1
format = plain
Response
39ad6768222fb27290c649315acad93b
143c3211ab953818439e465df66f203e
Optional parameters
parameter
description
passwordSTRING
current account password, to be sent if reset = 1
resetBOOLEAN
1 to reset API keys, if this parameter is 1 the POST method is required (because the password is sent)
Return values
parameter
description
private
the user private API key
public
the user public API key
/apis/lab /apis/lab/add
access: [WRITE]
This method adds a new LAB script.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/lab/add?name=test+script&script=LogManager.log%28%27script%27%29%3B
Query parameters
name = test script
script = LogManager.log('script');
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"name" : "test script" ,
"script" : "LogManager.log('script');" ,
"id" : "ace172af2a149986a45db1da821f7d90" ,
"creation" : "2024-02-10 12:29:55"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/lab/add?name=test+script&script=LogManager.log%28%27script%27%29%3B&format=xml
Query parameters
name = test script
script = LogManager.log('script');
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<name> test script </name>
<script> LogManager.log('script'); </script>
<id> ace172af2a149986a45db1da821f7d90 </id>
<creation> 2024-02-10 12:29:55 </creation>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/lab/add?name=test+script&script=LogManager.log%28%27script%27%29%3B&format=txt
Query parameters
name = test script
script = LogManager.log('script');
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_name = test script
result_script = LogManager.log('script');
result_id = ace172af2a149986a45db1da821f7d90
result_creation = 2024-02-10 12:29:55
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/lab/add?name=test+script&script=LogManager.log%28%27script%27%29%3B&format=plain
Query parameters
name = test script
script = LogManager.log('script');
format = plain
Response
test script
LogManager.log('script');
ace172af2a149986a45db1da821f7d90
2024-02-10 12:29:55
Required parameters
parameter
description
nameSTRING
LAB script name
scriptHTML
LAB script content
We suggest that you call this endpoint using the POST method due to the large number of characters that may be required in script
.
Return values
parameter
description
creation
creation date/time of the LAB script
id
ID of the LAB script
name
LAB script name (max length: 100000 bytes)
/apis/lab/count
access: [READ]
This method returns the number of LAB scripts.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/lab/count?search=a
Query parameters
search = a
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/lab/count?search=a&format=xml
Query parameters
search = a
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/lab/count?search=a&format=txt
Query parameters
search = a
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/lab/count?search=a&format=plain
Query parameters
search = a
format = plain
Response
2
Example 5 (json)
Request
https://joturl.com/a/i1/apis/lab/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 28
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/apis/lab/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 28 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/apis/lab/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 28
Example 8 (plain)
Request
https://joturl.com/a/i1/apis/lab/count?format=plain
Query parameters
format = plain
Response
28
Optional parameters
parameter
description
searchSTRING
filter LAB scripts by searching them
Return values
parameter
description
count
total number of LAB scripts, filtered by search : if passed
/apis/lab/delete
access: [WRITE]
This method deletes LAB scripts by using the parameter ids .
Example 1 (json)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f
Query parameters
ids = 7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f&format=xml
Query parameters
ids = 7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 2 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f&format=txt
Query parameters
ids = 7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f&format=plain
Query parameters
ids = 7f6ffaa6bb0b408017b62254211691b5,bff030594cd09ce531297feac0327b3f
format = plain
Response
2
Example 5 (json)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
Query parameters
ids = 6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df&format=xml
Query parameters
ids = 6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df&format=txt
Query parameters
ids = 6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/apis/lab/delete?ids=6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df&format=plain
Query parameters
ids = 6abcc8f24321d1eb8c95855eab78ee95,18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
format = plain
Response
18aaf4672792c237acf34af9f8fe3ee3,df906bde6d2bb9848a5f23b35c3cf7df
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of LAB script IDs to be deleted, max number of IDs in the list: 100
Return values
parameter
description
deleted
number of deleted scripts
/apis/lab/edit
access: [WRITE]
This method edits a LAB script.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/lab/edit?id=a2d1cd7f8cbc90926df3115cf34928e2&name=test+script
Query parameters
id = a2d1cd7f8cbc90926df3115cf34928e2
name = test script
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "a2d1cd7f8cbc90926df3115cf34928e2" ,
"name" : "test script" ,
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/lab/edit?id=a2d1cd7f8cbc90926df3115cf34928e2&name=test+script&format=xml
Query parameters
id = a2d1cd7f8cbc90926df3115cf34928e2
name = test script
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> a2d1cd7f8cbc90926df3115cf34928e2 </id>
<name> test script </name>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/lab/edit?id=a2d1cd7f8cbc90926df3115cf34928e2&name=test+script&format=txt
Query parameters
id = a2d1cd7f8cbc90926df3115cf34928e2
name = test script
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = a2d1cd7f8cbc90926df3115cf34928e2
result_name = test script
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/lab/edit?id=a2d1cd7f8cbc90926df3115cf34928e2&name=test+script&format=plain
Query parameters
id = a2d1cd7f8cbc90926df3115cf34928e2
name = test script
format = plain
Response
a2d1cd7f8cbc90926df3115cf34928e2
test script
1
Required parameters
parameter
description
idID
ID of the LAB script to edit
Optional parameters
parameter
description
nameSTRING
LAB script name
scriptHTML
content of the LAB script
If script
is passed, we suggest that you call this endpoint using the POST method due to the large number of characters that may be required in script
. One of the parameters name
and script
is mandatory
Return values
parameter
description
updated
1 on success, 0 otherwise
/apis/lab/info
access: [READ]
This method returns info about a LAB script.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/lab/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
{
"id" : "42ac4bc31cc950361e183170ff8a3361" ,
"name" : "script name 0" ,
"creation" : "2024-02-10 12:55:18" ,
"script" : "LogManager.log('script 0');"
} ,
{
"id" : "92171876f258b2f63e958cf8e0434242" ,
"name" : "script name 1" ,
"creation" : "2024-02-10 13:30:29" ,
"script" : "LogManager.log('script 1');"
} ,
{
"id" : "09e19aba65ce8fcfa1842090e32f3ee1" ,
"name" : "script name 2" ,
"creation" : "2024-02-10 14:00:09" ,
"script" : "LogManager.log('script 2');"
} ,
{
"id" : "99906a03e7b2c061c797b8a1c901924f" ,
"name" : "script name 3" ,
"creation" : "2024-02-10 15:44:00" ,
"script" : "LogManager.log('script 3');"
} ,
{
"id" : "86378affad469e0f11ea0e93e7e20fca" ,
"name" : "script name 4" ,
"creation" : "2024-02-10 16:15:28" ,
"script" : "LogManager.log('script 4');"
}
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/lab/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0>
<id> 42ac4bc31cc950361e183170ff8a3361 </id>
<name> script name 0 </name>
<creation> 2024-02-10 12:55:18 </creation>
<script> LogManager.log('script 0'); </script>
</i0>
<i1>
<id> 92171876f258b2f63e958cf8e0434242 </id>
<name> script name 1 </name>
<creation> 2024-02-10 13:30:29 </creation>
<script> LogManager.log('script 1'); </script>
</i1>
<i2>
<id> 09e19aba65ce8fcfa1842090e32f3ee1 </id>
<name> script name 2 </name>
<creation> 2024-02-10 14:00:09 </creation>
<script> LogManager.log('script 2'); </script>
</i2>
<i3>
<id> 99906a03e7b2c061c797b8a1c901924f </id>
<name> script name 3 </name>
<creation> 2024-02-10 15:44:00 </creation>
<script> LogManager.log('script 3'); </script>
</i3>
<i4>
<id> 86378affad469e0f11ea0e93e7e20fca </id>
<name> script name 4 </name>
<creation> 2024-02-10 16:15:28 </creation>
<script> LogManager.log('script 4'); </script>
</i4>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/lab/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0_id = 42ac4bc31cc950361e183170ff8a3361
result_0_name = script name 0
result_0_creation = 2024-02-10 12:55:18
result_0_script = LogManager.log('script 0');
result_1_id = 92171876f258b2f63e958cf8e0434242
result_1_name = script name 1
result_1_creation = 2024-02-10 13:30:29
result_1_script = LogManager.log('script 1');
result_2_id = 09e19aba65ce8fcfa1842090e32f3ee1
result_2_name = script name 2
result_2_creation = 2024-02-10 14:00:09
result_2_script = LogManager.log('script 2');
result_3_id = 99906a03e7b2c061c797b8a1c901924f
result_3_name = script name 3
result_3_creation = 2024-02-10 15:44:00
result_3_script = LogManager.log('script 3');
result_4_id = 86378affad469e0f11ea0e93e7e20fca
result_4_name = script name 4
result_4_creation = 2024-02-10 16:15:28
result_4_script = LogManager.log('script 4');
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/lab/info?format=plain
Query parameters
format = plain
Response
42ac4bc31cc950361e183170ff8a3361
script name 0
2024-02-10 12:55:18
LogManager.log('script 0');
92171876f258b2f63e958cf8e0434242
script name 1
2024-02-10 13:30:29
LogManager.log('script 1');
09e19aba65ce8fcfa1842090e32f3ee1
script name 2
2024-02-10 14:00:09
LogManager.log('script 2');
99906a03e7b2c061c797b8a1c901924f
script name 3
2024-02-10 15:44:00
LogManager.log('script 3');
86378affad469e0f11ea0e93e7e20fca
script name 4
2024-02-10 16:15:28
LogManager.log('script 4');
Required parameters
parameter
description
idID
ID of the LAB script
Return values
parameter
description
creation
creation date/time of the LAB script
id
ID of the LAB script
name
name of the LAB script
script
content of the LAB script
/apis/lab/list
access: [READ]
This method returns a list of available custom scripts for the current user.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/lab/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
{
"id" : "1efea5261294b84c4768a3eaa12f8280" ,
"name" : "script name 0" ,
"creation" : "2024-02-10 13:28:33"
} ,
{
"id" : "f77be9973c293fd164734dd06f9d532f" ,
"name" : "script name 1" ,
"creation" : "2024-02-10 13:47:01"
} ,
{
"id" : "5560f21b2b54c2b09d5b6b9bf2177c38" ,
"name" : "script name 2" ,
"creation" : "2024-02-10 14:52:57"
} ,
{
"id" : "87ab254cdc3e7c1cc81a48e289149114" ,
"name" : "script name 3" ,
"creation" : "2024-02-10 16:28:09"
} ,
{
"id" : "f83872d12ceb2d11bed944f10c247fda" ,
"name" : "script name 4" ,
"creation" : "2024-02-10 19:15:41"
}
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/lab/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0>
<id> 1efea5261294b84c4768a3eaa12f8280 </id>
<name> script name 0 </name>
<creation> 2024-02-10 13:28:33 </creation>
</i0>
<i1>
<id> f77be9973c293fd164734dd06f9d532f </id>
<name> script name 1 </name>
<creation> 2024-02-10 13:47:01 </creation>
</i1>
<i2>
<id> 5560f21b2b54c2b09d5b6b9bf2177c38 </id>
<name> script name 2 </name>
<creation> 2024-02-10 14:52:57 </creation>
</i2>
<i3>
<id> 87ab254cdc3e7c1cc81a48e289149114 </id>
<name> script name 3 </name>
<creation> 2024-02-10 16:28:09 </creation>
</i3>
<i4>
<id> f83872d12ceb2d11bed944f10c247fda </id>
<name> script name 4 </name>
<creation> 2024-02-10 19:15:41 </creation>
</i4>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/lab/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0_id = 1efea5261294b84c4768a3eaa12f8280
result_0_name = script name 0
result_0_creation = 2024-02-10 13:28:33
result_1_id = f77be9973c293fd164734dd06f9d532f
result_1_name = script name 1
result_1_creation = 2024-02-10 13:47:01
result_2_id = 5560f21b2b54c2b09d5b6b9bf2177c38
result_2_name = script name 2
result_2_creation = 2024-02-10 14:52:57
result_3_id = 87ab254cdc3e7c1cc81a48e289149114
result_3_name = script name 3
result_3_creation = 2024-02-10 16:28:09
result_4_id = f83872d12ceb2d11bed944f10c247fda
result_4_name = script name 4
result_4_creation = 2024-02-10 19:15:41
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/lab/list?format=plain
Query parameters
format = plain
Response
1efea5261294b84c4768a3eaa12f8280
script name 0
2024-02-10 13:28:33
f77be9973c293fd164734dd06f9d532f
script name 1
2024-02-10 13:47:01
5560f21b2b54c2b09d5b6b9bf2177c38
script name 2
2024-02-10 14:52:57
87ab254cdc3e7c1cc81a48e289149114
script name 3
2024-02-10 16:28:09
f83872d12ceb2d11bed944f10c247fda
script name 4
2024-02-10 19:15:41
Optional parameters
parameter
description
searchSTRING
filters items to be extracted by searching them
Return values
parameter
description
count
total number of LAB scripts
data
list of available/filtered LAB scripts for the current user
/apis/limits
access: [READ]
This method returns the API limits for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/limits
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"primary" : {
"limit" : 500 ,
"unit" : "HOUR"
} ,
"secondary" : {
"limit" : 50000 ,
"unit" : "DAY"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/limits?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<primary>
<limit> 500 </limit>
<unit> HOUR </unit>
</primary>
<secondary>
<limit> 50000 </limit>
<unit> DAY </unit>
</secondary>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/limits?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_primary_limit = 500
result_primary_unit = HOUR
result_secondary_limit = 50000
result_secondary_unit = DAY
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/limits?format=plain
Query parameters
format = plain
Response
500
HOUR
50000
DAY
Return values
parameter
description
primary
object containing the primary rate limit: an integer limit and the unit in which the limit is expressed. unit is one of the following [MINUTE,HOUR,DAY,3_DAY]. 3_DAY is equivalent to 3 days
secondary
object containing the secondary rate limit: an integer limit and the unit in which the limit is expressed. unit is one of the following [MINUTE,HOUR,DAY,3_DAY]. 3_DAY is equivalent to 3 days
/apis/list
access: [READ]
This method returns the list of available versions of the API.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"id" : "v1" ,
"name" : "Version v1"
} ,
{
"id" : "i1" ,
"name" : "Version i1"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<id> v1 </id>
<name> Version v1 </name>
</i0>
<i1>
<id> i1 </id>
<name> Version i1 </name>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_id = v1
result_data_0_name = Version v1
result_data_1_id = i1
result_data_1_name = Version i1
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/list?format=plain
Query parameters
format = plain
Response
2
v1
Version v1
i1
Version i1
Optional parameters
parameter
description
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbySTRING
orders items by field
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
total number of versions
data
array containing required information on API versions the user has access to
/apis/tokens
access: [WRITE]
This method returns the API tokens associated to the logged in user.
Example 1 (json)
Request
https://joturl.com/a/i1/apis/tokens
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"read_write_token" : "tok_RWce5b1c064ae3a81993164a4bf07e0513" ,
"read_only_token" : "tok_RO670267b1aabf0fd3fd0cc73edd224165"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/apis/tokens?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<read_write_token> tok_RWce5b1c064ae3a81993164a4bf07e0513 </read_write_token>
<read_only_token> tok_RO670267b1aabf0fd3fd0cc73edd224165 </read_only_token>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/apis/tokens?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_read_write_token = tok_RWce5b1c064ae3a81993164a4bf07e0513
result_read_only_token = tok_RO670267b1aabf0fd3fd0cc73edd224165
Example 4 (plain)
Request
https://joturl.com/a/i1/apis/tokens?format=plain
Query parameters
format = plain
Response
tok_RWce5b1c064ae3a81993164a4bf07e0513
tok_RO670267b1aabf0fd3fd0cc73edd224165
Example 5 (json)
Request
https://joturl.com/a/i1/apis/tokens?password=phidr5dpod&reset=1
Query parameters
password = phidr5dpod
reset = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"read_write_token" : "tok_RW4691f78b518d26d607ca2e3734bbab4e" ,
"read_only_token" : "tok_RO57386d8fccfc9098d9d1a73f4ddbc26d"
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/apis/tokens?password=phidr5dpod&reset=1&format=xml
Query parameters
password = phidr5dpod
reset = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<read_write_token> tok_RW4691f78b518d26d607ca2e3734bbab4e </read_write_token>
<read_only_token> tok_RO57386d8fccfc9098d9d1a73f4ddbc26d </read_only_token>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/apis/tokens?password=phidr5dpod&reset=1&format=txt
Query parameters
password = phidr5dpod
reset = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_read_write_token = tok_RW4691f78b518d26d607ca2e3734bbab4e
result_read_only_token = tok_RO57386d8fccfc9098d9d1a73f4ddbc26d
Example 8 (plain)
Request
https://joturl.com/a/i1/apis/tokens?password=phidr5dpod&reset=1&format=plain
Query parameters
password = phidr5dpod
reset = 1
format = plain
Response
tok_RW4691f78b518d26d607ca2e3734bbab4e
tok_RO57386d8fccfc9098d9d1a73f4ddbc26d
Optional parameters
parameter
description
passwordSTRING
current account password, to be sent if reset = 1
resetBOOLEAN
1 to reset the API tokens, if this parameter is 1 the POST method is required (because the password is sent)
Return values
parameter
description
read_only_token
the read-only API access token
read_write_token
the read/write API access token
/cdns /cdns/add
access: [WRITE]
This method allows to upload a resource to the CDN.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/add?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D
Query parameters
type = image
info = {"name":"this is my resource"}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "778f072e652506733f0023aceb8efcca" ,
"name" : "this is my resource" ,
"creation" : "2024-02-10 12:29:55" ,
"url" : "https://cdn.endpoint/path/to/resource" ,
"width" : 533 ,
"height" : 400 ,
"size" : 20903 ,
"mime_type" : "image/png"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/add?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&format=xml
Query parameters
type = image
info = {"name":"this is my resource"}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 778f072e652506733f0023aceb8efcca </id>
<name> this is my resource </name>
<creation> 2024-02-10 12:29:55 </creation>
<url> https://cdn.endpoint/path/to/resource </url>
<width> 533 </width>
<height> 400 </height>
<size> 20903 </size>
<mime_type> image/png </mime_type>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/add?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&format=txt
Query parameters
type = image
info = {"name":"this is my resource"}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 778f072e652506733f0023aceb8efcca
result_name = this is my resource
result_creation = 2024-02-10 12:29:55
result_url = https://cdn.endpoint/path/to/resource
result_width = 533
result_height = 400
result_size = 20903
result_mime_type = image/png
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/add?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&format=plain
Query parameters
type = image
info = {"name":"this is my resource"}
format = plain
Response
778f072e652506733f0023aceb8efcca
this is my resource
2024-02-10 12:29:55
https://cdn.endpoint/path/to/resource
533
400
20903
image/png
Required parameters
Optional parameters
parameter
description
max length
external_urlURL
URL to an external resource (not managed by the CDN), this URL must be with HTTPS
4000
infoJSON
JSON containing additional info on the resource
inputSTRING
name of the HTML form field that contains data for the resource, if not passed the default value input will be used (i.e., input = input
)
The input
parameter must not be passed if the external_url
parameter is passed. Currently supported fields in info :
name : name of the resource, if not specified, the name of the file will be used.
NOTES : The parameter input contains the name of the field of the HTML form that is used to send resource data to this method. Form must have enctype = "multipart/form-data"
and method = "post"
.
<form
action= "/a/i1/cdns/add"
method= "post"
enctype= "multipart/form-data" >
<input name= "input" value= "resource_field" type= "hidden" />
[other form fields]
<input name= "resource_field" type= "file" />
</form>
Return values
parameter
description
creation
date/time when the CDN resource was created
height
height in pixels of the CDN resource, if available
id
ID of the CDN resource
mime_type
MIME type of the resource, or 'external_url' for external URLs
name
name of the CDN resource
size
size in bytes of the CDN resource, if available
url
URL of the CDN resource
width
width in pixels of the CDN resource, if available
/cdns/count
access: [READ]
This method returns the number of resources on the CDN.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/count?format=plain
Query parameters
format = plain
Response
1
Required parameters
Optional parameters
parameter
description
filtersJSON
filters to be used to count media, for available filters see i1/cdns/list
searchSTRING
filters CDN resources to be extracted by searching them
Return values
parameter
description
count
number of (filtered) CDN resources
/cdns/delete
access: [WRITE]
This method deletes a resource from the CDN.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/delete?id=0bb14d33535e7403bf53880c1da7b074
Query parameters
id = 0bb14d33535e7403bf53880c1da7b074
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "0bb14d33535e7403bf53880c1da7b074" ,
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/delete?id=0bb14d33535e7403bf53880c1da7b074&format=xml
Query parameters
id = 0bb14d33535e7403bf53880c1da7b074
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 0bb14d33535e7403bf53880c1da7b074 </id>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/delete?id=0bb14d33535e7403bf53880c1da7b074&format=txt
Query parameters
id = 0bb14d33535e7403bf53880c1da7b074
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 0bb14d33535e7403bf53880c1da7b074
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/delete?id=0bb14d33535e7403bf53880c1da7b074&format=plain
Query parameters
id = 0bb14d33535e7403bf53880c1da7b074
format = plain
Response
0bb14d33535e7403bf53880c1da7b074
1
Required parameters
parameter
description
idID
ID of the CDN resource to delete
Optional parameters
parameter
description
confirmBOOLEAN
If 1 this method deletes the CDN resource even if it is linked to a tracking link
Return values
parameter
description
deleted
1 if successful, otherwise a generic error message is issued
id
echo back of the id input parameter
/cdns/edit
access: [WRITE]
This method allows to modify a CDN resource.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/edit?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&id=c1eeede66daf84fa403f93df2c029c30
Query parameters
type = image
info = {"name":"this is my resource"}
id = c1eeede66daf84fa403f93df2c029c30
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "c1eeede66daf84fa403f93df2c029c30" ,
"name" : "this is my resource" ,
"creation" : "2024-02-10 12:29:55" ,
"url" : "https://cdn.endpoint/path/to/resource" ,
"width" : 533 ,
"height" : 400 ,
"size" : 20903 ,
"mime_type" : "image/png"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/edit?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&id=c1eeede66daf84fa403f93df2c029c30&format=xml
Query parameters
type = image
info = {"name":"this is my resource"}
id = c1eeede66daf84fa403f93df2c029c30
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> c1eeede66daf84fa403f93df2c029c30 </id>
<name> this is my resource </name>
<creation> 2024-02-10 12:29:55 </creation>
<url> https://cdn.endpoint/path/to/resource </url>
<width> 533 </width>
<height> 400 </height>
<size> 20903 </size>
<mime_type> image/png </mime_type>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/edit?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&id=c1eeede66daf84fa403f93df2c029c30&format=txt
Query parameters
type = image
info = {"name":"this is my resource"}
id = c1eeede66daf84fa403f93df2c029c30
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = c1eeede66daf84fa403f93df2c029c30
result_name = this is my resource
result_creation = 2024-02-10 12:29:55
result_url = https://cdn.endpoint/path/to/resource
result_width = 533
result_height = 400
result_size = 20903
result_mime_type = image/png
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/edit?type=image&info=%7B%22name%22%3A%22this+is+my+resource%22%7D&id=c1eeede66daf84fa403f93df2c029c30&format=plain
Query parameters
type = image
info = {"name":"this is my resource"}
id = c1eeede66daf84fa403f93df2c029c30
format = plain
Response
c1eeede66daf84fa403f93df2c029c30
this is my resource
2024-02-10 12:29:55
https://cdn.endpoint/path/to/resource
533
400
20903
image/png
Required parameters
Optional parameters
parameter
description
max length
external_urlURL
URL to an external resource (not managed by the CDN), this URL must be with HTTPS
4000
infoJSON
JSON containing additional info on the resource
inputSTRING
name of the HTML form field that contains data for the resource, if not passed the default value input will be used (i.e., input = input
)
The input
parameter must not be passed if the external_url
parameter is passed. Currently supported fields in info :
name : name of the resource, if not specified, the name of the file will be used.
NOTES : The parameter input contains the name of the field of the HTML form that is used to send resource data to this method. Form must have enctype = "multipart/form-data"
and method = "post"
.
<form
action= "/a/i1/cdns/edit"
method= "post"
enctype= "multipart/form-data" >
<input name= "input" value= "resource_field" type= "hidden" />
[other form fields]
<input name= "resource_field" type= "file" />
</form>
Return values
parameter
description
creation
date/time when the CDN resource was created
height
height in pixels of the CDN resource, if available
id
ID of the CDN resource
mime_type
MIME type of the resource, or 'external_url' for external URLs
name
name of the CDN resource
size
size in bytes of the CDN resource, if available
url
URL of the CDN resource
width
width in pixels of the CDN resource, if available
/cdns/info
access: [READ]
This method returns information about a resource on the CDN.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/info?id=fd1f19fbe320833a39444b622f1d3320
Query parameters
id = fd1f19fbe320833a39444b622f1d3320
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"id" : "fd1f19fbe320833a39444b622f1d3320" ,
"name" : "this is my resource" ,
"creation" : "2019-06-25 13:01:23" ,
"url" : "https://cdn.endpoint/path/to/resource" ,
"width" : 533 ,
"height" : 400 ,
"size" : 20903 ,
"mime_type" : "image/png"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/info?id=fd1f19fbe320833a39444b622f1d3320&format=xml
Query parameters
id = fd1f19fbe320833a39444b622f1d3320
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<id> fd1f19fbe320833a39444b622f1d3320 </id>
<name> this is my resource </name>
<creation> 2019-06-25 13:01:23 </creation>
<url> https://cdn.endpoint/path/to/resource </url>
<width> 533 </width>
<height> 400 </height>
<size> 20903 </size>
<mime_type> image/png </mime_type>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/info?id=fd1f19fbe320833a39444b622f1d3320&format=txt
Query parameters
id = fd1f19fbe320833a39444b622f1d3320
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_id = fd1f19fbe320833a39444b622f1d3320
result_data_name = this is my resource
result_data_creation = 2019-06-25 13:01:23
result_data_url = https://cdn.endpoint/path/to/resource
result_data_width = 533
result_data_height = 400
result_data_size = 20903
result_data_mime_type = image/png
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/info?id=fd1f19fbe320833a39444b622f1d3320&format=plain
Query parameters
id = fd1f19fbe320833a39444b622f1d3320
format = plain
Response
fd1f19fbe320833a39444b622f1d3320
this is my resource
2019-06-25 13:01:23
https://cdn.endpoint/path/to/resource
533
400
20903
image/png
Required parameters
parameter
description
idID
ID of the CDN resource
Return values
parameter
description
data
array containing required information on CDN resources
Available fields in the data array:
id : ID of the CDN resource name : name of the CDN resource creation : date/time when the CDN resource was created url : URL of the CDN resource width : width in pixels of the CDN resource, if available height : height in pixels of the CDN resource, if available size : size in bytes of the CDN resource, if available mime_type : MIME type of the resource, or 'external_url' for external URLs Available fields in filters :
max_size : maximum size (in bytes) of the image max_width : maximum width (in pixels) of the image max_height : maximum height (in pixels) of the image external : 1 to extract only external media, 0 to extract only internal media
/cdns/links /cdns/links/add
access: [WRITE]
This method allows to add an association between a CDN resource and a key and/or a tracking link. This method allows multiple instances for the combination (CDN resource,key).
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/links/add?key=my_custom_config_key&cdn_id=dfda2f67cb435312f4226a4f83fce0b8&value=%7B%22position%22%3A%22top_left%22%7D
Query parameters
key = my_custom_config_key
cdn_id = dfda2f67cb435312f4226a4f83fce0b8
value = {"position":"top_left"}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/links/add?key=my_custom_config_key&cdn_id=dfda2f67cb435312f4226a4f83fce0b8&value=%7B%22position%22%3A%22top_left%22%7D&format=xml
Query parameters
key = my_custom_config_key
cdn_id = dfda2f67cb435312f4226a4f83fce0b8
value = {"position":"top_left"}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/links/add?key=my_custom_config_key&cdn_id=dfda2f67cb435312f4226a4f83fce0b8&value=%7B%22position%22%3A%22top_left%22%7D&format=txt
Query parameters
key = my_custom_config_key
cdn_id = dfda2f67cb435312f4226a4f83fce0b8
value = {"position":"top_left"}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/links/add?key=my_custom_config_key&cdn_id=dfda2f67cb435312f4226a4f83fce0b8&value=%7B%22position%22%3A%22top_left%22%7D&format=plain
Query parameters
key = my_custom_config_key
cdn_id = dfda2f67cb435312f4226a4f83fce0b8
value = {"position":"top_left"}
format = plain
Response
1
Required parameters
parameter
description
max length
cdn_idID
ID of the CDN resource
keySTRING
key that identifies the CDN resource/tracking link association, available values: reports_config
, instaurl
, instaurl_bg
, instaurl_images
, preview_image
50
Optional parameters
parameter
description
url_idID
ID of the tracking link
valueJSON
value for the association, it must be a stringified JSON
A maximum of 100 CDN resource/tracking link associations is allowed per tracking link. Parameter url_id
is mandatory when key
is equal to one of these keys: instaurl
, instaurl_bg
, instaurl_images
, preview_image
Return values
parameter
description
added
1 on success, 0 otherwise
/cdns/links/delete
access: [WRITE]
This method deletes all the associations between a CDN resource and a key and/or a tracking link. If the resource ID is not passed, it deletes all associations by using the key.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/links/delete?key=my_custom_config_key&cdn_id=21da3c4146fe46beb603c78a30f8cac1
Query parameters
key = my_custom_config_key
cdn_id = 21da3c4146fe46beb603c78a30f8cac1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 7
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/links/delete?key=my_custom_config_key&cdn_id=21da3c4146fe46beb603c78a30f8cac1&format=xml
Query parameters
key = my_custom_config_key
cdn_id = 21da3c4146fe46beb603c78a30f8cac1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 7 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/links/delete?key=my_custom_config_key&cdn_id=21da3c4146fe46beb603c78a30f8cac1&format=txt
Query parameters
key = my_custom_config_key
cdn_id = 21da3c4146fe46beb603c78a30f8cac1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 7
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/links/delete?key=my_custom_config_key&cdn_id=21da3c4146fe46beb603c78a30f8cac1&format=plain
Query parameters
key = my_custom_config_key
cdn_id = 21da3c4146fe46beb603c78a30f8cac1
format = plain
Response
7
Required parameters
parameter
description
max length
keySTRING
key that identifies the CDN resource/tracking link association, available values: reports_config
, instaurl
, instaurl_bg
, instaurl_images
, preview_image
50
Optional parameters
parameter
description
cdn_idID
if passed, only the associations with the CDN resource identified by this ID will be deleted
url_idID
if passed, only the associations with the tracking link identified by this ID will be deleted
Parameter url_id
is mandatory when key
is equal to one of these keys: instaurl
, instaurl_bg
, instaurl_images
, preview_image
Return values
parameter
description
deleted
number of deleted associations
/cdns/links/get
access: [READ]
This method returns all the associations between a CDN resource and a key and/or a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/links/get?key=my_custom_config_key&cdn_id=c91019b456df486f8ed2baf1a7152075
Query parameters
key = my_custom_config_key
cdn_id = c91019b456df486f8ed2baf1a7152075
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"id" : "ab9516da0aab0f0f2a003333583abff2" ,
"key" : "my_custom_config_key" ,
"value" : {
"position" : "top_left"
} ,
"cdn_id" : "c91019b456df486f8ed2baf1a7152075" ,
"url_id" : "87ce2c8f1e179491e0239c61df3d5cbd" ,
"name" : "this is my resource" ,
"creation" : "2019-06-25 13:01:23" ,
"url" : "https://cdn.endpoint/path/to/resource" ,
"width" : 533 ,
"height" : 400 ,
"size" : 20903 ,
"mime_type" : "image/png"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/links/get?key=my_custom_config_key&cdn_id=c91019b456df486f8ed2baf1a7152075&format=xml
Query parameters
key = my_custom_config_key
cdn_id = c91019b456df486f8ed2baf1a7152075
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<id> ab9516da0aab0f0f2a003333583abff2 </id>
<key> my_custom_config_key </key>
<value>
<position> top_left </position>
</value>
<cdn_id> c91019b456df486f8ed2baf1a7152075 </cdn_id>
<url_id> 87ce2c8f1e179491e0239c61df3d5cbd </url_id>
<name> this is my resource </name>
<creation> 2019-06-25 13:01:23 </creation>
<url> https://cdn.endpoint/path/to/resource </url>
<width> 533 </width>
<height> 400 </height>
<size> 20903 </size>
<mime_type> image/png </mime_type>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/links/get?key=my_custom_config_key&cdn_id=c91019b456df486f8ed2baf1a7152075&format=txt
Query parameters
key = my_custom_config_key
cdn_id = c91019b456df486f8ed2baf1a7152075
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_id = ab9516da0aab0f0f2a003333583abff2
result_data_key = my_custom_config_key
result_data_value_position = top_left
result_data_cdn_id = c91019b456df486f8ed2baf1a7152075
result_data_url_id = 87ce2c8f1e179491e0239c61df3d5cbd
result_data_name = this is my resource
result_data_creation = 2019-06-25 13:01:23
result_data_url = https://cdn.endpoint/path/to/resource
result_data_width = 533
result_data_height = 400
result_data_size = 20903
result_data_mime_type = image/png
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/links/get?key=my_custom_config_key&cdn_id=c91019b456df486f8ed2baf1a7152075&format=plain
Query parameters
key = my_custom_config_key
cdn_id = c91019b456df486f8ed2baf1a7152075
format = plain
Response
ab9516da0aab0f0f2a003333583abff2
my_custom_config_key
top_left
c91019b456df486f8ed2baf1a7152075
87ce2c8f1e179491e0239c61df3d5cbd
this is my resource
2019-06-25 13:01:23
https://cdn.endpoint/path/to/resource
533
400
20903
image/png
Required parameters
parameter
description
max length
keySTRING
key that identifies the CDN resource/tracking link association, available values: reports_config
, instaurl
, instaurl_bg
, instaurl_images
, preview_image
50
Optional parameters
parameter
description
cdn_idID
if passed, only the associations with the CDN resource identified by this ID will be returned
url_idID
if passed, only the associations with the tracking link identified by this ID will be returned
A maximum of 100 associations is always returned. Parameter url_id
is mandatory when key
is equal to one of these keys: instaurl
, instaurl_bg
, instaurl_images
, preview_image
Return values
parameter
description
data
array containing information on the association and the linked CDN resource
/cdns/links/set
access: [WRITE]
This method allows to set the association between a CDN resource and a key and/or a tracking link. This method allows only one instance for the combination (CDN resource,key).
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/links/set?key=my_custom_config_key&cdn_id=93e1cabbe71bf9ede738739aca965e09&value=%7B%22position%22%3A%22top_left%22%7D
Query parameters
key = my_custom_config_key
cdn_id = 93e1cabbe71bf9ede738739aca965e09
value = {"position":"top_left"}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"set" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/links/set?key=my_custom_config_key&cdn_id=93e1cabbe71bf9ede738739aca965e09&value=%7B%22position%22%3A%22top_left%22%7D&format=xml
Query parameters
key = my_custom_config_key
cdn_id = 93e1cabbe71bf9ede738739aca965e09
value = {"position":"top_left"}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<set> 1 </set>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/links/set?key=my_custom_config_key&cdn_id=93e1cabbe71bf9ede738739aca965e09&value=%7B%22position%22%3A%22top_left%22%7D&format=txt
Query parameters
key = my_custom_config_key
cdn_id = 93e1cabbe71bf9ede738739aca965e09
value = {"position":"top_left"}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_set = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/links/set?key=my_custom_config_key&cdn_id=93e1cabbe71bf9ede738739aca965e09&value=%7B%22position%22%3A%22top_left%22%7D&format=plain
Query parameters
key = my_custom_config_key
cdn_id = 93e1cabbe71bf9ede738739aca965e09
value = {"position":"top_left"}
format = plain
Response
1
Required parameters
parameter
description
max length
cdn_idID
ID of the CDN resource
keySTRING
key that identifies the CDN resource/tracking link association, available values: reports_config
, instaurl
, instaurl_bg
, instaurl_images
, preview_image
50
Optional parameters
parameter
description
url_idID
ID of the tracking link
valueJSON
value for the association, it must be a stringified JSON
Parameter url_id
is mandatory when key
is equal to one of these keys: instaurl
, instaurl_bg
, instaurl_images
, preview_image
Return values
parameter
description
set
1 on success, 0 otherwise
/cdns/list
access: [READ]
This method returns a list of resource on the CDN linked with the current user.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/list?type=image
Query parameters
type = image
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : {
"id" : "1234567890abcdef" ,
"name" : "this is my resource" ,
"creation" : "2019-06-25 13:01:23" ,
"url" : "https://cdn.endpoint/path/to/resource" ,
"width" : 533 ,
"height" : 400 ,
"size" : 20903 ,
"mime_type" : "image/png"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/list?type=image&format=xml
Query parameters
type = image
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<id> 1234567890abcdef </id>
<name> this is my resource </name>
<creation> 2019-06-25 13:01:23 </creation>
<url> https://cdn.endpoint/path/to/resource </url>
<width> 533 </width>
<height> 400 </height>
<size> 20903 </size>
<mime_type> image/png </mime_type>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/list?type=image&format=txt
Query parameters
type = image
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_id = 1234567890abcdef
result_data_name = this is my resource
result_data_creation = 2019-06-25 13:01:23
result_data_url = https://cdn.endpoint/path/to/resource
result_data_width = 533
result_data_height = 400
result_data_size = 20903
result_data_mime_type = image/png
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/list?type=image&format=plain
Query parameters
type = image
format = plain
Response
1
1234567890abcdef
this is my resource
2019-06-25 13:01:23
https://cdn.endpoint/path/to/resource
533
400
20903
image/png
Required parameters
Optional parameters
parameter
description
filtersJSON
filters to be used extracing media
lengthINTEGER
extracts this number of CDN resources (maxmimum allowed: 100)
searchSTRING
filters CDN resources to be extracted by searching them
startINTEGER
starts to extract CDN resources from this position
Return values
parameter
description
count
total number of (filtered) CDN resources
data
array containing required information on CDN resources
Available fields in the data array:
id : ID of the CDN resource name : name of the CDN resource creation : date/time when the CDN resource was created url : URL of the CDN resource width : width in pixels of the CDN resource, if available height : height in pixels of the CDN resource, if available size : size in bytes of the CDN resource, if available mime_type : MIME type of the resource, or 'external_url' for external URLs Available fields in filters :
max_size : maximum size (in bytes) of the image max_width : maximum width (in pixels) of the image max_height : maximum height (in pixels) of the image external : 1 to extract only external media, 0 to extract only internal media
/cdns/property
access: [READ]
This method return limits for uploading a resource on the CDN.
Example 1 (json)
Request
https://joturl.com/a/i1/cdns/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"image" : {
"max_size" : 5242880 ,
"allowed_types" : [
"gif" ,
"jpg" ,
"png" ,
"svg" ,
"webp"
] ,
"allowed_mimes" : [
"image/gif" ,
"image/jpeg" ,
"image/jpg" ,
"image/pjpeg" ,
"image/x-png" ,
"image/png" ,
"image/svg+xml" ,
"application/svg+xml" ,
"image/webp"
]
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/cdns/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<image>
<max_size> 5242880 </max_size>
<allowed_types>
<i0> gif </i0>
<i1> jpg </i1>
<i2> png </i2>
<i3> svg </i3>
<i4> webp </i4>
</allowed_types>
<allowed_mimes>
<i0> image/gif </i0>
<i1> image/jpeg </i1>
<i2> image/jpg </i2>
<i3> image/pjpeg </i3>
<i4> image/x-png </i4>
<i5> image/png </i5>
<i6> image/svg+xml </i6>
<i7> application/svg+xml </i7>
<i8> image/webp </i8>
</allowed_mimes>
</image>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/cdns/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_image_max_size = 5242880
result_image_allowed_types_0 = gif
result_image_allowed_types_1 = jpg
result_image_allowed_types_2 = png
result_image_allowed_types_3 = svg
result_image_allowed_types_4 = webp
result_image_allowed_mimes_0 = image/gif
result_image_allowed_mimes_1 = image/jpeg
result_image_allowed_mimes_2 = image/jpg
result_image_allowed_mimes_3 = image/pjpeg
result_image_allowed_mimes_4 = image/x-png
result_image_allowed_mimes_5 = image/png
result_image_allowed_mimes_6 = image/svg+xml
result_image_allowed_mimes_7 = application/svg+xml
result_image_allowed_mimes_8 = image/webp
Example 4 (plain)
Request
https://joturl.com/a/i1/cdns/property?format=plain
Query parameters
format = plain
Response
5242880
gif
jpg
png
svg
webp
image/gif
image/jpeg
image/jpg
image/pjpeg
image/x-png
image/png
image/svg+xml
application/svg+xml
image/webp
Example 5 (json)
Request
https://joturl.com/a/i1/cdns/property?type=image
Query parameters
type = image
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"max_size" : 5242880 ,
"allowed_types" : [
"gif" ,
"jpg" ,
"png" ,
"svg" ,
"webp"
] ,
"allowed_mimes" : [
"image/gif" ,
"image/jpeg" ,
"image/jpg" ,
"image/pjpeg" ,
"image/x-png" ,
"image/png" ,
"image/svg+xml" ,
"application/svg+xml" ,
"image/webp"
]
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/cdns/property?type=image&format=xml
Query parameters
type = image
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<max_size> 5242880 </max_size>
<allowed_types>
<i0> gif </i0>
<i1> jpg </i1>
<i2> png </i2>
<i3> svg </i3>
<i4> webp </i4>
</allowed_types>
<allowed_mimes>
<i0> image/gif </i0>
<i1> image/jpeg </i1>
<i2> image/jpg </i2>
<i3> image/pjpeg </i3>
<i4> image/x-png </i4>
<i5> image/png </i5>
<i6> image/svg+xml </i6>
<i7> application/svg+xml </i7>
<i8> image/webp </i8>
</allowed_mimes>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/cdns/property?type=image&format=txt
Query parameters
type = image
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_max_size = 5242880
result_allowed_types_0 = gif
result_allowed_types_1 = jpg
result_allowed_types_2 = png
result_allowed_types_3 = svg
result_allowed_types_4 = webp
result_allowed_mimes_0 = image/gif
result_allowed_mimes_1 = image/jpeg
result_allowed_mimes_2 = image/jpg
result_allowed_mimes_3 = image/pjpeg
result_allowed_mimes_4 = image/x-png
result_allowed_mimes_5 = image/png
result_allowed_mimes_6 = image/svg+xml
result_allowed_mimes_7 = application/svg+xml
result_allowed_mimes_8 = image/webp
Example 8 (plain)
Request
https://joturl.com/a/i1/cdns/property?type=image&format=plain
Query parameters
type = image
format = plain
Response
5242880
gif
jpg
png
svg
webp
image/gif
image/jpeg
image/jpg
image/pjpeg
image/x-png
image/png
image/svg+xml
application/svg+xml
image/webp
Optional parameters
parameter
description
typeSTRING
CDN resource type, available types: image
Return values
parameter
description
[ARRAY]
it is an object (type,(max_size,allowed_types,allowed_mimes)), see parameters max_size, allowed_types, allowed_mimes for details
allowed_mimes
array containing the allowed mimes for the resource
allowed_types
array containing the allowed types for the resource
max_size
it is the maximum size in bytes the resource can have
If type is not passed, only [ARRAY] is returned which in turn contains max_size , allowed_types , allowed_mimes . If type is passed, only max_size , allowed_types , allowed_mimes are returned for the specified type.
/conversions /conversions/affiliates /conversions/affiliates/count
access: [READ]
This method returns the number of affiliates.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/affiliates/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 20
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/affiliates/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 20 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/affiliates/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 20
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/affiliates/count?format=plain
Query parameters
format = plain
Response
20
Optional parameters
parameter
description
idID
ID of the affiliate network
Return values
parameter
description
count
number of affiliate networks
/conversions/affiliates/list
access: [READ]
This method lists all affiliates network.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/affiliates/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"id" : "644a4b356f74446f62613864764b3762725a343966673d3d" ,
"name" : "Network name" ,
"actual_url_params" : "id={:CLICK_ID:}" ,
"postback_url_params" : "clickid={id}&comm={comm}" ,
"integration_link" : ""
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/affiliates/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<id> 644a4b356f74446f62613864764b3762725a343966673d3d </id>
<name> Network name </name>
<actual_url_params> id={:CLICK_ID:} </actual_url_params>
<postback_url_params> clickid={id}&comm={comm} </postback_url_params>
<integration_link> </integration_link>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/affiliates/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_id = 644a4b356f74446f62613864764b3762725a343966673d3d
result_data_name = Network name
result_data_actual_url_params = id={:CLICK_ID:}
result_data_postback_url_params = clickid={id}&comm={comm}
result_data_integration_link =
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/affiliates/list?format=plain
Query parameters
format = plain
Response
644a4b356f74446f62613864764b3762725a343966673d3d
Network name
id={:CLICK_ID:}
clickid={id}&comm={comm}
Optional parameters
parameter
description
idID
ID of the affiliate network
lengthINTEGER
number of items to return (default: 1000, max value: 1000)
searchSTRING
filter items by searching them
startINTEGER
index of the starting item to retrieve (default: 0)
Return values
parameter
description
count
number of affiliate networks
data
array containing affiliate networks
/conversions/codes /conversions/codes/add
access: [WRITE]
Create a conversion code for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/add?name=name+of+the+new+conversion+code¬es=this+is+a+note+for+the+conversion+code
Query parameters
name = name of the new conversion code
notes = this is a note for the conversion code
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"name" : "name of the new conversion code" ,
"notes" : "this is a note for the conversion code" ,
"id" : "1721376cdcbf0e651c943a0a8c92b5b4" ,
"enable_postback_url" : 0 ,
"affiliate_network_id" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/add?name=name+of+the+new+conversion+code¬es=this+is+a+note+for+the+conversion+code&format=xml
Query parameters
name = name of the new conversion code
notes = this is a note for the conversion code
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<name> name of the new conversion code </name>
<notes> this is a note for the conversion code </notes>
<id> 1721376cdcbf0e651c943a0a8c92b5b4 </id>
<enable_postback_url> 0 </enable_postback_url>
<affiliate_network_id> </affiliate_network_id>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/add?name=name+of+the+new+conversion+code¬es=this+is+a+note+for+the+conversion+code&format=txt
Query parameters
name = name of the new conversion code
notes = this is a note for the conversion code
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_name = name of the new conversion code
result_notes = this is a note for the conversion code
result_id = 1721376cdcbf0e651c943a0a8c92b5b4
result_enable_postback_url = 0
result_affiliate_network_id =
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/add?name=name+of+the+new+conversion+code¬es=this+is+a+note+for+the+conversion+code&format=plain
Query parameters
name = name of the new conversion code
notes = this is a note for the conversion code
format = plain
Response
name of the new conversion code
this is a note for the conversion code
1721376cdcbf0e651c943a0a8c92b5b4
0
Required parameters
parameter
description
max length
nameSTRING
conversion name
100
Optional parameters
parameter
description
max length
affiliate_network_idID
ID of the linked affiliate network, see i1/conversions/affliates/list for details
enable_postback_urlBOOLEAN
1 to enable postback URLs for the conversion
notesSTRING
notes for the conversion
255
Return values
parameter
description
affiliate_network_id
echo back of the affiliate_network_id input parameter
enable_postback_url
echo back of the enable_postback_url input parameter
id
ID of the conversion code
name
echo back of the name input parameter
notes
echo back of the notes input parameter
/conversions/codes/count
access: [READ]
This method returns the number of defined conversion codes.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 4321
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 4321 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 4321
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/count?format=plain
Query parameters
format = plain
Response
4321
Example 5 (json)
Request
https://joturl.com/a/i1/conversions/codes/count?search=text+to+search
Query parameters
search = text to search
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1234
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/conversions/codes/count?search=text+to+search&format=xml
Query parameters
search = text to search
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1234 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/conversions/codes/count?search=text+to+search&format=txt
Query parameters
search = text to search
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1234
Example 8 (plain)
Request
https://joturl.com/a/i1/conversions/codes/count?search=text+to+search&format=plain
Query parameters
search = text to search
format = plain
Response
1234
Optional parameters
parameter
description
searchSTRING
filters conversion codes to be extracted by searching them
Return values
parameter
description
count
number of (filtered) conversion codes
/conversions/codes/delete
access: [WRITE]
This method deletes a set of conversion codes using their IDs.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f
Query parameters
ids = 06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f&format=xml
Query parameters
ids = 06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f&format=txt
Query parameters
ids = 06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f&format=plain
Query parameters
ids = 06cf700a92b40862556fb7635d4c1d2f,95583d50fcf19b515254e0dbeb3951c0,82386f59a4529dce5a57ad90a965a94f
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de
Query parameters
ids = d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : [
"d4bcf57d057b28b17b1222bea14f71a9"
] ,
"deleted" : 2
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de&format=xml
Query parameters
ids = d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids>
<i0> d4bcf57d057b28b17b1222bea14f71a9 </i0>
</ids>
<deleted> 2 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de&format=txt
Query parameters
ids = d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids_0 = d4bcf57d057b28b17b1222bea14f71a9
result_deleted = 2
Example 8 (plain)
Request
https://joturl.com/a/i1/conversions/codes/delete?ids=d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de&format=plain
Query parameters
ids = d4bcf57d057b28b17b1222bea14f71a9,dff73e0bd63b32aa89125026c36d33b9,004eb820c97791aa6ab77f2258f576de
format = plain
Response
d4bcf57d057b28b17b1222bea14f71a9
2
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of conversion code IDs to be deleted
Return values
parameter
description
deleted
number of deleted conversion codes
ids
[OPTIONAL] list of conversion code IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/conversions/codes/edit
access: [WRITE]
Edit fields of a conversion.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/edit?id=df73d12d581145f959de8eba812165e8¬es=new+notes+for+the+conversion+code
Query parameters
id = df73d12d581145f959de8eba812165e8
notes = new notes for the conversion code
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "df73d12d581145f959de8eba812165e8" ,
"notes" : "new notes for the conversion code"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/edit?id=df73d12d581145f959de8eba812165e8¬es=new+notes+for+the+conversion+code&format=xml
Query parameters
id = df73d12d581145f959de8eba812165e8
notes = new notes for the conversion code
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> df73d12d581145f959de8eba812165e8 </id>
<notes> new notes for the conversion code </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/edit?id=df73d12d581145f959de8eba812165e8¬es=new+notes+for+the+conversion+code&format=txt
Query parameters
id = df73d12d581145f959de8eba812165e8
notes = new notes for the conversion code
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = df73d12d581145f959de8eba812165e8
result_notes = new notes for the conversion code
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/edit?id=df73d12d581145f959de8eba812165e8¬es=new+notes+for+the+conversion+code&format=plain
Query parameters
id = df73d12d581145f959de8eba812165e8
notes = new notes for the conversion code
format = plain
Response
df73d12d581145f959de8eba812165e8
new notes for the conversion code
Required parameters
parameter
description
idID
ID of the conversion code
Optional parameters
parameter
description
max length
affiliate_network_idID
ID of the affiliate network linked to the conversion code, it is ignored if enable_postback_url = 0
enable_postback_urlBOOLEAN
1 to enabled postback URLs for the conversion code, 0 to disable it
nameSTRING
name of the conversion code
100
notesSTRING
notes for the conversion code
255
Return values
parameter
description
affiliate_network_id
[OPTIONAL] echo back of the affiliate_network_id input parameter
enable_postback_url
[OPTIONAL] echo back of the enable_postback_url input parameter
id
echo back of the id input parameter
name
[OPTIONAL] echo back of the name input parameter
notes
[OPTIONAL] echo back of the notes input parameter
/conversions/codes/info
access: [READ]
This method returns information about conversion code.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/info?id=adcefa2676351f7204522873cb00f69e&fields=id,name,notes
Query parameters
id = adcefa2676351f7204522873cb00f69e
fields = id,name,notes
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "adcefa2676351f7204522873cb00f69e" ,
"name" : "name" ,
"notes" : "notes"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/info?id=adcefa2676351f7204522873cb00f69e&fields=id,name,notes&format=xml
Query parameters
id = adcefa2676351f7204522873cb00f69e
fields = id,name,notes
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> adcefa2676351f7204522873cb00f69e </id>
<name> name </name>
<notes> notes </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/info?id=adcefa2676351f7204522873cb00f69e&fields=id,name,notes&format=txt
Query parameters
id = adcefa2676351f7204522873cb00f69e
fields = id,name,notes
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = adcefa2676351f7204522873cb00f69e
result_name = name
result_notes = notes
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/info?id=adcefa2676351f7204522873cb00f69e&fields=id,name,notes&format=plain
Query parameters
id = adcefa2676351f7204522873cb00f69e
fields = id,name,notes
format = plain
Response
adcefa2676351f7204522873cb00f69e
name
notes
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: id, ext_id, ext_postback_id, name, notes, enable_postback_url, affiliate_network_id, creation, clicks, last_click, value, performance
idID
NA
Return values
/conversions/codes/list
access: [READ]
This method returns a list of user's conversions, specified in a comma separated input called fields.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/list?fields=count,id,name
Query parameters
fields = count,id,name
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3 ,
"data" : [
{
"id" : "6ba66f61393168e8612bb35406ad4940" ,
"name" : "conversion code 1"
} ,
{
"id" : "0225ddf565403b86d7030e3e0089b7d7" ,
"name" : "conversion code 2"
} ,
{
"id" : "570e115c13323514571d4976afd6eb8f" ,
"name" : "conversion code 3"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/list?fields=count,id,name&format=xml
Query parameters
fields = count,id,name
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
<data>
<i0>
<id> 6ba66f61393168e8612bb35406ad4940 </id>
<name> conversion code 1 </name>
</i0>
<i1>
<id> 0225ddf565403b86d7030e3e0089b7d7 </id>
<name> conversion code 2 </name>
</i1>
<i2>
<id> 570e115c13323514571d4976afd6eb8f </id>
<name> conversion code 3 </name>
</i2>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/list?fields=count,id,name&format=txt
Query parameters
fields = count,id,name
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
result_data_0_id = 6ba66f61393168e8612bb35406ad4940
result_data_0_name = conversion code 1
result_data_1_id = 0225ddf565403b86d7030e3e0089b7d7
result_data_1_name = conversion code 2
result_data_2_id = 570e115c13323514571d4976afd6eb8f
result_data_2_name = conversion code 3
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/list?fields=count,id,name&format=plain
Query parameters
fields = count,id,name
format = plain
Response
3
6ba66f61393168e8612bb35406ad4940
conversion code 1
0225ddf565403b86d7030e3e0089b7d7
conversion code 2
570e115c13323514571d4976afd6eb8f
conversion code 3
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: count, id, ext_id, ext_postback_id, name, notes, enable_postback_url, affiliate_network_id, creation, clicks, last_click, value, performance
Optional parameters
parameter
description
lengthINTEGER
extracts this number of coversion codes (maxmimum allowed: 100)
orderbyARRAY
orders coversion codes by field, available fields: count, id, ext_id, ext_postback_id, name, notes, enable_postback_url, affiliate_network_id, creation, clicks, last_click, value, performance
searchSTRING
filters coversion codes to be extracted by searching them
sortSTRING
sorts coversion codes in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract coversion codes from this position
Return values
parameter
description
count
[OPTIONAL] total number of (filtered) coversion codes, returned only if count is passed in fields
data
array containing required information on coversion codes
Available fields in the data array:
id : ID of the conversion code ext_id : identifier of the conversion code that can be used outside the dashboard, id is only valid within the dashboard ext_postback_id : identifier of the associated postback URL, it can be used outside the dashboard name : name of the conversion code notes : notes for the conversion code enable_postback_url : 1 if postback URLs are enabled for the conversion code, 0 otherwise affiliate_network_id : ID of the affiliate network, to be ignored if enable_postback_url = 0
creation : creation date time clicks : number of occurred conversions last_click : date/time of the last click value : total value for the occurred conversions performance : performance meter of this conversion code, 0 if the conversion pixel has 0 clicks or if is was created by less than 3 hours, otherwise it is the average number of clicks per hour Parameters ext_id and ext_postback_id are always returned regardless they are passed in fields
.
/conversions/codes/params /conversions/codes/params/count
access: [READ]
This method returns the number of parameters linked to a conversion code.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/params/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/params/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/params/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/params/count?format=plain
Query parameters
format = plain
Response
2
Required parameters
parameter
description
idID
ID of the conversion code
Optional parameters
Return values
parameter
description
count
number of (filtered) conversion parameters
/conversions/codes/params/has_params
access: [READ]
This method returns the number of parameters related to a conversion code.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/params/has_params?id=763a1a48e291d227018afb1139ead918
Query parameters
id = 763a1a48e291d227018afb1139ead918
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"has_params" : 1 ,
"param" : 1 ,
"ep00" : 1 ,
"ep01" : 0 ,
"ep02" : 0 ,
"ep03" : 0 ,
"ep04" : 0 ,
"ep05" : 0 ,
"ep06" : 0 ,
"ep07" : 0 ,
"ep08" : 0 ,
"ep09" : 0 ,
"ep10" : 0 ,
"ep11" : 0 ,
"ep12" : 0 ,
"ep13" : 0 ,
"ep14" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/params/has_params?id=763a1a48e291d227018afb1139ead918&format=xml
Query parameters
id = 763a1a48e291d227018afb1139ead918
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<has_params> 1 </has_params>
<param> 1 </param>
<ep00> 1 </ep00>
<ep01> 0 </ep01>
<ep02> 0 </ep02>
<ep03> 0 </ep03>
<ep04> 0 </ep04>
<ep05> 0 </ep05>
<ep06> 0 </ep06>
<ep07> 0 </ep07>
<ep08> 0 </ep08>
<ep09> 0 </ep09>
<ep10> 0 </ep10>
<ep11> 0 </ep11>
<ep12> 0 </ep12>
<ep13> 0 </ep13>
<ep14> 0 </ep14>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/params/has_params?id=763a1a48e291d227018afb1139ead918&format=txt
Query parameters
id = 763a1a48e291d227018afb1139ead918
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_has_params = 1
result_param = 1
result_ep00 = 1
result_ep01 = 0
result_ep02 = 0
result_ep03 = 0
result_ep04 = 0
result_ep05 = 0
result_ep06 = 0
result_ep07 = 0
result_ep08 = 0
result_ep09 = 0
result_ep10 = 0
result_ep11 = 0
result_ep12 = 0
result_ep13 = 0
result_ep14 = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/params/has_params?id=763a1a48e291d227018afb1139ead918&format=plain
Query parameters
id = 763a1a48e291d227018afb1139ead918
format = plain
Response
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Required parameters
parameter
description
idID
ID of the conversion code
Return values
parameter
description
ep00
1 if the extended parameter ep00 is associated to the conversion code
ep01
1 if the extended parameter ep01 is associated to the conversion code
ep02
1 if the extended parameter ep02 is associated to the conversion code
ep03
1 if the extended parameter ep03 is associated to the conversion code
ep04
1 if the extended parameter ep04 is associated to the conversion code
ep05
1 if the extended parameter ep05 is associated to the conversion code
ep06
1 if the extended parameter ep06 is associated to the conversion code
ep07
1 if the extended parameter ep07 is associated to the conversion code
ep08
1 if the extended parameter ep08 is associated to the conversion code
ep09
1 if the extended parameter ep09 is associated to the conversion code
ep10
1 if the extended parameter ep10 is associated to the conversion code
ep11
1 if the extended parameter ep11 is associated to the conversion code
ep12
1 if the extended parameter ep12 is associated to the conversion code
ep13
1 if the extended parameter ep13 is associated to the conversion code
ep14
1 if the extended parameter ep14 is associated to the conversion code
has_params
1 if at least one extended parameter is associated to the conversion code
param
1 if param is associated to the conversion code
/conversions/codes/params/list
access: [READ]
This method returns a list of parameters related to a conversion code.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=8c7c4dde13b4068319807f502705e41f
Query parameters
id = 8c7c4dde13b4068319807f502705e41f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"param_id" : "7a7781a7cf87b88b43c19c440febaa81" ,
"param" : "this is the value #1 of parameter 'param'"
} ,
{
"param_id" : "a278991cf7c70067a0c7c4eda7c733d5" ,
"param" : "this is the value #2 of parameter 'param'"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=8c7c4dde13b4068319807f502705e41f&format=xml
Query parameters
id = 8c7c4dde13b4068319807f502705e41f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<param_id> 7a7781a7cf87b88b43c19c440febaa81 </param_id>
<param> this is the value #1 of parameter 'param' </param>
</i0>
<i1>
<param_id> a278991cf7c70067a0c7c4eda7c733d5 </param_id>
<param> this is the value #2 of parameter 'param' </param>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=8c7c4dde13b4068319807f502705e41f&format=txt
Query parameters
id = 8c7c4dde13b4068319807f502705e41f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_param_id = 7a7781a7cf87b88b43c19c440febaa81
result_data_0_param = this is the value #1 of parameter 'param'
result_data_1_param_id = a278991cf7c70067a0c7c4eda7c733d5
result_data_1_param = this is the value #2 of parameter 'param'
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=8c7c4dde13b4068319807f502705e41f&format=plain
Query parameters
id = 8c7c4dde13b4068319807f502705e41f
format = plain
Response
2
7a7781a7cf87b88b43c19c440febaa81
this is the value #1 of parameter 'param'
a278991cf7c70067a0c7c4eda7c733d5
this is the value #2 of parameter 'param'
Example 5 (json)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=ba0ee1e5662a41fafa482e721d4b8e76¶m_num=0
Query parameters
id = ba0ee1e5662a41fafa482e721d4b8e76
param_num = 0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"param_id" : "61c29dcfc9305c26243e05726de69d50" ,
"param" : "this is the value of extended parameter 'ep00'"
}
]
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=ba0ee1e5662a41fafa482e721d4b8e76¶m_num=0&format=xml
Query parameters
id = ba0ee1e5662a41fafa482e721d4b8e76
param_num = 0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<param_id> 61c29dcfc9305c26243e05726de69d50 </param_id>
<param> this is the value of extended parameter 'ep00' </param>
</i0>
</data>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=ba0ee1e5662a41fafa482e721d4b8e76¶m_num=0&format=txt
Query parameters
id = ba0ee1e5662a41fafa482e721d4b8e76
param_num = 0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_param_id = 61c29dcfc9305c26243e05726de69d50
result_data_0_param = this is the value of extended parameter 'ep00'
Example 8 (plain)
Request
https://joturl.com/a/i1/conversions/codes/params/list?id=ba0ee1e5662a41fafa482e721d4b8e76¶m_num=0&format=plain
Query parameters
id = ba0ee1e5662a41fafa482e721d4b8e76
param_num = 0
format = plain
Response
1
61c29dcfc9305c26243e05726de69d50
this is the value of extended parameter 'ep00'
Required parameters
parameter
description
idID
ID of the conversion code
Optional parameters
parameter
description
lengthINTEGER
extracts this number of coversion parameters (maxmimum allowed: 100)
param_numSTRING
if not passed or param_num = 255
it returns the parameter param
, if param_num = 0
it returns the extended paarameter ep00
, ..., if param_num = 7
it returns the extended paarameter ep07
, ..., if param_num = 14
it returns the extended paarameter ep14
,
searchSTRING
filters coversion parameters to be extracted by searching them
startINTEGER
starts to extract coversion parameters from this position
Return values
parameter
description
count
number of available parameter with the specified param_num
data
array containing required information on coversion code parameters
/conversions/codes/urls /conversions/codes/urls/count
access: [READ]
This method returns the number of tracking links liked to a conversion code.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/urls/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 4
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/urls/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 4 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/urls/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 4
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/urls/count?format=plain
Query parameters
format = plain
Response
4
Required parameters
parameter
description
idID
ID of the conversion code
Optional parameters
parameter
description
searchSTRING
filters tracking pixels to be extracted by searching them
Return values
parameter
description
count
number of (filtered) tracking pixels
/conversions/codes/urls/list
access: [READ]
This method returns a list of tracking links related to a conversion code.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/codes/urls/list?id=bc17b6cae6f915a25611dc7cb98ff5df&fields=count,url_id,alias
Query parameters
id = bc17b6cae6f915a25611dc7cb98ff5df
fields = count,url_id,alias
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"url_id" : "96801802c190045b42552c7ef19cd1c2" ,
"alias" : "2c5c6d4a"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/codes/urls/list?id=bc17b6cae6f915a25611dc7cb98ff5df&fields=count,url_id,alias&format=xml
Query parameters
id = bc17b6cae6f915a25611dc7cb98ff5df
fields = count,url_id,alias
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<url_id> 96801802c190045b42552c7ef19cd1c2 </url_id>
<alias> 2c5c6d4a </alias>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/codes/urls/list?id=bc17b6cae6f915a25611dc7cb98ff5df&fields=count,url_id,alias&format=txt
Query parameters
id = bc17b6cae6f915a25611dc7cb98ff5df
fields = count,url_id,alias
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_url_id = 96801802c190045b42552c7ef19cd1c2
result_data_0_alias = 2c5c6d4a
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/codes/urls/list?id=bc17b6cae6f915a25611dc7cb98ff5df&fields=count,url_id,alias&format=plain
Query parameters
id = bc17b6cae6f915a25611dc7cb98ff5df
fields = count,url_id,alias
format = plain
Response
1
96801802c190045b42552c7ef19cd1c2
2c5c6d4a
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, url_id, alias, short_url, creation, long_url, domain_host, domain_id, project_name, project_id
idID
ID of the conversion code
Optional parameters
parameter
description
lengthINTEGER
extracts this number of tracking links (maxmimum allowed: 100)
orderbyARRAY
orders tracking links by field, available fields: url_id, alias, short_url, creation, long_url, domain_host, domain_id, project_name, project_id
searchSTRING
filters tracking links to be extracted by searching them
sortSTRING
sorts tracking links in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract tracking links from this position
Return values
parameter
description
count
[OPTIONAL] total number of tracking links, returned only if count is passed in fields
data
array containing information on the tracking links, the returned information depends on the fields parameter.
/conversions/count
access: [READ]
This method is actually an interface to i1/conversions/codes/count and/or to i1/conversions/pixels/count according to types .
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/count?types=code,pixel
Query parameters
types = code,pixel
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 187
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/count?types=code,pixel&format=xml
Query parameters
types = code,pixel
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 187 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/count?types=code,pixel&format=txt
Query parameters
types = code,pixel
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 187
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/count?types=code,pixel&format=plain
Query parameters
types = code,pixel
format = plain
Response
187
Required parameters
parameter
description
typesARRAY
comma separated list of types; available types are [code, pixel]
Return values
parameter
description
count
number of conversion, if both types are passed, it contains the sum of number of conversion codes and conversion pixels
/conversions/list
access: [READ]
This method is actually an interface to i1/conversions/codes/list and/or to i1/conversions/pixels/list according to types .
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/list?types=code,pixel&fields=name,id,short_url
Query parameters
types = code,pixel
fields = name,id,short_url
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"name" : "conversion code 1 (postback enabled)" ,
"id" : "e3f7b279faf12b2049eced58208ff384" ,
"ext_id" : "76ac8017491f75369fca381dac036c36" ,
"ext_postback_id" : "11a22fa7aed364497c301ef7f2e4f07c" ,
"type" : "code"
} ,
{
"name" : "conversion code 2" ,
"id" : "7278c4b15bb5752a36e778dcd83899db" ,
"ext_id" : "ba449d5b3156161a0eda7e21048f2dc9" ,
"type" : "code"
} ,
{
"id" : "0fe3fc44bc0669ceb4e9023a66e425af" ,
"short_url" : "https://domain.ext/tracking_pixel_alias" ,
"type" : "pixel"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/list?types=code,pixel&fields=name,id,short_url&format=xml
Query parameters
types = code,pixel
fields = name,id,short_url
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<name> conversion code 1 (postback enabled) </name>
<id> e3f7b279faf12b2049eced58208ff384 </id>
<ext_id> 76ac8017491f75369fca381dac036c36 </ext_id>
<ext_postback_id> 11a22fa7aed364497c301ef7f2e4f07c </ext_postback_id>
<type> code </type>
</i0>
<i1>
<name> conversion code 2 </name>
<id> 7278c4b15bb5752a36e778dcd83899db </id>
<ext_id> ba449d5b3156161a0eda7e21048f2dc9 </ext_id>
<type> code </type>
</i1>
<i2>
<id> 0fe3fc44bc0669ceb4e9023a66e425af </id>
<short_url> https://domain.ext/tracking_pixel_alias </short_url>
<type> pixel </type>
</i2>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/list?types=code,pixel&fields=name,id,short_url&format=txt
Query parameters
types = code,pixel
fields = name,id,short_url
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_name = conversion code 1 (postback enabled)
result_data_0_id = e3f7b279faf12b2049eced58208ff384
result_data_0_ext_id = 76ac8017491f75369fca381dac036c36
result_data_0_ext_postback_id = 11a22fa7aed364497c301ef7f2e4f07c
result_data_0_type = code
result_data_1_name = conversion code 2
result_data_1_id = 7278c4b15bb5752a36e778dcd83899db
result_data_1_ext_id = ba449d5b3156161a0eda7e21048f2dc9
result_data_1_type = code
result_data_2_id = 0fe3fc44bc0669ceb4e9023a66e425af
result_data_2_short_url = https://domain.ext/tracking_pixel_alias
result_data_2_type = pixel
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/list?types=code,pixel&fields=name,id,short_url&format=plain
Query parameters
types = code,pixel
fields = name,id,short_url
format = plain
Response
conversion code 1 (postback enabled)
e3f7b279faf12b2049eced58208ff384
76ac8017491f75369fca381dac036c36
11a22fa7aed364497c301ef7f2e4f07c
code
conversion code 2
7278c4b15bb5752a36e778dcd83899db
ba449d5b3156161a0eda7e21048f2dc9
code
https://domain.ext/tracking_pixel_alias
Required parameters
parameter
description
typesARRAY
comma separated list of types; available types are [code, pixel]
Return values
parameter
description
count
[OPTIONAL] number of conversion, if both types are passed, it contains the sum of number of conversion codes and conversion pixels
data
array containing information on conversions
/conversions/pixels /conversions/pixels/add
access: [WRITE]
Add a tracking pixel for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/pixels/add?alias=jot&domain_id=c1fcffd51eb7c38b7209a6106d66cc84&url_project_id=1c4b9f854660bdb72a005e20d910e665¬es=
Query parameters
alias = jot
domain_id = c1fcffd51eb7c38b7209a6106d66cc84
url_project_id = 1c4b9f854660bdb72a005e20d910e665
notes =
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "6e528cd6814cc866e1efb4be2034b9c5" ,
"alias" : "jot" ,
"domain_id" : "c1fcffd51eb7c38b7209a6106d66cc84" ,
"domain_host" : "jo.my" ,
"domain_nickname" : "" ,
"url_project_id" : "1c4b9f854660bdb72a005e20d910e665" ,
"project_name" : "project name" ,
"short_url" : "//jo.my/jot" ,
"template_type" : 2 ,
"notes" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/add?alias=jot&domain_id=c1fcffd51eb7c38b7209a6106d66cc84&url_project_id=1c4b9f854660bdb72a005e20d910e665¬es=&format=xml
Query parameters
alias = jot
domain_id = c1fcffd51eb7c38b7209a6106d66cc84
url_project_id = 1c4b9f854660bdb72a005e20d910e665
notes =
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 6e528cd6814cc866e1efb4be2034b9c5 </id>
<alias> jot </alias>
<domain_id> c1fcffd51eb7c38b7209a6106d66cc84 </domain_id>
<domain_host> jo.my </domain_host>
<domain_nickname> </domain_nickname>
<url_project_id> 1c4b9f854660bdb72a005e20d910e665 </url_project_id>
<project_name> project name </project_name>
<short_url> //jo.my/jot </short_url>
<template_type> 2 </template_type>
<notes> </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/add?alias=jot&domain_id=c1fcffd51eb7c38b7209a6106d66cc84&url_project_id=1c4b9f854660bdb72a005e20d910e665¬es=&format=txt
Query parameters
alias = jot
domain_id = c1fcffd51eb7c38b7209a6106d66cc84
url_project_id = 1c4b9f854660bdb72a005e20d910e665
notes =
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 6e528cd6814cc866e1efb4be2034b9c5
result_alias = jot
result_domain_id = c1fcffd51eb7c38b7209a6106d66cc84
result_domain_host = jo.my
result_domain_nickname =
result_url_project_id = 1c4b9f854660bdb72a005e20d910e665
result_project_name = project name
result_short_url = //jo.my/jot
result_template_type = 2
result_notes =
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/add?alias=jot&domain_id=c1fcffd51eb7c38b7209a6106d66cc84&url_project_id=1c4b9f854660bdb72a005e20d910e665¬es=&format=plain
Query parameters
alias = jot
domain_id = c1fcffd51eb7c38b7209a6106d66cc84
url_project_id = 1c4b9f854660bdb72a005e20d910e665
notes =
format = plain
Response
//jo.my/jot
Required parameters
parameter
description
max length
aliasSTRING
alias for the tracking pixel, see i1/urls/shorten for details of available characters in alias
510
Optional parameters
parameter
description
conversion_idsARRAY_OF_IDS
ID of the associated conversion codes
domain_idID
ID of the domain for the tracking pixel, if not set the default domain for the user will be used
notesSTRING
notes for the tracking pixel
tagsARRAY
comma-separated list of tags for the tracking pixel
url_project_idID
ID of the project where the tracking pixel will be put in, if not specified the default : project is used
Return values
/conversions/pixels/count
access: [READ]
This method returns the number of defined conversion pixels.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/pixels/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/count?format=plain
Query parameters
format = plain
Response
5
Optional parameters
parameter
description
searchSTRING
filters conversion pixels to be extracted by searching them
Return values
parameter
description
count
number of (filtered) conversion pixels
/conversions/pixels/delete
access: [WRITE]
This method deletes a set of conversion pixel using their IDs.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044
Query parameters
ids = 3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044&format=xml
Query parameters
ids = 3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044&format=txt
Query parameters
ids = 3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044&format=plain
Query parameters
ids = 3b710beb6dc70e7a316ed9f2dc39d739,44758a8f0278e3d0ade0bef889be1550,34fda086b524f7cd3620d5ba50903044
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c
Query parameters
ids = 7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : [
"7d7f405474b4009fcbdfb540fc806b48"
] ,
"deleted" : 2
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c&format=xml
Query parameters
ids = 7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids>
<i0> 7d7f405474b4009fcbdfb540fc806b48 </i0>
</ids>
<deleted> 2 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c&format=txt
Query parameters
ids = 7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids_0 = 7d7f405474b4009fcbdfb540fc806b48
result_deleted = 2
Example 8 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/delete?ids=7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c&format=plain
Query parameters
ids = 7d7f405474b4009fcbdfb540fc806b48,3808ba661b6fd2e083e49486f4c27936,7b01d29a767ce1885b3fca9f21ece99c
format = plain
Response
7d7f405474b4009fcbdfb540fc806b48
2
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of tracking pixel IDs to be deleted
Return values
parameter
description
deleted
number of deleted tracking pixels
tracking_pixel_ids
[OPTIONAL] list of tracking pixel IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/conversions/pixels/edit
access: [WRITE]
Edit fields of a Tracking Pixel.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/pixels/edit?id=287c0d2296c3bb8cc00e8efdce13695f&alias=jot&domain_id=95bcfd28e821b9e95af097ddad6f8bf8&url_project_id=e49a891eb315776b2763edfd3b4d2b0a¬es=new+notes
Query parameters
id = 287c0d2296c3bb8cc00e8efdce13695f
alias = jot
domain_id = 95bcfd28e821b9e95af097ddad6f8bf8
url_project_id = e49a891eb315776b2763edfd3b4d2b0a
notes = new notes
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "287c0d2296c3bb8cc00e8efdce13695f" ,
"alias" : "jot" ,
"domain_id" : "95bcfd28e821b9e95af097ddad6f8bf8" ,
"domain_host" : "jo.my" ,
"domain_nickname" : "" ,
"url_project_id" : "e49a891eb315776b2763edfd3b4d2b0a" ,
"project_name" : "project name" ,
"short_url" : "//jo.my/jot" ,
"template_type" : 2 ,
"notes" : "new notes"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/edit?id=287c0d2296c3bb8cc00e8efdce13695f&alias=jot&domain_id=95bcfd28e821b9e95af097ddad6f8bf8&url_project_id=e49a891eb315776b2763edfd3b4d2b0a¬es=new+notes&format=xml
Query parameters
id = 287c0d2296c3bb8cc00e8efdce13695f
alias = jot
domain_id = 95bcfd28e821b9e95af097ddad6f8bf8
url_project_id = e49a891eb315776b2763edfd3b4d2b0a
notes = new notes
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 287c0d2296c3bb8cc00e8efdce13695f </id>
<alias> jot </alias>
<domain_id> 95bcfd28e821b9e95af097ddad6f8bf8 </domain_id>
<domain_host> jo.my </domain_host>
<domain_nickname> </domain_nickname>
<url_project_id> e49a891eb315776b2763edfd3b4d2b0a </url_project_id>
<project_name> project name </project_name>
<short_url> //jo.my/jot </short_url>
<template_type> 2 </template_type>
<notes> new notes </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/edit?id=287c0d2296c3bb8cc00e8efdce13695f&alias=jot&domain_id=95bcfd28e821b9e95af097ddad6f8bf8&url_project_id=e49a891eb315776b2763edfd3b4d2b0a¬es=new+notes&format=txt
Query parameters
id = 287c0d2296c3bb8cc00e8efdce13695f
alias = jot
domain_id = 95bcfd28e821b9e95af097ddad6f8bf8
url_project_id = e49a891eb315776b2763edfd3b4d2b0a
notes = new notes
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 287c0d2296c3bb8cc00e8efdce13695f
result_alias = jot
result_domain_id = 95bcfd28e821b9e95af097ddad6f8bf8
result_domain_host = jo.my
result_domain_nickname =
result_url_project_id = e49a891eb315776b2763edfd3b4d2b0a
result_project_name = project name
result_short_url = //jo.my/jot
result_template_type = 2
result_notes = new notes
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/edit?id=287c0d2296c3bb8cc00e8efdce13695f&alias=jot&domain_id=95bcfd28e821b9e95af097ddad6f8bf8&url_project_id=e49a891eb315776b2763edfd3b4d2b0a¬es=new+notes&format=plain
Query parameters
id = 287c0d2296c3bb8cc00e8efdce13695f
alias = jot
domain_id = 95bcfd28e821b9e95af097ddad6f8bf8
url_project_id = e49a891eb315776b2763edfd3b4d2b0a
notes = new notes
format = plain
Response
//jo.my/jot
Required parameters
parameter
description
idID
ID of the tracking pixel
Optional parameters
parameter
description
conversion_idsARRAY_OF_IDS
ID of the associated conversion codes
notesSTRING
notes for the tracking pixel
tagsARRAY
comma-separated list of tags for the tracking pixel
Return values
/conversions/pixels/info
access: [READ]
This method returns information specified in a comma separated input called fields about a conversion.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/pixels/info?fields=id,short_url&id=d1879c26bae8d0483b8eab5c0a921dcd
Query parameters
fields = id,short_url
id = d1879c26bae8d0483b8eab5c0a921dcd
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "d1879c26bae8d0483b8eab5c0a921dcd" ,
"short_url" : "http://jo.my/715e6ef3"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/info?fields=id,short_url&id=d1879c26bae8d0483b8eab5c0a921dcd&format=xml
Query parameters
fields = id,short_url
id = d1879c26bae8d0483b8eab5c0a921dcd
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> d1879c26bae8d0483b8eab5c0a921dcd </id>
<short_url> http://jo.my/715e6ef3 </short_url>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/info?fields=id,short_url&id=d1879c26bae8d0483b8eab5c0a921dcd&format=txt
Query parameters
fields = id,short_url
id = d1879c26bae8d0483b8eab5c0a921dcd
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = d1879c26bae8d0483b8eab5c0a921dcd
result_data_0_short_url = http://jo.my/715e6ef3
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/info?fields=id,short_url&id=d1879c26bae8d0483b8eab5c0a921dcd&format=plain
Query parameters
fields = id,short_url
id = d1879c26bae8d0483b8eab5c0a921dcd
format = plain
Response
http://jo.my/715e6ef3
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, see method i1/conversions/pixels/list for reference
idID
ID of the tracking pixel whose information is required
Return values
parameter
description
data
array containing 1 item on success, the returned information depends on the fields parameter.
/conversions/pixels/list
access: [READ]
This method returns a list of tracking pixels.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/pixels/list?fields=id,short_url&url_project_id=2e3c574cae63c1aff6a0dc562fb4eae1
Query parameters
fields = id,short_url
url_project_id = 2e3c574cae63c1aff6a0dc562fb4eae1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "20da668203c693896e057dd8c569777b" ,
"short_url" : "http://jo.my/31a45d83"
} ,
{
"id" : "afe9d49841824c57e9b1f63250fc4236" ,
"short_url" : "http://jo.my/6c289e65"
} ,
{
"id" : "5d6e0d434c23da91ab95d16e774a13bc" ,
"short_url" : "http://jo.my/66a92e3e"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/pixels/list?fields=id,short_url&url_project_id=2e3c574cae63c1aff6a0dc562fb4eae1&format=xml
Query parameters
fields = id,short_url
url_project_id = 2e3c574cae63c1aff6a0dc562fb4eae1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 20da668203c693896e057dd8c569777b </id>
<short_url> http://jo.my/31a45d83 </short_url>
</i0>
<i1>
<id> afe9d49841824c57e9b1f63250fc4236 </id>
<short_url> http://jo.my/6c289e65 </short_url>
</i1>
<i2>
<id> 5d6e0d434c23da91ab95d16e774a13bc </id>
<short_url> http://jo.my/66a92e3e </short_url>
</i2>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/pixels/list?fields=id,short_url&url_project_id=2e3c574cae63c1aff6a0dc562fb4eae1&format=txt
Query parameters
fields = id,short_url
url_project_id = 2e3c574cae63c1aff6a0dc562fb4eae1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 20da668203c693896e057dd8c569777b
result_data_0_short_url = http://jo.my/31a45d83
result_data_1_id = afe9d49841824c57e9b1f63250fc4236
result_data_1_short_url = http://jo.my/6c289e65
result_data_2_id = 5d6e0d434c23da91ab95d16e774a13bc
result_data_2_short_url = http://jo.my/66a92e3e
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/pixels/list?fields=id,short_url&url_project_id=2e3c574cae63c1aff6a0dc562fb4eae1&format=plain
Query parameters
fields = id,short_url
url_project_id = 2e3c574cae63c1aff6a0dc562fb4eae1
format = plain
Response
http://jo.my/31a45d83
http://jo.my/6c289e65
http://jo.my/66a92e3e
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: count, id, short_url, creation, url_tags, clicks, unique_visits, qrcodes_visits, conversions_visits, notes, alias
Optional parameters
parameter
description
idID
ID of the tracking pixel
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: count, id, short_url, creation, url_tags, clicks, unique_visits, qrcodes_visits, conversions_visits, notes, alias
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
data
array containing information on the tracking pixels, the returned information depends on the fields parameter.
/conversions/settings /conversions/settings/get
access: [READ]
This method returns global setting for conversions.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/settings/get
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"last_or_first_click" : "last" ,
"expiration_cookie" : "30" ,
"currency_id" : "78de03efa81a219f0b40cd6bcaead5f3"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/settings/get?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<last_or_first_click> last </last_or_first_click>
<expiration_cookie> 30 </expiration_cookie>
<currency_id> 78de03efa81a219f0b40cd6bcaead5f3 </currency_id>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/settings/get?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_last_or_first_click = last
result_expiration_cookie = 30
result_currency_id = 78de03efa81a219f0b40cd6bcaead5f3
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/settings/get?format=plain
Query parameters
format = plain
Response
last
30
78de03efa81a219f0b40cd6bcaead5f3
Return values
parameter
description
currency_id
ID of the currency to apply to conversions, see i1/currencies/list for details
expiration_cookie
expiration period (in days) for conversion cookies
last_or_first_click
the click is assigned to the first
or last
click
/conversions/settings/property
access: [READ]
This method returns default values and properties for conversion settings.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/settings/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"default_last_or_first_click" : "last" ,
"default_expiration_cookie" : "30" ,
"default_currency_id" : "644a4b356f74446f62613864764b3762725a343966673d3d" ,
"default_clickbank_secret_key" : "" ,
"expiration_cookie_days" : [
1 ,
7 ,
30 ,
60 ,
90
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/settings/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<default_last_or_first_click> last </default_last_or_first_click>
<default_expiration_cookie> 30 </default_expiration_cookie>
<default_currency_id> 644a4b356f74446f62613864764b3762725a343966673d3d </default_currency_id>
<default_clickbank_secret_key> </default_clickbank_secret_key>
<expiration_cookie_days>
<i0> 1 </i0>
<i1> 7 </i1>
<i2> 30 </i2>
<i3> 60 </i3>
<i4> 90 </i4>
</expiration_cookie_days>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/settings/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_default_last_or_first_click = last
result_default_expiration_cookie = 30
result_default_currency_id = 644a4b356f74446f62613864764b3762725a343966673d3d
result_default_clickbank_secret_key =
result_expiration_cookie_days_0 = 1
result_expiration_cookie_days_1 = 7
result_expiration_cookie_days_2 = 30
result_expiration_cookie_days_3 = 60
result_expiration_cookie_days_4 = 90
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/settings/property?format=plain
Query parameters
format = plain
Response
last
30
644a4b356f74446f62613864764b3762725a343966673d3d
1
7
30
60
90
Return values
parameter
description
default_clickbank_secret_key
default ClickBank secret key
default_currency_id
default currency ID for the conversion, see i1/currencies/list for details
default_expiration_cookie
default expiration (in days) for the conversion cookie
default_last_or_first_click
default behavior for the click assignment
expiration_cookie_days
list of allowed expiration days
/conversions/settings/set
access: [WRITE]
This method sets global setting for conversions.
Example 1 (json)
Request
https://joturl.com/a/i1/conversions/settings/set?last_or_first_click=last&expiration_cookie=30¤cy_id=846cbe9c65cfa565e431a8880d8a910b&clickbank_secret_key=53A8B04598484DA1
Query parameters
last_or_first_click = last
expiration_cookie = 30
currency_id = 846cbe9c65cfa565e431a8880d8a910b
clickbank_secret_key = 53A8B04598484DA1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/conversions/settings/set?last_or_first_click=last&expiration_cookie=30¤cy_id=846cbe9c65cfa565e431a8880d8a910b&clickbank_secret_key=53A8B04598484DA1&format=xml
Query parameters
last_or_first_click = last
expiration_cookie = 30
currency_id = 846cbe9c65cfa565e431a8880d8a910b
clickbank_secret_key = 53A8B04598484DA1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/conversions/settings/set?last_or_first_click=last&expiration_cookie=30¤cy_id=846cbe9c65cfa565e431a8880d8a910b&clickbank_secret_key=53A8B04598484DA1&format=txt
Query parameters
last_or_first_click = last
expiration_cookie = 30
currency_id = 846cbe9c65cfa565e431a8880d8a910b
clickbank_secret_key = 53A8B04598484DA1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/conversions/settings/set?last_or_first_click=last&expiration_cookie=30¤cy_id=846cbe9c65cfa565e431a8880d8a910b&clickbank_secret_key=53A8B04598484DA1&format=plain
Query parameters
last_or_first_click = last
expiration_cookie = 30
currency_id = 846cbe9c65cfa565e431a8880d8a910b
clickbank_secret_key = 53A8B04598484DA1
format = plain
Response
1
Required parameters
parameter
description
clickbank_secret_keySTRING
ClickBank secret key
currency_idID
ID of the currency to apply to conversions, see i1/currencies/list for details
expiration_cookieINTEGER
expiration period (in days) for conversion cookies, available values: 1, 7, 30, 60, 90
last_or_first_clickSTRING
assign a conversion to the first
or last
click made by the user on the tracking link/pixel
Return values
parameter
description
updated
1 on success, 0 otherwise
/ctas /ctas/count
access: [READ]
This method returns the number of defined call to actions.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/count?format=plain
Query parameters
format = plain
Response
2
Optional parameters
parameter
description
searchSTRING
filters CTAs to be extracted by searching them
typesSTRING
comma-separated list of types to filter CTAs, for available types see i1/ctas/property
Return values
parameter
description
count
number of (filtered) CTAs
/ctas/delete
access: [WRITE]
This method deletes a set of CTAs by using their IDs.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/delete?ids=3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf
Query parameters
ids = 3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/delete?ids=3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf&format=xml
Query parameters
ids = 3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/delete?ids=3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf&format=txt
Query parameters
ids = 3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/delete?ids=3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf&format=plain
Query parameters
ids = 3c2df4df08833fd03a19bce539c70768,81b5b6bd3b9a07d52945847f01ff024c,a34d183a180d9e5378a2fe1dbfb75cbf
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/ctas/delete?ids=cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084
Query parameters
ids = cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/ctas/delete?ids=cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084&format=xml
Query parameters
ids = cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/ctas/delete?ids=cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084&format=txt
Query parameters
ids = cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/ctas/delete?ids=cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084&format=plain
Query parameters
ids = cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d,adf78a42e3a0c9bfebc47aa14c83e084
format = plain
Response
cf691b3f45ab5ba4d99c6db520630489,f9d562a8221471ebe0819f2af537af2d
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of CTA IDs to be deleted
Return values
parameter
description
deleted
number of deleted CTAs
ids
[OPTIONAL] list of CTA IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/ctas/download
access: [READ]
This method returns data that is collected for a specific CTA. Only data collected in the last 90 days can be returned.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f
Query parameters
id = 91da809f77772e22452d9777636c7c6f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"headers" : [
"name" ,
"age" ,
"email"
] ,
"lines" : [
[
"John" ,
"27" ,
"john@example.com"
] ,
[
"Doo" ,
"31" ,
"doo@example.com"
]
] ,
"extracted" : 2 ,
"skipped" : 3 ,
"count" : 5 ,
"next" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&format=xml
Query parameters
id = 91da809f77772e22452d9777636c7c6f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<headers>
<i0> name </i0>
<i1> age </i1>
<i2> email </i2>
</headers>
<lines>
<i0>
<i0> John </i0>
<i1> 27 </i1>
<i2> john@example.com </i2>
</i0>
<i1>
<i0> Doo </i0>
<i1> 31 </i1>
<i2> doo@example.com </i2>
</i1>
</lines>
<extracted> 2 </extracted>
<skipped> 3 </skipped>
<count> 5 </count>
<next> </next>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&format=txt
Query parameters
id = 91da809f77772e22452d9777636c7c6f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_headers_0 = name
result_headers_1 = age
result_headers_2 = email
result_lines_0_0 = John
result_lines_0_1 = 27
result_lines_0_2 = john@example.com
result_lines_1_0 = Doo
result_lines_1_1 = 31
result_lines_1_2 = doo@example.com
result_extracted = 2
result_skipped = 3
result_count = 5
result_next =
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&format=plain
Query parameters
id = 91da809f77772e22452d9777636c7c6f
format = plain
Response
name
age
email
John
27
john@example.com
Doo
31
doo@example.com
2
3
5
Example 5 (json)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&return_json=1
Query parameters
id = 91da809f77772e22452d9777636c7c6f
return_json = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"name" : "John" ,
"age" : "27" ,
"email" : "john@example.com"
} ,
{
"name" : "Doo" ,
"age" : "31" ,
"email" : "doo@example.com"
}
] ,
"extracted" : 2 ,
"skipped" : 3 ,
"count" : 5 ,
"next" : ""
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&return_json=1&format=xml
Query parameters
id = 91da809f77772e22452d9777636c7c6f
return_json = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<name> John </name>
<age> 27 </age>
<email> john@example.com </email>
</i0>
<i1>
<name> Doo </name>
<age> 31 </age>
<email> doo@example.com </email>
</i1>
</data>
<extracted> 2 </extracted>
<skipped> 3 </skipped>
<count> 5 </count>
<next> </next>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&return_json=1&format=txt
Query parameters
id = 91da809f77772e22452d9777636c7c6f
return_json = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_name = John
result_data_0_age = 27
result_data_0_email = john@example.com
result_data_1_name = Doo
result_data_1_age = 31
result_data_1_email = doo@example.com
result_extracted = 2
result_skipped = 3
result_count = 5
result_next =
Example 8 (plain)
Request
https://joturl.com/a/i1/ctas/download?id=91da809f77772e22452d9777636c7c6f&return_json=1&format=plain
Query parameters
id = 91da809f77772e22452d9777636c7c6f
return_json = 1
format = plain
Response
John
27
john@example.com
Doo
31
doo@example.com
2
3
5
Required parameters
parameter
description
idID
ID of the call to action
Optional parameters
parameter
description
from_dateDATE
date (inclusive) from which to start the export (default: 90 days before today)
lengthINTEGER
number of items to return (default: 1000, max value: 1000)
return_jsonBOOLEAN
if 1 this method returns a JSON data
fields instead of headers
and lines
fields (default: 0)
sampleBOOLEAN
1 to return sample data, 0 otherwise (default: 0)
startINTEGER
index of the starting item to retrieve (default: 0)
to_dateDATE
date (inclusive) to finish the export (default: today)
Return values
parameter
description
count
maximum number of items
data
[OPTIONAL] alternative to headers
and lines
, returned if return_json=1
extracted
number of extracted items
headers
[OPTIONAL] names of the corresponding information returned in lines, returned if return_json=0
lines
[OPTIONAL] array containing information of the CTA data, returned if return_json=0
next
URL to be called in order to fetch the next page of the list
skipped
number of skipped items
/ctas/socialapps /ctas/socialapps/add
access: [WRITE]
Add a new social app.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/add?provider=facebook&name=my+custom+social+app&appid=58af4dc54c15e0fab55f5f4d566ab555&secret=d7f11556341bf2fcc317b2c7cc618189
Query parameters
provider = facebook
name = my custom social app
appid = 58af4dc54c15e0fab55f5f4d566ab555
secret = d7f11556341bf2fcc317b2c7cc618189
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"provider" : "facebook" ,
"id" : "6fb3b4076ab97845b1740d4a3b761129" ,
"name" : "my custom social app" ,
"appid" : "58af4dc54c15e0fab55f5f4d566ab555"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/add?provider=facebook&name=my+custom+social+app&appid=58af4dc54c15e0fab55f5f4d566ab555&secret=d7f11556341bf2fcc317b2c7cc618189&format=xml
Query parameters
provider = facebook
name = my custom social app
appid = 58af4dc54c15e0fab55f5f4d566ab555
secret = d7f11556341bf2fcc317b2c7cc618189
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<provider> facebook </provider>
<id> 6fb3b4076ab97845b1740d4a3b761129 </id>
<name> my custom social app </name>
<appid> 58af4dc54c15e0fab55f5f4d566ab555 </appid>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/add?provider=facebook&name=my+custom+social+app&appid=58af4dc54c15e0fab55f5f4d566ab555&secret=d7f11556341bf2fcc317b2c7cc618189&format=txt
Query parameters
provider = facebook
name = my custom social app
appid = 58af4dc54c15e0fab55f5f4d566ab555
secret = d7f11556341bf2fcc317b2c7cc618189
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_provider = facebook
result_id = 6fb3b4076ab97845b1740d4a3b761129
result_name = my custom social app
result_appid = 58af4dc54c15e0fab55f5f4d566ab555
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/add?provider=facebook&name=my+custom+social+app&appid=58af4dc54c15e0fab55f5f4d566ab555&secret=d7f11556341bf2fcc317b2c7cc618189&format=plain
Query parameters
provider = facebook
name = my custom social app
appid = 58af4dc54c15e0fab55f5f4d566ab555
secret = d7f11556341bf2fcc317b2c7cc618189
format = plain
Response
facebook
6fb3b4076ab97845b1740d4a3b761129
my custom social app
58af4dc54c15e0fab55f5f4d566ab555
Required parameters
parameter
description
max length
appidSTRING
social app ID/Key/Client ID
255
nameSTRING
name of the social app
255
providerSTRING
name of the provider of the app, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
50
secretSTRING
social app secret
255
Return values
parameter
description
appid
social app ID/Key/Client ID
id
ID of the social app
name
name of the social app
provider
name of the provider of the app, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
/ctas/socialapps/count
access: [READ]
This method returns the number of defined social apps.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/count?format=plain
Query parameters
format = plain
Response
5
Example 5 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 8 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Optional parameters
parameter
description
max length
providerSTRING
name of the provider of the app, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
50
searchSTRING
count items by searching them
Return values
parameter
description
count
number of social apps the user has access to (filtered by search if passed)
/ctas/socialapps/delete
access: [WRITE]
Delete a social app.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e
Query parameters
ids = 1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e&format=xml
Query parameters
ids = 1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 2 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e&format=txt
Query parameters
ids = 1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e&format=plain
Query parameters
ids = 1fc315dfb25afc51cc5ba3e204198111,c42ae300d4a50bbf4c1bf7cbd284d85e
format = plain
Response
2
Example 5 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256
Query parameters
ids = dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256&format=xml
Query parameters
ids = dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32 </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256&format=txt
Query parameters
ids = dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/delete?ids=dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256&format=plain
Query parameters
ids = dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32,52bda98055f829322f21ace6dee6b256
format = plain
Response
dcfd17045aca2f16b6664fcb6a6c39eb,d3a90f635f0819329d24d00a38983a32
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of social app IDs to be deleted
Optional parameters
parameter
description
confirmBOOLEAN
1 to force the cancellation of social apps even if in use (default: 0)
Return values
parameter
description
deleted
number of deleted social apps
ids
[OPTIONAL] list of social app IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/ctas/socialapps/edit
access: [WRITE]
Edit a social app.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/edit?provider=facebook&name=social+app+name&appid=386821f553d951325f386bd16a88dd52
Query parameters
provider = facebook
name = social app name
appid = 386821f553d951325f386bd16a88dd52
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "777947fc8bfff1f2054a57e1decc7cfc" ,
"provider" : "facebook" ,
"name" : "social app name" ,
"appid" : "386821f553d951325f386bd16a88dd52"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/edit?provider=facebook&name=social+app+name&appid=386821f553d951325f386bd16a88dd52&format=xml
Query parameters
provider = facebook
name = social app name
appid = 386821f553d951325f386bd16a88dd52
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 777947fc8bfff1f2054a57e1decc7cfc </id>
<provider> facebook </provider>
<name> social app name </name>
<appid> 386821f553d951325f386bd16a88dd52 </appid>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/edit?provider=facebook&name=social+app+name&appid=386821f553d951325f386bd16a88dd52&format=txt
Query parameters
provider = facebook
name = social app name
appid = 386821f553d951325f386bd16a88dd52
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 777947fc8bfff1f2054a57e1decc7cfc
result_provider = facebook
result_name = social app name
result_appid = 386821f553d951325f386bd16a88dd52
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/edit?provider=facebook&name=social+app+name&appid=386821f553d951325f386bd16a88dd52&format=plain
Query parameters
provider = facebook
name = social app name
appid = 386821f553d951325f386bd16a88dd52
format = plain
Response
777947fc8bfff1f2054a57e1decc7cfc
facebook
social app name
386821f553d951325f386bd16a88dd52
Required parameters
parameter
description
idID
ID of the social app
Optional parameters
parameter
description
max length
appidSTRING
social app ID/Key/Client ID
255
nameSTRING
name of the social app
255
providerSTRING
name of the provider of the app, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
50
secretSTRING
social app secret
255
Return values
parameter
description
appid
social app ID/Key/Client ID
id
ID of the social app
name
name of the social app
provider
name of the provider of the app, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
/ctas/socialapps/info
access: [READ]
This method returns information on a social app.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/info?id=c48148dfce24019e33b0f693cf85d0bf
Query parameters
id = c48148dfce24019e33b0f693cf85d0bf
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "c48148dfce24019e33b0f693cf85d0bf" ,
"provider" : "facebook" ,
"name" : "this is my app name" ,
"appid" : "17d1d09f0503beea35fa085d8ee62a67"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/info?id=c48148dfce24019e33b0f693cf85d0bf&format=xml
Query parameters
id = c48148dfce24019e33b0f693cf85d0bf
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> c48148dfce24019e33b0f693cf85d0bf </id>
<provider> facebook </provider>
<name> this is my app name </name>
<appid> 17d1d09f0503beea35fa085d8ee62a67 </appid>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/info?id=c48148dfce24019e33b0f693cf85d0bf&format=txt
Query parameters
id = c48148dfce24019e33b0f693cf85d0bf
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = c48148dfce24019e33b0f693cf85d0bf
result_provider = facebook
result_name = this is my app name
result_appid = 17d1d09f0503beea35fa085d8ee62a67
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/info?id=c48148dfce24019e33b0f693cf85d0bf&format=plain
Query parameters
id = c48148dfce24019e33b0f693cf85d0bf
format = plain
Response
c48148dfce24019e33b0f693cf85d0bf
facebook
this is my app name
17d1d09f0503beea35fa085d8ee62a67
Required parameters
parameter
description
idID
ID of the social app
Return values
parameter
description
appid
social app ID/Key/Client ID
id
ID of the social app
name
name of the social app
provider
name of the provider of the app, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
/ctas/socialapps/list
access: [READ]
This method returns a list of social apps.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : {
"id" : "35d3e6fa19b1223ea8f8aaf91e8aee41" ,
"provider" : "facebook" ,
"name" : "this is my app name" ,
"appid" : "78dcfc22fd2dc5b6c7e4fe18fb63d103"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<id> 35d3e6fa19b1223ea8f8aaf91e8aee41 </id>
<provider> facebook </provider>
<name> this is my app name </name>
<appid> 78dcfc22fd2dc5b6c7e4fe18fb63d103 </appid>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_id = 35d3e6fa19b1223ea8f8aaf91e8aee41
result_data_provider = facebook
result_data_name = this is my app name
result_data_appid = 78dcfc22fd2dc5b6c7e4fe18fb63d103
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/list?format=plain
Query parameters
format = plain
Response
1
35d3e6fa19b1223ea8f8aaf91e8aee41
facebook
this is my app name
78dcfc22fd2dc5b6c7e4fe18fb63d103
Optional parameters
parameter
description
max length
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: start, length, search, orderby, sort, provider, format, callback
providerSTRING
filter social apps by provider, available providers: google, facebook, twitter, linkedin, amazon, microsoftgraph
50
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
total number of social apps
data
array containing information on social apps the user has access to
/ctas/urls /ctas/urls/count
access: [READ]
This method returns the number of user's urls related to a call to action.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/urls/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/urls/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/urls/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/urls/count?format=plain
Query parameters
format = plain
Response
5
Required parameters
parameter
description
cta_idID
ID of the CTA
Optional parameters
parameter
description
searchSTRING
filters tracking pixels to be extracted by searching them
Return values
parameter
description
count
number of (filtered) tracking pixels
/ctas/urls/list
access: [READ]
This method returns a list of user's urls data related to a call to action.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/urls/list?id=4dba2aeefbeb8b42b47f9cc7ae994ffc&fields=count,id,url_url
Query parameters
id = 4dba2aeefbeb8b42b47f9cc7ae994ffc
fields = count,id,url_url
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"id" : "e57d3714e7c0d62a1e3f711eab077e82" ,
"url_url" : "5e17cc48"
} ,
{
"id" : "0ceb17f7700aa6f59827c9d18c4fbfbc" ,
"url_url" : "8c56a56a"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/urls/list?id=4dba2aeefbeb8b42b47f9cc7ae994ffc&fields=count,id,url_url&format=xml
Query parameters
id = 4dba2aeefbeb8b42b47f9cc7ae994ffc
fields = count,id,url_url
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<id> e57d3714e7c0d62a1e3f711eab077e82 </id>
<url_url> 5e17cc48 </url_url>
</i0>
<i1>
<id> 0ceb17f7700aa6f59827c9d18c4fbfbc </id>
<url_url> 8c56a56a </url_url>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/urls/list?id=4dba2aeefbeb8b42b47f9cc7ae994ffc&fields=count,id,url_url&format=txt
Query parameters
id = 4dba2aeefbeb8b42b47f9cc7ae994ffc
fields = count,id,url_url
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_id = e57d3714e7c0d62a1e3f711eab077e82
result_data_0_url_url = 5e17cc48
result_data_1_id = 0ceb17f7700aa6f59827c9d18c4fbfbc
result_data_1_url_url = 8c56a56a
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/urls/list?id=4dba2aeefbeb8b42b47f9cc7ae994ffc&fields=count,id,url_url&format=plain
Query parameters
id = 4dba2aeefbeb8b42b47f9cc7ae994ffc
fields = count,id,url_url
format = plain
Response
2
e57d3714e7c0d62a1e3f711eab077e82
5e17cc48
0ceb17f7700aa6f59827c9d18c4fbfbc
8c56a56a
Required parameters
parameter
description
cta_idID
ID of the CTA
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, url_url, short_url, url_creation, url, has_preview, domain_extended_name, domain_id, project_name, project_is_default, project_id
Optional parameters
parameter
description
lengthINTEGER
extracts this number of tracking links (maxmimum allowed: 100)
orderbyARRAY
orders tracking links by field, available fields: id, url_url, short_url, url_creation, url, has_preview, domain_extended_name, domain_id, project_name, project_is_default, project_id
searchSTRING
filters tracking links to be extracted by searching them
sortSTRING
sorts tracking links in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract tracking links from this position
Return values
parameter
description
count
[OPTIONAL] total number of tracking links, returned only if count is passed in fields
data
array containing information on the tracking links, the returned information depends on the fields parameter.
/ctas/webhooks /ctas/webhooks/info
access: [READ]
This method return information on a webhook.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/webhooks/info?id=44ad5efc540f2c2576acda1d339ae002
Query parameters
id = 44ad5efc540f2c2576acda1d339ae002
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "44ad5efc540f2c2576acda1d339ae002" ,
"url" : "https://my.custom.webhook/" ,
"type" : "custom" ,
"info" : [] ,
"notes" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/webhooks/info?id=44ad5efc540f2c2576acda1d339ae002&format=xml
Query parameters
id = 44ad5efc540f2c2576acda1d339ae002
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 44ad5efc540f2c2576acda1d339ae002 </id>
<url> https://my.custom.webhook/ </url>
<type> custom </type>
<info>
</info>
<notes> </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/webhooks/info?id=44ad5efc540f2c2576acda1d339ae002&format=txt
Query parameters
id = 44ad5efc540f2c2576acda1d339ae002
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 44ad5efc540f2c2576acda1d339ae002
result_url = https://my.custom.webhook/
result_type = custom
result_info =
result_notes =
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/webhooks/info?id=44ad5efc540f2c2576acda1d339ae002&format=plain
Query parameters
id = 44ad5efc540f2c2576acda1d339ae002
format = plain
Response
44ad5efc540f2c2576acda1d339ae002
https://my.custom.webhook/
custom
Required parameters
parameter
description
idID
ID of the CTA from which to remove the webhook
Return values
parameter
description
id
echo back of the id
input parameter
info
extended info of the webhook
notes
notes for the webhook
type
webhook type, see i1/ctas/webhooks/property for details
url
URL of the webhook
when type = zapier
, the returned parameter url
is empty
/ctas/webhooks/property
access: [READ]
Return available webhook types and their parameters.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/webhooks/property?types=custom,zapier,mailerlite
Query parameters
types = custom,zapier,mailerlite
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"custom" : {
"name" : "Custom webhook" ,
"private" : 0 ,
"url_required" : 1 ,
"info" : {
"home" : "https://joturl.zendesk.com/hc/en-us/articles/360012882199" ,
"logo" : "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg=="
} ,
"parameters" : [
{
"name" : "fields" ,
"type" : "json" ,
"maxlength" : 2000 ,
"description" : "couples key/values" ,
"mandatory" : 0 ,
"example" : "{"source":"joturl","test":1}"
}
]
} ,
"mailerlite" : {
"name" : "MailerLite" ,
"private" : 0 ,
"url_required" : 0 ,
"info" : {
"home" : "https://www.mailerlite.com/" ,
"logo" : "https://www.mailerlite.com/assets/logo-color.png"
} ,
"parameters" : [
{
"name" : "apikey" ,
"type" : "string" ,
"maxlength" : 500 ,
"description" : "MailerLite API key" ,
"documentation" : "https://help.mailerlite.com/article/show/35040-where-can-i-find-the-api-key" ,
"mandatory" : 1 ,
"example" : "2e12100d737fe5d0019ec60516898001"
} ,
{
"name" : "group" ,
"type" : "string" ,
"maxlength" : 500 ,
"description" : "GroupID of the MailerLite group" ,
"documentation" : "https://app.mailerlite.com/subscribe/api" ,
"mandatory" : 1 ,
"example" : "1625311626"
} ,
{
"name" : "fields" ,
"type" : "json" ,
"maxlength" : 2000 ,
"description" : "couples key/values" ,
"mandatory" : 0 ,
"example" : "{"source":"joturl","test":1}"
}
]
} ,
"zapier" : {
"name" : "Zapier" ,
"private" : 1 ,
"url_required" : 0 ,
"info" : {
"home" : "https://zapier.com/" ,
"logo" : "https://cdn.zapier.com/zapier/images/logos/zapier-logo.png"
} ,
"parameters" : []
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/webhooks/property?types=custom,zapier,mailerlite&format=xml
Query parameters
types = custom,zapier,mailerlite
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<custom>
<name> Custom webhook </name>
<private> 0 </private>
<url_required> 1 </url_required>
<info>
<home> https://joturl.zendesk.com/hc/en-us/articles/360012882199 </home>
<logo> data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg== </logo>
</info>
<parameters>
<i0>
<name> fields </name>
<type> json </type>
<maxlength> 2000 </maxlength>
<description> couples key/values </description>
<mandatory> 0 </mandatory>
<example> {"source":"joturl","test":1} </example>
</i0>
</parameters>
</custom>
<mailerlite>
<name> MailerLite </name>
<private> 0 </private>
<url_required> 0 </url_required>
<info>
<home> https://www.mailerlite.com/ </home>
<logo> https://www.mailerlite.com/assets/logo-color.png </logo>
</info>
<parameters>
<i0>
<name> apikey </name>
<type> string </type>
<maxlength> 500 </maxlength>
<description> MailerLite API key </description>
<documentation> https://help.mailerlite.com/article/show/35040-where-can-i-find-the-api-key </documentation>
<mandatory> 1 </mandatory>
<example> 2e12100d737fe5d0019ec60516898001 </example>
</i0>
<i1>
<name> group </name>
<type> string </type>
<maxlength> 500 </maxlength>
<description> GroupID of the MailerLite group </description>
<documentation> https://app.mailerlite.com/subscribe/api </documentation>
<mandatory> 1 </mandatory>
<example> 1625311626 </example>
</i1>
<i2>
<name> fields </name>
<type> json </type>
<maxlength> 2000 </maxlength>
<description> couples key/values </description>
<mandatory> 0 </mandatory>
<example> {"source":"joturl","test":1} </example>
</i2>
</parameters>
</mailerlite>
<zapier>
<name> Zapier </name>
<private> 1 </private>
<url_required> 0 </url_required>
<info>
<home> https://zapier.com/ </home>
<logo> https://cdn.zapier.com/zapier/images/logos/zapier-logo.png </logo>
</info>
<parameters>
</parameters>
</zapier>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/webhooks/property?types=custom,zapier,mailerlite&format=txt
Query parameters
types = custom,zapier,mailerlite
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_custom_name = Custom webhook
result_data_custom_private = 0
result_data_custom_url_required = 1
result_data_custom_info_home = https://joturl.zendesk.com/hc/en-us/articles/360012882199
result_data_custom_info_logo = data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg==
result_data_custom_parameters_0_name = fields
result_data_custom_parameters_0_type = json
result_data_custom_parameters_0_maxlength = 2000
result_data_custom_parameters_0_description = couples key/values
result_data_custom_parameters_0_mandatory = 0
result_data_custom_parameters_0_example = {"source":"joturl","test":1}
result_data_mailerlite_name = MailerLite
result_data_mailerlite_private = 0
result_data_mailerlite_url_required = 0
result_data_mailerlite_info_home = https://www.mailerlite.com/
result_data_mailerlite_info_logo = https://www.mailerlite.com/assets/logo-color.png
result_data_mailerlite_parameters_0_name = apikey
result_data_mailerlite_parameters_0_type = string
result_data_mailerlite_parameters_0_maxlength = 500
result_data_mailerlite_parameters_0_description = MailerLite API key
result_data_mailerlite_parameters_0_documentation = https://help.mailerlite.com/article/show/35040-where-can-i-find-the-api-key
result_data_mailerlite_parameters_0_mandatory = 1
result_data_mailerlite_parameters_0_example = 2e12100d737fe5d0019ec60516898001
result_data_mailerlite_parameters_1_name = group
result_data_mailerlite_parameters_1_type = string
result_data_mailerlite_parameters_1_maxlength = 500
result_data_mailerlite_parameters_1_description = GroupID of the MailerLite group
result_data_mailerlite_parameters_1_documentation = https://app.mailerlite.com/subscribe/api
result_data_mailerlite_parameters_1_mandatory = 1
result_data_mailerlite_parameters_1_example = 1625311626
result_data_mailerlite_parameters_2_name = fields
result_data_mailerlite_parameters_2_type = json
result_data_mailerlite_parameters_2_maxlength = 2000
result_data_mailerlite_parameters_2_description = couples key/values
result_data_mailerlite_parameters_2_mandatory = 0
result_data_mailerlite_parameters_2_example = {"source":"joturl","test":1}
result_data_zapier_name = Zapier
result_data_zapier_private = 1
result_data_zapier_url_required = 0
result_data_zapier_info_home = https://zapier.com/
result_data_zapier_info_logo = https://cdn.zapier.com/zapier/images/logos/zapier-logo.png
result_data_zapier_parameters =
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/webhooks/property?types=custom,zapier,mailerlite&format=plain
Query parameters
types = custom,zapier,mailerlite
format = plain
Response
Custom webhook
0
1
https://joturl.zendesk.com/hc/en-us/articles/360012882199
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg==
fields
json
2000
couples key/values
0
{"source":"joturl","test":1}
MailerLite
0
0
https://www.mailerlite.com/
https://www.mailerlite.com/assets/logo-color.png
apikey
string
500
MailerLite API key
https://help.mailerlite.com/article/show/35040-where-can-i-find-the-api-key
1
2e12100d737fe5d0019ec60516898001
group
string
500
GroupID of the MailerLite group
https://app.mailerlite.com/subscribe/api
1
1625311626
fields
json
2000
couples key/values
0
{"source":"joturl","test":1}
Zapier
1
0
https://zapier.com/
https://cdn.zapier.com/zapier/images/logos/zapier-logo.png
Optional parameters
parameter
description
typesSTRING
comma-separated list of webhook types to be returned, if empty all types are returned, available types: activecampaign
, custom
, drift
, getresponse
, hubspot
, mailchimp
, mailerlite
, mailjet
, mautic
, moosend
, sendinblue
, zapier
Return values
parameter
description
data
array containing information on webhook parameters by type
Check the following tables for information on webhook parameters by type.
ActiveCampaign type = activecampaign
name description help mandatory type max length example apiurl ActiveCampaign API Access URL Yes url 4000 https://your-account.api-us1.com apikey ActiveCampaign API Access Key Yes string 500 b27783b92f41214c9a92526c37cfe337 list ActiveCampaign list ID, if not specified the email will be added to global contacts No string 500 568629986
Custom webhook type = custom
name description help mandatory type max length example fields couples key/values No json 2000 {"source":"joturl","test":1}
Drift type = drift
name description help mandatory type max length example apitoken Drift Personal API Token Yes string 500 eda0b98ef871dcb26557726643436785 fields couples key/values No json 2000 {"source":"joturl","test":1}
GetResponse type = getresponse
name description help mandatory type max length example apikey GetResponse API key Yes string 500 fe9b1b39d6b989fad9d0a8300264efd5 list GetResponse list token Yes string 500 ZgNiw
HubSpot type = hubspot
name description help mandatory type max length example apikey HubSpot API Access Key Yes string 500 29a91797f4dff6dcb2d0c4526f3457bd list HubSpot list ID, if not specified the email will be added to global contacts No string 500 1051061489 properties properties (key/value pairs), each property must exist on HubSpot otherwise the API call will fail No json 2000 {"source":"joturl","test":1}
Mailchimp type = mailchimp
name description help mandatory type max length example apikey Mailchimp API key Yes string 500 4166167d15bbd1768a10e5a099814162 audience ID of the Mailchimp audience Yes string 500 dd6437b0 fields couples key/values No json 2000 {"source":"joturl","test":1}
MailerLite type = mailerlite
name description help mandatory type max length example apikey MailerLite API key Yes string 500 04fc7bc42846dd5ee87a7b3097134b5f group GroupID of the MailerLite group Yes string 500 653426375 fields couples key/values No json 2000 {"source":"joturl","test":1}
Mailjet type = mailjet
name description help mandatory type max length example apikey Mailjet API key Yes string 500 569e6edaad42548aaa2939bd522ff980 secretkey Mailjet secret key Yes string 500 c7640bebc21b9858ba1fdc562d9db58c list Mailjet contact list ID, if not specified the email will be added to global contacts No string 500 1246674155
Mautic type = mautic
name description help mandatory type max length example apiurl Your Mautic API base URL Yes url 4000 https://your-mautic.com username Mautic username Yes string 500 843faa1171bfd412d04551a15bea3802 password Mautic password Yes string 500 2313355e1960d7224957468bb1fd7b5a fields couples key/values No json 2000 {"source":"joturl","test":1}
Moosend type = moosend
name description help mandatory type max length example apikey Moosend API key Yes string 500 bafe55f4-e53e-4651-8164-c6d6ff05081b mailingListID Moosend ID of the mailing list to add the new member Yes string 500 a589366a-1a34-4965-ac50-f1299fe5979e fields couples key/values No json 2000 {"source":"joturl","test":1}
Sendinblue type = sendinblue
name description help mandatory type max length example apikey Sendinblue API key (v3) Yes string 500 a103c73d86080e17c85b8ee3fa2f22b8 list Sendinblue list ID, if not specified the email will be added to global contacts No string 500 1971594752 firstname Sendinblue "attribute name" for the contact's first name No string 500 FNAME lastname Sendinblue "attribute name" for the contact's last name No string 500 LNAME fullname Sendinblue "attribute name" for the contact's full name No string 500 FULLNAME fields couples key/values No json 2000 {"source":"joturl","test":1}
Zapier type = zapier
This type of webhook cannot be directly subscribed, please use our Zapier integration.
/ctas/webhooks/subscribe
access: [WRITE]
This method add a webhook subscription to a CTA.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/webhooks/subscribe?id=7d7ce5d87c554f8ac713981efdfe8b80&url=https%3A%2F%2Fjoturl.com%2F
Query parameters
id = 7d7ce5d87c554f8ac713981efdfe8b80
url = https://joturl.com/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/webhooks/subscribe?id=7d7ce5d87c554f8ac713981efdfe8b80&url=https%3A%2F%2Fjoturl.com%2F&format=xml
Query parameters
id = 7d7ce5d87c554f8ac713981efdfe8b80
url = https://joturl.com/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/webhooks/subscribe?id=7d7ce5d87c554f8ac713981efdfe8b80&url=https%3A%2F%2Fjoturl.com%2F&format=txt
Query parameters
id = 7d7ce5d87c554f8ac713981efdfe8b80
url = https://joturl.com/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/webhooks/subscribe?id=7d7ce5d87c554f8ac713981efdfe8b80&url=https%3A%2F%2Fjoturl.com%2F&format=plain
Query parameters
id = 7d7ce5d87c554f8ac713981efdfe8b80
url = https://joturl.com/
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the CTA to which to add the webhook
typeSTRING
webhook type, allowed types: activecampaign
, custom
, drift
, getresponse
, hubspot
, mailchimp
, mailerlite
, mailjet
, mautic
, moosend
, sendinblue
, zapier
Optional parameters
parameter
description
max length
infoJSON
info to be used with the webhook (e.g., an API key), see below for details
notesSTRING
notes for the webhook
4000
unsubscribeBOOLEAN
1 to unsubscribe from the current webhook (if any) and subscribe to the new one
urlSTRING
URL of the webhook, required for types: custom
, zapier
4000
Return values
parameter
description
added
1 on success, 0 otherwise
/ctas/webhooks/test
access: [WRITE]
This endpoint sends test data to a CTA webhook.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/webhooks/test?id=bd1a1eaddde2128199225d1c117631a9
Query parameters
id = bd1a1eaddde2128199225d1c117631a9
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ok" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/webhooks/test?id=bd1a1eaddde2128199225d1c117631a9&format=xml
Query parameters
id = bd1a1eaddde2128199225d1c117631a9
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ok> 1 </ok>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/webhooks/test?id=bd1a1eaddde2128199225d1c117631a9&format=txt
Query parameters
id = bd1a1eaddde2128199225d1c117631a9
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ok = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/webhooks/test?id=bd1a1eaddde2128199225d1c117631a9&format=plain
Query parameters
id = bd1a1eaddde2128199225d1c117631a9
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the CTA associated with the webhook
Return values
parameter
description
ok
1 on success, otherwise an error is returned
/ctas/webhooks/unsubscribe
access: [WRITE]
This method removes a webhook subscription to a CTA.
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/webhooks/unsubscribe?id=60e19856198ad1f5523abc3a6a86fed5
Query parameters
id = 60e19856198ad1f5523abc3a6a86fed5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"removed" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/webhooks/unsubscribe?id=60e19856198ad1f5523abc3a6a86fed5&format=xml
Query parameters
id = 60e19856198ad1f5523abc3a6a86fed5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<removed> 1 </removed>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/webhooks/unsubscribe?id=60e19856198ad1f5523abc3a6a86fed5&format=txt
Query parameters
id = 60e19856198ad1f5523abc3a6a86fed5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_removed = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/webhooks/unsubscribe?id=60e19856198ad1f5523abc3a6a86fed5&format=plain
Query parameters
id = 60e19856198ad1f5523abc3a6a86fed5
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the CTA from which to remove the webhook
Return values
parameter
description
removed
1 on success, 0 otherwise
/currencies /currencies/info
access: [READ]
This method returns a list of available currencies.
Example 1 (json)
Request
https://joturl.com/a/i1/currencies/info?id=3c550850bcf45684f37f71264e57c260
Query parameters
id = 3c550850bcf45684f37f71264e57c260
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "3c550850bcf45684f37f71264e57c260" ,
"code" : "EUR" ,
"sign" : "€"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/currencies/info?id=3c550850bcf45684f37f71264e57c260&format=xml
Query parameters
id = 3c550850bcf45684f37f71264e57c260
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 3c550850bcf45684f37f71264e57c260 </id>
<code> EUR </code>
<sign> € </sign>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/currencies/info?id=3c550850bcf45684f37f71264e57c260&format=txt
Query parameters
id = 3c550850bcf45684f37f71264e57c260
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 3c550850bcf45684f37f71264e57c260
result_data_0_code = EUR
result_data_0_sign = €
Example 4 (plain)
Request
https://joturl.com/a/i1/currencies/info?id=3c550850bcf45684f37f71264e57c260&format=plain
Query parameters
id = 3c550850bcf45684f37f71264e57c260
format = plain
Response
3c550850bcf45684f37f71264e57c260
EUR
€
Required parameters
parameter
description
idID
ID of the currency
Return values
parameter
description
data
information on the specified currency
/currencies/list
access: [READ]
This method returns a list of available currencies.
Example 1 (json)
Request
https://joturl.com/a/i1/currencies/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "8ae6773cbc56266ef85969b1fd87cc8b" ,
"code" : "EUR" ,
"sign" : "€"
} ,
{
"id" : "7a00c419f818b57e51133ec8871f36b6" ,
"code" : "USD" ,
"sign" : "$"
} ,
{
"id" : "bd37b2bbda092cef29541bca3ef4eba3" ,
"code" : "GBP" ,
"sign" : "£"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/currencies/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 8ae6773cbc56266ef85969b1fd87cc8b </id>
<code> EUR </code>
<sign> € </sign>
</i0>
<i1>
<id> 7a00c419f818b57e51133ec8871f36b6 </id>
<code> USD </code>
<sign> $ </sign>
</i1>
<i2>
<id> bd37b2bbda092cef29541bca3ef4eba3 </id>
<code> GBP </code>
<sign> £ </sign>
</i2>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/currencies/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 8ae6773cbc56266ef85969b1fd87cc8b
result_data_0_code = EUR
result_data_0_sign = €
result_data_1_id = 7a00c419f818b57e51133ec8871f36b6
result_data_1_code = USD
result_data_1_sign = $
result_data_2_id = bd37b2bbda092cef29541bca3ef4eba3
result_data_2_code = GBP
result_data_2_sign = £
Example 4 (plain)
Request
https://joturl.com/a/i1/currencies/list?format=plain
Query parameters
format = plain
Response
8ae6773cbc56266ef85969b1fd87cc8b
EUR
€
7a00c419f818b57e51133ec8871f36b6
USD
$
bd37b2bbda092cef29541bca3ef4eba3
GBP
£
Return values
parameter
description
data
information on the specified currency
/domains /domains/add
access: [WRITE]
Add a domain for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/add?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&favicon_url=https%3A%2F%2Fpath.to%2Ffav%2Ficon&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
favicon_url = https://path.to/fav/icon
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "1234567890abcdef" ,
"force_https" : "0" ,
"host" : "domain.ext" ,
"nickname" : "my domain nickname" ,
"redirect_url" : "https://redirect.users.to/" ,
"favicon_url" : "https://path.to/fav/icon" ,
"logo" : "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" ,
"deeplink_id" : "" ,
"domain_domains_deeplink_name" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/add?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&favicon_url=https%3A%2F%2Fpath.to%2Ffav%2Ficon&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data&format=xml
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
favicon_url = https://path.to/fav/icon
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 1234567890abcdef </id>
<force_https> 0 </force_https>
<host> domain.ext </host>
<nickname> my domain nickname </nickname>
<redirect_url> https://redirect.users.to/ </redirect_url>
<favicon_url> https://path.to/fav/icon </favicon_url>
<logo> data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 </logo>
<deeplink_id> </deeplink_id>
<domain_domains_deeplink_name> </domain_domains_deeplink_name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/add?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&favicon_url=https%3A%2F%2Fpath.to%2Ffav%2Ficon&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data&format=txt
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
favicon_url = https://path.to/fav/icon
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 1234567890abcdef
result_force_https = 0
result_host = domain.ext
result_nickname = my domain nickname
result_redirect_url = https://redirect.users.to/
result_favicon_url = https://path.to/fav/icon
result_logo = data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
result_deeplink_id =
result_domain_domains_deeplink_name =
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/add?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&favicon_url=https%3A%2F%2Fpath.to%2Ffav%2Ficon&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data&format=plain
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
favicon_url = https://path.to/fav/icon
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
format = plain
Response
1234567890abcdef
0
domain.ext
my domain nickname
https://redirect.users.to/
https://path.to/fav/icon
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
Required parameters
parameter
description
max length
hostSTRING
domain to add (e.g., domain.ext)
850
Optional parameters
parameter
description
max length
deeplink_idID
ID of the deep link configuration
favicon_urlSTRING
the default favicon URL for the branded domain (to avoid securiy issues it must be HTTPS)
4000
forceBOOLEAN
1 to disable security checks, 0 otherwise. This parameter is ignored if force_https = 1
force_httpsBOOLEAN
1 to force HTTPS on HTTP requests, 0 otherwise (this flag takes effect only if a valid SSL certificate is associated with the domain)
inputSTRING
name of the HTML form field that contains image data for the logo (max dimensions 120px x 50px
, max size 150kB
), see notes for details
255
nicknameSTRING
the domain nickname
50
redirect_urlSTRING
the default destination URL where to redirect when a user types the domain without any alias (or an invalid alias)
4000
robots_txtSTRING
the robots.txt
content to serve for the domain, when robots_txt = :NONE:
requests to robots.txt
will return a 404 error, if empty the following robots.txt
will be served:user-agent: * disallow: /
4000
NOTES : The parameter input contains the name of the field of the HTML form that is used to send logo data to this method. Form must have enctype = "multipart/form-data"
and method = "post"
.
<form
action= "/a/i1/domains/add"
method= "post"
enctype= "multipart/form-data" >
<input name= "input" value= "logo" type= "hidden" />
[other form fields]
<input name= "logo" type= "file" />
</form>
Return values
parameter
description
deeplink_id
ID of the deep link configuration
deeplink_name
NA
favicon_url
default favicon URL
force_https
1 if the HTTPS is forced for the domain, 0 otherwise (this flag takes effect only if a valid SSL certificate is associated with the domain)
host
the domain that was just added
id
ID of the added domain
logo
default logo for the domain (base64 encoded)
nickname
the domain nickname
redirect_url
default redirect URL
robots_txt
the robots.txt
content to serve for the domain
/domains/certificates /domains/certificates/acmes /domains/certificates/acmes/domains/cert
access: [WRITE]
This method creates or renews an SSL certificate for a domain.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/cert?domain_id=ba844e4ca44ffe499617ad7bbacca925
Query parameters
domain_id = ba844e4ca44ffe499617ad7bbacca925
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"created" : 0 ,
"private_key" : "-----BEGIN PRIVATE KEY-----[BASE64-ENCODED INFO]-----END PRIVATE KEY-----" ,
"csr" : "-----BEGIN CERTIFICATE REQUEST-----[BASE64-ENCODED INFO]-----END CERTIFICATE REQUEST-----" ,
"cert" : "-----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE-----" ,
"cert_fingerprint" : "9B5BDE73B0B3604B66688BB1092B0BB0DE2FD264" ,
"cert_valid_from" : "2024-02-10T12:29:56" ,
"cert_valid_to" : "2024-05-10T12:29:56" ,
"intermediate" : "-----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE-----"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/cert?domain_id=ba844e4ca44ffe499617ad7bbacca925&format=xml
Query parameters
domain_id = ba844e4ca44ffe499617ad7bbacca925
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<created> 0 </created>
<private_key> -----BEGIN PRIVATE KEY-----[BASE64-ENCODED INFO]-----END PRIVATE KEY----- </private_key>
<csr> -----BEGIN CERTIFICATE REQUEST-----[BASE64-ENCODED INFO]-----END CERTIFICATE REQUEST----- </csr>
<cert> -----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE----- </cert>
<cert_fingerprint> 9B5BDE73B0B3604B66688BB1092B0BB0DE2FD264 </cert_fingerprint>
<cert_valid_from> 2024-02-10T12:29:56 </cert_valid_from>
<cert_valid_to> 2024-05-10T12:29:56 </cert_valid_to>
<intermediate> -----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE----- </intermediate>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/cert?domain_id=ba844e4ca44ffe499617ad7bbacca925&format=txt
Query parameters
domain_id = ba844e4ca44ffe499617ad7bbacca925
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_created = 0
result_private_key = -----BEGIN PRIVATE KEY-----[BASE64-ENCODED INFO]-----END PRIVATE KEY-----
result_csr = -----BEGIN CERTIFICATE REQUEST-----[BASE64-ENCODED INFO]-----END CERTIFICATE REQUEST-----
result_cert = -----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE-----
result_cert_fingerprint = 9B5BDE73B0B3604B66688BB1092B0BB0DE2FD264
result_cert_valid_from = 2024-02-10T12:29:56
result_cert_valid_to = 2024-05-10T12:29:56
result_intermediate = -----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE-----
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/cert?domain_id=ba844e4ca44ffe499617ad7bbacca925&format=plain
Query parameters
domain_id = ba844e4ca44ffe499617ad7bbacca925
format = plain
Response
0
-----BEGIN PRIVATE KEY-----[BASE64-ENCODED INFO]-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE REQUEST-----[BASE64-ENCODED INFO]-----END CERTIFICATE REQUEST-----
-----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE-----
9B5BDE73B0B3604B66688BB1092B0BB0DE2FD264
2024-02-10T12:29:56
2024-05-10T12:29:56
-----BEGIN CERTIFICATE-----[BASE64-ENCODED INFO]-----END CERTIFICATE-----
Required parameters
parameter
description
domain_idID
ID of the domain for which the SSL certificate is asked
Return values
parameter
description
cert
domain SSL certificate (PEM format)
cert_fingerprint
fingerprint of the SSL certificate
cert_valid_from
SSL certificate is valid from this date
cert_valid_to
SSL certificate is valid up to this date, usually the certificate expires 90 days after the cert_valid_from date; see <a href="https://letsencrypt.org/docs/faq/">the Let's Encrypt FAQ</a> for details
created
1 on success, 0 otherwise
csr
certificate signing request (CSR) for the doamin (PEM format)
intermediate
domain intermediate certificate(s) (PEM format)
private_key
domain private key (PEM format)
/domains/certificates/acmes/domains/install
access: [WRITE]
This method installs an SSL certificate for a domain.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/install?domain_id=bdae9dd92df7a8b36cd005a60d5dfee2
Query parameters
domain_id = bdae9dd92df7a8b36cd005a60d5dfee2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"installed" : 1 ,
"host" : "jo.my" ,
"cn" : "jo.my" ,
"certificate_domain_id" : "6e666877484257716e798888484252472b645a4a49518d8d" ,
"domains" : "jo.my, www.jo.my" ,
"fingerprint" : "6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265" ,
"id" : "69785a4b2f7676744c5a4759642f67524561584b58778d8d" ,
"valid_from" : "2018-01-23 14:58:37" ,
"valid_to" : "2018-04-23 14:58:37" ,
"issuer" : "JotUrl S.r.l."
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/install?domain_id=bdae9dd92df7a8b36cd005a60d5dfee2&format=xml
Query parameters
domain_id = bdae9dd92df7a8b36cd005a60d5dfee2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<installed> 1 </installed>
<host> jo.my </host>
<cn> jo.my </cn>
<certificate_domain_id> 6e666877484257716e798888484252472b645a4a49518d8d </certificate_domain_id>
<domains> jo.my, www.jo.my </domains>
<fingerprint> 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265 </fingerprint>
<id> 69785a4b2f7676744c5a4759642f67524561584b58778d8d </id>
<valid_from> 2018-01-23 14:58:37 </valid_from>
<valid_to> 2018-04-23 14:58:37 </valid_to>
<issuer> JotUrl S.r.l. </issuer>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/install?domain_id=bdae9dd92df7a8b36cd005a60d5dfee2&format=txt
Query parameters
domain_id = bdae9dd92df7a8b36cd005a60d5dfee2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_installed = 1
result_host = jo.my
result_cn = jo.my
result_certificate_domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
result_domains = jo.my, www.jo.my
result_fingerprint = 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
result_id = 69785a4b2f7676744c5a4759642f67524561584b58778d8d
result_valid_from = 2018-01-23 14:58:37
result_valid_to = 2018-04-23 14:58:37
result_issuer = JotUrl S.r.l.
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/install?domain_id=bdae9dd92df7a8b36cd005a60d5dfee2&format=plain
Query parameters
domain_id = bdae9dd92df7a8b36cd005a60d5dfee2
format = plain
Response
1
jo.my
jo.my
6e666877484257716e798888484252472b645a4a49518d8d
jo.my, www.jo.my
6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
69785a4b2f7676744c5a4759642f67524561584b58778d8d
2018-01-23 14:58:37
2018-04-23 14:58:37
JotUrl S.r.l.
Required parameters
parameter
description
domain_idID
ID of the domain for which the SSL certificate has to be installed
Return values
parameter
description
certificate_domain_id
ID of the domain the certificate belongs to
cn
common name of the certificate
domains
comma separated list of domains covered by the certificate (e.g., "domain.ext, www.domain.ext")
fingerprint
fingerprint of the certificate
host
domain the certificate belongs to
id
ID of the certificate
installed
1 on success, 0 otherwise
issuer
the certificate issuer
valid_from
the certificate is valid from this dat, can be in the future (e.g., 2018-05-30 13:38:04)
valid_to
the certificate is valid up to this date, can be in the past (e.g., 2020-05-29 13:38:04)
/domains/certificates/acmes/domains/revoke
access: [WRITE]
This method revokes an SSL certificate for a domain.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/revoke?domain_id=36ea8b77c948a9ce39c259b7eaea7392
Query parameters
domain_id = 36ea8b77c948a9ce39c259b7eaea7392
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"revoked" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/revoke?domain_id=36ea8b77c948a9ce39c259b7eaea7392&format=xml
Query parameters
domain_id = 36ea8b77c948a9ce39c259b7eaea7392
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<revoked> 0 </revoked>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/revoke?domain_id=36ea8b77c948a9ce39c259b7eaea7392&format=txt
Query parameters
domain_id = 36ea8b77c948a9ce39c259b7eaea7392
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_revoked = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/revoke?domain_id=36ea8b77c948a9ce39c259b7eaea7392&format=plain
Query parameters
domain_id = 36ea8b77c948a9ce39c259b7eaea7392
format = plain
Response
0
Required parameters
parameter
description
domain_idID
ID of the domain for which the SSL certificate should be revoked
Return values
parameter
description
revoked
1 on success, 0 otherwise
/domains/certificates/acmes/domains/validate
access: [WRITE]
This method validates a domain. You have to validate a domain before creating an SSL certificate.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/validate?domain_id=f1970684193d975f031fc8a130d3a9d8
Query parameters
domain_id = f1970684193d975f031fc8a130d3a9d8
Response
{
"status" : "pending"
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/validate?domain_id=f1970684193d975f031fc8a130d3a9d8&format=xml
Query parameters
domain_id = f1970684193d975f031fc8a130d3a9d8
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status> pending </status>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/validate?domain_id=f1970684193d975f031fc8a130d3a9d8&format=txt
Query parameters
domain_id = f1970684193d975f031fc8a130d3a9d8
format = txt
Response
status = pending
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/domains/validate?domain_id=f1970684193d975f031fc8a130d3a9d8&format=plain
Query parameters
domain_id = f1970684193d975f031fc8a130d3a9d8
format = plain
Response
pending
Required parameters
parameter
description
domain_idID
ID of the domain to validate
Optional parameters
parameter
description
include_www_subdomainBOOLEAN
1 if the WWW subdomain should be asked, 0 otherwise
Return values
parameter
description
domains
list of available domains in the certificate
status
status of the validation request; call this method until a valid status is returned or a timeout of 30 seconds occurs. If the validation fails, you have to wait at least 30 minutes before retrying [unknown|pending|valid]
/domains/certificates/acmes/users/deactivate
access: [WRITE]
This method deactivates a user on the Let's Encrypt ACME server.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/deactivate
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deactivated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/deactivate?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deactivated> 1 </deactivated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/deactivate?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deactivated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/deactivate?format=plain
Query parameters
format = plain
Response
1
Return values
parameter
description
deactivated
1 on success, 0 otherwise
/domains/certificates/acmes/users/generatekey
access: [WRITE]
This method generates an RSA key for the user, this key have to be used with all operations on the Let's Encrypt ACME server.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/generatekey
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"generated" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/generatekey?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<generated> 0 </generated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/generatekey?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_generated = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/generatekey?format=plain
Query parameters
format = plain
Response
0
Return values
parameter
description
generated
1 on success, 0 otherwise
/domains/certificates/acmes/users/register
access: [WRITE]
This method registers a user on the Let's Encrypt ACME server.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/register
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"registered" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/register?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<registered> 0 </registered>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/register?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_registered = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/acmes/users/register?format=plain
Query parameters
format = plain
Response
0
Optional parameters
parameter
description
agreementSTRING
links to the Let's Encrypt agreement. Registration on Let's Encrypt ACME server requires two steps; in the first one you have to call this method without parameters, it will return an agreement link and the security parameter nonce, that the user must explicitely approve the agreement; in the second step, you have to call this method with parameters agreement and nonce set to the values returned by the previous call
forceBOOLEAN
1 if the registration process have to be forced (overwriting old values), 0 otherwise
nonceID
a random security string to be used during the registration process
Return values
parameter
description
agreement
[OPTIONAL] returned only if agreement is needed (agreement is only in English)
nonce
[OPTIONAL] returned only if agreement is needed
registered
1 on success, 0 otherwise
/domains/certificates/add
access: [WRITE]
This method allows to upload a certificate for a specific domain.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/add?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&cert_files_type=pfx&input_pfx_archive=%5Bpfx_file%5D
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
cert_files_type = pfx
input_pfx_archive = [pfx_file]
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"host" : "jo.my" ,
"id" : "69785a4b2f7676744c5a4759642f67524561584b58778d8d" ,
"fingerprint" : "6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265" ,
"valid_from" : "2018-01-23 14:58:37" ,
"valid_to" : "2018-04-23 14:58:37" ,
"cn" : "jo.my" ,
"domains" : "jo.my, www.jo.my"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/add?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&cert_files_type=pfx&input_pfx_archive=%5Bpfx_file%5D&format=xml
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
cert_files_type = pfx
input_pfx_archive = [pfx_file]
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<host> jo.my </host>
<id> 69785a4b2f7676744c5a4759642f67524561584b58778d8d </id>
<fingerprint> 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265 </fingerprint>
<valid_from> 2018-01-23 14:58:37 </valid_from>
<valid_to> 2018-04-23 14:58:37 </valid_to>
<cn> jo.my </cn>
<domains> jo.my, www.jo.my </domains>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/add?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&cert_files_type=pfx&input_pfx_archive=%5Bpfx_file%5D&format=txt
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
cert_files_type = pfx
input_pfx_archive = [pfx_file]
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_host = jo.my
result_id = 69785a4b2f7676744c5a4759642f67524561584b58778d8d
result_fingerprint = 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
result_valid_from = 2018-01-23 14:58:37
result_valid_to = 2018-04-23 14:58:37
result_cn = jo.my
result_domains = jo.my, www.jo.my
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/add?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&cert_files_type=pfx&input_pfx_archive=%5Bpfx_file%5D&format=plain
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
cert_files_type = pfx
input_pfx_archive = [pfx_file]
format = plain
Response
jo.my
69785a4b2f7676744c5a4759642f67524561584b58778d8d
6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
2018-01-23 14:58:37
2018-04-23 14:58:37
jo.my
jo.my, www.jo.my
Required parameters
parameter
description
cert_files_typeSTRING
this parameter must be pfx
or cert_files
, according to the certificate files
domain_idID
ID of the domain the certificate belongs to
Optional parameters
parameter
description
input_ca_certificate1STRING
name of the HTML form field that is used to transfer the ca certificate #1 data, see notes for details
input_ca_certificate2STRING
name of the HTML form field that is used to transfer the ca certificate #2 data, see notes for details
input_ca_certificate3STRING
name of the HTML form field that is used to transfer the ca certificate #2 data, see notes for details
input_certificateSTRING
name of the HTML form field that is used to transfer the certificate data, mandatory if cert_files_type = cert_files
, see notes for details
input_pfx_archiveSTRING
name of the HTML form field that is used to transfer the PFX data, mandatory if cert_files_type = pfx
, see notes for details
input_private_keySTRING
name of the HTML form field that is used to transfer the private key data, mandatory if cert_files_type = cert_files
, see notes for details
pfx_passwordHTML
password of the PFX archive, mandatory if cert_files_type = pfx
and the PFX archive is protected by a password
NOTES : Parameters starting with input_ are the names of the field of the HTML form used to send data to this method. Form must have enctype = "multipart/form-data"
and method = "post"
.
<form
action= "/a/i1/domains/certificates/add"
method= "post"
enctype= "multipart/form-data" >
<input name= "input_pfx_archive" value= "pfx_file" type= "hidden" />
<input name= "input_private_key" value= "private_key_file" type= "hidden" />
<input name= "input_certificate" value= "certificate_file" type= "hidden" />
<input name= "input_ca_certificate1" value= "certificate1_file" type= "hidden" />
<input name= "input_ca_certificate2" value= "certificate2_file" type= "hidden" />
<input name= "input_ca_certificate3" value= "certificate3_file" type= "hidden" />
[other form fields]
<input name= "pfx_file" type= "file" />
<input name= "private_key_file" type= "file" />
<input name= "certificate_file" type= "file" />
<input name= "certificate1_file" type= "file" />
<input name= "certificate2_file" type= "file" />
<input name= "certificate3_file" type= "file" />
</form>
Return values
parameter
description
cn
common name of the certificate
domain_id
ID of the domain the certificate belongs to
domains
comma separated list of domains covered by the certificate (e.g., "domain.ext, www.domain.ext")
fingerprint
fingerprint of the certificate
host
domain the certificate belongs to
id
ID of the certificate
valid_from
the certificate is valid from this dat, can be in the future (e.g., 2018-05-30 13:38:04)
valid_to
the certificate is valid up to this date, can be in the past (e.g., 2020-05-29 13:38:04)
/domains/certificates/count
access: [READ]
This method returns number of certificates associated to a specific domain.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/count?format=plain
Query parameters
format = plain
Response
3
Optional parameters
parameter
description
domain_idID
filters certificates for this domain ID
searchSTRING
count items by searching them
Return values
parameter
description
count
number of (filtered) certificates
/domains/certificates/csr /domains/certificates/csr/create
access: [WRITE]
This method allows to create a Certificate Signing Request (CSR).
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/csr/create?commonName=domain.ext&organizationName=My+Company&organizationalUnitName=accounting&localityName=Los+Angeles&stateOrProvinceName=California&countryName=US
Query parameters
commonName = domain.ext
organizationName = My Company
organizationalUnitName = accounting
localityName = Los Angeles
stateOrProvinceName = California
countryName = US
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"private_key" : "-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDb8gTFlUVgqoPq
0/vm/oUo0k9wW2vBpUp3chITNgjMXki05yGMNYCJR7uHCfd0XzVWOi4D7DJMIMml
HMOCVgjnei8FgniH82QCCh7LxHEAscCts32XWjQ9d4datLOrMGwDopj7W62vE+rh
nZNOCM2+NeKvZxN0ZUXTRn2Ed/CT6tGDUuCsXIBoRwz8p47phewY4ge3xWmoaykE
PP2yVpd1oe5dlliGPT9kY3WuQYHiZ+TakmcC/TyDZT2J8Q+w5SEMVylehHNd/8b5
l3f7NhIW50eIZsmY0xgfpV1wsHUp/oRvyNgRog+B6CnmRuAb96zmXf8HrmnzKQEV
TqdTl05/AgMBAAECggEBAIF2g7iJlLzBocSn4q6lQlw07u2D4nmpgZutWVZVh/hD
xyg0pFqTY4Vq48co5q9pG0wWEt/cN/73jbnSpIIjgjo+gU8M7UWYzlUk/9uRVbLC
7ldQP6zHO9iycsnBc8BgUDQTkVjjLejQIIGM7xgPtosvzK7STXFF60PhSiCfOMzX
ZAJguRmHXWeXHhRLNdXknKrPdRwRz6ra8+K0DHwVjTvqHugO2QYZIZQ7fxaf+RGL
AGjkfMdErAHGK2k/3KZKipXqMCrGgCNn1X4sonfQH1Bjx9PyTL+VD6OAeMUw1HDZ
sGo6MI4oH7GsIf0LkDXPqI0NjwYO93PR7qTzpAcqBwECgYEA7fPrDzrh8V01xEOm
YPhI5RZiXgQ7l2BR1zFOzlxhNbrJZrheX6pgP9otPk4DTDtHJP4DGkC1D3x62b3Q
4sbPq4qDPp3pdlyNNXNbOSjPtFTxKrZB5e8ShVIj9ZfVBgJ1j3N2u97ru1tRGD3y
tbfUo4bIGXgJDDmBSerwi9vw5LcCgYEA7KB4F/wlkZk2aNHKATu1GZhYKhpGUbhC
vPmiKlgsvvI5FPTeWVf5MO5b41+ctjoN1iIubRDYc+mYcAMNV6oCcmzFwTP6lYVF
K6hpQu7x8hZ1yuehpW3azhm98/eV7bW48SMcvHl6CGEffGnpQrJ/ou52mYMhS3Ga
UglUmQGybHkCgYEAm5OsL1P/YBDiU4UrpiEPgADnpbK8x5dpSvppHRFXWYrbnXaT
9ZZuwbDDfgYBr/jd5jjSDHscJpjrtauehHcaVn0EnI8gkoumo7jdfvzI+I3E9Hkf
kteB03tGGZAA7qHy/SywB9uTYvcsiV4Pb3JW6+f2snhB6iU6+/pI9hiCYvcCgYBf
9V9eUqmllt1iupjR0TXK8GXohQk5QKEH47AoveM/eBk/72FwF+X9OtxWo8J4f6h2
yxvKrQcqUnO4EPTLNS2S25uCkyKumgIIB17Qfvfs9cDFDRQXcypFZFkM472QTZ53
Y4bWw+iCF2jeWlD29E4gc9XywSOyZZpwZEpDVlXV+QKBgAqhOA5YI3WpVJga/hpw
qGoJ8bl5gab0U/1u9sXdbMKqeyyaFjXo/RaLdSOG9y4UFJP/2JMeTh1FRCWaN7rK
6xTT2rrdExqjIXZTtXXFqo9A6wYQ3EWxVBWfmyG7JY08Lwuoc/zK1OZfUZmOLV+3
yZDE4U3/Zkgx7gSM/Ffxw/62
-----END PRIVATE KEY-----
" ,
"csr" : "-----BEGIN CERTIFICATE REQUEST-----
MIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWEx
FDASBgNVBAcMC0xvcyBBbmdlbGVzMRMwEQYDVQQKDApNeSBDb21wYW55MRMwEQYD
VQQLDAphY2NvdW50aW5nMRMwEQYDVQQDDApkb21haW4uZXh0MIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2/IExZVFYKqD6tP75v6FKNJPcFtrwaVKd3IS
EzYIzF5ItOchjDWAiUe7hwn3dF81VjouA+wyTCDJpRzDglYI53ovBYJ4h/NkAgoe
y8RxALHArbN9l1o0PXeHWrSzqzBsA6KY+1utrxPq4Z2TTgjNvjXir2cTdGVF00Z9
hHfwk+rRg1LgrFyAaEcM/KeO6YXsGOIHt8VpqGspBDz9slaXdaHuXZZYhj0/ZGN1
rkGB4mfk2pJnAv08g2U9ifEPsOUhDFcpXoRzXf/G+Zd3+zYSFudHiGbJmNMYH6Vd
cLB1Kf6Eb8jYEaIPgegp5kbgG/es5l3/B65p8ykBFU6nU5dOfwIDAQABoAAwDQYJ
KoZIhvcNAQELBQADggEBACTnkScHIA5aZ4vgrIFsrETfT5/Qa+kCFzsVDpEaJOuc
2GujOYydNTwFpsQCcVdW/LR1mbsiS2CVTMTP+VrppiC/XIJ0btlXeRNzLZdQ9UaX
xBgj46J79oYxXkIpnskcms3SsrKGnK/Q1bnus0jpvTlji9DnZglQt9QvzePF15As
QCERgitEUTRKzxvYjozq/LChtBbNsg5R3uXZyAVGSgn3X+ZF4P4FCd1cEfLfnHq7
XM9eWSo8pWz0VPd9rF4D9kbZ4A9gGHGoZ+abghqFULmJ3iLcQkp+NkmMTncsCvW9
S+WspMDNbVzLxWeBZQ5gMHDgSBdBLFlnHhCT0kYes+s=
-----END CERTIFICATE REQUEST-----
"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/csr/create?commonName=domain.ext&organizationName=My+Company&organizationalUnitName=accounting&localityName=Los+Angeles&stateOrProvinceName=California&countryName=US&format=xml
Query parameters
commonName = domain.ext
organizationName = My Company
organizationalUnitName = accounting
localityName = Los Angeles
stateOrProvinceName = California
countryName = US
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<private_key> -----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDb8gTFlUVgqoPq
0/vm/oUo0k9wW2vBpUp3chITNgjMXki05yGMNYCJR7uHCfd0XzVWOi4D7DJMIMml
HMOCVgjnei8FgniH82QCCh7LxHEAscCts32XWjQ9d4datLOrMGwDopj7W62vE+rh
nZNOCM2+NeKvZxN0ZUXTRn2Ed/CT6tGDUuCsXIBoRwz8p47phewY4ge3xWmoaykE
PP2yVpd1oe5dlliGPT9kY3WuQYHiZ+TakmcC/TyDZT2J8Q+w5SEMVylehHNd/8b5
l3f7NhIW50eIZsmY0xgfpV1wsHUp/oRvyNgRog+B6CnmRuAb96zmXf8HrmnzKQEV
TqdTl05/AgMBAAECggEBAIF2g7iJlLzBocSn4q6lQlw07u2D4nmpgZutWVZVh/hD
xyg0pFqTY4Vq48co5q9pG0wWEt/cN/73jbnSpIIjgjo+gU8M7UWYzlUk/9uRVbLC
7ldQP6zHO9iycsnBc8BgUDQTkVjjLejQIIGM7xgPtosvzK7STXFF60PhSiCfOMzX
ZAJguRmHXWeXHhRLNdXknKrPdRwRz6ra8+K0DHwVjTvqHugO2QYZIZQ7fxaf+RGL
AGjkfMdErAHGK2k/3KZKipXqMCrGgCNn1X4sonfQH1Bjx9PyTL+VD6OAeMUw1HDZ
sGo6MI4oH7GsIf0LkDXPqI0NjwYO93PR7qTzpAcqBwECgYEA7fPrDzrh8V01xEOm
YPhI5RZiXgQ7l2BR1zFOzlxhNbrJZrheX6pgP9otPk4DTDtHJP4DGkC1D3x62b3Q
4sbPq4qDPp3pdlyNNXNbOSjPtFTxKrZB5e8ShVIj9ZfVBgJ1j3N2u97ru1tRGD3y
tbfUo4bIGXgJDDmBSerwi9vw5LcCgYEA7KB4F/wlkZk2aNHKATu1GZhYKhpGUbhC
vPmiKlgsvvI5FPTeWVf5MO5b41+ctjoN1iIubRDYc+mYcAMNV6oCcmzFwTP6lYVF
K6hpQu7x8hZ1yuehpW3azhm98/eV7bW48SMcvHl6CGEffGnpQrJ/ou52mYMhS3Ga
UglUmQGybHkCgYEAm5OsL1P/YBDiU4UrpiEPgADnpbK8x5dpSvppHRFXWYrbnXaT
9ZZuwbDDfgYBr/jd5jjSDHscJpjrtauehHcaVn0EnI8gkoumo7jdfvzI+I3E9Hkf
kteB03tGGZAA7qHy/SywB9uTYvcsiV4Pb3JW6+f2snhB6iU6+/pI9hiCYvcCgYBf
9V9eUqmllt1iupjR0TXK8GXohQk5QKEH47AoveM/eBk/72FwF+X9OtxWo8J4f6h2
yxvKrQcqUnO4EPTLNS2S25uCkyKumgIIB17Qfvfs9cDFDRQXcypFZFkM472QTZ53
Y4bWw+iCF2jeWlD29E4gc9XywSOyZZpwZEpDVlXV+QKBgAqhOA5YI3WpVJga/hpw
qGoJ8bl5gab0U/1u9sXdbMKqeyyaFjXo/RaLdSOG9y4UFJP/2JMeTh1FRCWaN7rK
6xTT2rrdExqjIXZTtXXFqo9A6wYQ3EWxVBWfmyG7JY08Lwuoc/zK1OZfUZmOLV+3
yZDE4U3/Zkgx7gSM/Ffxw/62
-----END PRIVATE KEY-----
</private_key>
<csr> -----BEGIN CERTIFICATE REQUEST-----
MIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWEx
FDASBgNVBAcMC0xvcyBBbmdlbGVzMRMwEQYDVQQKDApNeSBDb21wYW55MRMwEQYD
VQQLDAphY2NvdW50aW5nMRMwEQYDVQQDDApkb21haW4uZXh0MIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2/IExZVFYKqD6tP75v6FKNJPcFtrwaVKd3IS
EzYIzF5ItOchjDWAiUe7hwn3dF81VjouA+wyTCDJpRzDglYI53ovBYJ4h/NkAgoe
y8RxALHArbN9l1o0PXeHWrSzqzBsA6KY+1utrxPq4Z2TTgjNvjXir2cTdGVF00Z9
hHfwk+rRg1LgrFyAaEcM/KeO6YXsGOIHt8VpqGspBDz9slaXdaHuXZZYhj0/ZGN1
rkGB4mfk2pJnAv08g2U9ifEPsOUhDFcpXoRzXf/G+Zd3+zYSFudHiGbJmNMYH6Vd
cLB1Kf6Eb8jYEaIPgegp5kbgG/es5l3/B65p8ykBFU6nU5dOfwIDAQABoAAwDQYJ
KoZIhvcNAQELBQADggEBACTnkScHIA5aZ4vgrIFsrETfT5/Qa+kCFzsVDpEaJOuc
2GujOYydNTwFpsQCcVdW/LR1mbsiS2CVTMTP+VrppiC/XIJ0btlXeRNzLZdQ9UaX
xBgj46J79oYxXkIpnskcms3SsrKGnK/Q1bnus0jpvTlji9DnZglQt9QvzePF15As
QCERgitEUTRKzxvYjozq/LChtBbNsg5R3uXZyAVGSgn3X+ZF4P4FCd1cEfLfnHq7
XM9eWSo8pWz0VPd9rF4D9kbZ4A9gGHGoZ+abghqFULmJ3iLcQkp+NkmMTncsCvW9
S+WspMDNbVzLxWeBZQ5gMHDgSBdBLFlnHhCT0kYes+s=
-----END CERTIFICATE REQUEST-----
</csr>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/csr/create?commonName=domain.ext&organizationName=My+Company&organizationalUnitName=accounting&localityName=Los+Angeles&stateOrProvinceName=California&countryName=US&format=txt
Query parameters
commonName = domain.ext
organizationName = My Company
organizationalUnitName = accounting
localityName = Los Angeles
stateOrProvinceName = California
countryName = US
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_private_key = -----BEGIN PRIVATE KEY-----MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDb8gTFlUVgqoPq0/vm/oUo0k9wW2vBpUp3chITNgjMXki05yGMNYCJR7uHCfd0XzVWOi4D7DJMIMmlHMOCVgjnei8FgniH82QCCh7LxHEAscCts32XWjQ9d4datLOrMGwDopj7W62vE+rhnZNOCM2+NeKvZxN0ZUXTRn2Ed/CT6tGDUuCsXIBoRwz8p47phewY4ge3xWmoaykEPP2yVpd1oe5dlliGPT9kY3WuQYHiZ+TakmcC/TyDZT2J8Q+w5SEMVylehHNd/8b5l3f7NhIW50eIZsmY0xgfpV1wsHUp/oRvyNgRog+B6CnmRuAb96zmXf8HrmnzKQEVTqdTl05/AgMBAAECggEBAIF2g7iJlLzBocSn4q6lQlw07u2D4nmpgZutWVZVh/hDxyg0pFqTY4Vq48co5q9pG0wWEt/cN/73jbnSpIIjgjo+gU8M7UWYzlUk/9uRVbLC7ldQP6zHO9iycsnBc8BgUDQTkVjjLejQIIGM7xgPtosvzK7STXFF60PhSiCfOMzXZAJguRmHXWeXHhRLNdXknKrPdRwRz6ra8+K0DHwVjTvqHugO2QYZIZQ7fxaf+RGLAGjkfMdErAHGK2k/3KZKipXqMCrGgCNn1X4sonfQH1Bjx9PyTL+VD6OAeMUw1HDZsGo6MI4oH7GsIf0LkDXPqI0NjwYO93PR7qTzpAcqBwECgYEA7fPrDzrh8V01xEOmYPhI5RZiXgQ7l2BR1zFOzlxhNbrJZrheX6pgP9otPk4DTDtHJP4DGkC1D3x62b3Q4sbPq4qDPp3pdlyNNXNbOSjPtFTxKrZB5e8ShVIj9ZfVBgJ1j3N2u97ru1tRGD3ytbfUo4bIGXgJDDmBSerwi9vw5LcCgYEA7KB4F/wlkZk2aNHKATu1GZhYKhpGUbhCvPmiKlgsvvI5FPTeWVf5MO5b41+ctjoN1iIubRDYc+mYcAMNV6oCcmzFwTP6lYVFK6hpQu7x8hZ1yuehpW3azhm98/eV7bW48SMcvHl6CGEffGnpQrJ/ou52mYMhS3GaUglUmQGybHkCgYEAm5OsL1P/YBDiU4UrpiEPgADnpbK8x5dpSvppHRFXWYrbnXaT9ZZuwbDDfgYBr/jd5jjSDHscJpjrtauehHcaVn0EnI8gkoumo7jdfvzI+I3E9HkfkteB03tGGZAA7qHy/SywB9uTYvcsiV4Pb3JW6+f2snhB6iU6+/pI9hiCYvcCgYBf9V9eUqmllt1iupjR0TXK8GXohQk5QKEH47AoveM/eBk/72FwF+X9OtxWo8J4f6h2yxvKrQcqUnO4EPTLNS2S25uCkyKumgIIB17Qfvfs9cDFDRQXcypFZFkM472QTZ53Y4bWw+iCF2jeWlD29E4gc9XywSOyZZpwZEpDVlXV+QKBgAqhOA5YI3WpVJga/hpwqGoJ8bl5gab0U/1u9sXdbMKqeyyaFjXo/RaLdSOG9y4UFJP/2JMeTh1FRCWaN7rK6xTT2rrdExqjIXZTtXXFqo9A6wYQ3EWxVBWfmyG7JY08Lwuoc/zK1OZfUZmOLV+3yZDE4U3/Zkgx7gSM/Ffxw/62-----END PRIVATE KEY-----
result_csr = -----BEGIN CERTIFICATE REQUEST-----MIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAcMC0xvcyBBbmdlbGVzMRMwEQYDVQQKDApNeSBDb21wYW55MRMwEQYDVQQLDAphY2NvdW50aW5nMRMwEQYDVQQDDApkb21haW4uZXh0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2/IExZVFYKqD6tP75v6FKNJPcFtrwaVKd3ISEzYIzF5ItOchjDWAiUe7hwn3dF81VjouA+wyTCDJpRzDglYI53ovBYJ4h/NkAgoey8RxALHArbN9l1o0PXeHWrSzqzBsA6KY+1utrxPq4Z2TTgjNvjXir2cTdGVF00Z9hHfwk+rRg1LgrFyAaEcM/KeO6YXsGOIHt8VpqGspBDz9slaXdaHuXZZYhj0/ZGN1rkGB4mfk2pJnAv08g2U9ifEPsOUhDFcpXoRzXf/G+Zd3+zYSFudHiGbJmNMYH6VdcLB1Kf6Eb8jYEaIPgegp5kbgG/es5l3/B65p8ykBFU6nU5dOfwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBACTnkScHIA5aZ4vgrIFsrETfT5/Qa+kCFzsVDpEaJOuc2GujOYydNTwFpsQCcVdW/LR1mbsiS2CVTMTP+VrppiC/XIJ0btlXeRNzLZdQ9UaXxBgj46J79oYxXkIpnskcms3SsrKGnK/Q1bnus0jpvTlji9DnZglQt9QvzePF15AsQCERgitEUTRKzxvYjozq/LChtBbNsg5R3uXZyAVGSgn3X+ZF4P4FCd1cEfLfnHq7XM9eWSo8pWz0VPd9rF4D9kbZ4A9gGHGoZ+abghqFULmJ3iLcQkp+NkmMTncsCvW9S+WspMDNbVzLxWeBZQ5gMHDgSBdBLFlnHhCT0kYes+s=-----END CERTIFICATE REQUEST-----
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/csr/create?commonName=domain.ext&organizationName=My+Company&organizationalUnitName=accounting&localityName=Los+Angeles&stateOrProvinceName=California&countryName=US&format=plain
Query parameters
commonName = domain.ext
organizationName = My Company
organizationalUnitName = accounting
localityName = Los Angeles
stateOrProvinceName = California
countryName = US
format = plain
Response
-----BEGIN PRIVATE KEY-----MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDb8gTFlUVgqoPq0/vm/oUo0k9wW2vBpUp3chITNgjMXki05yGMNYCJR7uHCfd0XzVWOi4D7DJMIMmlHMOCVgjnei8FgniH82QCCh7LxHEAscCts32XWjQ9d4datLOrMGwDopj7W62vE+rhnZNOCM2+NeKvZxN0ZUXTRn2Ed/CT6tGDUuCsXIBoRwz8p47phewY4ge3xWmoaykEPP2yVpd1oe5dlliGPT9kY3WuQYHiZ+TakmcC/TyDZT2J8Q+w5SEMVylehHNd/8b5l3f7NhIW50eIZsmY0xgfpV1wsHUp/oRvyNgRog+B6CnmRuAb96zmXf8HrmnzKQEVTqdTl05/AgMBAAECggEBAIF2g7iJlLzBocSn4q6lQlw07u2D4nmpgZutWVZVh/hDxyg0pFqTY4Vq48co5q9pG0wWEt/cN/73jbnSpIIjgjo+gU8M7UWYzlUk/9uRVbLC7ldQP6zHO9iycsnBc8BgUDQTkVjjLejQIIGM7xgPtosvzK7STXFF60PhSiCfOMzXZAJguRmHXWeXHhRLNdXknKrPdRwRz6ra8+K0DHwVjTvqHugO2QYZIZQ7fxaf+RGLAGjkfMdErAHGK2k/3KZKipXqMCrGgCNn1X4sonfQH1Bjx9PyTL+VD6OAeMUw1HDZsGo6MI4oH7GsIf0LkDXPqI0NjwYO93PR7qTzpAcqBwECgYEA7fPrDzrh8V01xEOmYPhI5RZiXgQ7l2BR1zFOzlxhNbrJZrheX6pgP9otPk4DTDtHJP4DGkC1D3x62b3Q4sbPq4qDPp3pdlyNNXNbOSjPtFTxKrZB5e8ShVIj9ZfVBgJ1j3N2u97ru1tRGD3ytbfUo4bIGXgJDDmBSerwi9vw5LcCgYEA7KB4F/wlkZk2aNHKATu1GZhYKhpGUbhCvPmiKlgsvvI5FPTeWVf5MO5b41+ctjoN1iIubRDYc+mYcAMNV6oCcmzFwTP6lYVFK6hpQu7x8hZ1yuehpW3azhm98/eV7bW48SMcvHl6CGEffGnpQrJ/ou52mYMhS3GaUglUmQGybHkCgYEAm5OsL1P/YBDiU4UrpiEPgADnpbK8x5dpSvppHRFXWYrbnXaT9ZZuwbDDfgYBr/jd5jjSDHscJpjrtauehHcaVn0EnI8gkoumo7jdfvzI+I3E9HkfkteB03tGGZAA7qHy/SywB9uTYvcsiV4Pb3JW6+f2snhB6iU6+/pI9hiCYvcCgYBf9V9eUqmllt1iupjR0TXK8GXohQk5QKEH47AoveM/eBk/72FwF+X9OtxWo8J4f6h2yxvKrQcqUnO4EPTLNS2S25uCkyKumgIIB17Qfvfs9cDFDRQXcypFZFkM472QTZ53Y4bWw+iCF2jeWlD29E4gc9XywSOyZZpwZEpDVlXV+QKBgAqhOA5YI3WpVJga/hpwqGoJ8bl5gab0U/1u9sXdbMKqeyyaFjXo/RaLdSOG9y4UFJP/2JMeTh1FRCWaN7rK6xTT2rrdExqjIXZTtXXFqo9A6wYQ3EWxVBWfmyG7JY08Lwuoc/zK1OZfUZmOLV+3yZDE4U3/Zkgx7gSM/Ffxw/62-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE REQUEST-----MIICvDCCAaQCAQAwdzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAcMC0xvcyBBbmdlbGVzMRMwEQYDVQQKDApNeSBDb21wYW55MRMwEQYDVQQLDAphY2NvdW50aW5nMRMwEQYDVQQDDApkb21haW4uZXh0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2/IExZVFYKqD6tP75v6FKNJPcFtrwaVKd3ISEzYIzF5ItOchjDWAiUe7hwn3dF81VjouA+wyTCDJpRzDglYI53ovBYJ4h/NkAgoey8RxALHArbN9l1o0PXeHWrSzqzBsA6KY+1utrxPq4Z2TTgjNvjXir2cTdGVF00Z9hHfwk+rRg1LgrFyAaEcM/KeO6YXsGOIHt8VpqGspBDz9slaXdaHuXZZYhj0/ZGN1rkGB4mfk2pJnAv08g2U9ifEPsOUhDFcpXoRzXf/G+Zd3+zYSFudHiGbJmNMYH6VdcLB1Kf6Eb8jYEaIPgegp5kbgG/es5l3/B65p8ykBFU6nU5dOfwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBACTnkScHIA5aZ4vgrIFsrETfT5/Qa+kCFzsVDpEaJOuc2GujOYydNTwFpsQCcVdW/LR1mbsiS2CVTMTP+VrppiC/XIJ0btlXeRNzLZdQ9UaXxBgj46J79oYxXkIpnskcms3SsrKGnK/Q1bnus0jpvTlji9DnZglQt9QvzePF15AsQCERgitEUTRKzxvYjozq/LChtBbNsg5R3uXZyAVGSgn3X+ZF4P4FCd1cEfLfnHq7XM9eWSo8pWz0VPd9rF4D9kbZ4A9gGHGoZ+abghqFULmJ3iLcQkp+NkmMTncsCvW9S+WspMDNbVzLxWeBZQ5gMHDgSBdBLFlnHhCT0kYes+s=-----END CERTIFICATE REQUEST-----
Required parameters
parameter
description
commonNameSTRING
the Fully Qualified Domain Name (FQDN) for which you are requesting the SSL Certificate, it must contain domain you are requesting a certifacate for (e.g., domain.ext, *.domain.ext)
countryNameSTRING
2-digit code of the country (ISO Alpha-2) the company is based on (e.g., US)
localityNameSTRING
the full name of the locality the company is based on (e.g., Los Angeles)
organizationNameSTRING
the full legal company or personal name, as legally registered, that is requesting the certificate (e.g., My Company)
organizationalUnitNameSTRING
whichever branch of the company is ordering the certificate (e.g., accounting, marketing)
stateOrProvinceNameSTRING
the full name of the state or province the company is based on (e.g., California)
Return values
parameter
description
csr
Certificate request (CSR)
private_key
Private key
/domains/certificates/delete
access: [WRITE]
This method deletes a certificate.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=3000
Query parameters
id = 3000
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=3000&format=xml
Query parameters
id = 3000
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=3000&format=txt
Query parameters
id = 3000
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=3000&format=plain
Query parameters
id = 3000
format = plain
Response
1
Example 5 (json)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=100000
Query parameters
id = 100000
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 0
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=100000&format=xml
Query parameters
id = 100000
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 0 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=100000&format=txt
Query parameters
id = 100000
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 0
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/certificates/delete?id=100000&format=plain
Query parameters
id = 100000
format = plain
Response
0
Required parameters
parameter
description
idID
ID of the certificate to delete
Return values
parameter
description
deleted
1 if the delete successes, 0 otherwise
/domains/certificates/info
access: [READ]
This method returns information about a certificate. Required information can be passed by using fields.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/info?id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed
Query parameters
id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"host" : "jo.my" ,
"cn" : "jo.my" ,
"domain_id" : "6e666877484257716e798888484252472b645a4a49518d8d" ,
"domains" : "jo.my, www.jo.my" ,
"fingerprint" : "6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265" ,
"id" : "69785a4b2f7676744c5a4759642f67524561584b58778d8d" ,
"valid_from" : "2018-01-23 14:58:37" ,
"valid_to" : "2018-04-23 14:58:37" ,
"installed" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/info?id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed&format=xml
Query parameters
id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<host> jo.my </host>
<cn> jo.my </cn>
<domain_id> 6e666877484257716e798888484252472b645a4a49518d8d </domain_id>
<domains> jo.my, www.jo.my </domains>
<fingerprint> 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265 </fingerprint>
<id> 69785a4b2f7676744c5a4759642f67524561584b58778d8d </id>
<valid_from> 2018-01-23 14:58:37 </valid_from>
<valid_to> 2018-04-23 14:58:37 </valid_to>
<installed> 0 </installed>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/info?id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed&format=txt
Query parameters
id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_host = jo.my
result_cn = jo.my
result_domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
result_domains = jo.my, www.jo.my
result_fingerprint = 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
result_id = 69785a4b2f7676744c5a4759642f67524561584b58778d8d
result_valid_from = 2018-01-23 14:58:37
result_valid_to = 2018-04-23 14:58:37
result_installed = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/info?id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed&format=plain
Query parameters
id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed
format = plain
Response
jo.my
jo.my
6e666877484257716e798888484252472b645a4a49518d8d
jo.my, www.jo.my
6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
69785a4b2f7676744c5a4759642f67524561584b58778d8d
2018-01-23 14:58:37
2018-04-23 14:58:37
0
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: deeplink_id, host, for_trials, force_https, domain_domain_id, aliases, nickname, logo, redirect_url, favicon_url, robots_txt, cn, domain_id, domains, fingerprint, id, valid_from, valid_to, deeplink_name, installed
idID
ID of the certificate
Return values
parameter
description
cn
common name of the certificate
domain_id
ID of the domain the certificate belongs to
domains
comma separated list of domains covered by the certificate (e.g., "domain.ext, www.domain.ext")
fingerprint
fingerprint of the certificate
host
domain the certificate belongs to
id
ID of the certificate
installed
propagation percentage of the certificate installation (e.g. 12.34%, 100%)
valid_from
the certificate is valid from this dat, can be in the future (e.g., 2018-05-30 13:38:04)
valid_to
the certificate is valid up to this date, can be in the past (e.g., 2020-05-29 13:38:04)
/domains/certificates/list
access: [READ]
This method returns the certificates associated to the logged users.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/certificates/list?fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
Query parameters
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"host" : "jo.my" ,
"cn" : "jo.my" ,
"domain_id" : "6e666877484257716e798888484252472b645a4a49518d8d" ,
"domains" : "jo.my, www.jo.my" ,
"fingerprint" : "6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265" ,
"id" : "69785a4b2f7676744c5a4759642f67524561584b58778d8d" ,
"valid_from" : "2018-01-23 14:58:37" ,
"valid_to" : "2018-04-23 14:58:37" ,
"issuer" : "JotUrl S.r.l." ,
"installed" : 0
} ,
{
"host" : "joturl.com" ,
"cn" : "*.joturl.com" ,
"domain_id" : "544a5451745446616542676449497450686f425446414d4d" ,
"domains" : "*.joturl.com, joturl.com" ,
"fingerprint" : "51D012A79F7B9FAB1DE55015CDE19E448CBD7EDB" ,
"id" : "54576e66564a74412b70596c577175424968715464414d4d" ,
"valid_from" : "2017-04-06 00:00:00" ,
"valid_to" : "2028-04-20 23:59:59" ,
"issuer" : "JotUrl S.r.l." ,
"installed" : 100
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/certificates/list?fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer&format=xml
Query parameters
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<host> jo.my </host>
<cn> jo.my </cn>
<domain_id> 6e666877484257716e798888484252472b645a4a49518d8d </domain_id>
<domains> jo.my, www.jo.my </domains>
<fingerprint> 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265 </fingerprint>
<id> 69785a4b2f7676744c5a4759642f67524561584b58778d8d </id>
<valid_from> 2018-01-23 14:58:37 </valid_from>
<valid_to> 2018-04-23 14:58:37 </valid_to>
<issuer> JotUrl S.r.l. </issuer>
<installed> 0 </installed>
</i0>
<i1>
<host> joturl.com </host>
<cn> *.joturl.com </cn>
<domain_id> 544a5451745446616542676449497450686f425446414d4d </domain_id>
<domains> *.joturl.com, joturl.com </domains>
<fingerprint> 51D012A79F7B9FAB1DE55015CDE19E448CBD7EDB </fingerprint>
<id> 54576e66564a74412b70596c577175424968715464414d4d </id>
<valid_from> 2017-04-06 00:00:00 </valid_from>
<valid_to> 2028-04-20 23:59:59 </valid_to>
<issuer> JotUrl S.r.l. </issuer>
<installed> 100 </installed>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/certificates/list?fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer&format=txt
Query parameters
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_host = jo.my
result_data_0_cn = jo.my
result_data_0_domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
result_data_0_domains = jo.my, www.jo.my
result_data_0_fingerprint = 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
result_data_0_id = 69785a4b2f7676744c5a4759642f67524561584b58778d8d
result_data_0_valid_from = 2018-01-23 14:58:37
result_data_0_valid_to = 2018-04-23 14:58:37
result_data_0_issuer = JotUrl S.r.l.
result_data_0_installed = 0
result_data_1_host = joturl.com
result_data_1_cn = *.joturl.com
result_data_1_domain_id = 544a5451745446616542676449497450686f425446414d4d
result_data_1_domains = *.joturl.com, joturl.com
result_data_1_fingerprint = 51D012A79F7B9FAB1DE55015CDE19E448CBD7EDB
result_data_1_id = 54576e66564a74412b70596c577175424968715464414d4d
result_data_1_valid_from = 2017-04-06 00:00:00
result_data_1_valid_to = 2028-04-20 23:59:59
result_data_1_issuer = JotUrl S.r.l.
result_data_1_installed = 100
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/certificates/list?fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer&format=plain
Query parameters
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
format = plain
Response
2
jo.my
jo.my
6e666877484257716e798888484252472b645a4a49518d8d
jo.my, www.jo.my
6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
69785a4b2f7676744c5a4759642f67524561584b58778d8d
2018-01-23 14:58:37
2018-04-23 14:58:37
JotUrl S.r.l.
0
joturl.com
*.joturl.com
544a5451745446616542676449497450686f425446414d4d
*.joturl.com, joturl.com
51D012A79F7B9FAB1DE55015CDE19E448CBD7EDB
54576e66564a74412b70596c577175424968715464414d4d
2017-04-06 00:00:00
2028-04-20 23:59:59
JotUrl S.r.l.
100
Example 5 (json)
Request
https://joturl.com/a/i1/domains/certificates/list?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"host" : "jo.my" ,
"cn" : "jo.my" ,
"domain_id" : "6e666877484257716e798888484252472b645a4a49518d8d" ,
"domains" : "jo.my, www.jo.my" ,
"fingerprint" : "6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265" ,
"id" : "69785a4b2f7676744c5a4759642f67524561584b58778d8d" ,
"valid_from" : "2018-01-23 14:58:37" ,
"valid_to" : "2018-04-23 14:58:37" ,
"issuer" : "JotUrl S.r.l." ,
"installed" : 0
}
]
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/certificates/list?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer&format=xml
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<host> jo.my </host>
<cn> jo.my </cn>
<domain_id> 6e666877484257716e798888484252472b645a4a49518d8d </domain_id>
<domains> jo.my, www.jo.my </domains>
<fingerprint> 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265 </fingerprint>
<id> 69785a4b2f7676744c5a4759642f67524561584b58778d8d </id>
<valid_from> 2018-01-23 14:58:37 </valid_from>
<valid_to> 2018-04-23 14:58:37 </valid_to>
<issuer> JotUrl S.r.l. </issuer>
<installed> 0 </installed>
</i0>
</data>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/certificates/list?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer&format=txt
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_host = jo.my
result_data_0_cn = jo.my
result_data_0_domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
result_data_0_domains = jo.my, www.jo.my
result_data_0_fingerprint = 6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
result_data_0_id = 69785a4b2f7676744c5a4759642f67524561584b58778d8d
result_data_0_valid_from = 2018-01-23 14:58:37
result_data_0_valid_to = 2018-04-23 14:58:37
result_data_0_issuer = JotUrl S.r.l.
result_data_0_installed = 0
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/certificates/list?domain_id=6e666877484257716e798888484252472b645a4a49518d8d&fields=deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer&format=plain
Query parameters
domain_id = 6e666877484257716e798888484252472b645a4a49518d8d
fields = deeplink_id,host,for_trials,force_https,domain_domain_id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,cn,domain_id,domains,fingerprint,id,valid_from,valid_to,deeplink_name,installed,count,issuer
format = plain
Response
1
jo.my
jo.my
6e666877484257716e798888484252472b645a4a49518d8d
jo.my, www.jo.my
6A5ACE78B0B5604B66688AA5092B0BA0CE2FD265
69785a4b2f7676744c5a4759642f67524561584b58778d8d
2018-01-23 14:58:37
2018-04-23 14:58:37
JotUrl S.r.l.
0
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: deeplink_id, host, for_trials, force_https, domain_domain_id, aliases, nickname, logo, redirect_url, favicon_url, robots_txt, cn, domain_id, domains, fingerprint, id, valid_from, valid_to, deeplink_name, installed, count, issuer
Optional parameters
parameter
description
domain_idID
filters certificates for this domain ID
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: deeplink_id, host, for_trials, force_https, domain_domain_id, aliases, nickname, logo, redirect_url, favicon_url, robots_txt, cn, domain_id, domains, fingerprint, id, valid_from, valid_to, deeplink_name, installed, count, issuer
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
[OPTIONAL] total number of (filtered) certificates, returned only if count is passed in fields
data
array containing required information on certificates
/domains/count
access: [READ]
This method returns the number of user's domains.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/count?format=plain
Query parameters
format = plain
Response
5
Example 5 (json)
Request
https://joturl.com/a/i1/domains/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Optional parameters
parameter
description
is_defaultBOOLEAN
if 1 this method counts only the default domain
is_ownerBOOLEAN
if 1 this method counts only domains owned by the logged user, if 0 it returns only shared domains
searchSTRING
count items by searching them
Return values
parameter
description
count
number of domains the user has access to (filtered by search if passed)
/domains/deeplinks /domains/deeplinks/add
access: [WRITE]
Add a deep link configuration for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/add?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "1234567890abcdef" ,
"name" : "deep configuration domain_name" ,
"android" : "[
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]" ,
"ios" : "{
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/add?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D&format=xml
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 1234567890abcdef </id>
<name> deep configuration domain_name </name>
<android> [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
] </android>
<ios> {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
} </ios>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/add?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D&format=txt
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 1234567890abcdef
result_name = deep configuration domain_name
result_android = [ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.app", "sha256_cert_fingerprints": [ "hash_of_app_certificate" ] } }]
result_ios = { "applinks": { "apps": [], "details": [ { "appID": "D3KQX62K1A.com.example.photoapp", "paths": [ "/albums" ] }, { "appID": "D3KQX62K1A.com.example.videoapp", "paths": [ "/videos" ] } ] }}
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/add?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D&format=plain
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
format = plain
Response
1234567890abcdef
deep configuration domain_name
[ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.app", "sha256_cert_fingerprints": [ "hash_of_app_certificate" ] } }]
{ "applinks": { "apps": [], "details": [ { "appID": "D3KQX62K1A.com.example.photoapp", "paths": [ "/albums" ] }, { "appID": "D3KQX62K1A.com.example.videoapp", "paths": [ "/videos" ] } ] }}
Required parameters
parameter
description
nameSTRING
domain_name of the deep link configuration
Optional parameters
parameter
description
max length
androidSTRING
JSON configuration for Android (assetlinks.json)
4000
iosSTRING
JSON configuration for iOS (apple-app-site-association)
4000
Return values
parameter
description
android
JSON configuration for Android (assetlinks.json)
id
ID of the deep link configuration
ios
JSON configuration for iOS (apple-app-site-association)
name
domain_name of the deep link configuration
/domains/deeplinks/count
access: [READ]
This method returns the number of user's deep link configurations.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/count?format=plain
Query parameters
format = plain
Response
5
Example 5 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Optional parameters
parameter
description
searchSTRING
count items by searching them
Return values
parameter
description
count
number of deep link configurations the user has access to (filtered by search if passed)
/domains/deeplinks/delete
access: [WRITE]
Delete a deep link configuration for the user logged in.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=10,200,3000
Query parameters
ids = 10,200,3000
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=10,200,3000&format=xml
Query parameters
ids = 10,200,3000
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=10,200,3000&format=txt
Query parameters
ids = 10,200,3000
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=10,200,3000&format=plain
Query parameters
ids = 10,200,3000
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=4000,50000,100000
Query parameters
ids = 4000,50000,100000
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "50000,100000" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=4000,50000,100000&format=xml
Query parameters
ids = 4000,50000,100000
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 50000,100000 </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=4000,50000,100000&format=txt
Query parameters
ids = 4000,50000,100000
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 50000,100000
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/delete?ids=4000,50000,100000&format=plain
Query parameters
ids = 4000,50000,100000
format = plain
Response
50000,100000
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of domain IDs to be deleted
Return values
parameter
description
deleted
number of deleted domains
ids
[OPTIONAL] list of domain IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/domains/deeplinks/edit
access: [WRITE]
Edit a deep link configuration for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/edit?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "1234567890abcdef" ,
"name" : "deep configuration domain_name" ,
"android" : "[
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]" ,
"ios" : "{
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/edit?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D&format=xml
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 1234567890abcdef </id>
<name> deep configuration domain_name </name>
<android> [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
] </android>
<ios> {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
} </ios>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/edit?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D&format=txt
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 1234567890abcdef
result_name = deep configuration domain_name
result_android = [ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.app", "sha256_cert_fingerprints": [ "hash_of_app_certificate" ] } }]
result_ios = { "applinks": { "apps": [], "details": [ { "appID": "D3KQX62K1A.com.example.photoapp", "paths": [ "/albums" ] }, { "appID": "D3KQX62K1A.com.example.videoapp", "paths": [ "/videos" ] } ] }}
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/edit?name=deep+configuration+domain_name&android=%5B%0A++++%7B%0A++++++++%22relation%22%3A+%5B%0A++++++++++++%22delegate_permission%2Fcommon.handle_all_urls%22%0A++++++++%5D,%0A++++++++%22target%22%3A+%7B%0A++++++++++++%22namespace%22%3A+%22android_app%22,%0A++++++++++++%22package_name%22%3A+%22com.example.app%22,%0A++++++++++++%22sha256_cert_fingerprints%22%3A+%5B%0A++++++++++++++++%22hash_of_app_certificate%22%0A++++++++++++%5D%0A++++++++%7D%0A++++%7D%0A%5D&ios=%7B%0A++++%22applinks%22%3A+%7B%0A++++++++%22apps%22%3A+%5B%5D,%0A++++++++%22details%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.photoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Falbums%22%0A++++++++++++++++%5D%0A++++++++++++%7D,%0A++++++++++++%7B%0A++++++++++++++++%22appID%22%3A+%22D3KQX62K1A.com.example.videoapp%22,%0A++++++++++++++++%22paths%22%3A+%5B%0A++++++++++++++++++++%22%2Fvideos%22%0A++++++++++++++++%5D%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%7D&format=plain
Query parameters
name = deep configuration domain_name
android = [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]
ios = {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}
format = plain
Response
1234567890abcdef
deep configuration domain_name
[ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.app", "sha256_cert_fingerprints": [ "hash_of_app_certificate" ] } }]
{ "applinks": { "apps": [], "details": [ { "appID": "D3KQX62K1A.com.example.photoapp", "paths": [ "/albums" ] }, { "appID": "D3KQX62K1A.com.example.videoapp", "paths": [ "/videos" ] } ] }}
Required parameters
parameter
description
idID
ID of the deep link configuration
Optional parameters
parameter
description
max length
androidSTRING
JSON configuration for Android (assetlinks.json)
4000
iosSTRING
JSON configuration for iOS (apple-app-site-association)
4000
nameSTRING
domain_name of the deep link configuration
Return values
parameter
description
android
JSON configuration for Android (assetlinks.json)
id
ID of the deep link configuration
ios
JSON configuration for iOS (apple-app-site-association)
name
domain_name of the deep link configuration
/domains/deeplinks/info
access: [READ]
This method returns information on a deep link configuration.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/info?id=1234567890abcdef
Query parameters
id = 1234567890abcdef
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "1234567890abcdef" ,
"name" : "this is my domain_name" ,
"android" : "[
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
]" ,
"ios" : "{
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
}"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/info?id=1234567890abcdef&format=xml
Query parameters
id = 1234567890abcdef
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 1234567890abcdef </id>
<name> this is my domain_name </name>
<android> [
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "com.example.app",
"sha256_cert_fingerprints": [
"hash_of_app_certificate"
]
}
}
] </android>
<ios> {
"applinks": {
"apps": [],
"details": [
{
"appID": "D3KQX62K1A.com.example.photoapp",
"paths": [
"/albums"
]
},
{
"appID": "D3KQX62K1A.com.example.videoapp",
"paths": [
"/videos"
]
}
]
}
} </ios>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/info?id=1234567890abcdef&format=txt
Query parameters
id = 1234567890abcdef
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 1234567890abcdef
result_name = this is my domain_name
result_android = [ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.app", "sha256_cert_fingerprints": [ "hash_of_app_certificate" ] } }]
result_ios = { "applinks": { "apps": [], "details": [ { "appID": "D3KQX62K1A.com.example.photoapp", "paths": [ "/albums" ] }, { "appID": "D3KQX62K1A.com.example.videoapp", "paths": [ "/videos" ] } ] }}
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/info?id=1234567890abcdef&format=plain
Query parameters
id = 1234567890abcdef
format = plain
Response
1234567890abcdef
this is my domain_name
[ { "relation": [ "delegate_permission/common.handle_all_urls" ], "target": { "namespace": "android_app", "package_name": "com.example.app", "sha256_cert_fingerprints": [ "hash_of_app_certificate" ] } }]
{ "applinks": { "apps": [], "details": [ { "appID": "D3KQX62K1A.com.example.photoapp", "paths": [ "/albums" ] }, { "appID": "D3KQX62K1A.com.example.videoapp", "paths": [ "/videos" ] } ] }}
Required parameters
parameter
description
idID
ID of the deep link configuration
Return values
parameter
description
android
JSON configuration for Android (assetlinks.json)
id
ID of the deep link configuration
ios
JSON configuration for iOS (apple-app-site-association)
name
domain_name of the deep link configuration
/domains/deeplinks/list
access: [READ]
This method returns a list of deeplink configurations.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/deeplinks/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : {
"id" : "1234567890abcdef" ,
"name" : "this is my domain_name" ,
"android" : "[{"relation":["delegate_permission/common.handle_all_urls"],"target":{"namespace":"android_app","package_name":"com.example.app","sha256_cert_fingerprints":["hash_of_app_certificate"]}}]" ,
"ios" : "{"applinks":{"apps":[],"details":[{"appID":"D3KQX62K1A.com.example.photoapp","paths":["/albums"]},{"appID":"D3KQX62K1A.com.example.videoapp","paths":["/videos"]}]}}"
} ,
"android" : "" ,
"ios" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/deeplinks/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<id> 1234567890abcdef </id>
<name> this is my domain_name </name>
<android> [{"relation":["delegate_permission/common.handle_all_urls"],"target":{"namespace":"android_app","package_name":"com.example.app","sha256_cert_fingerprints":["hash_of_app_certificate"]}}] </android>
<ios> {"applinks":{"apps":[],"details":[{"appID":"D3KQX62K1A.com.example.photoapp","paths":["/albums"]},{"appID":"D3KQX62K1A.com.example.videoapp","paths":["/videos"]}]}} </ios>
</data>
<android> </android>
<ios> </ios>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/deeplinks/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_id = 1234567890abcdef
result_data_name = this is my domain_name
result_data_android = [{"relation":["delegate_permission/common.handle_all_urls"],"target":{"namespace":"android_app","package_name":"com.example.app","sha256_cert_fingerprints":["hash_of_app_certificate"]}}]
result_data_ios = {"applinks":{"apps":[],"details":[{"appID":"D3KQX62K1A.com.example.photoapp","paths":["/albums"]},{"appID":"D3KQX62K1A.com.example.videoapp","paths":["/videos"]}]}}
result_android =
result_ios =
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/deeplinks/list?format=plain
Query parameters
format = plain
Response
1
1234567890abcdef
this is my domain_name
[{"relation":["delegate_permission/common.handle_all_urls"],"target":{"namespace":"android_app","package_name":"com.example.app","sha256_cert_fingerprints":["hash_of_app_certificate"]}}]
{"applinks":{"apps":[],"details":[{"appID":"D3KQX62K1A.com.example.photoapp","paths":["/albums"]},{"appID":"D3KQX62K1A.com.example.videoapp","paths":["/videos"]}]}}
Optional parameters
parameter
description
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: start, length, search, orderby, sort, format, callback
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
total number of deep link configurations
data
array containing information on deep link configurations the user has access to
/domains/delete
access: [WRITE]
Delete a domain for the user logged in.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/delete?ids=6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc
Query parameters
ids = 6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/delete?ids=6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc&format=xml
Query parameters
ids = 6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/delete?ids=6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc&format=txt
Query parameters
ids = 6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/delete?ids=6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc&format=plain
Query parameters
ids = 6512bd43d9caa6e02c990b0a82652dca,757b505cfd34c64c85ca5b5690ee5293,908c9a564a86426585b29f5335b619bc
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/domains/delete?ids=ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
Query parameters
ids = ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/delete?ids=ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143&format=xml
Query parameters
ids = ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143 </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/delete?ids=ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143&format=txt
Query parameters
ids = ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/delete?ids=ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143&format=plain
Query parameters
ids = ffc58105bf6f8a91aba0fa2d99e6f106,334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
format = plain
Response
334146de1b9346272cb013adf1a35aea,e2a6a1ace352668000aed191a817d143
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of domain IDs to be deleted, max number of IDs in the list: 100
Return values
parameter
description
deleted
number of deleted domains
ids
[OPTIONAL] list of domain IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/domains/edit
access: [WRITE]
Edit a domain for logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/edit?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "1234567890abcdef" ,
"force_https" : "0" ,
"host" : "domain.ext" ,
"nickname" : "my domain nickname" ,
"redirect_url" : "https://redirect.users.to/" ,
"logo" : "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" ,
"deeplink_id" : "" ,
"domain_domains_deeplink_name" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/edit?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data&format=xml
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 1234567890abcdef </id>
<force_https> 0 </force_https>
<host> domain.ext </host>
<nickname> my domain nickname </nickname>
<redirect_url> https://redirect.users.to/ </redirect_url>
<logo> data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 </logo>
<deeplink_id> </deeplink_id>
<domain_domains_deeplink_name> </domain_domains_deeplink_name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/edit?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data&format=txt
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 1234567890abcdef
result_force_https = 0
result_host = domain.ext
result_nickname = my domain nickname
result_redirect_url = https://redirect.users.to/
result_logo = data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
result_deeplink_id =
result_domain_domains_deeplink_name =
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/edit?id=1234567890abcdef&force_https=0&host=domain.ext&nickname=my+domain+nickname&redirect_url=https%3A%2F%2Fredirect.users.to%2F&deeplink_id=&domain_domains_deeplink_name=&input=name_of_the_form_field_that_contains_image_data&format=plain
Query parameters
id = 1234567890abcdef
force_https = 0
host = domain.ext
nickname = my domain nickname
redirect_url = https://redirect.users.to/
deeplink_id =
domain_domains_deeplink_name =
input = name_of_the_form_field_that_contains_image_data
format = plain
Response
1234567890abcdef
0
domain.ext
my domain nickname
https://redirect.users.to/
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
Required parameters
parameter
description
idID
ID of the domain to edit
Optional parameters
parameter
description
max length
confirm_host_changeBOOLEAN
must be 1 if host
is passed to confirm the intention to change the domain, its value is ignored if host
is not passed
deeplink_idID
ID of the deep link configuration
favicon_urlSTRING
the default favicon URL for the branded domain (to avoid securiy issues it must be HTTPS)
4000
forceBOOLEAN
1 to disable security checks, 0 otherwise. This parameter is ignored if host
is not passed
force_httpsBOOLEAN
1 to force HTTPS on HTTP requests, 0 otherwise (this flag takes effect only if a valid SSL certificate is associated with the domain)
hostSTRING
the new domain (e.g., new.domain.ext), changing the domain impacts all tracking links to which it is associated, tracking links with the old domain will stop working; additionally, the change may take up to 24 hours before it actually takes effect and any SSL certificates associated with the old domain will be invalidated
850
inputSTRING
name of the HTML form field that contains image data for the logo (max dimensions 120px x 50px
, max size 150kB
), see notes for details
nicknameSTRING
the domain nickname
50
redirect_urlSTRING
the default destination URL where to redirect when a user types the domain without any alias (or an invalid alias)
4000
robots_txtSTRING
the robots.txt
content to serve for the domain, when robots_txt = :NONE:
requests to robots.txt
will return a 404 error, if empty the following robots.txt
will be served:user-agent: * disallow: /
4000
NOTES : The parameter input contains the name of the field of the HTML form that is used to send logo data to this method. Form must have enctype = "multipart/form-data"
and method = "post"
.
<form
action= "/a/i1/domains/edit"
method= "post"
enctype= "multipart/form-data" >
<input name= "input" value= "logo" type= "hidden" />
[other form fields]
<input name= "logo" type= "file" />
</form>
Return values
parameter
description
deeplink_id
ID of the deep link configuration
deeplink_name
name of the associated deep link configuration
favicon_url
default favicon URL
force_https
1 if the HTTPS is forced for the domain, 0 otherwise (this flag takes effect only if a valid SSL certificate is associated with the domain)
host
the domain (e.g., domain.ext)
id
ID of the domain
logo
default logo for the domain (base64 encoded)
nickname
the domain nickname
redirect_url
default redirect URL
robots_txt
the robots.txt
content to serve for the domain
/domains/info
access: [READ]
This method returns information on a domain, the returned information are that passed in the fields param (a comma separated list).
Example 1 (json)
Request
https://joturl.com/a/i1/domains/info?id=123145155&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared
Query parameters
id = 123145155
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"host" : "domain.ext" ,
"id" : "7155502b34434f6a4d52396464684d3874442b454b773d3d" ,
"aliases" : [
"domainext"
] ,
"logo" : "" ,
"redirect_url" : "" ,
"favicon_url" : "" ,
"is_owner" : 1 ,
"is_default" : 1 ,
"is_shared" : 0 ,
"for_trials" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/info?id=123145155&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared&format=xml
Query parameters
id = 123145155
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<host> domain.ext </host>
<id> 7155502b34434f6a4d52396464684d3874442b454b773d3d </id>
<aliases>
<i0> domainext </i0>
</aliases>
<logo> </logo>
<redirect_url> </redirect_url>
<favicon_url> </favicon_url>
<is_owner> 1 </is_owner>
<is_default> 1 </is_default>
<is_shared> 0 </is_shared>
<for_trials> 0 </for_trials>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/info?id=123145155&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared&format=txt
Query parameters
id = 123145155
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_host = domain.ext
result_id = 7155502b34434f6a4d52396464684d3874442b454b773d3d
result_aliases_0 = domainext
result_logo =
result_redirect_url =
result_favicon_url =
result_is_owner = 1
result_is_default = 1
result_is_shared = 0
result_for_trials = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/info?id=123145155&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared&format=plain
Query parameters
id = 123145155
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared
format = plain
Response
domain.ext
7155502b34434f6a4d52396464684d3874442b454b773d3d
domainext
1
1
0
0
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: deeplink_id, host, for_trials, force_https, id, aliases, nickname, logo, redirect_url, favicon_url, robots_txt, deeplink_name, is_owner, is_default, is_shared
idID
ID of the domain
Return values
parameter
description
aliases
[OPTIONAL] array containing aliases of the domain, i.e., equivalent domains, returned only if aliases
is passed in fields
deeplink_id
[OPTIONAL] ID of the deep link configuration, returned only if deeplink_id
is passed in fields
deeplink_name
[OPTIONAL] ID of the deep link configuration, returned only if deeplink_name
is passed in fields
favicon_url
[OPTIONAL] default favicon URL, returned only if favicon_url
is passed in fields
for_trials
[OPTIONAL] 1 if the domain is reserved to trial plans, 0 otherwise
force_https
[OPTIONAL] 1 if the "force HTTPS" flag is enabled for the domain, 0 otherwise; returned only if force_https
is passed in fields
has_https
[OPTIONAL] 1 if the domain has a valid SSL certificate, 0 otherwise, returned only if has_https
is passed in fields
host
[OPTIONAL] domain (e.g., domain.ext), returned only if host
is passed in fields
id
[OPTIONAL] ID of the domain, returned only if id
is passed in fields
is_default
[OPTIONAL] 1 if the domain is the default domain set in user's settings, 0 otherwise, returned only if is_default
is passed in fields
is_owner
[OPTIONAL] 1 if the logged user is owner of the domain, 0 otherwise, returned only if is_owner
is passed in fields
is_shared
[OPTIONAL] 1 if the domain is shared among all users, 0 otherwise, returned only if is_shared
is passed in fields
logo
[OPTIONAL] default logo (base64 encoded), returned only if logo
is passed in fields
nickname
[OPTIONAL] the domain nickname
redirect_url
[OPTIONAL] default redirect URL, returned only if redirect_url
is passed in fields
robots_txt
[OPTIONAL] robots.txt configuration, see i1/domains/add for details
/domains/list
access: [READ]
This method returns a list of domains's data, specified in a comma separated input called fields.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/list?fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
Query parameters
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"host" : "domain.ext" ,
"id" : "7155502b34434f6a4d52396464684d3874442b454b773d3d" ,
"aliases" : [
"domainext"
] ,
"logo" : "" ,
"redirect_url" : "" ,
"favicon_url" : "" ,
"is_owner" : 1 ,
"is_default" : 1
} ,
{
"host" : "global.domain" ,
"id" : "15135ea" ,
"aliases" : [
"globaldomain"
] ,
"logo" : "" ,
"redirect_url" : "https://www.redirect.to/" ,
"favicon_url" : "" ,
"is_owner" : 0 ,
"is_default" : 0
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/list?fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count&format=xml
Query parameters
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<host> domain.ext </host>
<id> 7155502b34434f6a4d52396464684d3874442b454b773d3d </id>
<aliases>
<i0> domainext </i0>
</aliases>
<logo> </logo>
<redirect_url> </redirect_url>
<favicon_url> </favicon_url>
<is_owner> 1 </is_owner>
<is_default> 1 </is_default>
</i0>
<i1>
<host> global.domain </host>
<id> 15135ea </id>
<aliases>
<i0> globaldomain </i0>
</aliases>
<logo> </logo>
<redirect_url> https://www.redirect.to/ </redirect_url>
<favicon_url> </favicon_url>
<is_owner> 0 </is_owner>
<is_default> 0 </is_default>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/list?fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count&format=txt
Query parameters
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_host = domain.ext
result_data_0_id = 7155502b34434f6a4d52396464684d3874442b454b773d3d
result_data_0_aliases_0 = domainext
result_data_0_logo =
result_data_0_redirect_url =
result_data_0_favicon_url =
result_data_0_is_owner = 1
result_data_0_is_default = 1
result_data_1_host = global.domain
result_data_1_id = 15135ea
result_data_1_aliases_0 = globaldomain
result_data_1_logo =
result_data_1_redirect_url = https://www.redirect.to/
result_data_1_favicon_url =
result_data_1_is_owner = 0
result_data_1_is_default = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/list?fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count&format=plain
Query parameters
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
format = plain
Response
domain.ext
7155502b34434f6a4d52396464684d3874442b454b773d3d
domainext
1
1
global.domain
15135ea
globaldomain
https://www.redirect.to/
0
0
Example 5 (json)
Request
https://joturl.com/a/i1/domains/list?is_owner=1&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
Query parameters
is_owner = 1
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"host" : "domain.ext" ,
"id" : "7155502b34434f6a4d52396464684d3874442b454b773d3d" ,
"aliases" : [
"domainext"
] ,
"logo" : "" ,
"redirect_url" : "" ,
"favicon_url" : "" ,
"is_owner" : 1 ,
"is_default" : 1
}
]
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/domains/list?is_owner=1&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count&format=xml
Query parameters
is_owner = 1
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<host> domain.ext </host>
<id> 7155502b34434f6a4d52396464684d3874442b454b773d3d </id>
<aliases>
<i0> domainext </i0>
</aliases>
<logo> </logo>
<redirect_url> </redirect_url>
<favicon_url> </favicon_url>
<is_owner> 1 </is_owner>
<is_default> 1 </is_default>
</i0>
</data>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/domains/list?is_owner=1&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count&format=txt
Query parameters
is_owner = 1
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_host = domain.ext
result_data_0_id = 7155502b34434f6a4d52396464684d3874442b454b773d3d
result_data_0_aliases_0 = domainext
result_data_0_logo =
result_data_0_redirect_url =
result_data_0_favicon_url =
result_data_0_is_owner = 1
result_data_0_is_default = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/domains/list?is_owner=1&fields=deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count&format=plain
Query parameters
is_owner = 1
fields = deeplink_id,host,for_trials,force_https,id,aliases,nickname,logo,redirect_url,favicon_url,robots_txt,deeplink_name,is_owner,is_default,is_shared,has_https,count
format = plain
Response
domain.ext
7155502b34434f6a4d52396464684d3874442b454b773d3d
domainext
1
1
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: deeplink_id, host, for_trials, force_https, id, aliases, nickname, logo, redirect_url, favicon_url, robots_txt, deeplink_name, is_owner, is_default, is_shared, has_https, count
Optional parameters
parameter
description
is_defaultBOOLEAN
if 1 this method returns the default domain and all shared domains, if 0 all domains are returned
is_ownerBOOLEAN
if 1 this method returns only domains owned by the logged user, if 0 it returns only shared domains
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: deeplink_id, host, for_trials, force_https, id, aliases, nickname, logo, redirect_url, favicon_url, robots_txt, deeplink_name, is_owner, is_default, is_shared, has_https, count
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
[OPTIONAL] total number of domains, returned only if count is passed in fields
data
array containing required information on domains the user has access to
/domains/property
access: [READ]
This method returns the limits for a domain logo.
Example 1 (json)
Request
https://joturl.com/a/i1/domains/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"max_size" : 153600 ,
"max_width" : 120 ,
"max_height" : 50 ,
"allowed_types" : [
"image/gif" ,
"image/jpeg" ,
"image/jpg" ,
"image/pjpeg" ,
"image/x-png" ,
"image/png"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/domains/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<max_size> 153600 </max_size>
<max_width> 120 </max_width>
<max_height> 50 </max_height>
<allowed_types>
<i0> image/gif </i0>
<i1> image/jpeg </i1>
<i2> image/jpg </i2>
<i3> image/pjpeg </i3>
<i4> image/x-png </i4>
<i5> image/png </i5>
</allowed_types>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/domains/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_max_size = 153600
result_max_width = 120
result_max_height = 50
result_allowed_types_0 = image/gif
result_allowed_types_1 = image/jpeg
result_allowed_types_2 = image/jpg
result_allowed_types_3 = image/pjpeg
result_allowed_types_4 = image/x-png
result_allowed_types_5 = image/png
Example 4 (plain)
Request
https://joturl.com/a/i1/domains/property?format=plain
Query parameters
format = plain
Response
153600
120
50
image/gif
image/jpeg
image/jpg
image/pjpeg
image/x-png
image/png
Return values
parameter
description
allowed_types
array of allowed image types (mime types)
max_height
maximum allowed height for the logo (pixels)
max_size
maximum allowed size for the logo (bytes)
max_width
maximum allowed width for the logo (pixels)
/gdprs /gdprs/add
access: [WRITE]
This method adds a new GDPR template.
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/add?company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F
Query parameters
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"company" : "JotUrl" ,
"home_link" : "https://www.joturl.com/" ,
"tos_link" : "https://www.joturl.com/terms-of-service/" ,
"id" : "ab62c07e6fe78cbf931fc6ffe9166945" ,
"notes" : "" ,
"is_default" : 0 ,
"show_refuse_button" : 0 ,
"custom_translations" : null
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/add?company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F&format=xml
Query parameters
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<company> JotUrl </company>
<home_link> https://www.joturl.com/ </home_link>
<tos_link> https://www.joturl.com/terms-of-service/ </tos_link>
<id> ab62c07e6fe78cbf931fc6ffe9166945 </id>
<notes> </notes>
<is_default> 0 </is_default>
<show_refuse_button> 0 </show_refuse_button>
<custom_translations> </custom_translations>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/add?company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F&format=txt
Query parameters
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_company = JotUrl
result_home_link = https://www.joturl.com/
result_tos_link = https://www.joturl.com/terms-of-service/
result_id = ab62c07e6fe78cbf931fc6ffe9166945
result_notes =
result_is_default = 0
result_show_refuse_button = 0
result_custom_translations =
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/add?company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F&format=plain
Query parameters
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
format = plain
Response
JotUrl
https://www.joturl.com/
https://www.joturl.com/terms-of-service/
ab62c07e6fe78cbf931fc6ffe9166945
0
0
Required parameters
parameter
description
max length
companySTRING
company name, it is also the name that identifies the template
255
home_linkURL
complete URL to the home page of the company website
4000
tos_linkURL
complete URL to the terms of service page of the company website
4000
Optional parameters
parameter
description
max length
custom_translationsJSON
stringified JSON of the custom GDPR translations
notesSTRING
template notes (not shown on the GDPR page)
255
show_refuse_buttonBOOLEAN
1 to show a "refuse all cookies" button on the consent window, 0 otherwise (only available on custom domains)
Parameter custom_translations
has the structure {"language1":{TRANSLATIONS1}, ..., "languageN":{TRANSLATIONSN}}, where:
languageN is the ISO 639-1 language code , the first language in the list is the default language (i.e., the language used if the user's preferred language is not in the list) {TRANSLATIONSN} is a JSON containing translations for the corresponding language, see i1/gdprs/property for details Please note that custom_translations
is only available in some plans, see i1/plans/info to see if your plan supports this feature.
Return values
parameter
description
company
echo back of the company input parameter
custom_translations
echo back of the notes input parameter
home_link
echo back of the home_link input parameter
id
ID of the GDPR template
is_default
1 if it is the default template, 0 otherwise
notes
echo back of the notes input parameter
show_refuse_button
1 to show a "refuse all cookies" button, 0 otherwise
tos_link
echo back of the tos_link input parameter
/gdprs/count
access: [READ]
This method returns the number of GDPR templates.
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Optional parameters
parameter
description
searchSTRING
filters GDPR templates to be extracted by searching them
Return values
parameter
description
count
the number of GDPR templates
/gdprs/delete
access: [WRITE]
This method deletes one or more GDPR template(s).
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/delete?ids=7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336
Query parameters
ids = 7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 2 ,
"id" : "bea4141f565644564333fda62c967d43"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/delete?ids=7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336&format=xml
Query parameters
ids = 7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 2 </deleted>
<id> bea4141f565644564333fda62c967d43 </id>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/delete?ids=7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336&format=txt
Query parameters
ids = 7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 2
result_id = bea4141f565644564333fda62c967d43
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/delete?ids=7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336&format=plain
Query parameters
ids = 7fef5575c526b9178ea9077810a1dd3e,f000c28118657673d5bca396b1698336
format = plain
Response
2
bea4141f565644564333fda62c967d43
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of GDPR templates to remove, max number of IDs in the list: 100
Return values
parameter
description
deleted
number of deleted GDPR templates on success, 0 otherwise
id
ID of the default GDPR template, if available
/gdprs/edit
access: [WRITE]
This method edits a GDPR template.
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/edit?id=46f12d36ba1e17493592144efaf95652&company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F
Query parameters
id = 46f12d36ba1e17493592144efaf95652
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "46f12d36ba1e17493592144efaf95652" ,
"company" : "JotUrl" ,
"home_link" : "https://www.joturl.com/" ,
"tos_link" : "https://www.joturl.com/terms-of-service/" ,
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/edit?id=46f12d36ba1e17493592144efaf95652&company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F&format=xml
Query parameters
id = 46f12d36ba1e17493592144efaf95652
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 46f12d36ba1e17493592144efaf95652 </id>
<company> JotUrl </company>
<home_link> https://www.joturl.com/ </home_link>
<tos_link> https://www.joturl.com/terms-of-service/ </tos_link>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/edit?id=46f12d36ba1e17493592144efaf95652&company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F&format=txt
Query parameters
id = 46f12d36ba1e17493592144efaf95652
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 46f12d36ba1e17493592144efaf95652
result_company = JotUrl
result_home_link = https://www.joturl.com/
result_tos_link = https://www.joturl.com/terms-of-service/
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/edit?id=46f12d36ba1e17493592144efaf95652&company=JotUrl&home_link=https%3A%2F%2Fwww.joturl.com%2F&tos_link=https%3A%2F%2Fwww.joturl.com%2Fterms-of-service%2F&format=plain
Query parameters
id = 46f12d36ba1e17493592144efaf95652
company = JotUrl
home_link = https://www.joturl.com/
tos_link = https://www.joturl.com/terms-of-service/
format = plain
Response
46f12d36ba1e17493592144efaf95652
JotUrl
https://www.joturl.com/
https://www.joturl.com/terms-of-service/
1
Required parameters
parameter
description
idID
ID of the GDPR template to edit
Optional parameters
parameter
description
max length
companySTRING
company name, it is also the name that identifies the template
255
custom_translationsJSON
stringified JSON of the custom GDPR translations, see i1/gdprs/add for details
home_linkURL
complete URL to the home page of the company website
4000
is_defaultBOOLEAN
1 to set the GDPR template as the default, 0 to remove the default flag (the first available GDPR template will be set as default, including the template identified by id)
notesSTRING
template notes (not shown on the GDPR page)
255
show_refuse_buttonBOOLEAN
1 to show a "refuse all cookies" button on the consent window, 0 otherwise (only available on custom domains)
tos_linkURL
complete URL to the terms of service page of the company website
4000
Return values
parameter
description
updated
1 on success, 0 otherwise
/gdprs/info
access: [READ]
This method returns info about a GDPR template.
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/info?fields=id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&id=7a4de8fd365dc08c877f4d2d887494b5
Query parameters
fields = id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
id = 7a4de8fd365dc08c877f4d2d887494b5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "7a4de8fd365dc08c877f4d2d887494b5" ,
"company" : "JotUrl" ,
"home_link" : "https://www.joturl.com/" ,
"tos_link" : "https://www.joturl.com/terms-of-service/" ,
"notes" : "" ,
"is_default" : 1 ,
"show_refuse_button" : 0 ,
"custom_translations" : null
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/info?fields=id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&id=7a4de8fd365dc08c877f4d2d887494b5&format=xml
Query parameters
fields = id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
id = 7a4de8fd365dc08c877f4d2d887494b5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 7a4de8fd365dc08c877f4d2d887494b5 </id>
<company> JotUrl </company>
<home_link> https://www.joturl.com/ </home_link>
<tos_link> https://www.joturl.com/terms-of-service/ </tos_link>
<notes> </notes>
<is_default> 1 </is_default>
<show_refuse_button> 0 </show_refuse_button>
<custom_translations> </custom_translations>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/info?fields=id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&id=7a4de8fd365dc08c877f4d2d887494b5&format=txt
Query parameters
fields = id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
id = 7a4de8fd365dc08c877f4d2d887494b5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 7a4de8fd365dc08c877f4d2d887494b5
result_data_0_company = JotUrl
result_data_0_home_link = https://www.joturl.com/
result_data_0_tos_link = https://www.joturl.com/terms-of-service/
result_data_0_notes =
result_data_0_is_default = 1
result_data_0_show_refuse_button = 0
result_data_0_custom_translations =
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/info?fields=id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&id=7a4de8fd365dc08c877f4d2d887494b5&format=plain
Query parameters
fields = id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
id = 7a4de8fd365dc08c877f4d2d887494b5
format = plain
Response
7a4de8fd365dc08c877f4d2d887494b5
JotUrl
https://www.joturl.com/
https://www.joturl.com/terms-of-service/
1
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, company, home_link, tos_link, notes, is_default, show_refuse_button, custom_translations
idID
ID of the GDPR template
Return values
parameter
description
data
array containing information on the GDPR templates, returned information depends on the fields parameter.
/gdprs/list
access: [READ]
This method returns a list of GDPR templates.
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/list?fields=count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
Query parameters
fields = count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"id" : "e86ed3fa645fc3150d2314521f707351" ,
"company" : "JotUrl" ,
"home_link" : "https://www.joturl.com/" ,
"tos_link" : "https://www.joturl.com/terms-of-service/" ,
"notes" : "" ,
"is_default" : 1 ,
"show_refuse_button" : 0 ,
"custom_translations" : null
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/list?fields=count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&format=xml
Query parameters
fields = count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<id> e86ed3fa645fc3150d2314521f707351 </id>
<company> JotUrl </company>
<home_link> https://www.joturl.com/ </home_link>
<tos_link> https://www.joturl.com/terms-of-service/ </tos_link>
<notes> </notes>
<is_default> 1 </is_default>
<show_refuse_button> 0 </show_refuse_button>
<custom_translations> </custom_translations>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/list?fields=count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&format=txt
Query parameters
fields = count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_id = e86ed3fa645fc3150d2314521f707351
result_data_0_company = JotUrl
result_data_0_home_link = https://www.joturl.com/
result_data_0_tos_link = https://www.joturl.com/terms-of-service/
result_data_0_notes =
result_data_0_is_default = 1
result_data_0_show_refuse_button = 0
result_data_0_custom_translations =
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/list?fields=count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations&format=plain
Query parameters
fields = count,id,company,home_link,tos_link,notes,is_default,show_refuse_button,custom_translations
format = plain
Response
1
e86ed3fa645fc3150d2314521f707351
JotUrl
https://www.joturl.com/
https://www.joturl.com/terms-of-service/
1
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, company, home_link, tos_link, notes, is_default, show_refuse_button, custom_translations
Optional parameters
parameter
description
lengthINTEGER
extracts this number of GDPR templates (maxmimum allowed: 100)
orderbyARRAY
orders GDPR templates by field, available fields: id, company, home_link, tos_link, notes, is_default, show_refuse_button, custom_translations
searchSTRING
filters GDPR templates to be extracted by searching them
sortSTRING
sorts GDPR templates in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract GDPR templates from this position
Return values
parameter
description
count
[OPTIONAL] total number of GDPR templates, returned only if count is passed in fields
data
array containing information on the GDPR templates, returned information depends on the fields parameter.
/gdprs/preview
access: [READ]
This method returns a preview for the GDPR consent page (HTML).
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/preview?id=4996d859ba5369103b5434cb8e5efedd
Query parameters
id = 4996d859ba5369103b5434cb8e5efedd
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"html" : "<html lang="en"> [GDPR consent HTML] </html>"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/preview?id=4996d859ba5369103b5434cb8e5efedd&format=xml
Query parameters
id = 4996d859ba5369103b5434cb8e5efedd
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<html> <html lang="en"> [GDPR consent HTML] </html> </html>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/preview?id=4996d859ba5369103b5434cb8e5efedd&format=txt
Query parameters
id = 4996d859ba5369103b5434cb8e5efedd
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_html = <html lang="en"> [GDPR consent HTML] </html>
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/preview?id=4996d859ba5369103b5434cb8e5efedd&format=plain
Query parameters
id = 4996d859ba5369103b5434cb8e5efedd
format = plain
Response
<html lang="en"> [GDPR consent HTML] </html>
Optional parameters
parameter
description
max length
companySTRING
NA
255
custom_translationsJSON
custom translations for the GDPR consent preview
home_linkURL
NA
4000
idID
ID of the GDPR template
show_refuse_buttonBOOLEAN
NA
tos_linkURL
NA
4000
Return values
parameter
description
html
GDPR consent HTML
/gdprs/property
access: [READ]
This method returns a list of property for a custom GDPR consent.
Example 1 (json)
Request
https://joturl.com/a/i1/gdprs/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"about_cookies" : {
"type" : "text" ,
"default" : "About cookies" ,
"notes" : "label of the "about cookies" tab" ,
"max-length" : 50
} ,
"accept_button" : {
"type" : "text" ,
"default" : "Accept cookies" ,
"notes" : "label of the accept button" ,
"max-length" : 50
} ,
"agreement" : {
"type" : "markdown" ,
"default" : "By clicking "Accept cookies," you agree to the sto [...]" ,
"notes" : "agreement text" ,
"max-length" : 1000
} ,
"caption" : {
"type" : "text" ,
"default" : "Cookies" ,
"notes" : "title of the consent window" ,
"max-length" : 50
} ,
"consent" : {
"type" : "markdown" ,
"default" : "%COMPANY_WITH_LINK% uses cookies to customise cont [...]" ,
"notes" : "consent text" ,
"max-length" : 1000
} ,
"cookie_control_label" : {
"type" : "text" ,
"default" : "aboutcookies.org" ,
"notes" : "label of the aboutcookies.org link" ,
"max-length" : 100
} ,
"cookie_control_link" : {
"type" : "url" ,
"default" : "https://www.aboutcookies.org/" ,
"notes" : "URL of the aboutcookies.org page" ,
"max-length" : 2000
} ,
"cookies_enabled" : {
"type" : "text" ,
"default" : "Enabled" ,
"notes" : ""enabled" header of the consent table" ,
"max-length" : 30
} ,
"cookies_settings" : {
"type" : "text" ,
"default" : "Cookies settings" ,
"notes" : "title of the detailed cookie settings page" ,
"max-length" : 50
} ,
"cookies_used" : {
"type" : "text" ,
"default" : "Cookie name" ,
"notes" : ""cookie name" header of the consent table" ,
"max-length" : 30
} ,
"description_control_cookies" : {
"type" : "markdown" ,
"default" : "You can control and/or delete cookies as you wish [...]" ,
"notes" : "content of the "How to control cookies" section" ,
"max-length" : 1000
} ,
"description_cookies" : {
"type" : "markdown" ,
"default" : "A cookie is a small text file that a website saves [...]" ,
"notes" : "content of the "What are cookies?" section" ,
"max-length" : 1000
} ,
"description_marketing_cookies" : {
"type" : "markdown" ,
"default" : "Marketing cookies are used to track visitors acros [...]" ,
"notes" : "content of the "What are marketing cookies?" section" ,
"max-length" : 1000
} ,
"descriptions.adroll" : {
"type" : "markdown" ,
"default" : "AdRoll is a retargeting and prospecting platform f [...]" ,
"notes" : "AdRoll consent details" ,
"max-length" : 1000
} ,
"descriptions.bing" : {
"type" : "markdown" ,
"default" : "Bing Remarketing is a remarketing and behavioral t [...]" ,
"notes" : "Bing consent details" ,
"max-length" : 1000
} ,
"descriptions.custom" : {
"type" : "markdown" ,
"default" : "Please refer to the terms of service and cookie po [...]" ,
"notes" : "Custom consent details" ,
"max-length" : 1000
} ,
"descriptions.facebook" : {
"type" : "markdown" ,
"default" : "Facebook Remarketing is a remarketing and behavior [...]" ,
"notes" : "Facebook consent details" ,
"max-length" : 1000
} ,
"descriptions.google_adwords" : {
"type" : "markdown" ,
"default" : "Google AdWords Remarketing is a remarketing and be [...]" ,
"notes" : "Google AdWords consent details" ,
"max-length" : 1000
} ,
"descriptions.google_analytics" : {
"type" : "markdown" ,
"default" : "Google Analytics for Display Advertising is a rema [...]" ,
"notes" : "Google Analytics consent details" ,
"max-length" : 1000
} ,
"descriptions.google_tag_manager" : {
"type" : "markdown" ,
"default" : "Google Tag Manager is a tag management service pro [...]" ,
"notes" : "Google Tag Manager consent details" ,
"max-length" : 1000
} ,
"descriptions.linkedin" : {
"type" : "markdown" ,
"default" : "LinkedIn Website Retargeting is a remarketing and [...]" ,
"notes" : "LinkedIn consent details" ,
"max-length" : 1000
} ,
"descriptions.manychat" : {
"type" : "markdown" ,
"default" : "ManyChat is a leading Facebook Messenger marketing [...]" ,
"notes" : "ManyChat consent details" ,
"max-length" : 1000
} ,
"descriptions.pinterest" : {
"type" : "markdown" ,
"default" : "Pinterest Remarketing is a remarketing and behavio [...]" ,
"notes" : "Pinterest consent details" ,
"max-length" : 1000
} ,
"descriptions.quora" : {
"type" : "markdown" ,
"default" : "Quora is an American social question-and-answer we [...]" ,
"notes" : "Quora consent details" ,
"max-length" : 1000
} ,
"descriptions.snapchat" : {
"type" : "markdown" ,
"default" : "Snapchat is a mobile app for Android and iOS devic [...]" ,
"notes" : "Snapchat consent details" ,
"max-length" : 1000
} ,
"descriptions.tiktok" : {
"type" : "markdown" ,
"default" : "TikTok (Douyin) Remarketing is a remarketing and b [...]" ,
"notes" : "TikTok consent details" ,
"max-length" : 1000
} ,
"descriptions.twitter" : {
"type" : "markdown" ,
"default" : "Twitter Remarketing is a remarketing and behaviora [...]" ,
"notes" : "Twitter consent details" ,
"max-length" : 1000
} ,
"here" : {
"type" : "text" ,
"default" : "here" ,
"notes" : "text of the link that leads to the "control and/or delete cookies" page" ,
"max-length" : 50
} ,
"marketing_cookies" : {
"type" : "text" ,
"default" : "Marketing cookies" ,
"notes" : "label of the "marketing cookies" tab" ,
"max-length" : 50
} ,
"noscript" : {
"type" : "text" ,
"default" : "You need to enable JavaScript to run this page." ,
"notes" : "shown when the user's browser does not support JavaScript" ,
"max-length" : 100
} ,
"refuse_button" : {
"type" : "text" ,
"default" : "I refuse cookies" ,
"notes" : "label of the refuse button" ,
"max-length" : 50
} ,
"save_button" : {
"type" : "text" ,
"default" : "Save & continue" ,
"notes" : "label of the save button" ,
"max-length" : 50
} ,
"see_details" : {
"type" : "text" ,
"default" : "See details" ,
"notes" : "text of the link that leads to the extended consent page (custom page)" ,
"max-length" : 50
} ,
"settings_button" : {
"type" : "text" ,
"default" : "Cookies settings" ,
"notes" : "label of the settings button" ,
"max-length" : 50
} ,
"title" : {
"type" : "text" ,
"default" : "%COMPANY% GDPR - Cookie consent form" ,
"notes" : "title of the HTML page consent" ,
"max-length" : 50
} ,
"title_control_cookies" : {
"type" : "text" ,
"default" : "How to control cookies" ,
"notes" : "title of the "How to control cookies" section" ,
"max-length" : 50
} ,
"title_cookies" : {
"type" : "text" ,
"default" : "What are cookies?" ,
"notes" : "title of the "What are cookies?" section" ,
"max-length" : 50
} ,
"title_marketing_cookies" : {
"type" : "text" ,
"default" : "What are marketing cookies?" ,
"notes" : "title of the "What are marketing cookies?" section" ,
"max-length" : 50
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/gdprs/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<about_cookies>
<type> text </type>
<default> About cookies </default>
<notes> label of the "about cookies" tab </notes>
<max-length> 50 </max-length>
</about_cookies>
<accept_button>
<type> text </type>
<default> Accept cookies </default>
<notes> label of the accept button </notes>
<max-length> 50 </max-length>
</accept_button>
<agreement>
<type> markdown </type>
<default> By clicking "Accept cookies," you agree to the sto [...] </default>
<notes> agreement text </notes>
<max-length> 1000 </max-length>
</agreement>
<caption>
<type> text </type>
<default> Cookies </default>
<notes> title of the consent window </notes>
<max-length> 50 </max-length>
</caption>
<consent>
<type> markdown </type>
<default> %COMPANY_WITH_LINK% uses cookies to customise cont [...] </default>
<notes> consent text </notes>
<max-length> 1000 </max-length>
</consent>
<cookie_control_label>
<type> text </type>
<default> aboutcookies.org </default>
<notes> label of the aboutcookies.org link </notes>
<max-length> 100 </max-length>
</cookie_control_label>
<cookie_control_link>
<type> url </type>
<default> https://www.aboutcookies.org/ </default>
<notes> URL of the aboutcookies.org page </notes>
<max-length> 2000 </max-length>
</cookie_control_link>
<cookies_enabled>
<type> text </type>
<default> Enabled </default>
<notes> "enabled" header of the consent table </notes>
<max-length> 30 </max-length>
</cookies_enabled>
<cookies_settings>
<type> text </type>
<default> Cookies settings </default>
<notes> title of the detailed cookie settings page </notes>
<max-length> 50 </max-length>
</cookies_settings>
<cookies_used>
<type> text </type>
<default> Cookie name </default>
<notes> "cookie name" header of the consent table </notes>
<max-length> 30 </max-length>
</cookies_used>
<description_control_cookies>
<type> markdown </type>
<default> You can control and/or delete cookies as you wish [...] </default>
<notes> content of the "How to control cookies" section </notes>
<max-length> 1000 </max-length>
</description_control_cookies>
<description_cookies>
<type> markdown </type>
<default> A cookie is a small text file that a website saves [...] </default>
<notes> content of the "What are cookies?" section </notes>
<max-length> 1000 </max-length>
</description_cookies>
<description_marketing_cookies>
<type> markdown </type>
<default> Marketing cookies are used to track visitors acros [...] </default>
<notes> content of the "What are marketing cookies?" section </notes>
<max-length> 1000 </max-length>
</description_marketing_cookies>
<descriptions.adroll>
<type> markdown </type>
<default> AdRoll is a retargeting and prospecting platform f [...] </default>
<notes> AdRoll consent details </notes>
<max-length> 1000 </max-length>
</descriptions.adroll>
<descriptions.bing>
<type> markdown </type>
<default> Bing Remarketing is a remarketing and behavioral t [...] </default>
<notes> Bing consent details </notes>
<max-length> 1000 </max-length>
</descriptions.bing>
<descriptions.custom>
<type> markdown </type>
<default> Please refer to the terms of service and cookie po [...] </default>
<notes> Custom consent details </notes>
<max-length> 1000 </max-length>
</descriptions.custom>
<descriptions.facebook>
<type> markdown </type>
<default> Facebook Remarketing is a remarketing and behavior [...] </default>
<notes> Facebook consent details </notes>
<max-length> 1000 </max-length>
</descriptions.facebook>
<descriptions.google_adwords>
<type> markdown </type>
<default> Google AdWords Remarketing is a remarketing and be [...] </default>
<notes> Google AdWords consent details </notes>
<max-length> 1000 </max-length>
</descriptions.google_adwords>
<descriptions.google_analytics>
<type> markdown </type>
<default> Google Analytics for Display Advertising is a rema [...] </default>
<notes> Google Analytics consent details </notes>
<max-length> 1000 </max-length>
</descriptions.google_analytics>
<descriptions.google_tag_manager>
<type> markdown </type>
<default> Google Tag Manager is a tag management service pro [...] </default>
<notes> Google Tag Manager consent details </notes>
<max-length> 1000 </max-length>
</descriptions.google_tag_manager>
<descriptions.linkedin>
<type> markdown </type>
<default> LinkedIn Website Retargeting is a remarketing and [...] </default>
<notes> LinkedIn consent details </notes>
<max-length> 1000 </max-length>
</descriptions.linkedin>
<descriptions.manychat>
<type> markdown </type>
<default> ManyChat is a leading Facebook Messenger marketing [...] </default>
<notes> ManyChat consent details </notes>
<max-length> 1000 </max-length>
</descriptions.manychat>
<descriptions.pinterest>
<type> markdown </type>
<default> Pinterest Remarketing is a remarketing and behavio [...] </default>
<notes> Pinterest consent details </notes>
<max-length> 1000 </max-length>
</descriptions.pinterest>
<descriptions.quora>
<type> markdown </type>
<default> Quora is an American social question-and-answer we [...] </default>
<notes> Quora consent details </notes>
<max-length> 1000 </max-length>
</descriptions.quora>
<descriptions.snapchat>
<type> markdown </type>
<default> Snapchat is a mobile app for Android and iOS devic [...] </default>
<notes> Snapchat consent details </notes>
<max-length> 1000 </max-length>
</descriptions.snapchat>
<descriptions.tiktok>
<type> markdown </type>
<default> TikTok (Douyin) Remarketing is a remarketing and b [...] </default>
<notes> TikTok consent details </notes>
<max-length> 1000 </max-length>
</descriptions.tiktok>
<descriptions.twitter>
<type> markdown </type>
<default> Twitter Remarketing is a remarketing and behaviora [...] </default>
<notes> Twitter consent details </notes>
<max-length> 1000 </max-length>
</descriptions.twitter>
<here>
<type> text </type>
<default> here </default>
<notes> text of the link that leads to the "control and/or delete cookies" page </notes>
<max-length> 50 </max-length>
</here>
<marketing_cookies>
<type> text </type>
<default> Marketing cookies </default>
<notes> label of the "marketing cookies" tab </notes>
<max-length> 50 </max-length>
</marketing_cookies>
<noscript>
<type> text </type>
<default> You need to enable JavaScript to run this page. </default>
<notes> shown when the user's browser does not support JavaScript </notes>
<max-length> 100 </max-length>
</noscript>
<refuse_button>
<type> text </type>
<default> I refuse cookies </default>
<notes> label of the refuse button </notes>
<max-length> 50 </max-length>
</refuse_button>
<save_button>
<type> text </type>
<default> Save & continue </default>
<notes> label of the save button </notes>
<max-length> 50 </max-length>
</save_button>
<see_details>
<type> text </type>
<default> See details </default>
<notes> text of the link that leads to the extended consent page (custom page) </notes>
<max-length> 50 </max-length>
</see_details>
<settings_button>
<type> text </type>
<default> Cookies settings </default>
<notes> label of the settings button </notes>
<max-length> 50 </max-length>
</settings_button>
<title>
<type> text </type>
<default> %COMPANY% GDPR - Cookie consent form </default>
<notes> title of the HTML page consent </notes>
<max-length> 50 </max-length>
</title>
<title_control_cookies>
<type> text </type>
<default> How to control cookies </default>
<notes> title of the "How to control cookies" section </notes>
<max-length> 50 </max-length>
</title_control_cookies>
<title_cookies>
<type> text </type>
<default> What are cookies? </default>
<notes> title of the "What are cookies?" section </notes>
<max-length> 50 </max-length>
</title_cookies>
<title_marketing_cookies>
<type> text </type>
<default> What are marketing cookies? </default>
<notes> title of the "What are marketing cookies?" section </notes>
<max-length> 50 </max-length>
</title_marketing_cookies>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/gdprs/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_about_cookies_type = text
result_about_cookies_default = About cookies
result_about_cookies_notes = label of the "about cookies" tab
result_about_cookies_max-length = 50
result_accept_button_type = text
result_accept_button_default = Accept cookies
result_accept_button_notes = label of the accept button
result_accept_button_max-length = 50
result_agreement_type = markdown
result_agreement_default = By clicking "Accept cookies," you agree to the sto [...]
result_agreement_notes = agreement text
result_agreement_max-length = 1000
result_caption_type = text
result_caption_default = Cookies
result_caption_notes = title of the consent window
result_caption_max-length = 50
result_consent_type = markdown
result_consent_default = %COMPANY_WITH_LINK% uses cookies to customise cont [...]
result_consent_notes = consent text
result_consent_max-length = 1000
result_cookie_control_label_type = text
result_cookie_control_label_default = aboutcookies.org
result_cookie_control_label_notes = label of the aboutcookies.org link
result_cookie_control_label_max-length = 100
result_cookie_control_link_type = url
result_cookie_control_link_default = https://www.aboutcookies.org/
result_cookie_control_link_notes = URL of the aboutcookies.org page
result_cookie_control_link_max-length = 2000
result_cookies_enabled_type = text
result_cookies_enabled_default = Enabled
result_cookies_enabled_notes = "enabled" header of the consent table
result_cookies_enabled_max-length = 30
result_cookies_settings_type = text
result_cookies_settings_default = Cookies settings
result_cookies_settings_notes = title of the detailed cookie settings page
result_cookies_settings_max-length = 50
result_cookies_used_type = text
result_cookies_used_default = Cookie name
result_cookies_used_notes = "cookie name" header of the consent table
result_cookies_used_max-length = 30
result_description_control_cookies_type = markdown
result_description_control_cookies_default = You can control and/or delete cookies as you wish [...]
result_description_control_cookies_notes = content of the "How to control cookies" section
result_description_control_cookies_max-length = 1000
result_description_cookies_type = markdown
result_description_cookies_default = A cookie is a small text file that a website saves [...]
result_description_cookies_notes = content of the "What are cookies?" section
result_description_cookies_max-length = 1000
result_description_marketing_cookies_type = markdown
result_description_marketing_cookies_default = Marketing cookies are used to track visitors acros [...]
result_description_marketing_cookies_notes = content of the "What are marketing cookies?" section
result_description_marketing_cookies_max-length = 1000
result_descriptions.adroll_type = markdown
result_descriptions.adroll_default = AdRoll is a retargeting and prospecting platform f [...]
result_descriptions.adroll_notes = AdRoll consent details
result_descriptions.adroll_max-length = 1000
result_descriptions.bing_type = markdown
result_descriptions.bing_default = Bing Remarketing is a remarketing and behavioral t [...]
result_descriptions.bing_notes = Bing consent details
result_descriptions.bing_max-length = 1000
result_descriptions.custom_type = markdown
result_descriptions.custom_default = Please refer to the terms of service and cookie po [...]
result_descriptions.custom_notes = Custom consent details
result_descriptions.custom_max-length = 1000
result_descriptions.facebook_type = markdown
result_descriptions.facebook_default = Facebook Remarketing is a remarketing and behavior [...]
result_descriptions.facebook_notes = Facebook consent details
result_descriptions.facebook_max-length = 1000
result_descriptions.google_adwords_type = markdown
result_descriptions.google_adwords_default = Google AdWords Remarketing is a remarketing and be [...]
result_descriptions.google_adwords_notes = Google AdWords consent details
result_descriptions.google_adwords_max-length = 1000
result_descriptions.google_analytics_type = markdown
result_descriptions.google_analytics_default = Google Analytics for Display Advertising is a rema [...]
result_descriptions.google_analytics_notes = Google Analytics consent details
result_descriptions.google_analytics_max-length = 1000
result_descriptions.google_tag_manager_type = markdown
result_descriptions.google_tag_manager_default = Google Tag Manager is a tag management service pro [...]
result_descriptions.google_tag_manager_notes = Google Tag Manager consent details
result_descriptions.google_tag_manager_max-length = 1000
result_descriptions.linkedin_type = markdown
result_descriptions.linkedin_default = LinkedIn Website Retargeting is a remarketing and [...]
result_descriptions.linkedin_notes = LinkedIn consent details
result_descriptions.linkedin_max-length = 1000
result_descriptions.manychat_type = markdown
result_descriptions.manychat_default = ManyChat is a leading Facebook Messenger marketing [...]
result_descriptions.manychat_notes = ManyChat consent details
result_descriptions.manychat_max-length = 1000
result_descriptions.pinterest_type = markdown
result_descriptions.pinterest_default = Pinterest Remarketing is a remarketing and behavio [...]
result_descriptions.pinterest_notes = Pinterest consent details
result_descriptions.pinterest_max-length = 1000
result_descriptions.quora_type = markdown
result_descriptions.quora_default = Quora is an American social question-and-answer we [...]
result_descriptions.quora_notes = Quora consent details
result_descriptions.quora_max-length = 1000
result_descriptions.snapchat_type = markdown
result_descriptions.snapchat_default = Snapchat is a mobile app for Android and iOS devic [...]
result_descriptions.snapchat_notes = Snapchat consent details
result_descriptions.snapchat_max-length = 1000
result_descriptions.tiktok_type = markdown
result_descriptions.tiktok_default = TikTok (Douyin) Remarketing is a remarketing and b [...]
result_descriptions.tiktok_notes = TikTok consent details
result_descriptions.tiktok_max-length = 1000
result_descriptions.twitter_type = markdown
result_descriptions.twitter_default = Twitter Remarketing is a remarketing and behaviora [...]
result_descriptions.twitter_notes = Twitter consent details
result_descriptions.twitter_max-length = 1000
result_here_type = text
result_here_default = here
result_here_notes = text of the link that leads to the "control and/or delete cookies" page
result_here_max-length = 50
result_marketing_cookies_type = text
result_marketing_cookies_default = Marketing cookies
result_marketing_cookies_notes = label of the "marketing cookies" tab
result_marketing_cookies_max-length = 50
result_noscript_type = text
result_noscript_default = You need to enable JavaScript to run this page.
result_noscript_notes = shown when the user's browser does not support JavaScript
result_noscript_max-length = 100
result_refuse_button_type = text
result_refuse_button_default = I refuse cookies
result_refuse_button_notes = label of the refuse button
result_refuse_button_max-length = 50
result_save_button_type = text
result_save_button_default = Save & continue
result_save_button_notes = label of the save button
result_save_button_max-length = 50
result_see_details_type = text
result_see_details_default = See details
result_see_details_notes = text of the link that leads to the extended consent page (custom page)
result_see_details_max-length = 50
result_settings_button_type = text
result_settings_button_default = Cookies settings
result_settings_button_notes = label of the settings button
result_settings_button_max-length = 50
result_title_type = text
result_title_default = %COMPANY% GDPR - Cookie consent form
result_title_notes = title of the HTML page consent
result_title_max-length = 50
result_title_control_cookies_type = text
result_title_control_cookies_default = How to control cookies
result_title_control_cookies_notes = title of the "How to control cookies" section
result_title_control_cookies_max-length = 50
result_title_cookies_type = text
result_title_cookies_default = What are cookies?
result_title_cookies_notes = title of the "What are cookies?" section
result_title_cookies_max-length = 50
result_title_marketing_cookies_type = text
result_title_marketing_cookies_default = What are marketing cookies?
result_title_marketing_cookies_notes = title of the "What are marketing cookies?" section
result_title_marketing_cookies_max-length = 50
Example 4 (plain)
Request
https://joturl.com/a/i1/gdprs/property?format=plain
Query parameters
format = plain
Response
text
default:About cookies
label of the "about cookies" tab
50
text
default:Accept cookies
label of the accept button
50
markdown
default:By clicking "Accept cookies," you agree to the sto [...]
agreement text
1000
text
default:Cookies
title of the consent window
50
markdown
default:%COMPANY_WITH_LINK% uses cookies to customise cont [...]
consent text
1000
text
default:aboutcookies.org
label of the aboutcookies.org link
100
url
default:https://www.aboutcookies.org/
URL of the aboutcookies.org page
2000
text
default:Enabled
"enabled" header of the consent table
30
text
default:Cookies settings
title of the detailed cookie settings page
50
text
default:Cookie name
"cookie name" header of the consent table
30
markdown
default:You can control and/or delete cookies as you wish [...]
content of the "How to control cookies" section
1000
markdown
default:A cookie is a small text file that a website saves [...]
content of the "What are cookies?" section
1000
markdown
default:Marketing cookies are used to track visitors acros [...]
content of the "What are marketing cookies?" section
1000
markdown
default:AdRoll is a retargeting and prospecting platform f [...]
AdRoll consent details
1000
markdown
default:Bing Remarketing is a remarketing and behavioral t [...]
Bing consent details
1000
markdown
default:Please refer to the terms of service and cookie po [...]
Custom consent details
1000
markdown
default:Facebook Remarketing is a remarketing and behavior [...]
Facebook consent details
1000
markdown
default:Google AdWords Remarketing is a remarketing and be [...]
Google AdWords consent details
1000
markdown
default:Google Analytics for Display Advertising is a rema [...]
Google Analytics consent details
1000
markdown
default:Google Tag Manager is a tag management service pro [...]
Google Tag Manager consent details
1000
markdown
default:LinkedIn Website Retargeting is a remarketing and [...]
LinkedIn consent details
1000
markdown
default:ManyChat is a leading Facebook Messenger marketing [...]
ManyChat consent details
1000
markdown
default:Pinterest Remarketing is a remarketing and behavio [...]
Pinterest consent details
1000
markdown
default:Quora is an American social question-and-answer we [...]
Quora consent details
1000
markdown
default:Snapchat is a mobile app for Android and iOS devic [...]
Snapchat consent details
1000
markdown
default:TikTok (Douyin) Remarketing is a remarketing and b [...]
TikTok consent details
1000
markdown
default:Twitter Remarketing is a remarketing and behaviora [...]
Twitter consent details
1000
text
default:here
text of the link that leads to the "control and/or delete cookies" page
50
text
default:Marketing cookies
label of the "marketing cookies" tab
50
text
default:You need to enable JavaScript to run this page.
shown when the user's browser does not support JavaScript
100
text
default:I refuse cookies
label of the refuse button
50
text
default:Save & continue
label of the save button
50
text
default:See details
text of the link that leads to the extended consent page (custom page)
50
text
default:Cookies settings
label of the settings button
50
text
default:%COMPANY% GDPR - Cookie consent form
title of the HTML page consent
50
text
default:How to control cookies
title of the "How to control cookies" section
50
text
default:What are cookies?
title of the "What are cookies?" section
50
text
default:What are marketing cookies?
title of the "What are marketing cookies?" section
50
Return values
parameter
description
about_cookies
label of the "about cookies" tab (type: text , max length: 50 )
accept_button
label of the accept button (type: text , max length: 50 )
agreement
agreement text (type: markdown , max length: 1000 )
caption
title of the consent window (type: text , max length: 50 )
consent
consent text (type: markdown , max length: 1000 )
cookie_control_label
label of the aboutcookies.org link (type: text , max length: 100 )
cookie_control_link
URL of the aboutcookies.org page (type: url , max length: 2000 )
cookies_enabled
"enabled" header of the consent table (type: text , max length: 30 )
cookies_settings
title of the detailed cookie settings page (type: text , max length: 50 )
cookies_used
"cookie name" header of the consent table (type: text , max length: 30 )
description_control_cookies
content of the "How to control cookies" section (type: markdown , max length: 1000 )
description_cookies
content of the "What are cookies?" section (type: markdown , max length: 1000 )
description_marketing_cookies
content of the "What are marketing cookies?" section (type: markdown , max length: 1000 )
descriptions.adroll
AdRoll consent details (type: markdown , max length: 1000 )
descriptions.bing
Bing consent details (type: markdown , max length: 1000 )
descriptions.custom
Custom consent details (type: markdown , max length: 1000 )
descriptions.facebook
Facebook consent details (type: markdown , max length: 1000 )
descriptions.google_adwords
Google AdWords consent details (type: markdown , max length: 1000 )
descriptions.google_analytics
Google Analytics consent details (type: markdown , max length: 1000 )
descriptions.google_tag_manager
Google Tag Manager consent details (type: markdown , max length: 1000 )
descriptions.linkedin
LinkedIn consent details (type: markdown , max length: 1000 )
descriptions.manychat
ManyChat consent details (type: markdown , max length: 1000 )
descriptions.pinterest
Pinterest consent details (type: markdown , max length: 1000 )
descriptions.quora
Quora consent details (type: markdown , max length: 1000 )
descriptions.snapchat
Snapchat consent details (type: markdown , max length: 1000 )
descriptions.tiktok
TikTok consent details (type: markdown , max length: 1000 )
descriptions.twitter
Twitter consent details (type: markdown , max length: 1000 )
here
text of the link that leads to the "control and/or delete cookies" page (type: text , max length: 50 )
marketing_cookies
label of the "marketing cookies" tab (type: text , max length: 50 )
noscript
shown when the user's browser does not support JavaScript (type: text , max length: 100 )
refuse_button
label of the refuse button (type: text , max length: 50 )
save_button
label of the save button (type: text , max length: 50 )
see_details
text of the link that leads to the extended consent page (custom page) (type: text , max length: 50 )
settings_button
label of the settings button (type: text , max length: 50 )
title
title of the HTML page consent (type: text , max length: 50 )
title_control_cookies
title of the "How to control cookies" section (type: text , max length: 50 )
title_cookies
title of the "What are cookies?" section (type: text , max length: 50 )
title_marketing_cookies
title of the "What are marketing cookies?" section (type: text , max length: 50 )
/jotbars /jotbars/property
access: [READ]
This method returns a list of property of a jotbar.
Example 1 (json)
Request
https://joturl.com/a/i1/jotbars/property?context=url
Query parameters
context = url
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"positions" : "inherit,right,left,top,bottom,empty" ,
"dimensions" : "inherit,small,medium,big"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/jotbars/property?context=url&format=xml
Query parameters
context = url
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<positions> inherit,right,left,top,bottom,empty </positions>
<dimensions> inherit,small,medium,big </dimensions>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/jotbars/property?context=url&format=txt
Query parameters
context = url
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_positions = inherit,right,left,top,bottom,empty
result_dimensions = inherit,small,medium,big
Example 4 (plain)
Request
https://joturl.com/a/i1/jotbars/property?context=url&format=plain
Query parameters
context = url
format = plain
Response
inherit,right,left,top,bottom,empty
inherit,small,medium,big
Example 5 (json)
Request
https://joturl.com/a/i1/jotbars/property?context=project
Query parameters
context = project
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"positions" : "inherit,right,left,top,bottom,empty" ,
"dimensions" : "inherit,small,medium,big"
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/jotbars/property?context=project&format=xml
Query parameters
context = project
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<positions> inherit,right,left,top,bottom,empty </positions>
<dimensions> inherit,small,medium,big </dimensions>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/jotbars/property?context=project&format=txt
Query parameters
context = project
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_positions = inherit,right,left,top,bottom,empty
result_dimensions = inherit,small,medium,big
Example 8 (plain)
Request
https://joturl.com/a/i1/jotbars/property?context=project&format=plain
Query parameters
context = project
format = plain
Response
inherit,right,left,top,bottom,empty
inherit,small,medium,big
Example 9 (json)
Request
https://joturl.com/a/i1/jotbars/property?context=user
Query parameters
context = user
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"positions" : "right,left,top,bottom,empty" ,
"dimensions" : "small,medium,big"
}
}
Example 10 (xml)
Request
https://joturl.com/a/i1/jotbars/property?context=user&format=xml
Query parameters
context = user
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<positions> right,left,top,bottom,empty </positions>
<dimensions> small,medium,big </dimensions>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/jotbars/property?context=user&format=txt
Query parameters
context = user
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_positions = right,left,top,bottom,empty
result_dimensions = small,medium,big
Example 12 (plain)
Request
https://joturl.com/a/i1/jotbars/property?context=user&format=plain
Query parameters
context = user
format = plain
Response
right,left,top,bottom,empty
small,medium,big
Required parameters
parameter
description
contextSTRING
it can be url
, project
or user
and specifies the context for which positions and dimensions are requested
Return values
parameter
description
dimensions
comma separated list of dimensions for the context , available dimensions: big, inherit, medium, small
positions
comma separated list of positions for context , available positions: bottom, empty, inherit, left, right, top
/locations /locations/list
access: [READ]
This method returns a list of available locations.
Example 1 (json)
Request
https://joturl.com/a/i1/locations/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"locations" : [
{
"label" : "Afghanistan (افغانستان)" ,
"code" : "AF"
} ,
{
"label" : "Aland Islands" ,
"code" : "AX"
} ,
{
"label" : "Albania (Shqipëria)" ,
"code" : "AL"
} ,
{
"label" : "Algeria (الجزائر)" ,
"code" : "DZ"
} ,
{
"label" : "American Samoa" ,
"code" : "AS"
} ,
{
"label" : "Andorra" ,
"code" : "AD"
} ,
{
"label" : "Angola" ,
"code" : "AO"
} ,
{
"label" : "Anguilla" ,
"code" : "AI"
} ,
{
"label" : "Antarctica" ,
"code" : "AQ"
} ,
{
"label" : "Antigua and Barbuda" ,
"code" : "AG"
} ,
{
"label" : "Argentina" ,
"code" : "AR"
} ,
{
"label" : "Armenia (Հայաստան)" ,
"code" : "AM"
} ,
{
"label" : "Aruba" ,
"code" : "AW"
} ,
{
"label" : "Australia" ,
"code" : "AU"
} ,
{
"label" : "Austria (Österreich)" ,
"code" : "AT"
} ,
{
"label" : "Azerbaijan (Azərbaycan)" ,
"code" : "AZ"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/locations/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<locations>
<i0>
<label> Afghanistan (افغانستان) </label>
<code> AF </code>
</i0>
<i1>
<label> Aland Islands </label>
<code> AX </code>
</i1>
<i2>
<label> Albania (Shqipëria) </label>
<code> AL </code>
</i2>
<i3>
<label> Algeria (الجزائر) </label>
<code> DZ </code>
</i3>
<i4>
<label> American Samoa </label>
<code> AS </code>
</i4>
<i5>
<label> Andorra </label>
<code> AD </code>
</i5>
<i6>
<label> Angola </label>
<code> AO </code>
</i6>
<i7>
<label> Anguilla </label>
<code> AI </code>
</i7>
<i8>
<label> Antarctica </label>
<code> AQ </code>
</i8>
<i9>
<label> Antigua and Barbuda </label>
<code> AG </code>
</i9>
<i10>
<label> Argentina </label>
<code> AR </code>
</i10>
<i11>
<label> Armenia (Հայաստան) </label>
<code> AM </code>
</i11>
<i12>
<label> Aruba </label>
<code> AW </code>
</i12>
<i13>
<label> Australia </label>
<code> AU </code>
</i13>
<i14>
<label> Austria (Österreich) </label>
<code> AT </code>
</i14>
<i15>
<label> Azerbaijan (Azərbaycan) </label>
<code> AZ </code>
</i15>
</locations>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/locations/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_locations_0_label = Afghanistan (افغانستان)
result_locations_0_code = AF
result_locations_1_label = Aland Islands
result_locations_1_code = AX
result_locations_2_label = Albania (Shqipëria)
result_locations_2_code = AL
result_locations_3_label = Algeria (الجزائر)
result_locations_3_code = DZ
result_locations_4_label = American Samoa
result_locations_4_code = AS
result_locations_5_label = Andorra
result_locations_5_code = AD
result_locations_6_label = Angola
result_locations_6_code = AO
result_locations_7_label = Anguilla
result_locations_7_code = AI
result_locations_8_label = Antarctica
result_locations_8_code = AQ
result_locations_9_label = Antigua and Barbuda
result_locations_9_code = AG
result_locations_10_label = Argentina
result_locations_10_code = AR
result_locations_11_label = Armenia (Հայաստան)
result_locations_11_code = AM
result_locations_12_label = Aruba
result_locations_12_code = AW
result_locations_13_label = Australia
result_locations_13_code = AU
result_locations_14_label = Austria (Österreich)
result_locations_14_code = AT
result_locations_15_label = Azerbaijan (Azərbaycan)
result_locations_15_code = AZ
Example 4 (plain)
Request
https://joturl.com/a/i1/locations/list?format=plain
Query parameters
format = plain
Response
Afghanistan (افغانستان)
AF
Aland Islands
AX
Albania (Shqipëria)
AL
Algeria (الجزائر)
DZ
American Samoa
AS
Andorra
AD
Angola
AO
Anguilla
AI
Antarctica
AQ
Antigua and Barbuda
AG
Argentina
AR
Armenia (Հայաստան)
AM
Aruba
AW
Australia
AU
Austria (Österreich)
AT
Azerbaijan (Azərbaycan)
AZ
Return values
parameter
description
locations
list of available locations
/oauth /oauth/access_token
access: [WRITE]
Get OAUTH 2.0 access token.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/access_token?grant_type=authorization_code&client_id=36452edce0a2280167a1d737cc886a09&client_secret=e88e0a658f7e4c1ee5aae54d57de9d2d&code=e937578ab19026276d4bb46f16c6541b
Query parameters
grant_type = authorization_code
client_id = 36452edce0a2280167a1d737cc886a09
client_secret = e88e0a658f7e4c1ee5aae54d57de9d2d
code = e937578ab19026276d4bb46f16c6541b
Response
{
"token_type" : "bearer" ,
"expires_in" : 864000 ,
"access_token" : "767207e4b63ae366bce309710df70d01" ,
"refresh_token" : "e1714f490065b594ddac73470e27a59c"
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/access_token?grant_type=authorization_code&client_id=36452edce0a2280167a1d737cc886a09&client_secret=e88e0a658f7e4c1ee5aae54d57de9d2d&code=e937578ab19026276d4bb46f16c6541b&format=xml
Query parameters
grant_type = authorization_code
client_id = 36452edce0a2280167a1d737cc886a09
client_secret = e88e0a658f7e4c1ee5aae54d57de9d2d
code = e937578ab19026276d4bb46f16c6541b
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<token_type> bearer </token_type>
<expires_in> 864000 </expires_in>
<access_token> 767207e4b63ae366bce309710df70d01 </access_token>
<refresh_token> e1714f490065b594ddac73470e27a59c </refresh_token>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/access_token?grant_type=authorization_code&client_id=36452edce0a2280167a1d737cc886a09&client_secret=e88e0a658f7e4c1ee5aae54d57de9d2d&code=e937578ab19026276d4bb46f16c6541b&format=txt
Query parameters
grant_type = authorization_code
client_id = 36452edce0a2280167a1d737cc886a09
client_secret = e88e0a658f7e4c1ee5aae54d57de9d2d
code = e937578ab19026276d4bb46f16c6541b
format = txt
Response
token_type = bearer
expires_in = 864000
access_token = 767207e4b63ae366bce309710df70d01
refresh_token = e1714f490065b594ddac73470e27a59c
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/access_token?grant_type=authorization_code&client_id=36452edce0a2280167a1d737cc886a09&client_secret=e88e0a658f7e4c1ee5aae54d57de9d2d&code=e937578ab19026276d4bb46f16c6541b&format=plain
Query parameters
grant_type = authorization_code
client_id = 36452edce0a2280167a1d737cc886a09
client_secret = e88e0a658f7e4c1ee5aae54d57de9d2d
code = e937578ab19026276d4bb46f16c6541b
format = plain
Response
bearer
864000
767207e4b63ae366bce309710df70d01
e1714f490065b594ddac73470e27a59c
Required parameters
parameter
description
client_idSTRING
is the public identifier for the app
client_secretSTRING
secret identifier for the app for mode = secret
(see i1/oauth/authorize ) or the nonce for mode = secretless
(see i1/oauth/authorize )
grant_typeSTRING
requested authorization type, supported grand types: authorization_code, refresh_token
This method requires a server-to-server call because the client_secret is transferred, which must always remain secret.
Optional parameters
parameter
description
codeSTRING
the code returned from the authorization flow, this parameter is mandatory if grant_type = authorization_code
refresh_tokenSTRING
refresh token returned by this method in the authorization flow, this parameter is mandatory if grant_type = refresh_token
std_errorsBOOLEAN
1 to return standard OAuth 2.0 errors , otherwise errors that respect this documentation will be returned (default: 0 for backward compatibility, this will be changed in the near future, so it is advisable to use std_errors = 1
Return values
parameter
description
access_token
the access token string as issued by the authorization flow
expires_in
the duration of time (in seconds) the access token is granted for
nonce
it is returned only if mode = secretless
is passed in the request to i1/oauth/authorize and must be used to call all successive calls to JotUrl's APIs, its value is temporary and must be used within few minutes
refresh_token
the refresh token can be used to obtain another access token after the issued one has expired, this token is empty if mode = secretless
is passed to i1/oauth/authorize
token_type
The type of token this is, it is just the string bearer
/oauth/authorize
access: [WRITE]
OAUTH 2.0 Authorization.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/authorize?response_type=code&client_id=d3ea215291e633e0b432ab067f8b1206&redirect_uri=https%3A%2F%2Fwww.joturl.com%2F&scope=rw&state=91ac4e5ca9b88e80804a99f70ceb07f7
Query parameters
response_type = code
client_id = d3ea215291e633e0b432ab067f8b1206
redirect_uri = https://www.joturl.com/
scope = rw
state = 91ac4e5ca9b88e80804a99f70ceb07f7
Response
{
"code" : "ec071799f8e674dcb17ccfab37416bb1" ,
"state" : "91ac4e5ca9b88e80804a99f70ceb07f7" ,
"mode" : "secret"
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/authorize?response_type=code&client_id=d3ea215291e633e0b432ab067f8b1206&redirect_uri=https%3A%2F%2Fwww.joturl.com%2F&scope=rw&state=91ac4e5ca9b88e80804a99f70ceb07f7&format=xml
Query parameters
response_type = code
client_id = d3ea215291e633e0b432ab067f8b1206
redirect_uri = https://www.joturl.com/
scope = rw
state = 91ac4e5ca9b88e80804a99f70ceb07f7
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<code> ec071799f8e674dcb17ccfab37416bb1 </code>
<state> 91ac4e5ca9b88e80804a99f70ceb07f7 </state>
<mode> secret </mode>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/authorize?response_type=code&client_id=d3ea215291e633e0b432ab067f8b1206&redirect_uri=https%3A%2F%2Fwww.joturl.com%2F&scope=rw&state=91ac4e5ca9b88e80804a99f70ceb07f7&format=txt
Query parameters
response_type = code
client_id = d3ea215291e633e0b432ab067f8b1206
redirect_uri = https://www.joturl.com/
scope = rw
state = 91ac4e5ca9b88e80804a99f70ceb07f7
format = txt
Response
code = ec071799f8e674dcb17ccfab37416bb1
state = 91ac4e5ca9b88e80804a99f70ceb07f7
mode = secret
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/authorize?response_type=code&client_id=d3ea215291e633e0b432ab067f8b1206&redirect_uri=https%3A%2F%2Fwww.joturl.com%2F&scope=rw&state=91ac4e5ca9b88e80804a99f70ceb07f7&format=plain
Query parameters
response_type = code
client_id = d3ea215291e633e0b432ab067f8b1206
redirect_uri = https://www.joturl.com/
scope = rw
state = 91ac4e5ca9b88e80804a99f70ceb07f7
format = plain
Response
ec071799f8e674dcb17ccfab37416bb1
91ac4e5ca9b88e80804a99f70ceb07f7
secret
Required parameters
parameter
description
client_idSTRING
is the public identifier for the app
redirect_uriSTRING
tells the authorization server where to send the user back to after they approve the request
response_typeSTRING
have be set to code, indicating that the application expects to receive an authorization code if successful.
scopeSTRING
one or more space-separated strings indicating which permissions the application is requesting, supported scopes are: rw = read/write access
stateSTRING
this parameter is used to prevent CSRF attacks
Optional parameters
parameter
description
modeSTRING
can be secret to use the OAuth 2.0 flow that requires server-to-server communications or secretless for the flow that does not require the client secret (default: secret)
std_errorsBOOLEAN
1 to return standard OAuth 2.0 errors , otherwise errors that respect this documentation will be returned (default: 0 for backward compatibility, this will be changed in the near future, so it is advisable to use std_errors = 1
Return values
parameter
description
[NODATA]
this method does not return any data but redirects to the OAuth 2.0 server to complete the OAuth 2.0 flow
OAuth 2.0 for secret flows requires these steps: open a browser and send the user to i1/oauth/authorize the user sees the authorization prompt and approves the app’s request, the server checks the authentication by using i1/oauth/check which returns the parameters needed in next step the user is redirected back to the application with an authorization code in the query string the application exchanges the authorization code for an access token by using i1/oauth/access_token OAuth 2.0 for secretless flows requires these steps: open a browser and send the user to i1/oauth/authorize the user sees the authorization prompt and approves the app’s request, the server checks the authentication by using i1/oauth/check which returns the parameters needed in next step the user is asked to copy a security nonce and is redirected back to the application with an authorization code in the query string the application exchanges the authorization code for an access token by using i1/oauth/access_token , in this case the nonce is temporary and must be used within few minutes
/oauth/check
access: [WRITE]
Checks if an OAuth 2.0 Authorization was requested.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/check
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "7467fcf4f25e9596cca4f63abdb21ad5" ,
"app_name" : "OAuth 2.0 App Name" ,
"app_logo" : "https://www.joturl.com/reserved/res/ju2.0/img/header/logo.svg" ,
"redirect_url" : "https://redirect.to/?code=b4493d501945e983a9a594ba63455791&state=8a1b05cabcb4aa837b3fbb83d436d42e&mode=secret"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/check?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 7467fcf4f25e9596cca4f63abdb21ad5 </id>
<app_name> OAuth 2.0 App Name </app_name>
<app_logo> https://www.joturl.com/reserved/res/ju2.0/img/header/logo.svg </app_logo>
<redirect_url> https://redirect.to/?code=b4493d501945e983a9a594ba63455791&state=8a1b05cabcb4aa837b3fbb83d436d42e&mode=secret </redirect_url>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/check?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 7467fcf4f25e9596cca4f63abdb21ad5
result_app_name = OAuth 2.0 App Name
result_app_logo = https://www.joturl.com/reserved/res/ju2.0/img/header/logo.svg
result_redirect_url = https://redirect.to/?code=b4493d501945e983a9a594ba63455791&state=8a1b05cabcb4aa837b3fbb83d436d42e&mode=secret
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/check?format=plain
Query parameters
format = plain
Response
7467fcf4f25e9596cca4f63abdb21ad5
OAuth 2.0 App Name
https://www.joturl.com/reserved/res/ju2.0/img/header/logo.svg
https://redirect.to/?code=b4493d501945e983a9a594ba63455791&state=8a1b05cabcb4aa837b3fbb83d436d42e&mode=secret
Return values
parameter
description
app_logo
the URL to the logo of the application, empty if no authorization request has been made
app_name
the name of the OAuth 2.0 application, empty if no authorization request has been made
id
the ID of the OAuth 2.0 application, empty if no authorization request has been made
nonce
[OPTIONAL] it is returned only if mode = secretless
is passed in the request to i1/oauth/authorize
redirect_url
it has the same value passed in the request to i1/oauth/authorize with parameters code , state and mode appended, empty if no authorization request has been made
/oauth/granted /oauth/granted/count
access: [READ]
This method returns the number of granted OAuth 2.0 clients.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/granted/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/granted/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/granted/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/granted/count?format=plain
Query parameters
format = plain
Response
5
Optional parameters
parameter
description
searchSTRING
count OAuth 2.0 clients by searching them
Return values
parameter
description
count
number of OAuth 2.0 clients the user has granted access to (filtered by search if passed)
/oauth/granted/list
access: [READ]
This method returns a list of granted OAuth 2.0 clients.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/granted/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"app_name" : "OAuth 2.0 Client Name" ,
"app_logo" : "https://oauth.client/logo.png"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/granted/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<app_name> OAuth 2.0 Client Name </app_name>
<app_logo> https://oauth.client/logo.png </app_logo>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/granted/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_app_name = OAuth 2.0 Client Name
result_data_0_app_logo = https://oauth.client/logo.png
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/granted/list?format=plain
Query parameters
format = plain
Response
OAuth 2.0 Client Name
https://oauth.client/logo.png
Optional parameters
parameter
description
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbySTRING
orders items by field
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
total number of OAuth 2.0 clients
data
array containing required information on clients the user has granted access to
/oauth/granted/revoke
access: [WRITE]
Revoke granted access to OAuth 2.0 clients.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d
Query parameters
ids = d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d&format=xml
Query parameters
ids = d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d&format=txt
Query parameters
ids = d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d&format=plain
Query parameters
ids = d3d9446802a44259755d38e6d163e820,3644a684f98ea8fe223c713b77189a77,e93028bdc1aacdfb3687181f2031765d
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
Query parameters
ids = 1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b&format=xml
Query parameters
ids = 1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b&format=txt
Query parameters
ids = 1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/oauth/granted/revoke?ids=1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b&format=plain
Query parameters
ids = 1bd69c7df3112fb9a584fbd9edfc6c90,1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
format = plain
Response
1017bfd4673955ffee4641ad3d481b1c,14ee22eaba297944c96afdbe5b16c65b
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of OAuth 2.0 client IDs to be revoked
Return values
parameter
description
deleted
number of revoked OAuth 2.0 clients
ids
[OPTIONAL] list of OAuth 2.0 client IDs whose revoke has failed, this parameter is returned only when at least one revoke error has occurred
/oauth/test
access: [WRITE]
Call this endpoint to test OAuth 2.0 authentication credentials.
Example 1 (json)
Request
https://joturl.com/a/i1/oauth/test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"success" : "1"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/oauth/test?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<success> 1 </success>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/oauth/test?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_success = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/oauth/test?format=plain
Query parameters
format = plain
Response
1
Optional parameters
parameter
description
std_errorsBOOLEAN
1 to return standard OAuth 2.0 errors , otherwise errors that respect this documentation will be returned (default: 0 for backward compatibility, this will be changed in the near future, so it is advisable to use std_errors = 1
Return values
parameter
description
success
1 on success, otherwise an authentication error is returned
/permissions /permissions/add
access: [WRITE]
Define a new permission.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/add?name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c330737272465cc06cf73f948cf88f34%22,%22f2e5d8c749e384c1fd7a0633bf5e8bfa%22,%22b70cb5c6cc7dc90f8dab71bfde09006c%22,%223b7d1d48d2294ef291315b7acf9f0772%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D
Query parameters
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c330737272465cc06cf73f948cf88f34","f2e5d8c749e384c1fd7a0633bf5e8bfa","b70cb5c6cc7dc90f8dab71bfde09006c","3b7d1d48d2294ef291315b7acf9f0772"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "201079f84d7247fe7f2efe955b1566a1" ,
"name" : "name of the permission" ,
"notes" : "" ,
"info" : {
"projects" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"access_to_default" : 1
} ,
"domains" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"access_to" : {
"all_except" : []
} ,
"all_except" : [
{
"id" : "c330737272465cc06cf73f948cf88f34" ,
"name" : "domain_0"
} ,
{
"id" : "f2e5d8c749e384c1fd7a0633bf5e8bfa" ,
"name" : "domain_1"
} ,
{
"id" : "b70cb5c6cc7dc90f8dab71bfde09006c" ,
"name" : "domain_2"
} ,
{
"id" : "3b7d1d48d2294ef291315b7acf9f0772" ,
"name" : "domain_3"
}
]
} ,
"ctas" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"conversions" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"remarketings" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"subusers" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1
} ,
"apis" : {
"access_to" : {
"all_except" : []
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/add?name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c330737272465cc06cf73f948cf88f34%22,%22f2e5d8c749e384c1fd7a0633bf5e8bfa%22,%22b70cb5c6cc7dc90f8dab71bfde09006c%22,%223b7d1d48d2294ef291315b7acf9f0772%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D&format=xml
Query parameters
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c330737272465cc06cf73f948cf88f34","f2e5d8c749e384c1fd7a0633bf5e8bfa","b70cb5c6cc7dc90f8dab71bfde09006c","3b7d1d48d2294ef291315b7acf9f0772"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 201079f84d7247fe7f2efe955b1566a1 </id>
<name> name of the permission </name>
<notes> </notes>
<info>
<projects>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<access_to_default> 1 </access_to_default>
</projects>
<domains>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<access_to>
<all_except>
</all_except>
</access_to>
<all_except>
<i0>
<id> c330737272465cc06cf73f948cf88f34 </id>
<name> domain_0 </name>
</i0>
<i1>
<id> f2e5d8c749e384c1fd7a0633bf5e8bfa </id>
<name> domain_1 </name>
</i1>
<i2>
<id> b70cb5c6cc7dc90f8dab71bfde09006c </id>
<name> domain_2 </name>
</i2>
<i3>
<id> 3b7d1d48d2294ef291315b7acf9f0772 </id>
<name> domain_3 </name>
</i3>
</all_except>
</domains>
<ctas>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</ctas>
<conversions>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</conversions>
<remarketings>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</remarketings>
<subusers>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
</subusers>
<apis>
<access_to>
<all_except>
</all_except>
</access_to>
</apis>
</info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/add?name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c330737272465cc06cf73f948cf88f34%22,%22f2e5d8c749e384c1fd7a0633bf5e8bfa%22,%22b70cb5c6cc7dc90f8dab71bfde09006c%22,%223b7d1d48d2294ef291315b7acf9f0772%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D&format=txt
Query parameters
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c330737272465cc06cf73f948cf88f34","f2e5d8c749e384c1fd7a0633bf5e8bfa","b70cb5c6cc7dc90f8dab71bfde09006c","3b7d1d48d2294ef291315b7acf9f0772"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 201079f84d7247fe7f2efe955b1566a1
result_name = name of the permission
result_notes =
result_info_projects_can_add = 1
result_info_projects_can_edit = 1
result_info_projects_can_delete = 1
result_info_projects_access_to_default = 1
result_info_domains_can_add = 1
result_info_domains_can_edit = 1
result_info_domains_can_delete = 1
result_info_domains_access_to_all_except =
result_info_domains_all_except_0_id = c330737272465cc06cf73f948cf88f34
result_info_domains_all_except_0_name = domain_0
result_info_domains_all_except_1_id = f2e5d8c749e384c1fd7a0633bf5e8bfa
result_info_domains_all_except_1_name = domain_1
result_info_domains_all_except_2_id = b70cb5c6cc7dc90f8dab71bfde09006c
result_info_domains_all_except_2_name = domain_2
result_info_domains_all_except_3_id = 3b7d1d48d2294ef291315b7acf9f0772
result_info_domains_all_except_3_name = domain_3
result_info_ctas_can_add = 1
result_info_ctas_can_edit = 1
result_info_ctas_can_delete = 1
result_info_ctas_can_link = 1
result_info_ctas_can_unlink = 1
result_info_ctas_access_to_all_except =
result_info_conversions_can_add = 1
result_info_conversions_can_edit = 1
result_info_conversions_can_delete = 1
result_info_conversions_can_link = 1
result_info_conversions_can_unlink = 1
result_info_conversions_access_to_all_except =
result_info_remarketings_can_add = 1
result_info_remarketings_can_edit = 1
result_info_remarketings_can_delete = 1
result_info_remarketings_can_link = 1
result_info_remarketings_can_unlink = 1
result_info_remarketings_access_to_all_except =
result_info_subusers_can_add = 1
result_info_subusers_can_edit = 1
result_info_subusers_can_delete = 1
result_info_apis_access_to_all_except =
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/add?name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c330737272465cc06cf73f948cf88f34%22,%22f2e5d8c749e384c1fd7a0633bf5e8bfa%22,%22b70cb5c6cc7dc90f8dab71bfde09006c%22,%223b7d1d48d2294ef291315b7acf9f0772%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D&format=plain
Query parameters
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c330737272465cc06cf73f948cf88f34","f2e5d8c749e384c1fd7a0633bf5e8bfa","b70cb5c6cc7dc90f8dab71bfde09006c","3b7d1d48d2294ef291315b7acf9f0772"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
format = plain
Response
201079f84d7247fe7f2efe955b1566a1
name of the permission
1
1
1
1
1
1
1
c330737272465cc06cf73f948cf88f34
domain_0
f2e5d8c749e384c1fd7a0633bf5e8bfa
domain_1
b70cb5c6cc7dc90f8dab71bfde09006c
domain_2
3b7d1d48d2294ef291315b7acf9f0772
domain_3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Required parameters
parameter
description
max length
nameSTRING
name of the permission
100
Optional parameters
Return values
parameter
description
id
ID of the permission
info
information on access rights
name
echo back of the input parameter name
notes
echo back of the input parameter notes
/permissions/count
access: [READ]
This method returns the number of user's permissions.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 424
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 424 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 424
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/count?format=plain
Query parameters
format = plain
Response
424
Example 5 (json)
Request
https://joturl.com/a/i1/permissions/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 59
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/permissions/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 59 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/permissions/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 59
Example 8 (plain)
Request
https://joturl.com/a/i1/permissions/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
59
Optional parameters
parameter
description
searchSTRING
count permissions by searching them
Return values
parameter
description
count
number of permissions (filtered by search if passed)
/permissions/delete
access: [WRITE]
Delete one or more permissions.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/delete?ids=37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1
Query parameters
ids = 37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/delete?ids=37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1&format=xml
Query parameters
ids = 37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/delete?ids=37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1&format=txt
Query parameters
ids = 37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/delete?ids=37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1&format=plain
Query parameters
ids = 37693cfc748049e45d87b8c7d8b9aacd,e92ea2e30768f2fda96f7e9eba39c6eb,f569c3d708a7558b3049d2896d2b6ce1
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/permissions/delete?ids=2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
Query parameters
ids = 2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/permissions/delete?ids=2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898&format=xml
Query parameters
ids = 2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898 </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/permissions/delete?ids=2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898&format=txt
Query parameters
ids = 2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/permissions/delete?ids=2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898&format=plain
Query parameters
ids = 2e0aca891f2a8aedf265edf533a6d9a8,3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
format = plain
Response
3d324c2883882b15fa8fbe8f025a3a99,a330238f5e5026982abe38b8f2215898
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of permission IDs to be deleted
Return values
parameter
description
deleted
number of deleted permissions
ids
[OPTIONAL] list of permission IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/permissions/edit
access: [WRITE]
Edit a permission.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/edit?id=19221ecedbb48516bbf79af50b2f7fd6&name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c121c061566c086e3f62d69fc88f10c3%22,%22117cbd986ca0e088fcff04186c5269d6%22,%2206cde63e4a00a9145c10eaa433a75cd4%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D
Query parameters
id = 19221ecedbb48516bbf79af50b2f7fd6
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c121c061566c086e3f62d69fc88f10c3","117cbd986ca0e088fcff04186c5269d6","06cde63e4a00a9145c10eaa433a75cd4"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "19221ecedbb48516bbf79af50b2f7fd6" ,
"info" : {
"projects" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"access_to_default" : 1
} ,
"domains" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"access_to" : {
"all_except" : []
} ,
"all_except" : [
{
"id" : "c121c061566c086e3f62d69fc88f10c3" ,
"name" : "domain_0"
} ,
{
"id" : "117cbd986ca0e088fcff04186c5269d6" ,
"name" : "domain_1"
} ,
{
"id" : "06cde63e4a00a9145c10eaa433a75cd4" ,
"name" : "domain_2"
}
]
} ,
"ctas" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"conversions" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"remarketings" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"subusers" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1
} ,
"apis" : {
"access_to" : {
"all_except" : []
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/edit?id=19221ecedbb48516bbf79af50b2f7fd6&name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c121c061566c086e3f62d69fc88f10c3%22,%22117cbd986ca0e088fcff04186c5269d6%22,%2206cde63e4a00a9145c10eaa433a75cd4%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D&format=xml
Query parameters
id = 19221ecedbb48516bbf79af50b2f7fd6
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c121c061566c086e3f62d69fc88f10c3","117cbd986ca0e088fcff04186c5269d6","06cde63e4a00a9145c10eaa433a75cd4"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 19221ecedbb48516bbf79af50b2f7fd6 </id>
<info>
<projects>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<access_to_default> 1 </access_to_default>
</projects>
<domains>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<access_to>
<all_except>
</all_except>
</access_to>
<all_except>
<i0>
<id> c121c061566c086e3f62d69fc88f10c3 </id>
<name> domain_0 </name>
</i0>
<i1>
<id> 117cbd986ca0e088fcff04186c5269d6 </id>
<name> domain_1 </name>
</i1>
<i2>
<id> 06cde63e4a00a9145c10eaa433a75cd4 </id>
<name> domain_2 </name>
</i2>
</all_except>
</domains>
<ctas>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</ctas>
<conversions>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</conversions>
<remarketings>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</remarketings>
<subusers>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
</subusers>
<apis>
<access_to>
<all_except>
</all_except>
</access_to>
</apis>
</info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/edit?id=19221ecedbb48516bbf79af50b2f7fd6&name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c121c061566c086e3f62d69fc88f10c3%22,%22117cbd986ca0e088fcff04186c5269d6%22,%2206cde63e4a00a9145c10eaa433a75cd4%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D&format=txt
Query parameters
id = 19221ecedbb48516bbf79af50b2f7fd6
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c121c061566c086e3f62d69fc88f10c3","117cbd986ca0e088fcff04186c5269d6","06cde63e4a00a9145c10eaa433a75cd4"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 19221ecedbb48516bbf79af50b2f7fd6
result_info_projects_can_add = 1
result_info_projects_can_edit = 1
result_info_projects_can_delete = 1
result_info_projects_access_to_default = 1
result_info_domains_can_add = 1
result_info_domains_can_edit = 1
result_info_domains_can_delete = 1
result_info_domains_access_to_all_except =
result_info_domains_all_except_0_id = c121c061566c086e3f62d69fc88f10c3
result_info_domains_all_except_0_name = domain_0
result_info_domains_all_except_1_id = 117cbd986ca0e088fcff04186c5269d6
result_info_domains_all_except_1_name = domain_1
result_info_domains_all_except_2_id = 06cde63e4a00a9145c10eaa433a75cd4
result_info_domains_all_except_2_name = domain_2
result_info_ctas_can_add = 1
result_info_ctas_can_edit = 1
result_info_ctas_can_delete = 1
result_info_ctas_can_link = 1
result_info_ctas_can_unlink = 1
result_info_ctas_access_to_all_except =
result_info_conversions_can_add = 1
result_info_conversions_can_edit = 1
result_info_conversions_can_delete = 1
result_info_conversions_can_link = 1
result_info_conversions_can_unlink = 1
result_info_conversions_access_to_all_except =
result_info_remarketings_can_add = 1
result_info_remarketings_can_edit = 1
result_info_remarketings_can_delete = 1
result_info_remarketings_can_link = 1
result_info_remarketings_can_unlink = 1
result_info_remarketings_access_to_all_except =
result_info_subusers_can_add = 1
result_info_subusers_can_edit = 1
result_info_subusers_can_delete = 1
result_info_apis_access_to_all_except =
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/edit?id=19221ecedbb48516bbf79af50b2f7fd6&name=name+of+the+permission&info=%7B%22projects%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to_default%22%3A1%7D,%22domains%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D,%22all_except%22%3A%5B%22c121c061566c086e3f62d69fc88f10c3%22,%22117cbd986ca0e088fcff04186c5269d6%22,%2206cde63e4a00a9145c10eaa433a75cd4%22%5D%7D,%22ctas%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22conversions%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22remarketings%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1,%22can_link%22%3A1,%22can_unlink%22%3A1,%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D,%22subusers%22%3A%7B%22can_add%22%3A1,%22can_edit%22%3A1,%22can_delete%22%3A1%7D,%22apis%22%3A%7B%22access_to%22%3A%7B%22all_except%22%3A%5B%5D%7D%7D%7D&format=plain
Query parameters
id = 19221ecedbb48516bbf79af50b2f7fd6
name = name of the permission
info = {"projects":{"can_add":1,"can_edit":1,"can_delete":1,"access_to_default":1},"domains":{"can_add":1,"can_edit":1,"can_delete":1,"access_to":{"all_except":[]},"all_except":["c121c061566c086e3f62d69fc88f10c3","117cbd986ca0e088fcff04186c5269d6","06cde63e4a00a9145c10eaa433a75cd4"]},"ctas":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"conversions":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"remarketings":{"can_add":1,"can_edit":1,"can_delete":1,"can_link":1,"can_unlink":1,"access_to":{"all_except":[]}},"subusers":{"can_add":1,"can_edit":1,"can_delete":1},"apis":{"access_to":{"all_except":[]}}}
format = plain
Response
19221ecedbb48516bbf79af50b2f7fd6
1
1
1
1
1
1
1
c121c061566c086e3f62d69fc88f10c3
domain_0
117cbd986ca0e088fcff04186c5269d6
domain_1
06cde63e4a00a9145c10eaa433a75cd4
domain_2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Required parameters
parameter
description
idID
ID of the permission
Optional parameters
Return values
parameter
description
id
ID of the permission
info
information on access rights
name
name of the permission
notes
notes of the permission
/permissions/info
access: [READ]
This method returns information on a permission.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/info?id=31869fbbc357baac1a7de2ad4d5aa7e3
Query parameters
id = 31869fbbc357baac1a7de2ad4d5aa7e3
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"id" : "31869fbbc357baac1a7de2ad4d5aa7e3" ,
"name" : "name of the permission" ,
"notes" : "notes for the permission" ,
"info" : {
"projects" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"access_to_default" : 1
} ,
"domains" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"access_to" : {
"all_except" : []
} ,
"all_except" : [
{
"id" : "0c97a51da50b9dbe3d329c5fca2480e3" ,
"name" : "domain_0"
} ,
{
"id" : "e0fa8889a9525aad0ec7f12d63d2b596" ,
"name" : "domain_1"
} ,
{
"id" : "d32df9a7be88aaea0d6feeb168d008b5" ,
"name" : "domain_2"
} ,
{
"id" : "f2a63deca4ee94bcc80db76b0ade5d93" ,
"name" : "domain_3"
}
]
} ,
"ctas" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"conversions" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"remarketings" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1 ,
"can_link" : 1 ,
"can_unlink" : 1 ,
"access_to" : {
"all_except" : []
}
} ,
"subusers" : {
"can_add" : 1 ,
"can_edit" : 1 ,
"can_delete" : 1
} ,
"apis" : {
"access_to" : {
"all_except" : []
}
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/info?id=31869fbbc357baac1a7de2ad4d5aa7e3&format=xml
Query parameters
id = 31869fbbc357baac1a7de2ad4d5aa7e3
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<id> 31869fbbc357baac1a7de2ad4d5aa7e3 </id>
<name> name of the permission </name>
<notes> notes for the permission </notes>
<info>
<projects>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<access_to_default> 1 </access_to_default>
</projects>
<domains>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<access_to>
<all_except>
</all_except>
</access_to>
<all_except>
<i0>
<id> 0c97a51da50b9dbe3d329c5fca2480e3 </id>
<name> domain_0 </name>
</i0>
<i1>
<id> e0fa8889a9525aad0ec7f12d63d2b596 </id>
<name> domain_1 </name>
</i1>
<i2>
<id> d32df9a7be88aaea0d6feeb168d008b5 </id>
<name> domain_2 </name>
</i2>
<i3>
<id> f2a63deca4ee94bcc80db76b0ade5d93 </id>
<name> domain_3 </name>
</i3>
</all_except>
</domains>
<ctas>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</ctas>
<conversions>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</conversions>
<remarketings>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
<can_link> 1 </can_link>
<can_unlink> 1 </can_unlink>
<access_to>
<all_except>
</all_except>
</access_to>
</remarketings>
<subusers>
<can_add> 1 </can_add>
<can_edit> 1 </can_edit>
<can_delete> 1 </can_delete>
</subusers>
<apis>
<access_to>
<all_except>
</all_except>
</access_to>
</apis>
</info>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/info?id=31869fbbc357baac1a7de2ad4d5aa7e3&format=txt
Query parameters
id = 31869fbbc357baac1a7de2ad4d5aa7e3
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_id = 31869fbbc357baac1a7de2ad4d5aa7e3
result_data_name = name of the permission
result_data_notes = notes for the permission
result_data_info_projects_can_add = 1
result_data_info_projects_can_edit = 1
result_data_info_projects_can_delete = 1
result_data_info_projects_access_to_default = 1
result_data_info_domains_can_add = 1
result_data_info_domains_can_edit = 1
result_data_info_domains_can_delete = 1
result_data_info_domains_access_to_all_except =
result_data_info_domains_all_except_0_id = 0c97a51da50b9dbe3d329c5fca2480e3
result_data_info_domains_all_except_0_name = domain_0
result_data_info_domains_all_except_1_id = e0fa8889a9525aad0ec7f12d63d2b596
result_data_info_domains_all_except_1_name = domain_1
result_data_info_domains_all_except_2_id = d32df9a7be88aaea0d6feeb168d008b5
result_data_info_domains_all_except_2_name = domain_2
result_data_info_domains_all_except_3_id = f2a63deca4ee94bcc80db76b0ade5d93
result_data_info_domains_all_except_3_name = domain_3
result_data_info_ctas_can_add = 1
result_data_info_ctas_can_edit = 1
result_data_info_ctas_can_delete = 1
result_data_info_ctas_can_link = 1
result_data_info_ctas_can_unlink = 1
result_data_info_ctas_access_to_all_except =
result_data_info_conversions_can_add = 1
result_data_info_conversions_can_edit = 1
result_data_info_conversions_can_delete = 1
result_data_info_conversions_can_link = 1
result_data_info_conversions_can_unlink = 1
result_data_info_conversions_access_to_all_except =
result_data_info_remarketings_can_add = 1
result_data_info_remarketings_can_edit = 1
result_data_info_remarketings_can_delete = 1
result_data_info_remarketings_can_link = 1
result_data_info_remarketings_can_unlink = 1
result_data_info_remarketings_access_to_all_except =
result_data_info_subusers_can_add = 1
result_data_info_subusers_can_edit = 1
result_data_info_subusers_can_delete = 1
result_data_info_apis_access_to_all_except =
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/info?id=31869fbbc357baac1a7de2ad4d5aa7e3&format=plain
Query parameters
id = 31869fbbc357baac1a7de2ad4d5aa7e3
format = plain
Response
31869fbbc357baac1a7de2ad4d5aa7e3
name of the permission
notes for the permission
1
1
1
1
1
1
1
0c97a51da50b9dbe3d329c5fca2480e3
domain_0
e0fa8889a9525aad0ec7f12d63d2b596
domain_1
d32df9a7be88aaea0d6feeb168d008b5
domain_2
f2a63deca4ee94bcc80db76b0ade5d93
domain_3
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Required parameters
parameter
description
idID
ID of the permission
Return values
/permissions/list
access: [READ]
This method returns a list of user-defined permissions.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"id" : "9859102f8b8e2de65908780e8fc36f56" ,
"name" : "name of the permission" ,
"notes" : "notes for the permission"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<id> 9859102f8b8e2de65908780e8fc36f56 </id>
<name> name of the permission </name>
<notes> notes for the permission </notes>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_id = 9859102f8b8e2de65908780e8fc36f56
result_data_0_name = name of the permission
result_data_0_notes = notes for the permission
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/list?format=plain
Query parameters
format = plain
Response
1
9859102f8b8e2de65908780e8fc36f56
name of the permission
notes for the permission
Optional parameters
parameter
description
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
total number of permissions
data
array containing information on permissions
/permissions/property
access: [READ]
This method returns access rights you can use to create a permission. Each access right is grouped by contexts.
Example 1 (json)
Request
https://joturl.com/a/i1/permissions/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"projects" : {
"can_add" : {
"type" : "bool" ,
"default" : 1
} ,
"can_edit" : {
"type" : "bool" ,
"default" : 1
} ,
"can_delete" : {
"type" : "bool" ,
"default" : 1
} ,
"access_to_default" : {
"type" : "bool" ,
"default" : 1
}
} ,
"domains" : {
"can_add" : {
"type" : "bool" ,
"default" : 1
} ,
"can_edit" : {
"type" : "bool" ,
"default" : 1
} ,
"can_delete" : {
"type" : "bool" ,
"default" : 1
} ,
"access_to" : {
"type" : "complementary_ids" ,
"default" : {
"all_except" : []
}
}
} ,
"ctas" : {
"can_add" : {
"type" : "bool" ,
"default" : 1
} ,
"can_edit" : {
"type" : "bool" ,
"default" : 1
} ,
"can_delete" : {
"type" : "bool" ,
"default" : 1
} ,
"can_link" : {
"type" : "bool" ,
"default" : 1
} ,
"can_unlink" : {
"type" : "bool" ,
"default" : 1
} ,
"access_to" : {
"type" : "complementary_ids" ,
"default" : {
"all_except" : []
}
}
} ,
"conversions" : {
"can_add" : {
"type" : "bool" ,
"default" : 1
} ,
"can_edit" : {
"type" : "bool" ,
"default" : 1
} ,
"can_delete" : {
"type" : "bool" ,
"default" : 1
} ,
"can_link" : {
"type" : "bool" ,
"default" : 1
} ,
"can_unlink" : {
"type" : "bool" ,
"default" : 1
} ,
"access_to" : {
"type" : "complementary_ids" ,
"default" : {
"all_except" : []
}
}
} ,
"remarketings" : {
"can_add" : {
"type" : "bool" ,
"default" : 1
} ,
"can_edit" : {
"type" : "bool" ,
"default" : 1
} ,
"can_delete" : {
"type" : "bool" ,
"default" : 1
} ,
"can_link" : {
"type" : "bool" ,
"default" : 1
} ,
"can_unlink" : {
"type" : "bool" ,
"default" : 1
} ,
"access_to" : {
"type" : "complementary_ids" ,
"default" : {
"all_except" : []
}
}
} ,
"subusers" : {
"can_add" : {
"type" : "bool" ,
"default" : 1
} ,
"can_edit" : {
"type" : "bool" ,
"default" : 1
} ,
"can_delete" : {
"type" : "bool" ,
"default" : 1
}
} ,
"apis" : {
"access_to" : {
"type" : "complementary_ids" ,
"default" : {
"all_except" : []
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/permissions/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<projects>
<can_add>
<type> bool </type>
<default> 1 </default>
</can_add>
<can_edit>
<type> bool </type>
<default> 1 </default>
</can_edit>
<can_delete>
<type> bool </type>
<default> 1 </default>
</can_delete>
<access_to_default>
<type> bool </type>
<default> 1 </default>
</access_to_default>
</projects>
<domains>
<can_add>
<type> bool </type>
<default> 1 </default>
</can_add>
<can_edit>
<type> bool </type>
<default> 1 </default>
</can_edit>
<can_delete>
<type> bool </type>
<default> 1 </default>
</can_delete>
<access_to>
<type> complementary_ids </type>
<default>
<all_except>
</all_except>
</default>
</access_to>
</domains>
<ctas>
<can_add>
<type> bool </type>
<default> 1 </default>
</can_add>
<can_edit>
<type> bool </type>
<default> 1 </default>
</can_edit>
<can_delete>
<type> bool </type>
<default> 1 </default>
</can_delete>
<can_link>
<type> bool </type>
<default> 1 </default>
</can_link>
<can_unlink>
<type> bool </type>
<default> 1 </default>
</can_unlink>
<access_to>
<type> complementary_ids </type>
<default>
<all_except>
</all_except>
</default>
</access_to>
</ctas>
<conversions>
<can_add>
<type> bool </type>
<default> 1 </default>
</can_add>
<can_edit>
<type> bool </type>
<default> 1 </default>
</can_edit>
<can_delete>
<type> bool </type>
<default> 1 </default>
</can_delete>
<can_link>
<type> bool </type>
<default> 1 </default>
</can_link>
<can_unlink>
<type> bool </type>
<default> 1 </default>
</can_unlink>
<access_to>
<type> complementary_ids </type>
<default>
<all_except>
</all_except>
</default>
</access_to>
</conversions>
<remarketings>
<can_add>
<type> bool </type>
<default> 1 </default>
</can_add>
<can_edit>
<type> bool </type>
<default> 1 </default>
</can_edit>
<can_delete>
<type> bool </type>
<default> 1 </default>
</can_delete>
<can_link>
<type> bool </type>
<default> 1 </default>
</can_link>
<can_unlink>
<type> bool </type>
<default> 1 </default>
</can_unlink>
<access_to>
<type> complementary_ids </type>
<default>
<all_except>
</all_except>
</default>
</access_to>
</remarketings>
<subusers>
<can_add>
<type> bool </type>
<default> 1 </default>
</can_add>
<can_edit>
<type> bool </type>
<default> 1 </default>
</can_edit>
<can_delete>
<type> bool </type>
<default> 1 </default>
</can_delete>
</subusers>
<apis>
<access_to>
<type> complementary_ids </type>
<default>
<all_except>
</all_except>
</default>
</access_to>
</apis>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/permissions/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_projects_can_add_type = bool
result_projects_can_add_default = 1
result_projects_can_edit_type = bool
result_projects_can_edit_default = 1
result_projects_can_delete_type = bool
result_projects_can_delete_default = 1
result_projects_access_to_default_type = bool
result_projects_access_to_default_default = 1
result_domains_can_add_type = bool
result_domains_can_add_default = 1
result_domains_can_edit_type = bool
result_domains_can_edit_default = 1
result_domains_can_delete_type = bool
result_domains_can_delete_default = 1
result_domains_access_to_type = complementary_ids
result_domains_access_to_default_all_except =
result_ctas_can_add_type = bool
result_ctas_can_add_default = 1
result_ctas_can_edit_type = bool
result_ctas_can_edit_default = 1
result_ctas_can_delete_type = bool
result_ctas_can_delete_default = 1
result_ctas_can_link_type = bool
result_ctas_can_link_default = 1
result_ctas_can_unlink_type = bool
result_ctas_can_unlink_default = 1
result_ctas_access_to_type = complementary_ids
result_ctas_access_to_default_all_except =
result_conversions_can_add_type = bool
result_conversions_can_add_default = 1
result_conversions_can_edit_type = bool
result_conversions_can_edit_default = 1
result_conversions_can_delete_type = bool
result_conversions_can_delete_default = 1
result_conversions_can_link_type = bool
result_conversions_can_link_default = 1
result_conversions_can_unlink_type = bool
result_conversions_can_unlink_default = 1
result_conversions_access_to_type = complementary_ids
result_conversions_access_to_default_all_except =
result_remarketings_can_add_type = bool
result_remarketings_can_add_default = 1
result_remarketings_can_edit_type = bool
result_remarketings_can_edit_default = 1
result_remarketings_can_delete_type = bool
result_remarketings_can_delete_default = 1
result_remarketings_can_link_type = bool
result_remarketings_can_link_default = 1
result_remarketings_can_unlink_type = bool
result_remarketings_can_unlink_default = 1
result_remarketings_access_to_type = complementary_ids
result_remarketings_access_to_default_all_except =
result_subusers_can_add_type = bool
result_subusers_can_add_default = 1
result_subusers_can_edit_type = bool
result_subusers_can_edit_default = 1
result_subusers_can_delete_type = bool
result_subusers_can_delete_default = 1
result_apis_access_to_type = complementary_ids
result_apis_access_to_default_all_except =
Example 4 (plain)
Request
https://joturl.com/a/i1/permissions/property?format=plain
Query parameters
format = plain
Response
bool
default:1
bool
default:1
bool
default:1
bool
default:1
bool
default:1
bool
default:1
bool
default:1
complementary_ids
bool
default:1
bool
default:1
bool
default:1
bool
default:1
bool
default:1
complementary_ids
bool
default:1
bool
default:1
bool
default:1
bool
default:1
bool
default:1
complementary_ids
bool
default:1
bool
default:1
bool
default:1
bool
default:1
bool
default:1
complementary_ids
bool
default:1
bool
default:1
bool
default:1
complementary_ids
Return values
parameter
description
data
object containing available access permissions and their descriptions
The data array is in the format context => info , where info contains:
type : type of access permission (see below for possible types) default : default value for the permission Available types : bool : boolean, possible values are 1 and 0 complementary_ids : complementary ID lists, it can contain 2 complementary lists: "all_except" and "none_except". In the "all_except" list, access is granted to all IDs except those in the list. In the "none_except" list, access is granted to all IDs except those in the list. Only one of the two lists can be defined. Each list can contain a maximum of 100 elements. WARNING : When the list is passed to a write endpoint it must contain only the IDs, whereas the all return lists contain an object (id, name). Available contexts and parameters projects Access rights for projects.
parameter type description default can_add bool 1 allows the user to create projects, 0 otherwise 1 can_edit bool 1 allows the user to edit projects, 0 otherwise 1 can_delete bool 1 allows the user to delete projects, 0 otherwise 1 access_to_default bool 1 allows the user to access the default project, 0 otherwise 1
domains Access rights for domains.
parameter type description default can_add bool 1 allows the user to add domains, 0 otherwise 1 can_edit bool 1 allows the user to edit domains, 0 otherwise 1 can_delete bool 1 allows the user to delete domains, 0 otherwise 1 access_to complementary_ids list of domains to which the user has access {"all_except":[]}
ctas Access rights for CTAs.
parameter type description default can_add bool 1 allows the user to add CTAs, 0 otherwise 1 can_edit bool 1 allows the user to edit CTAs, 0 otherwise 1 can_delete bool 1 allows the user to delete CTAs, 0 otherwise 1 can_link bool 1 allows the user to link CTAs to tracking links, 0 otherwise 1 can_unlink bool 1 allows the user to unlink CTAs from tracking links, 0 otherwise 1 access_to complementary_ids list of CTAs to which the user has access {"all_except":[]}
conversions Access rights for conversions.
parameter type description default can_add bool 1 allows the user to add conversions, 0 otherwise 1 can_edit bool 1 allows the user to edit conversions, 0 otherwise 1 can_delete bool 1 allows the user to delete conversions, 0 otherwise 1 can_link bool 1 allows the user to link conversion codes to tracking links, 0 otherwise 1 can_unlink bool 1 allows the user to unlink conversion codes from tracking links, 0 otherwise 1 access_to complementary_ids list of conversion codes to which the user has access {"all_except":[]}
remarketings Access rights for remarketing pixels.
parameter type description default can_add bool 1 allows the user to add pixels, 0 otherwise 1 can_edit bool 1 allows the user to edit pixels, 0 otherwise 1 can_delete bool 1 allows the user to delete pixels, 0 otherwise 1 can_link bool 1 allows the user to link remarketing pixels to tracking links, 0 otherwise 1 can_unlink bool 1 allows the user to unlink remarketing pixels from tracking links, 0 otherwise 1 access_to complementary_ids list of remarketing pixels to which the user has access {"all_except":[]}
subusers Access rights for subusers.
parameter type description default can_add bool 1 allows the user to add team members, 0 otherwise 1 can_edit bool 1 allows the user to edit team members, 0 otherwise 1 can_delete bool 1 allows the user to delete team members, 0 otherwise 1
apis Access rights for APIs.
parameter type description default access_to complementary_ids 1 allows the user to access API access (all versions), 0 otherwise {"all_except":[]}
/plans /plans/addresses /plans/addresses/add
access: [WRITE]
This method adds address information about the user.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/addresses/add?is_business=1&name=John+Smith&address=72+Sussex+St.&postal_code=21122&city=Pasadena&country_code=US&responsibility_check=2024-02-10+12%3A29%3A57
Query parameters
is_business = 1
name = John Smith
address = 72 Sussex St.
postal_code = 21122
city = Pasadena
country_code = US
responsibility_check = 2024-02-10 12:29:57
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/addresses/add?is_business=1&name=John+Smith&address=72+Sussex+St.&postal_code=21122&city=Pasadena&country_code=US&responsibility_check=2024-02-10+12%3A29%3A57&format=xml
Query parameters
is_business = 1
name = John Smith
address = 72 Sussex St.
postal_code = 21122
city = Pasadena
country_code = US
responsibility_check = 2024-02-10 12:29:57
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/addresses/add?is_business=1&name=John+Smith&address=72+Sussex+St.&postal_code=21122&city=Pasadena&country_code=US&responsibility_check=2024-02-10+12%3A29%3A57&format=txt
Query parameters
is_business = 1
name = John Smith
address = 72 Sussex St.
postal_code = 21122
city = Pasadena
country_code = US
responsibility_check = 2024-02-10 12:29:57
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/addresses/add?is_business=1&name=John+Smith&address=72+Sussex+St.&postal_code=21122&city=Pasadena&country_code=US&responsibility_check=2024-02-10+12%3A29%3A57&format=plain
Query parameters
is_business = 1
name = John Smith
address = 72 Sussex St.
postal_code = 21122
city = Pasadena
country_code = US
responsibility_check = 2024-02-10 12:29:57
format = plain
Response
1
Required parameters
parameter
description
max length
addressSTRING
billing address
255
citySTRING
billing city
255
country_codeSTRING
billing country code
2
is_businessBOOLEAN
1 for business accounts, 0 for private
nameSTRING
billing name
255
postal_codeSTRING
billing postal code
50
responsibility_checkDATE_TIME
date/time (UTC) in which the declaration of correctness of the address information was signed, the value passed is mandatory and must be a valid date/time, but it is always overwritten with the date/time of the call to this endpoint
Optional parameters
parameter
description
max length
cfSTRING
fiscal code for private Italian users
16
pecSTRING
certified email address for Italian users
255
provinceSTRING
province for Italian users, see i1/provinces/list for details
2
recipient_codeSTRING
recipient code for Italian users
15
vat_idSTRING
VAT ID for business users
50
Please note that vat_id , cf , pec , recipient_code , province could be mandatory, please refer to i1/plans/addresses/property for details.
Return values
parameter
description
added
1 on success, 0 otherwise
/plans/addresses/info
access: [READ]
This method returns address information about the user.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/addresses/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"is_business" : 1 ,
"name" : "John Smith" ,
"address" : "72 Sussex St." ,
"postal_code" : "21122" ,
"city" : "Pasadena" ,
"country_code" : "US" ,
"vat_treatment" : "EXTRA_EU_BUSINESS" ,
"vat_id" : "" ,
"cf" : "" ,
"pec" : "" ,
"recipient_code" : "" ,
"province" : "" ,
"responsibility_check" : "2024-02-10 12:29:57"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/addresses/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<is_business> 1 </is_business>
<name> John Smith </name>
<address> 72 Sussex St. </address>
<postal_code> 21122 </postal_code>
<city> Pasadena </city>
<country_code> US </country_code>
<vat_treatment> EXTRA_EU_BUSINESS </vat_treatment>
<vat_id> </vat_id>
<cf> </cf>
<pec> </pec>
<recipient_code> </recipient_code>
<province> </province>
<responsibility_check> 2024-02-10 12:29:57 </responsibility_check>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/addresses/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_is_business = 1
result_name = John Smith
result_address = 72 Sussex St.
result_postal_code = 21122
result_city = Pasadena
result_country_code = US
result_vat_treatment = EXTRA_EU_BUSINESS
result_vat_id =
result_cf =
result_pec =
result_recipient_code =
result_province =
result_responsibility_check = 2024-02-10 12:29:57
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/addresses/info?format=plain
Query parameters
format = plain
Response
1
John Smith
72 Sussex St.
21122
Pasadena
US
EXTRA_EU_BUSINESS
2024-02-10 12:29:57
Return values
parameter
description
address
billing address
cf
fiscal code for private Italian users
city
billing city
country_code
billing country code
is_business
1 for business accounts, 0 for private
name
billing name
pec
certified email address for private Italian users
postal_code
billing postal code
province
province for private Italian users
recipient_code
recipient code for private Italian users
responsibility_check
date/time (UTC) when the declaration of correctness of the address information was signed
vat_id
VAT ID for business users
vat_treatment
NA
/plans/addresses/locations /plans/addresses/locations/list
access: [READ]
This method returns a list of available countries/localities for the user's billing addresses.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/addresses/locations/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"locations" : [
{
"label" : "Afghanistan (افغانستان)" ,
"code" : "AF" ,
"other" : 0
} ,
{
"label" : "Aland Islands" ,
"code" : "AX" ,
"other" : 0
} ,
{
"label" : "Albania (Shqipëria)" ,
"code" : "AL" ,
"other" : 0
} ,
{
"label" : "Algeria (الجزائر)" ,
"code" : "DZ" ,
"other" : 0
} ,
{
"label" : "American Samoa" ,
"code" : "AS" ,
"other" : 0
} ,
{
"label" : "Andorra" ,
"code" : "AD" ,
"other" : 0
} ,
{
"label" : "Angola" ,
"code" : "AO" ,
"other" : 0
} ,
{
"label" : "Anguilla" ,
"code" : "AI" ,
"other" : 0
} ,
{
"label" : "Antarctica" ,
"code" : "AQ" ,
"other" : 0
} ,
{
"label" : "Antigua and Barbuda" ,
"code" : "AG" ,
"other" : 0
} ,
{
"label" : "Argentina" ,
"code" : "AR" ,
"other" : 0
} ,
{
"label" : "Armenia (Հայաստան)" ,
"code" : "AM" ,
"other" : 0
} ,
{
"label" : "Aruba" ,
"code" : "AW" ,
"other" : 0
} ,
{
"label" : "Australia" ,
"code" : "AU" ,
"other" : 0
} ,
{
"label" : "Austria (Österreich)" ,
"code" : "AT" ,
"other" : 0
} ,
{
"label" : "Azerbaijan (Azərbaycan)" ,
"code" : "AZ" ,
"other" : 0
} ,
{
"label" : "[....]" ,
"code" : ".." ,
"other" : 0
} ,
{
"label" : "Canary Islands" ,
"code" : "_C" ,
"other" : 1
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/addresses/locations/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<locations>
<i0>
<label> Afghanistan (افغانستان) </label>
<code> AF </code>
<other> 0 </other>
</i0>
<i1>
<label> Aland Islands </label>
<code> AX </code>
<other> 0 </other>
</i1>
<i2>
<label> Albania (Shqipëria) </label>
<code> AL </code>
<other> 0 </other>
</i2>
<i3>
<label> Algeria (الجزائر) </label>
<code> DZ </code>
<other> 0 </other>
</i3>
<i4>
<label> American Samoa </label>
<code> AS </code>
<other> 0 </other>
</i4>
<i5>
<label> Andorra </label>
<code> AD </code>
<other> 0 </other>
</i5>
<i6>
<label> Angola </label>
<code> AO </code>
<other> 0 </other>
</i6>
<i7>
<label> Anguilla </label>
<code> AI </code>
<other> 0 </other>
</i7>
<i8>
<label> Antarctica </label>
<code> AQ </code>
<other> 0 </other>
</i8>
<i9>
<label> Antigua and Barbuda </label>
<code> AG </code>
<other> 0 </other>
</i9>
<i10>
<label> Argentina </label>
<code> AR </code>
<other> 0 </other>
</i10>
<i11>
<label> Armenia (Հայաստան) </label>
<code> AM </code>
<other> 0 </other>
</i11>
<i12>
<label> Aruba </label>
<code> AW </code>
<other> 0 </other>
</i12>
<i13>
<label> Australia </label>
<code> AU </code>
<other> 0 </other>
</i13>
<i14>
<label> Austria (Österreich) </label>
<code> AT </code>
<other> 0 </other>
</i14>
<i15>
<label> Azerbaijan (Azərbaycan) </label>
<code> AZ </code>
<other> 0 </other>
</i15>
<i16>
<label> [....] </label>
<code> .. </code>
<other> 0 </other>
</i16>
<i17>
<label> Canary Islands </label>
<code> _C </code>
<other> 1 </other>
</i17>
</locations>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/addresses/locations/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_locations_0_label = Afghanistan (افغانستان)
result_locations_0_code = AF
result_locations_0_other = 0
result_locations_1_label = Aland Islands
result_locations_1_code = AX
result_locations_1_other = 0
result_locations_2_label = Albania (Shqipëria)
result_locations_2_code = AL
result_locations_2_other = 0
result_locations_3_label = Algeria (الجزائر)
result_locations_3_code = DZ
result_locations_3_other = 0
result_locations_4_label = American Samoa
result_locations_4_code = AS
result_locations_4_other = 0
result_locations_5_label = Andorra
result_locations_5_code = AD
result_locations_5_other = 0
result_locations_6_label = Angola
result_locations_6_code = AO
result_locations_6_other = 0
result_locations_7_label = Anguilla
result_locations_7_code = AI
result_locations_7_other = 0
result_locations_8_label = Antarctica
result_locations_8_code = AQ
result_locations_8_other = 0
result_locations_9_label = Antigua and Barbuda
result_locations_9_code = AG
result_locations_9_other = 0
result_locations_10_label = Argentina
result_locations_10_code = AR
result_locations_10_other = 0
result_locations_11_label = Armenia (Հայաստան)
result_locations_11_code = AM
result_locations_11_other = 0
result_locations_12_label = Aruba
result_locations_12_code = AW
result_locations_12_other = 0
result_locations_13_label = Australia
result_locations_13_code = AU
result_locations_13_other = 0
result_locations_14_label = Austria (Österreich)
result_locations_14_code = AT
result_locations_14_other = 0
result_locations_15_label = Azerbaijan (Azərbaycan)
result_locations_15_code = AZ
result_locations_15_other = 0
result_locations_16_label = [....]
result_locations_16_code = ..
result_locations_16_other = 0
result_locations_17_label = Canary Islands
result_locations_17_code = _C
result_locations_17_other = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/addresses/locations/list?format=plain
Query parameters
format = plain
Response
Afghanistan (افغانستان)
AF
0
Aland Islands
AX
0
Albania (Shqipëria)
AL
0
Algeria (الجزائر)
DZ
0
American Samoa
AS
0
Andorra
AD
0
Angola
AO
0
Anguilla
AI
0
Antarctica
AQ
0
Antigua and Barbuda
AG
0
Argentina
AR
0
Armenia (Հայաստան)
AM
0
Aruba
AW
0
Australia
AU
0
Austria (Österreich)
AT
0
Azerbaijan (Azərbaycan)
AZ
0
[....]
..
0
Canary Islands
_C
1
Return values
parameter
description
locations
list of available countries/locations
/plans/addresses/property
access: [READ]
This method returns requirements for the user info.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=US
Query parameters
is_business = 0
country_code = US
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"vat_treatment" : "EXTRA_EU_PRIVATE" ,
"vat_id" : {
"mandatory" : 0 ,
"show" : 0
} ,
"cf" : {
"mandatory" : 0 ,
"show" : 0
} ,
"pec" : {
"mandatory" : 0 ,
"show" : 0
} ,
"recipient_code" : {
"mandatory" : 0 ,
"show" : 0
} ,
"province" : {
"mandatory" : 0 ,
"show" : 0
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=US&format=xml
Query parameters
is_business = 0
country_code = US
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<vat_treatment> EXTRA_EU_PRIVATE </vat_treatment>
<vat_id>
<mandatory> 0 </mandatory>
<show> 0 </show>
</vat_id>
<cf>
<mandatory> 0 </mandatory>
<show> 0 </show>
</cf>
<pec>
<mandatory> 0 </mandatory>
<show> 0 </show>
</pec>
<recipient_code>
<mandatory> 0 </mandatory>
<show> 0 </show>
</recipient_code>
<province>
<mandatory> 0 </mandatory>
<show> 0 </show>
</province>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=US&format=txt
Query parameters
is_business = 0
country_code = US
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_vat_treatment = EXTRA_EU_PRIVATE
result_vat_id_mandatory = 0
result_vat_id_show = 0
result_cf_mandatory = 0
result_cf_show = 0
result_pec_mandatory = 0
result_pec_show = 0
result_recipient_code_mandatory = 0
result_recipient_code_show = 0
result_province_mandatory = 0
result_province_show = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=US&format=plain
Query parameters
is_business = 0
country_code = US
format = plain
Response
EXTRA_EU_PRIVATE
0
0
0
0
0
0
0
0
0
0
Example 5 (json)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=US
Query parameters
is_business = 1
country_code = US
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"vat_treatment" : "EXTRA_EU_BUSINESS" ,
"vat_id" : {
"mandatory" : 0 ,
"show" : 1
} ,
"cf" : {
"mandatory" : 0 ,
"show" : 0
} ,
"pec" : {
"mandatory" : 1 ,
"show" : 0
} ,
"recipient_code" : {
"mandatory" : 1 ,
"show" : 0
} ,
"province" : {
"mandatory" : 0 ,
"show" : 0
}
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=US&format=xml
Query parameters
is_business = 1
country_code = US
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<vat_treatment> EXTRA_EU_BUSINESS </vat_treatment>
<vat_id>
<mandatory> 0 </mandatory>
<show> 1 </show>
</vat_id>
<cf>
<mandatory> 0 </mandatory>
<show> 0 </show>
</cf>
<pec>
<mandatory> 1 </mandatory>
<show> 0 </show>
</pec>
<recipient_code>
<mandatory> 1 </mandatory>
<show> 0 </show>
</recipient_code>
<province>
<mandatory> 0 </mandatory>
<show> 0 </show>
</province>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=US&format=txt
Query parameters
is_business = 1
country_code = US
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_vat_treatment = EXTRA_EU_BUSINESS
result_vat_id_mandatory = 0
result_vat_id_show = 1
result_cf_mandatory = 0
result_cf_show = 0
result_pec_mandatory = 1
result_pec_show = 0
result_recipient_code_mandatory = 1
result_recipient_code_show = 0
result_province_mandatory = 0
result_province_show = 0
Example 8 (plain)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=US&format=plain
Query parameters
is_business = 1
country_code = US
format = plain
Response
EXTRA_EU_BUSINESS
0
1
0
0
1
0
1
0
0
0
Example 9 (json)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=IT
Query parameters
is_business = 0
country_code = IT
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"vat_treatment" : "ITALY_PRIVATE" ,
"vat_id" : {
"mandatory" : 0 ,
"show" : 0
} ,
"cf" : {
"mandatory" : 1 ,
"show" : 1
} ,
"pec" : {
"mandatory" : 0 ,
"show" : 1
} ,
"recipient_code" : {
"mandatory" : 0 ,
"show" : 0
} ,
"province" : {
"mandatory" : 1 ,
"show" : 1
}
}
}
Example 10 (xml)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=IT&format=xml
Query parameters
is_business = 0
country_code = IT
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<vat_treatment> ITALY_PRIVATE </vat_treatment>
<vat_id>
<mandatory> 0 </mandatory>
<show> 0 </show>
</vat_id>
<cf>
<mandatory> 1 </mandatory>
<show> 1 </show>
</cf>
<pec>
<mandatory> 0 </mandatory>
<show> 1 </show>
</pec>
<recipient_code>
<mandatory> 0 </mandatory>
<show> 0 </show>
</recipient_code>
<province>
<mandatory> 1 </mandatory>
<show> 1 </show>
</province>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=IT&format=txt
Query parameters
is_business = 0
country_code = IT
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_vat_treatment = ITALY_PRIVATE
result_vat_id_mandatory = 0
result_vat_id_show = 0
result_cf_mandatory = 1
result_cf_show = 1
result_pec_mandatory = 0
result_pec_show = 1
result_recipient_code_mandatory = 0
result_recipient_code_show = 0
result_province_mandatory = 1
result_province_show = 1
Example 12 (plain)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=0&country_code=IT&format=plain
Query parameters
is_business = 0
country_code = IT
format = plain
Response
ITALY_PRIVATE
0
0
1
1
0
1
0
0
1
1
Example 13 (json)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=IT
Query parameters
is_business = 1
country_code = IT
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"vat_treatment" : "ITALY_BUSINESS" ,
"vat_id" : {
"mandatory" : 1 ,
"show" : 1
} ,
"cf" : {
"mandatory" : 0 ,
"show" : 0
} ,
"pec" : {
"mandatory" : 1 ,
"show" : 1
} ,
"recipient_code" : {
"mandatory" : 1 ,
"show" : 1
} ,
"province" : {
"mandatory" : 1 ,
"show" : 1
}
}
}
Example 14 (xml)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=IT&format=xml
Query parameters
is_business = 1
country_code = IT
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<vat_treatment> ITALY_BUSINESS </vat_treatment>
<vat_id>
<mandatory> 1 </mandatory>
<show> 1 </show>
</vat_id>
<cf>
<mandatory> 0 </mandatory>
<show> 0 </show>
</cf>
<pec>
<mandatory> 1 </mandatory>
<show> 1 </show>
</pec>
<recipient_code>
<mandatory> 1 </mandatory>
<show> 1 </show>
</recipient_code>
<province>
<mandatory> 1 </mandatory>
<show> 1 </show>
</province>
</result>
</response>
Example 15 (txt)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=IT&format=txt
Query parameters
is_business = 1
country_code = IT
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_vat_treatment = ITALY_BUSINESS
result_vat_id_mandatory = 1
result_vat_id_show = 1
result_cf_mandatory = 0
result_cf_show = 0
result_pec_mandatory = 1
result_pec_show = 1
result_recipient_code_mandatory = 1
result_recipient_code_show = 1
result_province_mandatory = 1
result_province_show = 1
Example 16 (plain)
Request
https://joturl.com/a/i1/plans/addresses/property?is_business=1&country_code=IT&format=plain
Query parameters
is_business = 1
country_code = IT
format = plain
Response
ITALY_BUSINESS
1
1
0
0
1
1
1
1
1
1
Required parameters
parameter
description
max length
country_codeSTRING
code of the country of the user
2
is_businessBOOLEAN
1 for business users, 0 from private
Return values
parameter
description
cf
array containing mandatory
and show
pec
array containing mandatory
and show
province
array containing mandatory
and show
recipient_code
array containing mandatory
and show
vat_id
array containing mandatory
and show
vat_treatment
VAT threatment type, see i1/plans/vats/property for details
Paramters mandatory and show define requirements on vat_id , cf , pec , recipient_code and region :
mandatory=0
and show=0
: do not show the parameter, it is not required mandatory=0
and show=1
: show the parameter, but it is not required mandatory=1
and show=0
: this case is never emitted since a mandatory field must be shown mandatory=1
and show=1
: the parameter is required and have to be shown when vat_id is mandatory, one of the parameters pec and recipient_code must be passed.
/plans/coupons /plans/coupons/attach
access: [READ]
This method allows to attach a coupon to the current customer.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/coupons/attach?coupon=53c6d0b3bbacb48fad2e887a39a37947
Query parameters
coupon = 53c6d0b3bbacb48fad2e887a39a37947
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"attached" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/coupons/attach?coupon=53c6d0b3bbacb48fad2e887a39a37947&format=xml
Query parameters
coupon = 53c6d0b3bbacb48fad2e887a39a37947
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<attached> 1 </attached>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/coupons/attach?coupon=53c6d0b3bbacb48fad2e887a39a37947&format=txt
Query parameters
coupon = 53c6d0b3bbacb48fad2e887a39a37947
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_attached = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/coupons/attach?coupon=53c6d0b3bbacb48fad2e887a39a37947&format=plain
Query parameters
coupon = 53c6d0b3bbacb48fad2e887a39a37947
format = plain
Response
1
Required parameters
parameter
description
couponSTRING
The coupon code to be attached
Optional parameters
parameter
description
detach_existingBOOLEAN
1 to detach any coupons already present (default: 0)
Return values
parameter
description
attached
1 on success, an error is emitted otherwise
/plans/coupons/check
access: [READ]
This method checks the validity of a coupon.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/coupons/check?coupon=fc22e566fafffd53abe343b803aef7e5&amount=100
Query parameters
coupon = fc22e566fafffd53abe343b803aef7e5
amount = 100
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"valid" : 1 ,
"description" : "Test coupon for PayPal" ,
"params" : {
"expiration" : "2024-12-31T13:13:00+01:00" ,
"en" : "Test coupon for PayPal" ,
"it" : "Coupon di prova per PayPal" ,
"plan" : "pro, business" ,
"charge_amount" : "12" ,
"public_plan" : "Pro, Business"
} ,
"amount" : 100 ,
"amount1" : 0 ,
"discounted" : 0 ,
"discounted1" : 0 ,
"is_100p_discount" : 1 ,
"charge_amount" : 12 ,
"charge_amount_formatted" : "12.00 €" ,
"paypal" : {
"env" : "production" ,
"client" : {
"production" : "f564dd3d88d8d1a2a31cd7a4fc2053a3-e86c7237883b1dbf905f812eff80fed7"
}
} ,
"discounted_formatted" : "0.00" ,
"discounted1_formatted" : "0.00"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/coupons/check?coupon=fc22e566fafffd53abe343b803aef7e5&amount=100&format=xml
Query parameters
coupon = fc22e566fafffd53abe343b803aef7e5
amount = 100
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<valid> 1 </valid>
<description> Test coupon for PayPal </description>
<params>
<expiration> 2024-12-31T13:13:00+01:00 </expiration>
<en> Test coupon for PayPal </en>
<it> Coupon di prova per PayPal </it>
<plan> pro, business </plan>
<charge_amount> 12 </charge_amount>
<public_plan> Pro, Business </public_plan>
</params>
<amount> 100 </amount>
<amount1> 0 </amount1>
<discounted> 0 </discounted>
<discounted1> 0 </discounted1>
<is_100p_discount> 1 </is_100p_discount>
<charge_amount> 12 </charge_amount>
<charge_amount_formatted> 12.00 € </charge_amount_formatted>
<paypal>
<env> production </env>
<client>
<production> f564dd3d88d8d1a2a31cd7a4fc2053a3-e86c7237883b1dbf905f812eff80fed7 </production>
</client>
</paypal>
<discounted_formatted> 0.00 </discounted_formatted>
<discounted1_formatted> 0.00 </discounted1_formatted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/coupons/check?coupon=fc22e566fafffd53abe343b803aef7e5&amount=100&format=txt
Query parameters
coupon = fc22e566fafffd53abe343b803aef7e5
amount = 100
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_valid = 1
result_description = Test coupon for PayPal
result_params_expiration = 2024-12-31T13:13:00+01:00
result_params_en = Test coupon for PayPal
result_params_it = Coupon di prova per PayPal
result_params_plan = pro, business
result_params_charge_amount = 12
result_params_public_plan = Pro, Business
result_amount = 100
result_amount1 = 0
result_discounted = 0
result_discounted1 = 0
result_is_100p_discount = 1
result_charge_amount = 12
result_charge_amount_formatted = 12.00 €
result_paypal_env = production
result_paypal_client_production = f564dd3d88d8d1a2a31cd7a4fc2053a3-e86c7237883b1dbf905f812eff80fed7
result_discounted_formatted = 0.00
result_discounted1_formatted = 0.00
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/coupons/check?coupon=fc22e566fafffd53abe343b803aef7e5&amount=100&format=plain
Query parameters
coupon = fc22e566fafffd53abe343b803aef7e5
amount = 100
format = plain
Response
1
Test coupon for PayPal
2024-12-31T13:13:00+01:00
Test coupon for PayPal
Coupon di prova per PayPal
pro, business
12
Pro, Business
100
0
0
0
1
12
12.00 €
production
f564dd3d88d8d1a2a31cd7a4fc2053a3-e86c7237883b1dbf905f812eff80fed7
0.00
0.00
Required parameters
parameter
description
couponSTRING
Coupon code. This can be a comma separated list of coupons for stackable coupons.
Optional parameters
parameter
description
amountSTRING
if this parameter is passed, the method returns the amount requested after applying the coupon
amount1STRING
if this parameter is passed, the method returns the amount requested after applying the coupon
Return values
parameter
description
amount
echo back of the input parameter amount
amount1
echo back of the input parameter amount1
charge_amount
[OPTIONAL] returned only if the coupon requires an immediate charge
charge_amount_formatted
[OPTIONAL] formatted version of charge_amount
description
description of the coupon if available, empty otherwise
discounted
the amount requested after applying the coupon to parameter amount
discounted1
the amount requested after applying the coupon to parameter amount1
discounted1_formatted
formatted version of discounted1
discounted_formatted
formatted version of discounted
is_100p_discount
1 if the coupon applies a 100% discount, 0 otherwise
params
array containing extended parameters for the coupon
paypal
[OPTIONAL] array containing information on the PayPal client to be used to precess payments, please see PayPal API documentation for details
valid
1 if the coupon is valid, 0 otherwise
/plans/customers /plans/customers/add
access: [WRITE]
This method creates a customer on the payment gateaway.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/customers/add
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/customers/add?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/customers/add?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/customers/add?format=plain
Query parameters
format = plain
Response
1
Return values
parameter
description
added
1 on success, 0 otherwise
/plans/customers/balance_transactions
access: [READ]
This method returns the list of balance transactions for the current customer. Transactions are returned in reverse order (most recent first).
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/customers/balance_transactions
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/customers/balance_transactions?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/customers/balance_transactions?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/customers/balance_transactions?format=plain
Query parameters
format = plain
Response
1
Optional parameters
parameter
description
startingSTRING
it is an ID (returned in data
) that defines the point in the list from which to extract transactions, to be used in pagination
Return values
parameter
description
data
list of transactions
Available fields in data
:
id : ID of the transaction, to be used with the starting
paramenter, amount : the amount of the transaction, a negative value is a credit for the balance, and a positive value is a debit to the balance, currency : three-letter ISO currency code , in lowercase, balance : the balance after the transaction was applied, a negative value decreases the amount due on the next invoice, a positive value increases the amount due on next invoice, created : date/time at which the transaction was created (UTC), type : transaction type. Available transaction types:
adjustment : an explicitly created adjustment transaction to debit or credit the credit balance, invoice : traces the application of credit against a payment, credit_note : traces the creation of credit to a payment, unspent : a corresponding credit transaction is created if unspent funds aren't fully charged after 60 days, when this happens, other : unspecified transaction, initial : the starting value of the balance.
/plans/customers/info
access: [READ]
This method returns payment information about the user.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/customers/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "da434b2b2607573a5bd2d4af8eef14d9" ,
"created" : "2018-08-07T20:33:07+02:00" ,
"updated" : "2018-08-07T20:33:07+02:00" ,
"payments" : [
{
"token" : "4a59665054756344466d636f44346e6c326c5a646e376c2f61444e37425867414e5241516e45387238627a6e7a52754661705071684b544c6a396d67462f4876" ,
"country" : "US" ,
"created" : "2018-12-06T23:31:24+01:00" ,
"updated" : "2018-12-06T23:31:24+01:00" ,
"default" : 1 ,
"image" : "" ,
"subscriptions" : 0 ,
"brand" : "Visa" ,
"type" : "visa" ,
"last4" : "4242" ,
"expiration" : {
"month" : 4 ,
"year" : 2024
}
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/customers/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> da434b2b2607573a5bd2d4af8eef14d9 </id>
<created> 2018-08-07T20:33:07+02:00 </created>
<updated> 2018-08-07T20:33:07+02:00 </updated>
<payments>
<i0>
<token> 4a59665054756344466d636f44346e6c326c5a646e376c2f61444e37425867414e5241516e45387238627a6e7a52754661705071684b544c6a396d67462f4876 </token>
<country> US </country>
<created> 2018-12-06T23:31:24+01:00 </created>
<updated> 2018-12-06T23:31:24+01:00 </updated>
<default> 1 </default>
<image> </image>
<subscriptions> 0 </subscriptions>
<brand> Visa </brand>
<type> visa </type>
<last4> 4242 </last4>
<expiration>
<month> 4 </month>
<year> 2024 </year>
</expiration>
</i0>
</payments>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/customers/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = da434b2b2607573a5bd2d4af8eef14d9
result_created = 2018-08-07T20:33:07+02:00
result_updated = 2018-08-07T20:33:07+02:00
result_payments_0_token = 4a59665054756344466d636f44346e6c326c5a646e376c2f61444e37425867414e5241516e45387238627a6e7a52754661705071684b544c6a396d67462f4876
result_payments_0_country = US
result_payments_0_created = 2018-12-06T23:31:24+01:00
result_payments_0_updated = 2018-12-06T23:31:24+01:00
result_payments_0_default = 1
result_payments_0_image =
result_payments_0_subscriptions = 0
result_payments_0_brand = Visa
result_payments_0_type = visa
result_payments_0_last4 = 4242
result_payments_0_expiration_month = 4
result_payments_0_expiration_year = 2024
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/customers/info?format=plain
Query parameters
format = plain
Response
da434b2b2607573a5bd2d4af8eef14d9
2018-08-07T20:33:07+02:00
2018-08-07T20:33:07+02:00
4a59665054756344466d636f44346e6c326c5a646e376c2f61444e37425867414e5241516e45387238627a6e7a52754661705071684b544c6a396d67462f4876
US
2018-12-06T23:31:24+01:00
2018-12-06T23:31:24+01:00
default:1
0
Visa
visa
4242
4
2024
Return values
parameter
description
created
date on which the customer was created
id
customer ID on the payment gateway
payments
object containing payment information
updated
date on which the customer was updated
/plans/info
access: [READ]
This method returns information about the user's plan.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/info
Response
{
"id" : "d7db95df5ea8a554f211edeab7e704de" ,
"name" : "business" ,
"annually_cost" : 135 ,
"monthly_cost" : 169 ,
"events_per_month" : 500000 ,
"tracking_links" : 100000 ,
"stats_permanency_days" : 730 ,
"max_users" : 30 ,
"max_permissions" : 6 ,
"max_brands" : 70 ,
"has_smart_balancer" : 1 ,
"has_split_testing" : 1 ,
"has_smart_redirector" : 1 ,
"max_qrcode_templates" : 100 ,
"max_projects" : "" ,
"has_conversions" : 1 ,
"has_timed_urls" : 1 ,
"force_brand_on_ctas" : 0 ,
"has_watchdog_ping" : 1 ,
"has_watchdog_advanced" : 1 ,
"number_of_ctas" : "" ,
"max_banners" : "" ,
"custom_domains" : 30 ,
"email_support" : 1 ,
"priority_email_support" : 1 ,
"has_security_monitor" : 1 ,
"has_cfm" : 1 ,
"has_custom_aliases" : 1 ,
"has_masking" : 1 ,
"has_jotbar" : 1 ,
"has_custom_logo_in_reports" : 1 ,
"has_custom_css_cta" : 1 ,
"has_setup_assistance_and_training" : 0 ,
"has_custom_invoicing" : 0 ,
"has_enterprise_sla" : 0 ,
"has_customizations_and_integrations" : 0 ,
"has_digital_marketing_advice" : 0 ,
"has_minipages" : 1 ,
"has_deeplinks" : 1 ,
"has_easydeeplinks" : 1 ,
"has_preview" : 1 ,
"public_name" : "Business" ,
"has_utm_builder" : 1 ,
"max_utm_templates" : 30 ,
"has_remarketing" : "" ,
"has_whatsapp" : 1 ,
"has_instaurl" : 0 ,
"has_selfdestruction" : 0 ,
"is_monthly" : 1 ,
"status" : "green" ,
"trial_left_days" : 30 ,
"events" : "" ,
"is_monitored" : 1 ,
"email_sent" : 0 ,
"subscription_status" : "ACTIVE" ,
"subscription_creation" : "2018-08-13T23:16:14+02:00" ,
"subscription_next_billing_date" : "2018-12-27T11:58:57+01:00" ,
"subscription_billing_end_date" : "2018-12-27T11:58:57+01:00" ,
"subscription_never_expires" : 1 ,
"subscription_trial_period" : 0 ,
"subscription_first_billing_date" : "2018-12-27T11:58:57+01:00" ,
"subscription_balance" : 0 ,
"max_gdpr_templates" : 10 ,
"has_gdpr_custom_consent" : 1 ,
"max_media" : 100000 ,
"max_media_size" : 10000000 ,
"cdnbytes_per_month" : 100000000000 ,
"api_rate_limits" : {
"primary" : {
"limit" : 500 ,
"unit" : "HOUR"
} ,
"secondary" : {
"limit" : 50000 ,
"unit" : "DAY"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<id> d7db95df5ea8a554f211edeab7e704de </id>
<name> business </name>
<annually_cost> 135 </annually_cost>
<monthly_cost> 169 </monthly_cost>
<events_per_month> 500000 </events_per_month>
<tracking_links> 100000 </tracking_links>
<stats_permanency_days> 730 </stats_permanency_days>
<max_users> 30 </max_users>
<max_permissions> 6 </max_permissions>
<max_brands> 70 </max_brands>
<has_smart_balancer> 1 </has_smart_balancer>
<has_split_testing> 1 </has_split_testing>
<has_smart_redirector> 1 </has_smart_redirector>
<max_qrcode_templates> 100 </max_qrcode_templates>
<max_projects> </max_projects>
<has_conversions> 1 </has_conversions>
<has_timed_urls> 1 </has_timed_urls>
<force_brand_on_ctas> 0 </force_brand_on_ctas>
<has_watchdog_ping> 1 </has_watchdog_ping>
<has_watchdog_advanced> 1 </has_watchdog_advanced>
<number_of_ctas> </number_of_ctas>
<max_banners> </max_banners>
<custom_domains> 30 </custom_domains>
<email_support> 1 </email_support>
<priority_email_support> 1 </priority_email_support>
<has_security_monitor> 1 </has_security_monitor>
<has_cfm> 1 </has_cfm>
<has_custom_aliases> 1 </has_custom_aliases>
<has_masking> 1 </has_masking>
<has_jotbar> 1 </has_jotbar>
<has_custom_logo_in_reports> 1 </has_custom_logo_in_reports>
<has_custom_css_cta> 1 </has_custom_css_cta>
<has_setup_assistance_and_training> 0 </has_setup_assistance_and_training>
<has_custom_invoicing> 0 </has_custom_invoicing>
<has_enterprise_sla> 0 </has_enterprise_sla>
<has_customizations_and_integrations> 0 </has_customizations_and_integrations>
<has_digital_marketing_advice> 0 </has_digital_marketing_advice>
<has_minipages> 1 </has_minipages>
<has_deeplinks> 1 </has_deeplinks>
<has_easydeeplinks> 1 </has_easydeeplinks>
<has_preview> 1 </has_preview>
<public_name> Business </public_name>
<has_utm_builder> 1 </has_utm_builder>
<max_utm_templates> 30 </max_utm_templates>
<has_remarketing> </has_remarketing>
<has_whatsapp> 1 </has_whatsapp>
<has_instaurl> 0 </has_instaurl>
<has_selfdestruction> 0 </has_selfdestruction>
<is_monthly> 1 </is_monthly>
<status> green </status>
<trial_left_days> 30 </trial_left_days>
<events> </events>
<is_monitored> 1 </is_monitored>
<email_sent> 0 </email_sent>
<subscription_status> ACTIVE </subscription_status>
<subscription_creation> 2018-08-13T23:16:14+02:00 </subscription_creation>
<subscription_next_billing_date> 2018-12-27T11:58:57+01:00 </subscription_next_billing_date>
<subscription_billing_end_date> 2018-12-27T11:58:57+01:00 </subscription_billing_end_date>
<subscription_never_expires> 1 </subscription_never_expires>
<subscription_trial_period> 0 </subscription_trial_period>
<subscription_first_billing_date> 2018-12-27T11:58:57+01:00 </subscription_first_billing_date>
<subscription_balance> 0 </subscription_balance>
<max_gdpr_templates> 10 </max_gdpr_templates>
<has_gdpr_custom_consent> 1 </has_gdpr_custom_consent>
<max_media> 100000 </max_media>
<max_media_size> 10000000 </max_media_size>
<cdnbytes_per_month> 100000000000 </cdnbytes_per_month>
<api_rate_limits>
<primary>
<limit> 500 </limit>
<unit> HOUR </unit>
</primary>
<secondary>
<limit> 50000 </limit>
<unit> DAY </unit>
</secondary>
</api_rate_limits>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/info?format=txt
Query parameters
format = txt
Response
id = d7db95df5ea8a554f211edeab7e704de
name = business
annually_cost = 135
monthly_cost = 169
events_per_month = 500000
tracking_links = 100000
stats_permanency_days = 730
max_users = 30
max_permissions = 6
max_brands = 70
has_smart_balancer = 1
has_split_testing = 1
has_smart_redirector = 1
max_qrcode_templates = 100
max_projects =
has_conversions = 1
has_timed_urls = 1
force_brand_on_ctas = 0
has_watchdog_ping = 1
has_watchdog_advanced = 1
number_of_ctas =
max_banners =
custom_domains = 30
email_support = 1
priority_email_support = 1
has_security_monitor = 1
has_cfm = 1
has_custom_aliases = 1
has_masking = 1
has_jotbar = 1
has_custom_logo_in_reports = 1
has_custom_css_cta = 1
has_setup_assistance_and_training = 0
has_custom_invoicing = 0
has_enterprise_sla = 0
has_customizations_and_integrations = 0
has_digital_marketing_advice = 0
has_minipages = 1
has_deeplinks = 1
has_easydeeplinks = 1
has_preview = 1
public_name = Business
has_utm_builder = 1
max_utm_templates = 30
has_remarketing =
has_whatsapp = 1
has_instaurl = 0
has_selfdestruction = 0
is_monthly = 1
status = green
trial_left_days = 30
events =
is_monitored = 1
email_sent = 0
subscription_status = ACTIVE
subscription_creation = 2018-08-13T23:16:14+02:00
subscription_next_billing_date = 2018-12-27T11:58:57+01:00
subscription_billing_end_date = 2018-12-27T11:58:57+01:00
subscription_never_expires = 1
subscription_trial_period = 0
subscription_first_billing_date = 2018-12-27T11:58:57+01:00
subscription_balance = 0
max_gdpr_templates = 10
has_gdpr_custom_consent = 1
max_media = 100000
max_media_size = 10000000
cdnbytes_per_month = 100000000000
api_rate_limits_primary_limit = 500
api_rate_limits_primary_unit = HOUR
api_rate_limits_secondary_limit = 50000
api_rate_limits_secondary_unit = DAY
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/info?format=plain
Query parameters
format = plain
Response
d7db95df5ea8a554f211edeab7e704de
business
135
169
500000
100000
730
30
6
70
1
1
1
100
1
1
0
1
1
30
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
Business
1
30
1
0
0
1
green
30
1
0
ACTIVE
2018-08-13T23:16:14+02:00
2018-12-27T11:58:57+01:00
2018-12-27T11:58:57+01:00
1
0
2018-12-27T11:58:57+01:00
0
10
1
100000
10000000
100000000000
500
HOUR
50000
DAY
Return values
parameter
description
annually_cost
cost if paid annually
api_rate_limits
API rate limits, see i1/apis/limits for details
cdnbytes_per_month
available CDN bytes per month
custom_domains
maximum number of custom domains
email_sent
if an email was sent after a change of status, in any case emails are sent with a frequency of no less than 72 hours
email_support
1 if email support is available, 0 otherwise
events
events used in the last 30 days
events_per_month
available events per month
force_brand_on_ctas
1 if the JotUrl brand is forced to be shown on CTAs, 0 otherwise
has_cfm
1 if click fraud protection is available, 0 otherwise
has_conversions
1 if conversions are available, 0 otherwise
has_custom_aliases
1 if custom aliases are available, 0 otherwise
has_custom_css_cta
1 if custom CSS on CTAs is available, 0 otherwise
has_custom_invoicing
1 if custom invoicing is available, 0 otherwise
has_custom_logo_in_reports
1 if custom logo in reports is available, 0 otherwise
has_customizations_and_integrations
1 if customizations and integrations is available, 0 otherwise
has_deeplinks
1 if deep links are available, 0 otherwise
has_digital_marketing_advice
1 if digital marketing advice is available, 0 otherwise
has_easydeeplinks
1 if the option easy deep links is available, 0 otherwise
has_enterprise_sla
1 if enterprise SLA is available, 0 otherwise
has_gdpr_custom_consent
1 if GDPR consent can be customized, 0 otherwise
has_instaurl
1 if JotBio (InstaUrl) is available, 0 otherwise
has_jotbar
1 if JotBar is available, 0 otherwise
has_masking
1 if masking is available, 0 otherwise
has_minipages
1 if minipages are available, 0 otherwise
has_preview
1 if link preview edit (Open Graph tags) is available, 0 otherwise
has_remarketing
number of available remarketing pixels, empty means "unlimited", 0 means no remarketing pixels available
has_security_monitor
1 if security monitor is available, 0 otherwise
has_selfdestruction
1 if the self destruction option is available, 0 otherwise
has_setup_assistance_and_training
1 if setup assistance and training is available, 0 otherwise
has_smart_balancer
1 if smart balanger is available, 0 otherwise
has_smart_redirector
1 if smart redirector is available, 0 otherwise
has_split_testing
1 if split testing is available, 0 otherwise
has_timed_urls
1 if timed urls is available, 0 otherwise
has_utm_builder
1 if UTM builder is available, 0 otherwise
has_watchdog_advanced
1 if advanced Watchdog is available, 0 otherwise
has_watchdog_ping
1 if basic Watchdog is available, 0 otherwise
has_whatsapp
1 if WhatsUrl is available, 0 otherwise
id
ID of the subscribed profile
is_monitored
1 if the user profile is automatically monitored, 0 otherwise
is_monthly
1 billing is made monthly, 0 for annually billing
max_brands
maximum number of brands
max_gdpr_templates
maximum available GDPR templates
max_media
maximum number of media in the media library
max_media_size
maximum size of the the media library (in bytes)
max_permissions
maximum number of permissions for your team members
max_qrcode_templates
maximum number of QR-Code templates
max_users
maximum number of users (including the admin user)
max_utm_templates
maximum number of UTM templates
monthly_cost
cost per month if paid monthly
name
name of the profile
priority_email_support
1 if priority email support is available, 0 otherwise
public_name
user-friendly name of the profile
stats_permanency_days
analytics are stored for this number of days
status
status for the user, it can be: green
if the user is using less than 80% of the available events, yellow
if the user is using between the 80% (included) and 110% (excluded) of the available events, red
if the user is using between the 110% (included) and 150% (excluded) of the available events, black
if the user is using more than the 150% (included) of the available events or if the user is continuosly in the red
status for at least 144 hours
subscription_balance
[OPTIONAL] any remaining credit that will be used for future payments, available only for monitored and paid profile
subscription_billing_end_date
[OPTIONAL] end of the current period that the subscription has been invoiced for; at the end of this period, a new invoice will be created, available only for monitored and paid profile
subscription_creation
[OPTIONAL] time at which the subscription was created, available only for monitored and paid profile
subscription_first_billing_date
[OPTIONAL] date at which a new invoice will be generated for the subscription (for trialing subscriptions), available only for monitored and paid profile
subscription_never_expires
[OPTIONAL] 0 if the subscription is scheduled to be canceled at the end of the current billing period, 1 otherwise, available only for monitored and paid profile
subscription_next_billing_date
[OPTIONAL] date at which a new invoice will be generated for the subscription, available only for monitored and paid profile
subscription_status
[subscription status, it can be one of [TRIALING, INCOMPLETE, INCOMPLETE_EXPIRED, ACTIVE, PAST_DUE, CANCELED, UNPAID]
subscription_trial_period
[OPTIONAL] 1 if the subscription is in its trial period, 0 otherwise, available only for monitored and paid profile
tracking_links
maximum number of tracking links
trial_left_days
available maximum trial days for the user
/plans/invoices /plans/invoices/count
access: [READ]
This method returns the number of invoices issued to the logged user.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/invoices/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 51
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/invoices/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 51 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/invoices/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 51
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/invoices/count?format=plain
Query parameters
format = plain
Response
51
Optional parameters
parameter
description
is_credit_noteSTRING
count only credit notes
searchSTRING
filters invoices to be extracted by searching them
vat_treatmentSTRING
filter invoices by VAT treatment
yearINTEGER
filter invoices by year
Return values
parameter
description
count
the total number of invoices issued to the logged user
/plans/invoices/get
access: [READ]
This method returns an invoice for the logged user.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/invoices/get?id=4c849818eccb891bd9dc8d4f208f84c0&pdf=1
Query parameters
id = 4c849818eccb891bd9dc8d4f208f84c0
pdf = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "10C-CC/2019" ,
"pdf" : "[PDF]"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/invoices/get?id=4c849818eccb891bd9dc8d4f208f84c0&pdf=1&format=xml
Query parameters
id = 4c849818eccb891bd9dc8d4f208f84c0
pdf = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 10C-CC/2019 </id>
<pdf> [PDF] </pdf>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/invoices/get?id=4c849818eccb891bd9dc8d4f208f84c0&pdf=1&format=txt
Query parameters
id = 4c849818eccb891bd9dc8d4f208f84c0
pdf = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 10C-CC/2019
result_pdf = [PDF]
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/invoices/get?id=4c849818eccb891bd9dc8d4f208f84c0&pdf=1&format=plain
Query parameters
id = 4c849818eccb891bd9dc8d4f208f84c0
pdf = 1
format = plain
Response
10C-CC/2019
[PDF]
Required parameters
parameter
description
idID
internal ID of the invoice
Optional parameters
parameter
description
pdfBOOLEAN
1 to generate a PDF (returned as binary string), 0 to generate the corresponding HTML (default value: 0)
Return values
parameter
description
html
HTML for the invoice if pdf = 0
id
ID of the invoice
pdf
PDF for the invoice if pdf = 1
/plans/invoices/list
access: [READ]
This method returns a list of invoices associated to the user.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/invoices/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"id" : "9802fe749bccf091682221dc69c989c2" ,
"profile_id" : "af83bc95d0eda05251c70f903901e2f5" ,
"profile_name" : "planname" ,
"public_name" : "Plan Name" ,
"amount" : "9.00" ,
"created" : "2019-06-20 08:57:21" ,
"invoice_datetime" : "2019-06-20 09:57:38" ,
"billing_period_start" : "2019-06-20 08:57:21" ,
"billing_period_end" : "2019-07-20 08:57:21" ,
"vat_treatment" : "INTRA_EU_BUSINESS" ,
"year" : 2019 ,
"sequence" : 11 ,
"address" : {
"is_business" : 1 ,
"name" : "Company name" ,
"address_address" : "Company address" ,
"postal_code" : "DH8 6ZL" ,
"city" : "MEDOMSLEY" ,
"country_code" : "UK" ,
"vat_id" : "2380238238E123" ,
"cf" : "" ,
"pec" : "" ,
"recipient_code" : ""
} ,
"promo_code" : "" ,
"promo_amount" : "" ,
"invoice_template" : "" ,
"invoice_description" : "" ,
"refund_amount" : "" ,
"refund_invoice_id" : "" ,
"refund_vat_treatment" : "" ,
"refund_year" : "" ,
"refund_sequence" : "" ,
"refund_datetime" : "" ,
"invoice_id" : "11B-EU/2019" ,
"is_credit_note" : 0
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/invoices/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<id> 9802fe749bccf091682221dc69c989c2 </id>
<profile_id> af83bc95d0eda05251c70f903901e2f5 </profile_id>
<profile_name> planname </profile_name>
<public_name> Plan Name </public_name>
<amount> 9.00 </amount>
<created> 2019-06-20 08:57:21 </created>
<invoice_datetime> 2019-06-20 09:57:38 </invoice_datetime>
<billing_period_start> 2019-06-20 08:57:21 </billing_period_start>
<billing_period_end> 2019-07-20 08:57:21 </billing_period_end>
<vat_treatment> INTRA_EU_BUSINESS </vat_treatment>
<year> 2019 </year>
<sequence> 11 </sequence>
<address>
<is_business> 1 </is_business>
<name> Company name </name>
<address_address> Company address </address_address>
<postal_code> DH8 6ZL </postal_code>
<city> MEDOMSLEY </city>
<country_code> UK </country_code>
<vat_id> 2380238238E123 </vat_id>
<cf> </cf>
<pec> </pec>
<recipient_code> </recipient_code>
</address>
<promo_code> </promo_code>
<promo_amount> </promo_amount>
<invoice_template> </invoice_template>
<invoice_description> </invoice_description>
<refund_amount> </refund_amount>
<refund_invoice_id> </refund_invoice_id>
<refund_vat_treatment> </refund_vat_treatment>
<refund_year> </refund_year>
<refund_sequence> </refund_sequence>
<refund_datetime> </refund_datetime>
<invoice_id> 11B-EU/2019 </invoice_id>
<is_credit_note> 0 </is_credit_note>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/invoices/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_id = 9802fe749bccf091682221dc69c989c2
result_data_0_profile_id = af83bc95d0eda05251c70f903901e2f5
result_data_0_profile_name = planname
result_data_0_public_name = Plan Name
result_data_0_amount = 9.00
result_data_0_created = 2019-06-20 08:57:21
result_data_0_invoice_datetime = 2019-06-20 09:57:38
result_data_0_billing_period_start = 2019-06-20 08:57:21
result_data_0_billing_period_end = 2019-07-20 08:57:21
result_data_0_vat_treatment = INTRA_EU_BUSINESS
result_data_0_year = 2019
result_data_0_sequence = 11
result_data_0_address_is_business = 1
result_data_0_address_name = Company name
result_data_0_address_address_address = Company address
result_data_0_address_postal_code = DH8 6ZL
result_data_0_address_city = MEDOMSLEY
result_data_0_address_country_code = UK
result_data_0_address_vat_id = 2380238238E123
result_data_0_address_cf =
result_data_0_address_pec =
result_data_0_address_recipient_code =
result_data_0_promo_code =
result_data_0_promo_amount =
result_data_0_invoice_template =
result_data_0_invoice_description =
result_data_0_refund_amount =
result_data_0_refund_invoice_id =
result_data_0_refund_vat_treatment =
result_data_0_refund_year =
result_data_0_refund_sequence =
result_data_0_refund_datetime =
result_data_0_invoice_id = 11B-EU/2019
result_data_0_is_credit_note = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/invoices/list?format=plain
Query parameters
format = plain
Response
1
9802fe749bccf091682221dc69c989c2
af83bc95d0eda05251c70f903901e2f5
planname
Plan Name
9.00
2019-06-20 08:57:21
2019-06-20 09:57:38
2019-06-20 08:57:21
2019-07-20 08:57:21
INTRA_EU_BUSINESS
2019
11
1
Company name
Company address
DH8 6ZL
MEDOMSLEY
UK
2380238238E123
11B-EU/2019
0
Optional parameters
parameter
description
idID
filter invoice by ID
is_credit_noteSTRING
show only credit notes
lengthINTEGER
extracts this number of invoices (maxmimum allowed: 100)
searchSTRING
filters invoices to be extracted by searching them
startINTEGER
starts to extract invoices from this position
vat_treatmentSTRING
filter invoices by VAT treatment
yearINTEGER
filter invoices by year
Return values
parameter
description
count
[OPTIONAL] the total number of invoices available for the user, only returned if id is not passed
data
next
[OPTIONAL] the URL to call to retrieve the next page of invoices when they are paged, returned only if at least one more invoice is available
Please note that our engine could return a lower number of invoices than specified by the length parameter if the extraction time exceeds a specific threshold.
Returned data contains the following fields:
id : internal ID of the invoice profile_id : profile ID associated with the invoice profile_name : profile name associated with the invoice public_name : profile user-friendly name associated with the invoice amount : amount of the invoice created : date/time at which the invoice was created by the payment gateway invoice_datetime : date/time at which the invoice was generated (may be different from created) billing_period_start : start of the current period that the subscription has been invoiced for billing_period_end : end of the current period that the subscription has been invoiced for, at the end of this period, a new invoice will be created vat_treatment : VAT treatment applied to the invoice year : year when the invoice was issued sequence : unique sequential number that identifies the invoice, this number is unique within the same VAT treatment address : array containing billing information of the customer promo_code : promo code applied to the invoice (optional) promo_amount : discount amount applied to the invoice (optional) invoice_template : template for the invoice (optional) invoice_description : description for the invoice (optional) refund_amount : refund amonut, only available is the invoice is a refund (optional) refund_invoice_id : the credit note was generated against the invoice with this internal ID (optional) invoice_id : ID of the invoice is_credit_note : 1 if the item is a credit note refund_vat_treatment : VAT treatment applied to the invoice that was refunded refund_year : year of the invoice that was refunded refund_sequence : unique sequential number that identifies the invoice that was refunded refund_datetime : date of the invoice that was refunded Available VAT treatments:
ITALY_PRIVATE : applied to Italian private customers ITALY_BUSINESS : applied to Italian business customers INTRA_EU_PRIVATE : applied to private customers in the EU INTRA_EU_BUSINESS : applied to business customers in the EU EXTRA_EU_PRIVATE : applied to all private customers outside the EU EXTRA_EU_BUSINESS : applied to all business customers outside the EU Field address is an array containing:
is_business : 1 if it is business customer, 0 otherwise name : name address_address : address postal_code : postal code city : city country_code : ISO 3166-1 alpha-2 country code vat_id : VAT id cf : fiscal code (only for Italian customers) pec : certified email (only for Italian customers) recipient_code : recipient code (only for Italian customers) province : province (only for Italian customers)
/plans/invoices/next
access: [READ]
This method returns the next upcoming invoice for the logged user and, if available, information about discounts that will applied.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/invoices/next
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"upcoming_amount_due" : 9 ,
"upcoming_invoice_date" : "2024-03-10 12:29:57"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/invoices/next?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<upcoming_amount_due> 9 </upcoming_amount_due>
<upcoming_invoice_date> 2024-03-10 12:29:57 </upcoming_invoice_date>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/invoices/next?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_upcoming_amount_due = 9
result_upcoming_invoice_date = 2024-03-10 12:29:57
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/invoices/next?format=plain
Query parameters
format = plain
Response
9
2024-03-10 12:29:57
Return values
parameter
description
coupon_amount_off
discount amout that will applied to the invoice, if available
coupon_description
description for the coupon, if available
coupon_end
the date/time that the coupon will end, if available
coupon_id
coupon code that will applied to the invoice, if available
coupon_percent_off
percentage discount that will applied to the invoice, if available
coupon_start
date/time that the coupon was applied, if available
scheduled_amount_due
the amount of the next scheduled invoice (in case of a recent payment waiting to be completed)
scheduled_invoice_date
the date/time at which the scheduled invoice will be issued
upcoming_amount_due
the amount of the upcoming invoice
upcoming_invoice_date
the date/time at which the invoice will be issued
/plans/list
access: [READ]
This method returns a list of available plans for the current user.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
{
"id" : "7df4809475045b92dde0431c2d9e2314" ,
"is_preferred" : 0 ,
"name" : "free" ,
"reference_name" : "" ,
"annually_cost" : 0 ,
"monthly_cost" : 0 ,
"events_per_month" : 1000 ,
"tracking_links" : 200 ,
"stats_permanency_days" : 30 ,
"max_users" : 1 ,
"max_brands" : 1 ,
"has_smart_balancer" : 0 ,
"has_split_testing" : 0 ,
"has_smart_redirector" : 0 ,
"max_qrcode_templates" : 1 ,
"max_projects" : 5 ,
"has_conversions" : 0 ,
"has_timed_urls" : 0 ,
"force_brand_on_ctas" : 1 ,
"has_watchdog_ping" : 1 ,
"has_watchdog_advanced" : 0 ,
"number_of_ctas" : "" ,
"max_banners" : 0 ,
"custom_domains" : 0 ,
"email_support" : 1 ,
"priority_email_support" : 0 ,
"has_security_monitor" : 0 ,
"has_cfm" : 0 ,
"has_custom_aliases" : 1 ,
"has_masking" : 0 ,
"has_jotbar" : 0 ,
"has_custom_logo_in_reports" : 0 ,
"has_custom_css_cta" : 0 ,
"has_setup_assistance_and_training" : 0 ,
"has_custom_invoicing" : 0 ,
"has_enterprise_sla" : 0 ,
"has_customizations_and_integrations" : 0 ,
"has_digital_marketing_advice" : 0 ,
"trial_days" : 0 ,
"has_minipages" : 0 ,
"has_deeplinks" : 0 ,
"has_easydeeplinks" : 0 ,
"has_preview" : 0 ,
"public_name" : "Free" ,
"has_utm_builder" : 0 ,
"has_remarketing" : 1 ,
"has_whatsapp" : 0 ,
"has_instaurl" : 0 ,
"has_selfdestruction" : 0 ,
"user_profile" : 0 ,
"reserved_for_user" : 0 ,
"max_media" : 0 ,
"max_media_size" : 0 ,
"cdnbytes_per_month" : 0
} ,
{
"id" : "388bc4dc991acca6da433cfa7394947b" ,
"is_preferred" : 0 ,
"name" : "growth" ,
"reference_name" : "" ,
"annually_cost" : 7 ,
"monthly_cost" : 9 ,
"events_per_month" : 5000 ,
"tracking_links" : 2000 ,
"stats_permanency_days" : 365 ,
"max_users" : 3 ,
"max_brands" : 5 ,
"has_smart_balancer" : 1 ,
"has_split_testing" : 1 ,
"has_smart_redirector" : 1 ,
"max_qrcode_templates" : 10 ,
"max_projects" : "" ,
"has_conversions" : 1 ,
"has_timed_urls" : 1 ,
"force_brand_on_ctas" : 0 ,
"has_watchdog_ping" : 1 ,
"has_watchdog_advanced" : 0 ,
"number_of_ctas" : "" ,
"max_banners" : "" ,
"custom_domains" : 3 ,
"email_support" : 1 ,
"priority_email_support" : 0 ,
"has_security_monitor" : 1 ,
"has_cfm" : 1 ,
"has_custom_aliases" : 1 ,
"has_masking" : 1 ,
"has_jotbar" : 1 ,
"has_custom_logo_in_reports" : 0 ,
"has_custom_css_cta" : 0 ,
"has_setup_assistance_and_training" : 0 ,
"has_custom_invoicing" : 0 ,
"has_enterprise_sla" : 0 ,
"has_customizations_and_integrations" : 0 ,
"has_digital_marketing_advice" : 0 ,
"trial_days" : 14 ,
"has_minipages" : 1 ,
"has_deeplinks" : 1 ,
"has_easydeeplinks" : 1 ,
"has_preview" : 1 ,
"public_name" : "Growth" ,
"has_utm_builder" : 1 ,
"has_remarketing" : 5 ,
"has_whatsapp" : 1 ,
"has_instaurl" : 0 ,
"has_selfdestruction" : 0 ,
"user_profile" : 0 ,
"reserved_for_user" : 0 ,
"max_media" : 100000 ,
"max_media_size" : 10000000 ,
"cdnbytes_per_month" : 100000000000
}
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0>
<id> 7df4809475045b92dde0431c2d9e2314 </id>
<is_preferred> 0 </is_preferred>
<name> free </name>
<reference_name> </reference_name>
<annually_cost> 0 </annually_cost>
<monthly_cost> 0 </monthly_cost>
<events_per_month> 1000 </events_per_month>
<tracking_links> 200 </tracking_links>
<stats_permanency_days> 30 </stats_permanency_days>
<max_users> 1 </max_users>
<max_brands> 1 </max_brands>
<has_smart_balancer> 0 </has_smart_balancer>
<has_split_testing> 0 </has_split_testing>
<has_smart_redirector> 0 </has_smart_redirector>
<max_qrcode_templates> 1 </max_qrcode_templates>
<max_projects> 5 </max_projects>
<has_conversions> 0 </has_conversions>
<has_timed_urls> 0 </has_timed_urls>
<force_brand_on_ctas> 1 </force_brand_on_ctas>
<has_watchdog_ping> 1 </has_watchdog_ping>
<has_watchdog_advanced> 0 </has_watchdog_advanced>
<number_of_ctas> </number_of_ctas>
<max_banners> 0 </max_banners>
<custom_domains> 0 </custom_domains>
<email_support> 1 </email_support>
<priority_email_support> 0 </priority_email_support>
<has_security_monitor> 0 </has_security_monitor>
<has_cfm> 0 </has_cfm>
<has_custom_aliases> 1 </has_custom_aliases>
<has_masking> 0 </has_masking>
<has_jotbar> 0 </has_jotbar>
<has_custom_logo_in_reports> 0 </has_custom_logo_in_reports>
<has_custom_css_cta> 0 </has_custom_css_cta>
<has_setup_assistance_and_training> 0 </has_setup_assistance_and_training>
<has_custom_invoicing> 0 </has_custom_invoicing>
<has_enterprise_sla> 0 </has_enterprise_sla>
<has_customizations_and_integrations> 0 </has_customizations_and_integrations>
<has_digital_marketing_advice> 0 </has_digital_marketing_advice>
<trial_days> 0 </trial_days>
<has_minipages> 0 </has_minipages>
<has_deeplinks> 0 </has_deeplinks>
<has_easydeeplinks> 0 </has_easydeeplinks>
<has_preview> 0 </has_preview>
<public_name> Free </public_name>
<has_utm_builder> 0 </has_utm_builder>
<has_remarketing> 1 </has_remarketing>
<has_whatsapp> 0 </has_whatsapp>
<has_instaurl> 0 </has_instaurl>
<has_selfdestruction> 0 </has_selfdestruction>
<user_profile> 0 </user_profile>
<reserved_for_user> 0 </reserved_for_user>
<max_media> 0 </max_media>
<max_media_size> 0 </max_media_size>
<cdnbytes_per_month> 0 </cdnbytes_per_month>
</i0>
<i1>
<id> 388bc4dc991acca6da433cfa7394947b </id>
<is_preferred> 0 </is_preferred>
<name> growth </name>
<reference_name> </reference_name>
<annually_cost> 7 </annually_cost>
<monthly_cost> 9 </monthly_cost>
<events_per_month> 5000 </events_per_month>
<tracking_links> 2000 </tracking_links>
<stats_permanency_days> 365 </stats_permanency_days>
<max_users> 3 </max_users>
<max_brands> 5 </max_brands>
<has_smart_balancer> 1 </has_smart_balancer>
<has_split_testing> 1 </has_split_testing>
<has_smart_redirector> 1 </has_smart_redirector>
<max_qrcode_templates> 10 </max_qrcode_templates>
<max_projects> </max_projects>
<has_conversions> 1 </has_conversions>
<has_timed_urls> 1 </has_timed_urls>
<force_brand_on_ctas> 0 </force_brand_on_ctas>
<has_watchdog_ping> 1 </has_watchdog_ping>
<has_watchdog_advanced> 0 </has_watchdog_advanced>
<number_of_ctas> </number_of_ctas>
<max_banners> </max_banners>
<custom_domains> 3 </custom_domains>
<email_support> 1 </email_support>
<priority_email_support> 0 </priority_email_support>
<has_security_monitor> 1 </has_security_monitor>
<has_cfm> 1 </has_cfm>
<has_custom_aliases> 1 </has_custom_aliases>
<has_masking> 1 </has_masking>
<has_jotbar> 1 </has_jotbar>
<has_custom_logo_in_reports> 0 </has_custom_logo_in_reports>
<has_custom_css_cta> 0 </has_custom_css_cta>
<has_setup_assistance_and_training> 0 </has_setup_assistance_and_training>
<has_custom_invoicing> 0 </has_custom_invoicing>
<has_enterprise_sla> 0 </has_enterprise_sla>
<has_customizations_and_integrations> 0 </has_customizations_and_integrations>
<has_digital_marketing_advice> 0 </has_digital_marketing_advice>
<trial_days> 14 </trial_days>
<has_minipages> 1 </has_minipages>
<has_deeplinks> 1 </has_deeplinks>
<has_easydeeplinks> 1 </has_easydeeplinks>
<has_preview> 1 </has_preview>
<public_name> Growth </public_name>
<has_utm_builder> 1 </has_utm_builder>
<has_remarketing> 5 </has_remarketing>
<has_whatsapp> 1 </has_whatsapp>
<has_instaurl> 0 </has_instaurl>
<has_selfdestruction> 0 </has_selfdestruction>
<user_profile> 0 </user_profile>
<reserved_for_user> 0 </reserved_for_user>
<max_media> 100000 </max_media>
<max_media_size> 10000000 </max_media_size>
<cdnbytes_per_month> 100000000000 </cdnbytes_per_month>
</i1>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0_id = 7df4809475045b92dde0431c2d9e2314
result_0_is_preferred = 0
result_0_name = free
result_0_reference_name =
result_0_annually_cost = 0
result_0_monthly_cost = 0
result_0_events_per_month = 1000
result_0_tracking_links = 200
result_0_stats_permanency_days = 30
result_0_max_users = 1
result_0_max_brands = 1
result_0_has_smart_balancer = 0
result_0_has_split_testing = 0
result_0_has_smart_redirector = 0
result_0_max_qrcode_templates = 1
result_0_max_projects = 5
result_0_has_conversions = 0
result_0_has_timed_urls = 0
result_0_force_brand_on_ctas = 1
result_0_has_watchdog_ping = 1
result_0_has_watchdog_advanced = 0
result_0_number_of_ctas =
result_0_max_banners = 0
result_0_custom_domains = 0
result_0_email_support = 1
result_0_priority_email_support = 0
result_0_has_security_monitor = 0
result_0_has_cfm = 0
result_0_has_custom_aliases = 1
result_0_has_masking = 0
result_0_has_jotbar = 0
result_0_has_custom_logo_in_reports = 0
result_0_has_custom_css_cta = 0
result_0_has_setup_assistance_and_training = 0
result_0_has_custom_invoicing = 0
result_0_has_enterprise_sla = 0
result_0_has_customizations_and_integrations = 0
result_0_has_digital_marketing_advice = 0
result_0_trial_days = 0
result_0_has_minipages = 0
result_0_has_deeplinks = 0
result_0_has_easydeeplinks = 0
result_0_has_preview = 0
result_0_public_name = Free
result_0_has_utm_builder = 0
result_0_has_remarketing = 1
result_0_has_whatsapp = 0
result_0_has_instaurl = 0
result_0_has_selfdestruction = 0
result_0_user_profile = 0
result_0_reserved_for_user = 0
result_0_max_media = 0
result_0_max_media_size = 0
result_0_cdnbytes_per_month = 0
result_1_id = 388bc4dc991acca6da433cfa7394947b
result_1_is_preferred = 0
result_1_name = growth
result_1_reference_name =
result_1_annually_cost = 7
result_1_monthly_cost = 9
result_1_events_per_month = 5000
result_1_tracking_links = 2000
result_1_stats_permanency_days = 365
result_1_max_users = 3
result_1_max_brands = 5
result_1_has_smart_balancer = 1
result_1_has_split_testing = 1
result_1_has_smart_redirector = 1
result_1_max_qrcode_templates = 10
result_1_max_projects =
result_1_has_conversions = 1
result_1_has_timed_urls = 1
result_1_force_brand_on_ctas = 0
result_1_has_watchdog_ping = 1
result_1_has_watchdog_advanced = 0
result_1_number_of_ctas =
result_1_max_banners =
result_1_custom_domains = 3
result_1_email_support = 1
result_1_priority_email_support = 0
result_1_has_security_monitor = 1
result_1_has_cfm = 1
result_1_has_custom_aliases = 1
result_1_has_masking = 1
result_1_has_jotbar = 1
result_1_has_custom_logo_in_reports = 0
result_1_has_custom_css_cta = 0
result_1_has_setup_assistance_and_training = 0
result_1_has_custom_invoicing = 0
result_1_has_enterprise_sla = 0
result_1_has_customizations_and_integrations = 0
result_1_has_digital_marketing_advice = 0
result_1_trial_days = 14
result_1_has_minipages = 1
result_1_has_deeplinks = 1
result_1_has_easydeeplinks = 1
result_1_has_preview = 1
result_1_public_name = Growth
result_1_has_utm_builder = 1
result_1_has_remarketing = 5
result_1_has_whatsapp = 1
result_1_has_instaurl = 0
result_1_has_selfdestruction = 0
result_1_user_profile = 0
result_1_reserved_for_user = 0
result_1_max_media = 100000
result_1_max_media_size = 10000000
result_1_cdnbytes_per_month = 100000000000
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/list?format=plain
Query parameters
format = plain
Response
7df4809475045b92dde0431c2d9e2314
0
free
0
0
1000
200
30
1
1
0
0
0
1
5
0
0
1
1
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Free
0
1
0
0
0
0
0
0
0
0
388bc4dc991acca6da433cfa7394947b
0
growth
7
9
5000
2000
365
3
5
1
1
1
10
1
1
0
1
0
3
1
0
1
1
1
1
1
0
0
0
0
0
0
0
14
1
1
1
1
Growth
1
5
1
0
0
0
0
100000
10000000
100000000000
Optional parameters
parameter
description
max length
idID
filter by using the plan ID
is_preferredBOOLEAN
1 to return preferred plan(s)
nameSTRING
filter by using the plan name
150
public_nameSTRING
filter by using the plan user-friendly name
150
Parameters id , name and public_name are mutually exclusive.
Return values
parameter
description
data
list of available plans for the current user
/plans/payments /plans/payments/add
access: [WRITE]
This method add a payment method.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/payments/add?nonce=96f0d33ac32c99e618ffd6d2c390a7ed
Query parameters
nonce = 96f0d33ac32c99e618ffd6d2c390a7ed
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/payments/add?nonce=96f0d33ac32c99e618ffd6d2c390a7ed&format=xml
Query parameters
nonce = 96f0d33ac32c99e618ffd6d2c390a7ed
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/payments/add?nonce=96f0d33ac32c99e618ffd6d2c390a7ed&format=txt
Query parameters
nonce = 96f0d33ac32c99e618ffd6d2c390a7ed
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/payments/add?nonce=96f0d33ac32c99e618ffd6d2c390a7ed&format=plain
Query parameters
nonce = 96f0d33ac32c99e618ffd6d2c390a7ed
format = plain
Response
1
Required parameters
parameter
description
nonceSTRING
nonce that identifies the payment method, it comes from the payment gateway API
Optional parameters
parameter
description
forceBOOLEAN
force the attachment of the payment method
Return values
parameter
description
added
1 on success, 0 otherwise
/plans/payments/authorization
access: [READ]
This method returns an authorization code for the payment gateway.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/payments/authorization
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"secret" : "2aa269898c967089b3281d5ea729c263" ,
"authorization" : "6c7f5101b1f47ded2f7fc4bd43811341"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/payments/authorization?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<secret> 2aa269898c967089b3281d5ea729c263 </secret>
<authorization> 6c7f5101b1f47ded2f7fc4bd43811341 </authorization>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/payments/authorization?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_secret = 2aa269898c967089b3281d5ea729c263
result_authorization = 6c7f5101b1f47ded2f7fc4bd43811341
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/payments/authorization?format=plain
Query parameters
format = plain
Response
2aa269898c967089b3281d5ea729c263
6c7f5101b1f47ded2f7fc4bd43811341
Return values
parameter
description
authorization
public API key of the payment gateway
secret
secret key for the Strong Customer Authentication (SCA)
/plans/payments/default
access: [WRITE]
This method make a payment method the default one.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/payments/default?token=a398ab17fd1f14ff3bc50639adc9d0be
Query parameters
token = a398ab17fd1f14ff3bc50639adc9d0be
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"default" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/payments/default?token=a398ab17fd1f14ff3bc50639adc9d0be&format=xml
Query parameters
token = a398ab17fd1f14ff3bc50639adc9d0be
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<default> 1 </default>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/payments/default?token=a398ab17fd1f14ff3bc50639adc9d0be&format=txt
Query parameters
token = a398ab17fd1f14ff3bc50639adc9d0be
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_default = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/payments/default?token=a398ab17fd1f14ff3bc50639adc9d0be&format=plain
Query parameters
token = a398ab17fd1f14ff3bc50639adc9d0be
format = plain
Response
default:1
Required parameters
parameter
description
tokenSTRING
token that uniquely identifies the payment method
Return values
parameter
description
default
1 on success, 0 otherwise
/plans/payments/delete
access: [WRITE]
This method deletes a payment method.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/payments/delete?token=f4f13685db05fb4665acd633aaf19be8
Query parameters
token = f4f13685db05fb4665acd633aaf19be8
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/payments/delete?token=f4f13685db05fb4665acd633aaf19be8&format=xml
Query parameters
token = f4f13685db05fb4665acd633aaf19be8
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/payments/delete?token=f4f13685db05fb4665acd633aaf19be8&format=txt
Query parameters
token = f4f13685db05fb4665acd633aaf19be8
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/payments/delete?token=f4f13685db05fb4665acd633aaf19be8&format=plain
Query parameters
token = f4f13685db05fb4665acd633aaf19be8
format = plain
Response
1
Required parameters
parameter
description
tokenSTRING
token that uniquely identifies the payment method
Return values
parameter
description
deleted
1 on success, 0 otherwise
/plans/payments/paypals /plans/payments/paypals/check
access: [WRITE]
This method checks a PayPal payment.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/payments/paypals/check?id=e113b8a874f4e18bfbb56b4f2b9fbcc8
Query parameters
id = e113b8a874f4e18bfbb56b4f2b9fbcc8
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "e113b8a874f4e18bfbb56b4f2b9fbcc8" ,
"valid" : 1 ,
"total" : 12.34 ,
"currency" : "EUR" ,
"email" : "this.is.your.email@pay.pal.com" ,
"transaction_id" : "8a44f3fcaa0ce21f5d"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/payments/paypals/check?id=e113b8a874f4e18bfbb56b4f2b9fbcc8&format=xml
Query parameters
id = e113b8a874f4e18bfbb56b4f2b9fbcc8
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> e113b8a874f4e18bfbb56b4f2b9fbcc8 </id>
<valid> 1 </valid>
<total> 12.34 </total>
<currency> EUR </currency>
<email> this.is.your.email@pay.pal.com </email>
<transaction_id> 8a44f3fcaa0ce21f5d </transaction_id>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/payments/paypals/check?id=e113b8a874f4e18bfbb56b4f2b9fbcc8&format=txt
Query parameters
id = e113b8a874f4e18bfbb56b4f2b9fbcc8
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = e113b8a874f4e18bfbb56b4f2b9fbcc8
result_valid = 1
result_total = 12.34
result_currency = EUR
result_email = this.is.your.email@pay.pal.com
result_transaction_id = 8a44f3fcaa0ce21f5d
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/payments/paypals/check?id=e113b8a874f4e18bfbb56b4f2b9fbcc8&format=plain
Query parameters
id = e113b8a874f4e18bfbb56b4f2b9fbcc8
format = plain
Response
e113b8a874f4e18bfbb56b4f2b9fbcc8
1
12.34
EUR
this.is.your.email@pay.pal.com
8a44f3fcaa0ce21f5d
Required parameters
parameter
description
idSTRING
ID of the PayPal payment to check
Return values
/plans/subscriptions /plans/subscriptions/delete
access: [WRITE]
This method cancels the plan (main) subscription associated with the current user.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/subscriptions/delete
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"canceled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/subscriptions/delete?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<canceled> 1 </canceled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/subscriptions/delete?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_canceled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/subscriptions/delete?format=plain
Query parameters
format = plain
Response
1
Return values
parameter
description
canceled
1 on success (i.e., the subscription was canceled), 0 otherwise
/plans/subscriptions/estimate
access: [READ]
This method returns an estimate of the upcoming invoice for the logged user and, if available, information about discounts that will applied.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/subscriptions/estimate?start_datetime=2024-03-10+12%3A29%3A57
Query parameters
start_datetime = 2024-03-10 12:29:57
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"estimate_amount_due" : 9 ,
"estimate_invoice_date" : "2024-03-10 12:29:57" ,
"estimate_coupon" : "" ,
"estimate_balance" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/subscriptions/estimate?start_datetime=2024-03-10+12%3A29%3A57&format=xml
Query parameters
start_datetime = 2024-03-10 12:29:57
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<estimate_amount_due> 9 </estimate_amount_due>
<estimate_invoice_date> 2024-03-10 12:29:57 </estimate_invoice_date>
<estimate_coupon> </estimate_coupon>
<estimate_balance> 0 </estimate_balance>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/subscriptions/estimate?start_datetime=2024-03-10+12%3A29%3A57&format=txt
Query parameters
start_datetime = 2024-03-10 12:29:57
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_estimate_amount_due = 9
result_estimate_invoice_date = 2024-03-10 12:29:57
result_estimate_coupon =
result_estimate_balance = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/subscriptions/estimate?start_datetime=2024-03-10+12%3A29%3A57&format=plain
Query parameters
start_datetime = 2024-03-10 12:29:57
format = plain
Response
9
2024-03-10 12:29:57
0
Required parameters
parameter
description
idID
ID of the plan to switch to in the estimate
periodSTRING
the subscription billing period to be used in the estimate, it can be monthly
or annually
Optional parameters
parameter
description
couponSTRING
coupon ID to be applied to calculate the estimate
start_datetimeDATE_TIME
the estimate will be calculated as though the update was done at the specified date/time, if not specified, it will be equal to 3 minutes from the request
Return values
parameter
description
estimate_amount_due
the amount of the estimate
estimate_balance
estimate user balance after the plan switch (negative means a credit, positive a debit)
estimate_coupon
coupon code applied to the estimate, if available
estimate_invoice_date
the date/time at which the estimate was calculated
/plans/subscriptions/info
access: [READ]
This method returns information about the user's subscription.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/subscriptions/info
Response
{
"status" : "ACTIVE" ,
"balance" : 0 ,
"createdAt" : "2018-08-13T23:16:14+02:00" ,
"updatedAt" : "2018-08-13T23:16:14+02:00" ,
"nextBillingDate" : "2018-12-27T11:58:57+01:00" ,
"firstBillingDate" : "2018-12-27T11:58:57+01:00" ,
"billingPeriodEndDate" : "2018-12-27T11:58:57+01:00" ,
"trialPeriod" : 0 ,
"neverExpires" : 1
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/subscriptions/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status> ACTIVE </status>
<balance> 0 </balance>
<createdAt> 2018-08-13T23:16:14+02:00 </createdAt>
<updatedAt> 2018-08-13T23:16:14+02:00 </updatedAt>
<nextBillingDate> 2018-12-27T11:58:57+01:00 </nextBillingDate>
<firstBillingDate> 2018-12-27T11:58:57+01:00 </firstBillingDate>
<billingPeriodEndDate> 2018-12-27T11:58:57+01:00 </billingPeriodEndDate>
<trialPeriod> 0 </trialPeriod>
<neverExpires> 1 </neverExpires>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/subscriptions/info?format=txt
Query parameters
format = txt
Response
status = ACTIVE
balance = 0
createdAt = 2018-08-13T23:16:14+02:00
updatedAt = 2018-08-13T23:16:14+02:00
nextBillingDate = 2018-12-27T11:58:57+01:00
firstBillingDate = 2018-12-27T11:58:57+01:00
billingPeriodEndDate = 2018-12-27T11:58:57+01:00
trialPeriod = 0
neverExpires = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/subscriptions/info?format=plain
Query parameters
format = plain
Response
ACTIVE
0
2018-08-13T23:16:14+02:00
2018-08-13T23:16:14+02:00
2018-12-27T11:58:57+01:00
2018-12-27T11:58:57+01:00
2018-12-27T11:58:57+01:00
0
1
Optional parameters
parameter
description
idSTRING
NA
Return values
parameter
description
balance
any remaining credit that will be used for future payments
billingPeriodEndDate
end of the current period that the subscription has been invoiced for; at the end of this period, a new invoice will be created
createdAt
time at which the subscription was created
firstBillingDate
date at which a new invoice will be generated for the subscription (for trialing subscriptions)
neverExpires
0 if the subscription is scheduled to be canceled at the end of the current billing period, 1 otherwise
nextBillingDate
date at which a new invoice will be generated for the subscription
status
subscription status, see notes for details
trialPeriod
1 if the subscription is in its trial period, 0 otherwise
updatedAt
time at which the subscription was updated
Available statuses
TRIALING : the subscription is currently in a trial period INCOMPLETE : the payment method requires additional steps, such as authentication, in order to complete the payment process INCOMPLETE_EXPIRED : an incomplete subscription has to be resolved within a 23-hour expiration window, if the 23-hour window passes, the subscription transitions to this status ACTIVE : the subscription is active PAST_DUE : the latest payment renewal has failed but will be retried CANCELED : the subscription has been canceled UNPAID : all payment attempts have failed, no other attempts will be made
/plans/subscriptions/set
access: [WRITE]
This method sets the primary subscription (plan) for the current user.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/subscriptions/set?paypal=0&nonce=45084e131f1d7881dba6327c750c1710&type=buy&period=monthly&id=11b12606a44741168053f5fa941bb40b&coupon=1ECA41AC6BE7EC2EB01EB686B6FBC3B1
Query parameters
paypal = 0
nonce = 45084e131f1d7881dba6327c750c1710
type = buy
period = monthly
id = 11b12606a44741168053f5fa941bb40b
coupon = 1ECA41AC6BE7EC2EB01EB686B6FBC3B1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1 ,
"nonce" : "80f6230fe8ce2e38d713e54ff0b61993df19be49b4f64f9556c9c610b15eb42b" ,
"ref" : "bcda56fe320942a15d995787b3d8aa7a933d9d457154cd1db5b980aec5b182afdbba790a747ec62ffdbf89ff9cae13f6"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/subscriptions/set?paypal=0&nonce=45084e131f1d7881dba6327c750c1710&type=buy&period=monthly&id=11b12606a44741168053f5fa941bb40b&coupon=1ECA41AC6BE7EC2EB01EB686B6FBC3B1&format=xml
Query parameters
paypal = 0
nonce = 45084e131f1d7881dba6327c750c1710
type = buy
period = monthly
id = 11b12606a44741168053f5fa941bb40b
coupon = 1ECA41AC6BE7EC2EB01EB686B6FBC3B1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
<nonce> 80f6230fe8ce2e38d713e54ff0b61993df19be49b4f64f9556c9c610b15eb42b </nonce>
<ref> bcda56fe320942a15d995787b3d8aa7a933d9d457154cd1db5b980aec5b182afdbba790a747ec62ffdbf89ff9cae13f6 </ref>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/subscriptions/set?paypal=0&nonce=45084e131f1d7881dba6327c750c1710&type=buy&period=monthly&id=11b12606a44741168053f5fa941bb40b&coupon=1ECA41AC6BE7EC2EB01EB686B6FBC3B1&format=txt
Query parameters
paypal = 0
nonce = 45084e131f1d7881dba6327c750c1710
type = buy
period = monthly
id = 11b12606a44741168053f5fa941bb40b
coupon = 1ECA41AC6BE7EC2EB01EB686B6FBC3B1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
result_nonce = 80f6230fe8ce2e38d713e54ff0b61993df19be49b4f64f9556c9c610b15eb42b
result_ref = bcda56fe320942a15d995787b3d8aa7a933d9d457154cd1db5b980aec5b182afdbba790a747ec62ffdbf89ff9cae13f6
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/subscriptions/set?paypal=0&nonce=45084e131f1d7881dba6327c750c1710&type=buy&period=monthly&id=11b12606a44741168053f5fa941bb40b&coupon=1ECA41AC6BE7EC2EB01EB686B6FBC3B1&format=plain
Query parameters
paypal = 0
nonce = 45084e131f1d7881dba6327c750c1710
type = buy
period = monthly
id = 11b12606a44741168053f5fa941bb40b
coupon = 1ECA41AC6BE7EC2EB01EB686B6FBC3B1
format = plain
Response
1
80f6230fe8ce2e38d713e54ff0b61993df19be49b4f64f9556c9c610b15eb42b
bcda56fe320942a15d995787b3d8aa7a933d9d457154cd1db5b980aec5b182afdbba790a747ec62ffdbf89ff9cae13f6
Required parameters
parameter
description
idID
ID of the plan to subscribe to
periodSTRING
the subscription billing period, it can be monthly
or annually
typeSTRING
it can be try
if you want to activate a trial period or buy
if you want to buy a subscriptionn
Optional parameters
parameter
description
couponSTRING
coupon ID to be applied to the subscription
nonceSTRING
a unique disposable identifier used to identify the payment methods, this parameter is mandatory if a coupon code with 100% discount is not specified
paypalBOOLEAN
1 if PayPal was used to pay the subscription, 0 otherwise
Return values
parameter
description
added
1 if the subscription has been activated, 0 otherwise
nonce
unique identifier to be used where requested
ref
unique reference for the transaction to be used where requested
/plans/suggest
access: [READ]
This method suggests a plan suitable for the number of events generated by the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/suggest
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"estimated_events_per_month" : 350000 ,
"suggested_plan" : {
"id" : "270e832b4c3ea4810e4d44b39d719abc" ,
"name" : "business" ,
"annually_cost" : 135 ,
"monthly_cost" : 169 ,
"events_per_month" : 500000 ,
"tracking_links" : 100000 ,
"stats_permanency_days" : 730 ,
"max_users" : 30 ,
"max_brands" : 70 ,
"has_smart_balancer" : 1 ,
"has_split_testing" : 1 ,
"has_smart_redirector" : 1 ,
"max_qrcode_templates" : 100 ,
"max_projects" : "" ,
"has_conversions" : 1 ,
"has_timed_urls" : 1 ,
"force_brand_on_ctas" : 0 ,
"has_watchdog_ping" : 1 ,
"has_watchdog_advanced" : 1 ,
"number_of_ctas" : "" ,
"max_banners" : "" ,
"custom_domains" : 30 ,
"email_support" : 1 ,
"priority_email_support" : 1 ,
"has_security_monitor" : 1 ,
"has_cfm" : 1 ,
"has_custom_aliases" : 1 ,
"has_masking" : 1 ,
"has_jotbar" : 1 ,
"has_custom_logo_in_reports" : 1 ,
"has_custom_css_cta" : 1 ,
"has_setup_assistance_and_training" : 0 ,
"has_custom_invoicing" : 0 ,
"has_enterprise_sla" : 0 ,
"has_customizations_and_integrations" : 0 ,
"has_digital_marketing_advice" : 0 ,
"has_minipages" : 1 ,
"has_deeplinks" : 1 ,
"has_easydeeplinks" : 1 ,
"has_preview" : 1 ,
"public_name" : "Business" ,
"has_utm_builder" : 1 ,
"max_utm_templates" : 30 ,
"has_remarketing" : "" ,
"has_whatsapp" : 1 ,
"has_instaurl" : 0 ,
"has_selfdestruction" : 0 ,
"is_monthly" : 1 ,
"status" : "green" ,
"trial_left_days" : 30 ,
"events" : "" ,
"is_monitored" : 1 ,
"email_sent" : 0 ,
"subscription_status" : "ACTIVE" ,
"subscription_creation" : "2018-08-13T23:16:14+02:00" ,
"subscription_next_billing_date" : "2018-12-27T11:58:57+01:00" ,
"subscription_billing_end_date" : "2018-12-27T11:58:57+01:00" ,
"subscription_never_expires" : 1 ,
"subscription_trial_period" : 0 ,
"subscription_first_billing_date" : "2018-12-27T11:58:57+01:00" ,
"subscription_balance" : 0 ,
"max_gdpr_templates" : 10
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/suggest?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<estimated_events_per_month> 350000 </estimated_events_per_month>
<suggested_plan>
<id> 270e832b4c3ea4810e4d44b39d719abc </id>
<name> business </name>
<annually_cost> 135 </annually_cost>
<monthly_cost> 169 </monthly_cost>
<events_per_month> 500000 </events_per_month>
<tracking_links> 100000 </tracking_links>
<stats_permanency_days> 730 </stats_permanency_days>
<max_users> 30 </max_users>
<max_brands> 70 </max_brands>
<has_smart_balancer> 1 </has_smart_balancer>
<has_split_testing> 1 </has_split_testing>
<has_smart_redirector> 1 </has_smart_redirector>
<max_qrcode_templates> 100 </max_qrcode_templates>
<max_projects> </max_projects>
<has_conversions> 1 </has_conversions>
<has_timed_urls> 1 </has_timed_urls>
<force_brand_on_ctas> 0 </force_brand_on_ctas>
<has_watchdog_ping> 1 </has_watchdog_ping>
<has_watchdog_advanced> 1 </has_watchdog_advanced>
<number_of_ctas> </number_of_ctas>
<max_banners> </max_banners>
<custom_domains> 30 </custom_domains>
<email_support> 1 </email_support>
<priority_email_support> 1 </priority_email_support>
<has_security_monitor> 1 </has_security_monitor>
<has_cfm> 1 </has_cfm>
<has_custom_aliases> 1 </has_custom_aliases>
<has_masking> 1 </has_masking>
<has_jotbar> 1 </has_jotbar>
<has_custom_logo_in_reports> 1 </has_custom_logo_in_reports>
<has_custom_css_cta> 1 </has_custom_css_cta>
<has_setup_assistance_and_training> 0 </has_setup_assistance_and_training>
<has_custom_invoicing> 0 </has_custom_invoicing>
<has_enterprise_sla> 0 </has_enterprise_sla>
<has_customizations_and_integrations> 0 </has_customizations_and_integrations>
<has_digital_marketing_advice> 0 </has_digital_marketing_advice>
<has_minipages> 1 </has_minipages>
<has_deeplinks> 1 </has_deeplinks>
<has_easydeeplinks> 1 </has_easydeeplinks>
<has_preview> 1 </has_preview>
<public_name> Business </public_name>
<has_utm_builder> 1 </has_utm_builder>
<max_utm_templates> 30 </max_utm_templates>
<has_remarketing> </has_remarketing>
<has_whatsapp> 1 </has_whatsapp>
<has_instaurl> 0 </has_instaurl>
<has_selfdestruction> 0 </has_selfdestruction>
<is_monthly> 1 </is_monthly>
<status> green </status>
<trial_left_days> 30 </trial_left_days>
<events> </events>
<is_monitored> 1 </is_monitored>
<email_sent> 0 </email_sent>
<subscription_status> ACTIVE </subscription_status>
<subscription_creation> 2018-08-13T23:16:14+02:00 </subscription_creation>
<subscription_next_billing_date> 2018-12-27T11:58:57+01:00 </subscription_next_billing_date>
<subscription_billing_end_date> 2018-12-27T11:58:57+01:00 </subscription_billing_end_date>
<subscription_never_expires> 1 </subscription_never_expires>
<subscription_trial_period> 0 </subscription_trial_period>
<subscription_first_billing_date> 2018-12-27T11:58:57+01:00 </subscription_first_billing_date>
<subscription_balance> 0 </subscription_balance>
<max_gdpr_templates> 10 </max_gdpr_templates>
</suggested_plan>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/suggest?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_estimated_events_per_month = 350000
result_suggested_plan_id = 270e832b4c3ea4810e4d44b39d719abc
result_suggested_plan_name = business
result_suggested_plan_annually_cost = 135
result_suggested_plan_monthly_cost = 169
result_suggested_plan_events_per_month = 500000
result_suggested_plan_tracking_links = 100000
result_suggested_plan_stats_permanency_days = 730
result_suggested_plan_max_users = 30
result_suggested_plan_max_brands = 70
result_suggested_plan_has_smart_balancer = 1
result_suggested_plan_has_split_testing = 1
result_suggested_plan_has_smart_redirector = 1
result_suggested_plan_max_qrcode_templates = 100
result_suggested_plan_max_projects =
result_suggested_plan_has_conversions = 1
result_suggested_plan_has_timed_urls = 1
result_suggested_plan_force_brand_on_ctas = 0
result_suggested_plan_has_watchdog_ping = 1
result_suggested_plan_has_watchdog_advanced = 1
result_suggested_plan_number_of_ctas =
result_suggested_plan_max_banners =
result_suggested_plan_custom_domains = 30
result_suggested_plan_email_support = 1
result_suggested_plan_priority_email_support = 1
result_suggested_plan_has_security_monitor = 1
result_suggested_plan_has_cfm = 1
result_suggested_plan_has_custom_aliases = 1
result_suggested_plan_has_masking = 1
result_suggested_plan_has_jotbar = 1
result_suggested_plan_has_custom_logo_in_reports = 1
result_suggested_plan_has_custom_css_cta = 1
result_suggested_plan_has_setup_assistance_and_training = 0
result_suggested_plan_has_custom_invoicing = 0
result_suggested_plan_has_enterprise_sla = 0
result_suggested_plan_has_customizations_and_integrations = 0
result_suggested_plan_has_digital_marketing_advice = 0
result_suggested_plan_has_minipages = 1
result_suggested_plan_has_deeplinks = 1
result_suggested_plan_has_easydeeplinks = 1
result_suggested_plan_has_preview = 1
result_suggested_plan_public_name = Business
result_suggested_plan_has_utm_builder = 1
result_suggested_plan_max_utm_templates = 30
result_suggested_plan_has_remarketing =
result_suggested_plan_has_whatsapp = 1
result_suggested_plan_has_instaurl = 0
result_suggested_plan_has_selfdestruction = 0
result_suggested_plan_is_monthly = 1
result_suggested_plan_status = green
result_suggested_plan_trial_left_days = 30
result_suggested_plan_events =
result_suggested_plan_is_monitored = 1
result_suggested_plan_email_sent = 0
result_suggested_plan_subscription_status = ACTIVE
result_suggested_plan_subscription_creation = 2018-08-13T23:16:14+02:00
result_suggested_plan_subscription_next_billing_date = 2018-12-27T11:58:57+01:00
result_suggested_plan_subscription_billing_end_date = 2018-12-27T11:58:57+01:00
result_suggested_plan_subscription_never_expires = 1
result_suggested_plan_subscription_trial_period = 0
result_suggested_plan_subscription_first_billing_date = 2018-12-27T11:58:57+01:00
result_suggested_plan_subscription_balance = 0
result_suggested_plan_max_gdpr_templates = 10
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/suggest?format=plain
Query parameters
format = plain
Response
350000
270e832b4c3ea4810e4d44b39d719abc
business
135
169
500000
100000
730
30
70
1
1
1
100
1
1
0
1
1
30
1
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
Business
1
30
1
0
0
1
green
30
1
0
ACTIVE
2018-08-13T23:16:14+02:00
2018-12-27T11:58:57+01:00
2018-12-27T11:58:57+01:00
1
0
2018-12-27T11:58:57+01:00
0
10
Return values
parameter
description
estimated_events_per_month
estimated events per month
suggested_plan
[OPTIONAL] array containing info for the suggested plan, it is returned only if this method can find a suitable plan for the user
/plans/update
access: [READ]
This method updates information about the user's plan. It should be called after a change of the user plan.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/update
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"new_plan" : "Basic" ,
"old_plan" : "Basic"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/update?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<new_plan> Basic </new_plan>
<old_plan> Basic </old_plan>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/update?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_new_plan = Basic
result_old_plan = Basic
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/update?format=plain
Query parameters
format = plain
Response
Basic
Basic
Return values
parameter
description
new_plan
the new plan name for the user, it can be the equal to old_plan if no change takes place
old_plan
the old plan name for the user
/plans/vats /plans/vats/property
access: [READ]
This method returns the list of available VAT treatments.
Example 1 (json)
Request
https://joturl.com/a/i1/plans/vats/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"ITALY_PRIVATE" ,
"ITALY_BUSINESS" ,
"INTRA_EU_PRIVATE" ,
"INTRA_EU_BUSINESS" ,
"EXTRA_EU_PRIVATE" ,
"EXTRA_EU_BUSINESS"
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/plans/vats/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> ITALY_PRIVATE </i0>
<i1> ITALY_BUSINESS </i1>
<i2> INTRA_EU_PRIVATE </i2>
<i3> INTRA_EU_BUSINESS </i3>
<i4> EXTRA_EU_PRIVATE </i4>
<i5> EXTRA_EU_BUSINESS </i5>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/plans/vats/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = ITALY_PRIVATE
result_1 = ITALY_BUSINESS
result_2 = INTRA_EU_PRIVATE
result_3 = INTRA_EU_BUSINESS
result_4 = EXTRA_EU_PRIVATE
result_5 = EXTRA_EU_BUSINESS
Example 4 (plain)
Request
https://joturl.com/a/i1/plans/vats/property?format=plain
Query parameters
format = plain
Response
ITALY_PRIVATE
ITALY_BUSINESS
INTRA_EU_PRIVATE
INTRA_EU_BUSINESS
EXTRA_EU_PRIVATE
EXTRA_EU_BUSINESS
Return values
parameter
description
[ARRAY]
array of available VAT treatment
/projects /projects/add
access: [WRITE]
Add a project with a specified name.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/add?name=name+for+the+project+name&client=this+is+a+sample+note&has_utm_parameters=1
Query parameters
name = name for the project name
client = this is a sample note
has_utm_parameters = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "56ac3c0e004b9a9f7ea321deecab50a7" ,
"name" : "name for the project name" ,
"client" : "this is a sample note" ,
"has_utm_parameters" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/add?name=name+for+the+project+name&client=this+is+a+sample+note&has_utm_parameters=1&format=xml
Query parameters
name = name for the project name
client = this is a sample note
has_utm_parameters = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 56ac3c0e004b9a9f7ea321deecab50a7 </id>
<name> name for the project name </name>
<client> this is a sample note </client>
<has_utm_parameters> 1 </has_utm_parameters>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/add?name=name+for+the+project+name&client=this+is+a+sample+note&has_utm_parameters=1&format=txt
Query parameters
name = name for the project name
client = this is a sample note
has_utm_parameters = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 56ac3c0e004b9a9f7ea321deecab50a7
result_name = name for the project name
result_client = this is a sample note
result_has_utm_parameters = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/add?name=name+for+the+project+name&client=this+is+a+sample+note&has_utm_parameters=1&format=plain
Query parameters
name = name for the project name
client = this is a sample note
has_utm_parameters = 1
format = plain
Response
56ac3c0e004b9a9f7ea321deecab50a7
name for the project name
this is a sample note
1
Required parameters
parameter
description
max length
nameSTRING
project name
255
Optional parameters
parameter
description
max length
clientSTRING
name of the client to whom the project is dedicated and/or the notes for the project
255
has_utm_parametersBOOLEAN
1 to enable the UTM view, 0 otherwise
Return values
parameter
description
client
echo back of the client
parameter
id
ID of the project
name
echo back of the name
parameter
/projects/count
access: [READ]
This method returns the number of user's projects.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 55
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 55 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 55
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/count?format=plain
Query parameters
format = plain
Response
55
Optional parameters
parameter
description
accountSTRING
if 1 this methods returns the total number of projects (other parameters are ignored)
end_dateSTRING
filter projects created up to this date (inclusive)
searchSTRING
filter projects by searching them
start_dateSTRING
filter projects created from this date (inclusive)
with_alertsSTRING
filter projects with security alerts
Return values
parameter
description
count
number of projects
/projects/defaults /projects/defaults/get
access: [READ]
Get a default setting for the project.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/defaults/get?project_id=3f9ad54f1b1dc73a06498daf87a960b5&setting=default_tl
Query parameters
project_id = 3f9ad54f1b1dc73a06498daf87a960b5
setting = default_tl
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"value" : "275b181ab3da6e83028b8e24fa878107"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/defaults/get?project_id=3f9ad54f1b1dc73a06498daf87a960b5&setting=default_tl&format=xml
Query parameters
project_id = 3f9ad54f1b1dc73a06498daf87a960b5
setting = default_tl
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<value> 275b181ab3da6e83028b8e24fa878107 </value>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/defaults/get?project_id=3f9ad54f1b1dc73a06498daf87a960b5&setting=default_tl&format=txt
Query parameters
project_id = 3f9ad54f1b1dc73a06498daf87a960b5
setting = default_tl
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_value = 275b181ab3da6e83028b8e24fa878107
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/defaults/get?project_id=3f9ad54f1b1dc73a06498daf87a960b5&setting=default_tl&format=plain
Query parameters
project_id = 3f9ad54f1b1dc73a06498daf87a960b5
setting = default_tl
format = plain
Response
275b181ab3da6e83028b8e24fa878107
Required parameters
Return values
parameter
description
value
the value of the required setting
/projects/defaults/set
access: [WRITE]
Set/unset a default setting for the project.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/defaults/set?project_id=9cc079123736c20139a7a85f822056e1&setting=default_tl&value=c335c0d69ae2fda3eaf11cd19d3dec14
Query parameters
project_id = 9cc079123736c20139a7a85f822056e1
setting = default_tl
value = c335c0d69ae2fda3eaf11cd19d3dec14
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"set" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/defaults/set?project_id=9cc079123736c20139a7a85f822056e1&setting=default_tl&value=c335c0d69ae2fda3eaf11cd19d3dec14&format=xml
Query parameters
project_id = 9cc079123736c20139a7a85f822056e1
setting = default_tl
value = c335c0d69ae2fda3eaf11cd19d3dec14
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<set> 1 </set>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/defaults/set?project_id=9cc079123736c20139a7a85f822056e1&setting=default_tl&value=c335c0d69ae2fda3eaf11cd19d3dec14&format=txt
Query parameters
project_id = 9cc079123736c20139a7a85f822056e1
setting = default_tl
value = c335c0d69ae2fda3eaf11cd19d3dec14
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_set = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/defaults/set?project_id=9cc079123736c20139a7a85f822056e1&setting=default_tl&value=c335c0d69ae2fda3eaf11cd19d3dec14&format=plain
Query parameters
project_id = 9cc079123736c20139a7a85f822056e1
setting = default_tl
value = c335c0d69ae2fda3eaf11cd19d3dec14
format = plain
Response
1
Required parameters
parameter
description
max length
project_idID
ID of the project
settingSTRING
setting to be set/unset, settings available: default_tl
, default_domain
50
Available settings:
default_tl : is the tracking link ID to use as default, all tracking links created after this setting has been set will be cloned from this tracking link default_domain : is the domain ID to use as default, all tracking links created after this setting has been set will be created using this domain
Optional parameters
parameter
description
max length
valueID
the value to be setted, empty to unset
50
Return values
parameter
description
set
1 on set, 0 otherwise
/projects/delete
access: [WRITE]
This method deletes a set of projects using the ids. Return 1 if the operation succeeds or 0 otherwise.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/delete?ids=31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb
Query parameters
ids = 31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/delete?ids=31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb&format=xml
Query parameters
ids = 31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/delete?ids=31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb&format=txt
Query parameters
ids = 31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/delete?ids=31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb&format=plain
Query parameters
ids = 31522ff36a4577e6a46740ad69ef96e4,8c8b90bcc5984d111c17c156d47b8ab4,257f4c4fe60460ef23f61c777c31cbeb
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/projects/delete?ids=7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176
Query parameters
ids = 7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : [
"a66efcc3540bd0e771e7c0b8de798d4b" ,
"e027067f513d74549d5e5b71ae1cc176"
] ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/projects/delete?ids=7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176&format=xml
Query parameters
ids = 7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids>
<i0> a66efcc3540bd0e771e7c0b8de798d4b </i0>
<i1> e027067f513d74549d5e5b71ae1cc176 </i1>
</ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/projects/delete?ids=7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176&format=txt
Query parameters
ids = 7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids_0 = a66efcc3540bd0e771e7c0b8de798d4b
result_ids_1 = e027067f513d74549d5e5b71ae1cc176
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/projects/delete?ids=7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176&format=plain
Query parameters
ids = 7cd8dad6eb77caf1b6bd982978cfc204,a66efcc3540bd0e771e7c0b8de798d4b,e027067f513d74549d5e5b71ae1cc176
format = plain
Response
a66efcc3540bd0e771e7c0b8de798d4b
e027067f513d74549d5e5b71ae1cc176
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of project IDs to be deleted
Return values
parameter
description
deleted
number of deleted projects
ids
[OPTIONAL] list of project IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/projects/edit
access: [WRITE]
Edit a project data for the user logged in.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/edit?id=0dd94eb4a03ae022faca075b1f48788c&name=new+name+for+the+project&client=new+notes+for+the+project
Query parameters
id = 0dd94eb4a03ae022faca075b1f48788c
name = new name for the project
client = new notes for the project
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "0dd94eb4a03ae022faca075b1f48788c" ,
"name" : "new name for the project" ,
"client" : "new notes for the project"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/edit?id=0dd94eb4a03ae022faca075b1f48788c&name=new+name+for+the+project&client=new+notes+for+the+project&format=xml
Query parameters
id = 0dd94eb4a03ae022faca075b1f48788c
name = new name for the project
client = new notes for the project
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 0dd94eb4a03ae022faca075b1f48788c </id>
<name> new name for the project </name>
<client> new notes for the project </client>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/edit?id=0dd94eb4a03ae022faca075b1f48788c&name=new+name+for+the+project&client=new+notes+for+the+project&format=txt
Query parameters
id = 0dd94eb4a03ae022faca075b1f48788c
name = new name for the project
client = new notes for the project
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 0dd94eb4a03ae022faca075b1f48788c
result_name = new name for the project
result_client = new notes for the project
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/edit?id=0dd94eb4a03ae022faca075b1f48788c&name=new+name+for+the+project&client=new+notes+for+the+project&format=plain
Query parameters
id = 0dd94eb4a03ae022faca075b1f48788c
name = new name for the project
client = new notes for the project
format = plain
Response
0dd94eb4a03ae022faca075b1f48788c
new name for the project
new notes for the project
Required parameters
parameter
description
idID
ID of the project
Optional parameters
parameter
description
max length
clientSTRING
new name of the client to whom the project is dedicated and/or new notes for the project
255
has_utm_parametersBOOLEAN
1 to enable the UTM view, 0 otherwise
nameSTRING
new name for the project
255
Return values
parameter
description
client
[OPTIONAL] echo back of the name of the client to whom the project is dedicated and/or the notes for the project
has_utm_parameters
[OPTIONAL] echo back of has_utm_parameters
parameter
id
ID of the project
name
[OPTIONAL] echo back of the name of the project
/projects/info
access: [READ]
This method returns information on a project, the returned information depends on input parameter fields
.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/info?id=ac766044239415f31c7a640c583635fd&fields=name,id
Query parameters
id = ac766044239415f31c7a640c583635fd
fields = name,id
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"name" : "project 1" ,
"id" : "ac766044239415f31c7a640c583635fd"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/info?id=ac766044239415f31c7a640c583635fd&fields=name,id&format=xml
Query parameters
id = ac766044239415f31c7a640c583635fd
fields = name,id
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<name> project 1 </name>
<id> ac766044239415f31c7a640c583635fd </id>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/info?id=ac766044239415f31c7a640c583635fd&fields=name,id&format=txt
Query parameters
id = ac766044239415f31c7a640c583635fd
fields = name,id
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_name = project 1
result_id = ac766044239415f31c7a640c583635fd
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/info?id=ac766044239415f31c7a640c583635fd&fields=name,id&format=plain
Query parameters
id = ac766044239415f31c7a640c583635fd
fields = name,id
format = plain
Response
project 1
ac766044239415f31c7a640c583635fd
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: name, client, id, creation, urls_count, conversions_visits, remarketings_visits, ctas_visits, qrcodes_visits, unique_visits, visits, has_utm_parameters, is_default
idID
ID of the project
Return values
parameter
description
client
[OPTIONAL] name of the client to whom the project is dedicated and/or the notes for the project
conversions_visits
[OPTIONAL] number of conversions clicks on tracking links in the project
creation
[OPTIONAL] date of creation of the project
ctas_visits
[OPTIONAL] number of CTA clicks on tracking links in the project
has_utm_parameters
[OPTIONAL] 1 if the project has UTM view enabled, 0 otherwise
id
[OPTIONAL] ID of the project
is_default
[OPTIONAL] 1 if it is the default
project, 0 otherwise
name
[OPTIONAL] name of the project
qrcodes_visits
[OPTIONAL] number of visits on tracking links in the project coming from QR codes
remarketings_visits
[OPTIONAL] number of remarketings clicks on tracking links in the project
unique_visits
[OPTIONAL] number of unique visits on tracking links in the project
urls_count
[OPTIONAL] number of tracking links in the project
visits
[OPTIONAL] number of visits on tracking links in the project
/projects/jotbars /projects/jotbars/edit
access: [WRITE]
Set a jotbar option for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/jotbars/edit?id=e52d640e960432054cc5c0de38e452c7&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D
Query parameters
id = e52d640e960432054cc5c0de38e452c7
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/jotbars/edit?id=e52d640e960432054cc5c0de38e452c7&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=xml
Query parameters
id = e52d640e960432054cc5c0de38e452c7
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/jotbars/edit?id=e52d640e960432054cc5c0de38e452c7&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=txt
Query parameters
id = e52d640e960432054cc5c0de38e452c7
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/jotbars/edit?id=e52d640e960432054cc5c0de38e452c7&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=plain
Query parameters
id = e52d640e960432054cc5c0de38e452c7
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the project
languagesARRAY
comma-separated list of the languages selected for the jotbar, the jotbar will be shown to the user in the language the user has chosen in his/hers browser, if the user has an unsupported language the default language will be used (i.e., default_language if not empty, user_default_language otherwise)
Optional parameters
parameter
description
default_languageSTRING
default language within languages, empty or null
to inherit the configuration from the account-level settings
infoJSON
JSON containing page_title, description_title, description, questions_title, questions for each language in languages, see i1/projects/jotbars/info for details on info
logoSTRING
it can be:
0 to disable logo
the URL of the logo to be shown
empty or null
to inherit the configuration from the account-level settings
logo_urlSTRING |when logo has an URL, this is the URL to which the user will be redirect when clicks on the logo
show_feedbackSTRING |1 to show feedback, 0 to do not show it, empty or null
to inherit the configuration from the account-level settings
templateSTRING |position of the jotbar, empty or null
to inherit the configuration from the account-level settings, for available positions see i1/jotbars/property
template_sizeSTRING |dimension of the jotbar, empty or null
to inherit the configuration from the account-level settings,for available dimensions see i1/jotbars/property
Return values
parameter
description
updated
1 on success, 0 otherwise
/projects/jotbars/info
access: [READ]
Get jotbar information for the project.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/jotbars/info?id=e94efb4108edb332df5c20229b0d5f48
Query parameters
id = e94efb4108edb332df5c20229b0d5f48
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"logo" : "https://joturl.com/logo.svg" ,
"logo_url" : "https://joturl.com/" ,
"template" : "right" ,
"template_size" : "big" ,
"show_feedback" : null ,
"languages" : "en,it" ,
"default_language" : "" ,
"user_default_language" : "en" ,
"info" : {
"en" : {
"page_title" : "English page title" ,
"description_title" : null ,
"description" : "<p>[EN] HTML description</p>" ,
"questions_title" : null ,
"questions" : "<p>[EN] HTML questions</p>"
} ,
"it" : {
"page_title" : "Titolo pagina in italiano" ,
"description_title" : null ,
"description" : "<p>[IT] HTML description</p>" ,
"questions_title" : null ,
"questions" : "<p>[IT] HTML questions</p>"
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/jotbars/info?id=e94efb4108edb332df5c20229b0d5f48&format=xml
Query parameters
id = e94efb4108edb332df5c20229b0d5f48
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<logo> https://joturl.com/logo.svg </logo>
<logo_url> https://joturl.com/ </logo_url>
<template> right </template>
<template_size> big </template_size>
<show_feedback> </show_feedback>
<languages> en,it </languages>
<default_language> </default_language>
<user_default_language> en </user_default_language>
<info>
<en>
<page_title> English page title </page_title>
<description_title> </description_title>
<description> <p>[EN] HTML description</p> </description>
<questions_title> </questions_title>
<questions> <p>[EN] HTML questions</p> </questions>
</en>
<it>
<page_title> Titolo pagina in italiano </page_title>
<description_title> </description_title>
<description> <p>[IT] HTML description</p> </description>
<questions_title> </questions_title>
<questions> <p>[IT] HTML questions</p> </questions>
</it>
</info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/jotbars/info?id=e94efb4108edb332df5c20229b0d5f48&format=txt
Query parameters
id = e94efb4108edb332df5c20229b0d5f48
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_logo = https://joturl.com/logo.svg
result_logo_url = https://joturl.com/
result_template = right
result_template_size = big
result_show_feedback =
result_languages = en,it
result_default_language =
result_user_default_language = en
result_info_en_page_title = English page title
result_info_en_description_title =
result_info_en_description = <p>[EN] HTML description</p>
result_info_en_questions_title =
result_info_en_questions = <p>[EN] HTML questions</p>
result_info_it_page_title = Titolo pagina in italiano
result_info_it_description_title =
result_info_it_description = <p>[IT] HTML description</p>
result_info_it_questions_title =
result_info_it_questions = <p>[IT] HTML questions</p>
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/jotbars/info?id=e94efb4108edb332df5c20229b0d5f48&format=plain
Query parameters
id = e94efb4108edb332df5c20229b0d5f48
format = plain
Response
https://joturl.com/logo.svg
https://joturl.com/
right
big
en,it
en
English page title
<p>[EN] HTML description</p>
<p>[EN] HTML questions</p>
Titolo pagina in italiano
<p>[IT] HTML description</p>
<p>[IT] HTML questions</p>
Required parameters
parameter
description
idID
ID of the project
Return values
parameter
description
default_language
default language within languages, empty or null
to inherit the configuration from the account-level settings
info
for each language in languages, it contains page_title, description_title, description, questions_title, questions, see the following notes for details
languages
comma-separated list of the languages selected for the jotbar, the jotbar will be shown to the user in the language the user has chosen in his/hers browser, if the user has an unsupported language the default language will be used (i.e., default_language if not empty, user_default_language otherwise)
logo
it can be:
0 to disable logo
the URL of the logo to be shown
empty or null
to inherit the configuration from the account-level settings
logo_url |when logo has an URL, this is the URL to which the user will be redirect when clicks on the logo
show_feedback |1 to show feedback, 0 to do not show it, empty or null
to inherit the configuration from the account-level settings
template |position of the jotbar, empty or null
to inherit the configuration from the account-level settings, for available positions see i1/jotbars/property
template_size |dimension of the jotbar, empty or null
to inherit the configuration from the account-level settings,for available dimensions see i1/jotbars/property
user_default_language |account-level default language
The jotbar page is divided into 2 parts, the first one is called description , the second is called questions . Each part has a title ( _descriptiontitle , _questionstitle ) and a HTML body ( description , questions ). Furthermore, it is possible to enter a page title _pagetitle per language. If description_title (questions_title) is null
it is inherited from the account-level settings.
/projects/languages /projects/languages/list
access: [READ]
This method returns a list of available languages for specific options (e.g., jotBar) of a project.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/languages/list?id=e51a57197095674ac4861a2092bd0527
Query parameters
id = e51a57197095674ac4861a2092bd0527
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"languages" : [
{
"name" : "en" ,
"label" : "English"
} ,
{
"name" : "it" ,
"label" : "Italiano"
}
] ,
"selected" : [
"en" ,
"it"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/languages/list?id=e51a57197095674ac4861a2092bd0527&format=xml
Query parameters
id = e51a57197095674ac4861a2092bd0527
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<languages>
<i0>
<name> en </name>
<label> English </label>
</i0>
<i1>
<name> it </name>
<label> Italiano </label>
</i1>
</languages>
<selected>
<i0> en </i0>
<i1> it </i1>
</selected>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/languages/list?id=e51a57197095674ac4861a2092bd0527&format=txt
Query parameters
id = e51a57197095674ac4861a2092bd0527
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_languages_0_name = en
result_languages_0_label = English
result_languages_1_name = it
result_languages_1_label = Italiano
result_selected_0 = en
result_selected_1 = it
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/languages/list?id=e51a57197095674ac4861a2092bd0527&format=plain
Query parameters
id = e51a57197095674ac4861a2092bd0527
format = plain
Response
en
English
it
Italiano
en
it
Required parameters
parameter
description
idID
ID of the project
Return values
parameter
description
languages
available languages
selected
array of names of enabled languages
/projects/list
access: [READ]
This method returns a list of projects data, specified in a comma separated input called fields.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/list?fields=name,id
Query parameters
fields = name,id
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"name" : "project 1" ,
"id" : "6961f017f81063b1ab33059652859b30"
} ,
{
"name" : "project 2" ,
"id" : "0c1bfa531dbeb6ef98897c3b146f5f00"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/list?fields=name,id&format=xml
Query parameters
fields = name,id
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<name> project 1 </name>
<id> 6961f017f81063b1ab33059652859b30 </id>
</i0>
<i1>
<name> project 2 </name>
<id> 0c1bfa531dbeb6ef98897c3b146f5f00 </id>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/list?fields=name,id&format=txt
Query parameters
fields = name,id
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_name = project 1
result_data_0_id = 6961f017f81063b1ab33059652859b30
result_data_1_name = project 2
result_data_1_id = 0c1bfa531dbeb6ef98897c3b146f5f00
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/list?fields=name,id&format=plain
Query parameters
fields = name,id
format = plain
Response
project 1
6961f017f81063b1ab33059652859b30
project 2
0c1bfa531dbeb6ef98897c3b146f5f00
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: client, conversions_visits, creation, ctas_visits, has_utm_parameters, id, name, qrcodes_visits, remarketings_visits, unique_visits, urls_count, visits, is_default, count
Optional parameters
parameter
description
creatorSTRING
filter projects by creator, available values: ID
, all
, me
, others
, only available for administrator users, see notes for details
end_dateSTRING
filter projects created up to this date (inclusive)
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: client, conversions_visits, creation, ctas_visits, has_utm_parameters, id, name, qrcodes_visits, remarketings_visits, unique_visits, urls_count, visits, is_default
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
start_dateSTRING
filter projects created from this date (inclusive)
subuser_idID
ID of the team member, when passed the field has_access
is returned for each project, has_access = 1
if the team member has access to the project, has_access = 0
otherwise
whereSTRING
to be used in conjunction with search , specifies where to search and it can be both
, projects
or links
; where = projects
: search for projects matching the name or the notes (default); where = links
: search for tracking links matching the short url or the destination URL where = both
: search for both tracking links and projects;
with_alertsSTRING
filter projects with security alerts
Return values
parameter
description
count
[OPTIONAL] total number of projects, returned only if count is passed in fields
data
array containing required information on projects the user has access to
/projects/options /projects/options/info
access: [READ]
Returns the list of available options for a specific project. Further, this method returns the exclusion list and active options.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/options/info?id=53ad45223cf32ac97e8b64e026ed0aff
Query parameters
id = 53ad45223cf32ac97e8b64e026ed0aff
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"options" : [
"users" ,
"jotbar" ,
"defaults"
] ,
"exclusions" : [] ,
"disabled" : [] ,
"active" : [
"defaults"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/options/info?id=53ad45223cf32ac97e8b64e026ed0aff&format=xml
Query parameters
id = 53ad45223cf32ac97e8b64e026ed0aff
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<options>
<i0> users </i0>
<i1> jotbar </i1>
<i2> defaults </i2>
</options>
<exclusions>
</exclusions>
<disabled>
</disabled>
<active>
<i0> defaults </i0>
</active>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/options/info?id=53ad45223cf32ac97e8b64e026ed0aff&format=txt
Query parameters
id = 53ad45223cf32ac97e8b64e026ed0aff
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_options_0 = users
result_options_1 = jotbar
result_options_2 = defaults
result_exclusions =
result_disabled =
result_active_0 = defaults
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/options/info?id=53ad45223cf32ac97e8b64e026ed0aff&format=plain
Query parameters
id = 53ad45223cf32ac97e8b64e026ed0aff
format = plain
Response
users
jotbar
defaults
defaults
Required parameters
parameter
description
idID
ID of the project
Return values
parameter
description
active
currently active options for the project
disabled
disabled options for the project
exclusions
exclusion map between options, a list of pairs (option, list of incompatible options)
options
available options for the project
/projects/subusers /projects/subusers/grant
access: [WRITE]
Grants access to the project to specified team members.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/subusers/grant?id=7171048c898ece9dd4b7c83031ccb8fe&add_ids=9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9&delete_ids=339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746
Query parameters
id = 7171048c898ece9dd4b7c83031ccb8fe
add_ids = 9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9
delete_ids = 339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 2 ,
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/subusers/grant?id=7171048c898ece9dd4b7c83031ccb8fe&add_ids=9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9&delete_ids=339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746&format=xml
Query parameters
id = 7171048c898ece9dd4b7c83031ccb8fe
add_ids = 9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9
delete_ids = 339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 2 </added>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/subusers/grant?id=7171048c898ece9dd4b7c83031ccb8fe&add_ids=9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9&delete_ids=339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746&format=txt
Query parameters
id = 7171048c898ece9dd4b7c83031ccb8fe
add_ids = 9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9
delete_ids = 339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 2
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/subusers/grant?id=7171048c898ece9dd4b7c83031ccb8fe&add_ids=9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9&delete_ids=339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746&format=plain
Query parameters
id = 7171048c898ece9dd4b7c83031ccb8fe
add_ids = 9c67f7c4b6fa2f65c8c1124bcd57f494,d7170020fda19288898377f30df578c9
delete_ids = 339f754368bbc669ff1e6bbc370d68a4,9d88c13f20cb953b6378d4064d51b888,5e0904336f6940b9e3c0562f87b88746
format = plain
Response
2
3
Required parameters
parameter
description
idID
ID of the project
Optional parameters
parameter
description
add_idsARRAY_OF_IDS
comma-separated list of team members to grant access to the project
delete_idsARRAY_OF_IDS
comma-separated list of team members to deny access to the project
Return values
parameter
description
added
number of team members who have been granted access to the project
deleted
number of team members who were denied access to the project
/projects/watchdogs /projects/watchdogs/alerts /projects/watchdogs/alerts/delete
access: [WRITE]
Reset watchdog alerts for a given array of project IDs.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/watchdogs/alerts/delete?ids=92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd
Query parameters
ids = 92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 28 ,
"ids" : [
"92e1d442802fdc8d4b29aec702c1450d" ,
"8e50cad74649456cefd55d5e55a672cf" ,
"34cde7215217a0d40a9f53dab67303ba" ,
"8d52202c594faf5ea8f1e8b625aaebcd"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/watchdogs/alerts/delete?ids=92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd&format=xml
Query parameters
ids = 92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 28 </count>
<ids>
<i0> 92e1d442802fdc8d4b29aec702c1450d </i0>
<i1> 8e50cad74649456cefd55d5e55a672cf </i1>
<i2> 34cde7215217a0d40a9f53dab67303ba </i2>
<i3> 8d52202c594faf5ea8f1e8b625aaebcd </i3>
</ids>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/watchdogs/alerts/delete?ids=92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd&format=txt
Query parameters
ids = 92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 28
result_ids_0 = 92e1d442802fdc8d4b29aec702c1450d
result_ids_1 = 8e50cad74649456cefd55d5e55a672cf
result_ids_2 = 34cde7215217a0d40a9f53dab67303ba
result_ids_3 = 8d52202c594faf5ea8f1e8b625aaebcd
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/watchdogs/alerts/delete?ids=92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd&format=plain
Query parameters
ids = 92e1d442802fdc8d4b29aec702c1450d,8e50cad74649456cefd55d5e55a672cf,34cde7215217a0d40a9f53dab67303ba,8d52202c594faf5ea8f1e8b625aaebcd
format = plain
Response
28
92e1d442802fdc8d4b29aec702c1450d
8e50cad74649456cefd55d5e55a672cf
34cde7215217a0d40a9f53dab67303ba
8d52202c594faf5ea8f1e8b625aaebcd
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of project IDs
Return values
parameter
description
count
number of resetted alerts, a maximum of 10000 alerts will be processed
ids
array containing IDs passed in the ids input parameter
/projects/webhooks /projects/webhooks/info
access: [READ]
This method return information on a webhook.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/webhooks/info?id=1ed7dd6aab4cf921599bf13abed1f20e
Query parameters
id = 1ed7dd6aab4cf921599bf13abed1f20e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "1ed7dd6aab4cf921599bf13abed1f20e" ,
"url" : "https://my.custom.webhook/" ,
"type" : "custom" ,
"info" : [] ,
"notes" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/webhooks/info?id=1ed7dd6aab4cf921599bf13abed1f20e&format=xml
Query parameters
id = 1ed7dd6aab4cf921599bf13abed1f20e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 1ed7dd6aab4cf921599bf13abed1f20e </id>
<url> https://my.custom.webhook/ </url>
<type> custom </type>
<info>
</info>
<notes> </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/webhooks/info?id=1ed7dd6aab4cf921599bf13abed1f20e&format=txt
Query parameters
id = 1ed7dd6aab4cf921599bf13abed1f20e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 1ed7dd6aab4cf921599bf13abed1f20e
result_url = https://my.custom.webhook/
result_type = custom
result_info =
result_notes =
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/webhooks/info?id=1ed7dd6aab4cf921599bf13abed1f20e&format=plain
Query parameters
id = 1ed7dd6aab4cf921599bf13abed1f20e
format = plain
Response
1ed7dd6aab4cf921599bf13abed1f20e
https://my.custom.webhook/
custom
Required parameters
parameter
description
idID
ID of the project from which to remove the webhook
Return values
parameter
description
id
echo back of the id
input parameter
info
extended info of the webhook
notes
notes for the webhook
type
webhook type, see i1/ctas/webhooks/property for details
url
URL of the webhook
when type = zapier
, the returned parameter url
is empty
/projects/webhooks/property
access: [READ]
Return available webhook types and their parameters.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/webhooks/property?types=custom,zapier
Query parameters
types = custom,zapier
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"custom" : {
"name" : "Custom webhook" ,
"private" : 0 ,
"url_required" : 1 ,
"info" : {
"home" : "https://joturl.zendesk.com/hc/en-us/articles/360012882199" ,
"logo" : "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg=="
} ,
"parameters" : [
{
"name" : "fields" ,
"type" : "json" ,
"maxlength" : 2000 ,
"description" : "couples key/values" ,
"mandatory" : 0 ,
"example" : "{"source":"joturl","test":1}"
}
]
} ,
"zapier" : {
"name" : "Zapier" ,
"private" : 1 ,
"url_required" : 0 ,
"info" : {
"home" : "https://zapier.com/" ,
"logo" : "https://cdn.zapier.com/zapier/images/logos/zapier-logo.png"
} ,
"parameters" : []
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/webhooks/property?types=custom,zapier&format=xml
Query parameters
types = custom,zapier
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<custom>
<name> Custom webhook </name>
<private> 0 </private>
<url_required> 1 </url_required>
<info>
<home> https://joturl.zendesk.com/hc/en-us/articles/360012882199 </home>
<logo> data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg== </logo>
</info>
<parameters>
<i0>
<name> fields </name>
<type> json </type>
<maxlength> 2000 </maxlength>
<description> couples key/values </description>
<mandatory> 0 </mandatory>
<example> {"source":"joturl","test":1} </example>
</i0>
</parameters>
</custom>
<zapier>
<name> Zapier </name>
<private> 1 </private>
<url_required> 0 </url_required>
<info>
<home> https://zapier.com/ </home>
<logo> https://cdn.zapier.com/zapier/images/logos/zapier-logo.png </logo>
</info>
<parameters>
</parameters>
</zapier>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/webhooks/property?types=custom,zapier&format=txt
Query parameters
types = custom,zapier
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_custom_name = Custom webhook
result_data_custom_private = 0
result_data_custom_url_required = 1
result_data_custom_info_home = https://joturl.zendesk.com/hc/en-us/articles/360012882199
result_data_custom_info_logo = data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg==
result_data_custom_parameters_0_name = fields
result_data_custom_parameters_0_type = json
result_data_custom_parameters_0_maxlength = 2000
result_data_custom_parameters_0_description = couples key/values
result_data_custom_parameters_0_mandatory = 0
result_data_custom_parameters_0_example = {"source":"joturl","test":1}
result_data_zapier_name = Zapier
result_data_zapier_private = 1
result_data_zapier_url_required = 0
result_data_zapier_info_home = https://zapier.com/
result_data_zapier_info_logo = https://cdn.zapier.com/zapier/images/logos/zapier-logo.png
result_data_zapier_parameters =
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/webhooks/property?types=custom,zapier&format=plain
Query parameters
types = custom,zapier
format = plain
Response
Custom webhook
0
1
https://joturl.zendesk.com/hc/en-us/articles/360012882199
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtMjU2IDcuMzZjLTY1LjI1OSAwLTExOC40IDUzLjE0MS0xMTguNCAxMTguNCAwIDM4Ljk0MyAxOS4zMzMgNzMuMTIxIDQ4LjQ3IDk0LjcybC01OC40NiA5Ni41N2MtMC40NjItMC4xMzktMC45NzEtMC4yMzEtMS40OC0wLjM3LTEyLjIxLTMuMjg0LTI0LjkyOS0xLjQ4LTM1Ljg5IDQuODEtMjIuNjE2IDEzLjA4OS0zMC40MzIgNDIuMTM0LTE3LjM5IDY0Ljc1IDguNzQxIDE1LjE3IDI0LjY5NyAyMy42OCA0MS4wNyAyMy42OCA4LjA0NyAwIDE2LjIzNC0xLjk4OSAyMy42OC02LjI5IDEwLjk2MS02LjMzNiAxOC45MTYtMTYuNjUgMjIuMi0yOC44NnMxLjUyNi0yNC45MjktNC44MS0zNS44OWMtMS45ODktMy40MjItNC43MTgtNi40NzUtNy40LTkuMjVsNzAuNjctMTE2LjE4LTEwLjM2LTUuOTJjLTI3Ljg4OS0xNi40NjUtNDYuNjItNDYuOTQ0LTQ2LjYyLTgxLjc3IDAtNTIuNDQ4IDQyLjI3My05NC43MiA5NC43Mi05NC43MnM5NC43MiA0Mi4yNzIgOTQuNzIgOTQuNzJjMCA5Ljc1OS0xLjM0MSAxOC45MTYtNC4wNyAyNy43NWwyMi41NyA3LjAzYzMuNDIyLTExLjA1NCA1LjE4LTIyLjY2MiA1LjE4LTM0Ljc4IDAtNjUuMjU5LTUzLjE0MS0xMTguNC0xMTguNC0xMTguNHptMCA3MS4wNGMtMjYuMTMxIDAtNDcuMzYgMjEuMjI5LTQ3LjM2IDQ3LjM2czIxLjIyOSA0Ny4zNiA0Ny4zNiA0Ny4zNmMzLjkzMSAwIDcuODE2LTAuNTU1IDExLjQ3LTEuNDhsNTYuOTggMTAzLjIzIDUuNTUgMTAuMzYgMTAuNzMtNS41NWMxMy41NTEtNy40OTMgMjguOTA2LTExLjg0IDQ1LjUxLTExLjg0IDUyLjQ0OCAwIDk0LjcyIDQyLjI3MiA5NC43MiA5NC43MnMtNDIuMjczIDk0LjcyLTk0LjcyIDk0LjcyYy0yNS41NzYgMC00OC43OTQtMTAuMjIxLTY1Ljg2LTI2LjY0bC0xNi4yOCAxNy4wMmMyMS4yNzUgMjAuNDg5IDUwLjMyIDMzLjMgODIuMTQgMzMuMyA2NS4yNTkgMCAxMTguNC01My4xNDEgMTE4LjQtMTE4LjRzLTUzLjE0MS0xMTguNC0xMTguNC0xMTguNGMtMTYuNDE5IDAtMzEuNjM1IDQuMzAxLTQ1Ljg4IDEwLjM2bC01Mi4xNy05NC4zNWM5LjI1LTguNjQ5IDE1LjE3LTIwLjc2NiAxNS4xNy0zNC40MSAwLTI2LjEzMS0yMS4yMjktNDcuMzYtNDcuMzYtNDcuMzZ6bS0xNzAuOTQgMTY5LjA5Yy01MS41NjkgMTIuODU3LTg5LjU0IDU5LjcwOS04OS41NCAxMTUuMDcgMCA2NS4yNTkgNTMuMTQxIDExOC40IDExOC40IDExOC40IDYxLjA1IDAgMTA5Ljk0LTQ3LjEyOSAxMTYuMTgtMTA2LjU2aDExMC42M2M1LjI3MiAyMC4zOTYgMjMuNDk1IDM1LjUyIDQ1LjUxIDM1LjUyIDI2LjEzMSAwIDQ3LjM2LTIxLjIyOSA0Ny4zNi00Ny4zNnMtMjEuMjI5LTQ3LjM2LTQ3LjM2LTQ3LjM2Yy0yMi4wMTUgMC00MC4yMzggMTUuMTI0LTQ1LjUxIDM1LjUyaC0xMzIuMDl2MTEuODRjMCA1Mi40NDgtNDIuMjczIDk0LjcyLTk0LjcyIDk0Ljcycy05NC43Mi00Mi4yNzItOTQuNzItOTQuNzJjMC00NC40OTIgMzAuNjE4LTgxLjQ5MiA3MS43OC05MS43NnoiLz4KPC9zdmc+Cg==
fields
json
2000
couples key/values
0
{"source":"joturl","test":1}
Zapier
1
0
https://zapier.com/
https://cdn.zapier.com/zapier/images/logos/zapier-logo.png
Optional parameters
parameter
description
typesSTRING
comma-separated list of webhook types to be returned, if empty all types are returned, available types: custom
, zapier
Return values
parameter
description
data
array containing information on webhook parameters by type
Check the following tables for information on webhook parameters by type.
Custom webhook type = custom
name description help mandatory type max length example fields couples key/values No json 2000 {"source":"joturl","test":1}
Zapier type = zapier
This type of webhook cannot be directly subscribed, please use our Zapier integration.
/projects/webhooks/subscribe
access: [WRITE]
This method add a webhook subscription to a project.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/webhooks/subscribe?id=904ac92eb75a50ed47f615ee365cfb80&url=https%3A%2F%2Fjoturl.com%2F
Query parameters
id = 904ac92eb75a50ed47f615ee365cfb80
url = https://joturl.com/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/webhooks/subscribe?id=904ac92eb75a50ed47f615ee365cfb80&url=https%3A%2F%2Fjoturl.com%2F&format=xml
Query parameters
id = 904ac92eb75a50ed47f615ee365cfb80
url = https://joturl.com/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/webhooks/subscribe?id=904ac92eb75a50ed47f615ee365cfb80&url=https%3A%2F%2Fjoturl.com%2F&format=txt
Query parameters
id = 904ac92eb75a50ed47f615ee365cfb80
url = https://joturl.com/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/webhooks/subscribe?id=904ac92eb75a50ed47f615ee365cfb80&url=https%3A%2F%2Fjoturl.com%2F&format=plain
Query parameters
id = 904ac92eb75a50ed47f615ee365cfb80
url = https://joturl.com/
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the project to which to add the webhook
typeSTRING
webhook type, allowed types: custom
, zapier
Optional parameters
parameter
description
max length
infoJSON
info to be used with the webhook (e.g., an API key), see below for details
notesSTRING
notes for the webhook
4000
unsubscribeBOOLEAN
1 to unsubscribe from the current webhook (if any) and subscribe to the new one
urlSTRING
URL of the webhook, required for types: custom
, zapier
4000
Return values
parameter
description
added
1 on success, 0 otherwise
/projects/webhooks/test
access: [WRITE]
This endpoint sends test data to a project webhook.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/webhooks/test?id=af3d04df36b93bf58b45e2344391a58c
Query parameters
id = af3d04df36b93bf58b45e2344391a58c
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ok" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/webhooks/test?id=af3d04df36b93bf58b45e2344391a58c&format=xml
Query parameters
id = af3d04df36b93bf58b45e2344391a58c
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ok> 1 </ok>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/webhooks/test?id=af3d04df36b93bf58b45e2344391a58c&format=txt
Query parameters
id = af3d04df36b93bf58b45e2344391a58c
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ok = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/webhooks/test?id=af3d04df36b93bf58b45e2344391a58c&format=plain
Query parameters
id = af3d04df36b93bf58b45e2344391a58c
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the project associated with the webhook
Return values
parameter
description
ok
1 on success, otherwise an error is returned
/projects/webhooks/unsubscribe
access: [WRITE]
This method removes a webhook subscription to a project.
Example 1 (json)
Request
https://joturl.com/a/i1/projects/webhooks/unsubscribe?id=2945e3af92b2956a947f42e5b8884db8
Query parameters
id = 2945e3af92b2956a947f42e5b8884db8
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"removed" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/projects/webhooks/unsubscribe?id=2945e3af92b2956a947f42e5b8884db8&format=xml
Query parameters
id = 2945e3af92b2956a947f42e5b8884db8
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<removed> 1 </removed>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/projects/webhooks/unsubscribe?id=2945e3af92b2956a947f42e5b8884db8&format=txt
Query parameters
id = 2945e3af92b2956a947f42e5b8884db8
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_removed = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/projects/webhooks/unsubscribe?id=2945e3af92b2956a947f42e5b8884db8&format=plain
Query parameters
id = 2945e3af92b2956a947f42e5b8884db8
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the project from which to remove the webhook
Return values
parameter
description
removed
1 on success, 0 otherwise
/provinces /provinces/list
access: [READ]
This method returns a list of available Italian provinces.
Example 1 (json)
Request
https://joturl.com/a/i1/provinces/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"provinces" : [
{
"label" : "Agrigento" ,
"code" : "AG"
} ,
{
"label" : "Alessandria" ,
"code" : "AL"
} ,
{
"label" : "Ancona" ,
"code" : "AN"
} ,
{
"label" : "Aosta" ,
"code" : "AO"
} ,
{
"label" : "Arezzo" ,
"code" : "AR"
} ,
{
"label" : "Ascoli Piceno" ,
"code" : "AP"
} ,
{
"label" : "Asti" ,
"code" : "AT"
} ,
{
"label" : "Avellino" ,
"code" : "AV"
} ,
{
"label" : "Barletta-Andria-Trani" ,
"code" : "BT"
} ,
{
"label" : "Belluno" ,
"code" : "BL"
} ,
{
"label" : "Benevento" ,
"code" : "BN"
} ,
{
"label" : "Bergamo" ,
"code" : "BG"
} ,
{
"label" : "Biella" ,
"code" : "BI"
} ,
{
"label" : "Bolzano" ,
"code" : "BZ"
} ,
{
"label" : "Brescia" ,
"code" : "BS"
} ,
{
"label" : "Brindisi" ,
"code" : "BR"
} ,
{
"label" : "Caltanissetta" ,
"code" : "CL"
} ,
{
"label" : "Campobasso" ,
"code" : "CB"
} ,
{
"label" : "Caserta" ,
"code" : "CE"
} ,
{
"label" : "Catanzaro" ,
"code" : "CZ"
} ,
{
"label" : "Chieti" ,
"code" : "CH"
} ,
{
"label" : "Como" ,
"code" : "CO"
} ,
{
"label" : "Cosenza" ,
"code" : "CS"
} ,
{
"label" : "Cremona" ,
"code" : "CR"
} ,
{
"label" : "Crotone" ,
"code" : "KR"
} ,
{
"label" : "Cuneo" ,
"code" : "CN"
} ,
{
"label" : "Enna" ,
"code" : "EN"
} ,
{
"label" : "Fermo" ,
"code" : "FM"
} ,
{
"label" : "Ferrara" ,
"code" : "FE"
} ,
{
"label" : "Foggia" ,
"code" : "FG"
} ,
{
"label" : "Forlì-Cesena" ,
"code" : "FC"
} ,
{
"label" : "Frosinone" ,
"code" : "FR"
} ,
{
"label" : "Gorizia" ,
"code" : "GO"
} ,
{
"label" : "Grosseto" ,
"code" : "GR"
} ,
{
"label" : "Imperia" ,
"code" : "IM"
} ,
{
"label" : "Isernia" ,
"code" : "IS"
} ,
{
"label" : "L'Aquila" ,
"code" : "AQ"
} ,
{
"label" : "LaSpezia" ,
"code" : "SP"
} ,
{
"label" : "Latina" ,
"code" : "LT"
} ,
{
"label" : "Lecce" ,
"code" : "LE"
} ,
{
"label" : "Lecco" ,
"code" : "LC"
} ,
{
"label" : "Livorno" ,
"code" : "LI"
} ,
{
"label" : "Lodi" ,
"code" : "LO"
} ,
{
"label" : "Lucca" ,
"code" : "LU"
} ,
{
"label" : "Macerata" ,
"code" : "MC"
} ,
{
"label" : "Mantova" ,
"code" : "MN"
} ,
{
"label" : "Massa-Carrara" ,
"code" : "MS"
} ,
{
"label" : "Matera" ,
"code" : "MT"
} ,
{
"label" : "Modena" ,
"code" : "MO"
} ,
{
"label" : "Monzae Brianza" ,
"code" : "MB"
} ,
{
"label" : "Novara" ,
"code" : "NO"
} ,
{
"label" : "Nuoro" ,
"code" : "NU"
} ,
{
"label" : "Oristano" ,
"code" : "OR"
} ,
{
"label" : "Padova" ,
"code" : "PD"
} ,
{
"label" : "Parma" ,
"code" : "PR"
} ,
{
"label" : "Pavia" ,
"code" : "PV"
} ,
{
"label" : "Perugia" ,
"code" : "PG"
} ,
{
"label" : "Pesaro e Urbino" ,
"code" : "PU"
} ,
{
"label" : "Pescara" ,
"code" : "PE"
} ,
{
"label" : "Piacenza" ,
"code" : "PC"
} ,
{
"label" : "Pisa" ,
"code" : "PI"
} ,
{
"label" : "Pistoia" ,
"code" : "PT"
} ,
{
"label" : "Pordenone" ,
"code" : "PN"
} ,
{
"label" : "Potenza" ,
"code" : "PZ"
} ,
{
"label" : "Prato" ,
"code" : "PO"
} ,
{
"label" : "Ragusa" ,
"code" : "RG"
} ,
{
"label" : "Ravenna" ,
"code" : "RA"
} ,
{
"label" : "Reggio Emilia" ,
"code" : "RE"
} ,
{
"label" : "Rieti" ,
"code" : "RI"
} ,
{
"label" : "Rimini" ,
"code" : "RN"
} ,
{
"label" : "Rovigo" ,
"code" : "RO"
} ,
{
"label" : "Salerno" ,
"code" : "SA"
} ,
{
"label" : "Sassari" ,
"code" : "SS"
} ,
{
"label" : "Savona" ,
"code" : "SV"
} ,
{
"label" : "Siena" ,
"code" : "SI"
} ,
{
"label" : "Siracusa" ,
"code" : "SR"
} ,
{
"label" : "Sondrio" ,
"code" : "SO"
} ,
{
"label" : "Sud Sardegna" ,
"code" : "SU"
} ,
{
"label" : "Taranto" ,
"code" : "TA"
} ,
{
"label" : "Teramo" ,
"code" : "TE"
} ,
{
"label" : "Terni" ,
"code" : "TR"
} ,
{
"label" : "Trapani" ,
"code" : "TP"
} ,
{
"label" : "Trento" ,
"code" : "TN"
} ,
{
"label" : "Treviso" ,
"code" : "TV"
} ,
{
"label" : "Trieste" ,
"code" : "TS"
} ,
{
"label" : "Udine" ,
"code" : "UD"
} ,
{
"label" : "Varese" ,
"code" : "VA"
} ,
{
"label" : "Verbano-Cusio-Ossola" ,
"code" : "VB"
} ,
{
"label" : "Vercelli" ,
"code" : "VC"
} ,
{
"label" : "Verona" ,
"code" : "VR"
} ,
{
"label" : "Vibo Valentia" ,
"code" : "VV"
} ,
{
"label" : "Vicenza" ,
"code" : "VI"
} ,
{
"label" : "Viterbo" ,
"code" : "VT"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/provinces/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<provinces>
<i0>
<label> Agrigento </label>
<code> AG </code>
</i0>
<i1>
<label> Alessandria </label>
<code> AL </code>
</i1>
<i2>
<label> Ancona </label>
<code> AN </code>
</i2>
<i3>
<label> Aosta </label>
<code> AO </code>
</i3>
<i4>
<label> Arezzo </label>
<code> AR </code>
</i4>
<i5>
<label> Ascoli Piceno </label>
<code> AP </code>
</i5>
<i6>
<label> Asti </label>
<code> AT </code>
</i6>
<i7>
<label> Avellino </label>
<code> AV </code>
</i7>
<i8>
<label> Barletta-Andria-Trani </label>
<code> BT </code>
</i8>
<i9>
<label> Belluno </label>
<code> BL </code>
</i9>
<i10>
<label> Benevento </label>
<code> BN </code>
</i10>
<i11>
<label> Bergamo </label>
<code> BG </code>
</i11>
<i12>
<label> Biella </label>
<code> BI </code>
</i12>
<i13>
<label> Bolzano </label>
<code> BZ </code>
</i13>
<i14>
<label> Brescia </label>
<code> BS </code>
</i14>
<i15>
<label> Brindisi </label>
<code> BR </code>
</i15>
<i16>
<label> Caltanissetta </label>
<code> CL </code>
</i16>
<i17>
<label> Campobasso </label>
<code> CB </code>
</i17>
<i18>
<label> Caserta </label>
<code> CE </code>
</i18>
<i19>
<label> Catanzaro </label>
<code> CZ </code>
</i19>
<i20>
<label> Chieti </label>
<code> CH </code>
</i20>
<i21>
<label> Como </label>
<code> CO </code>
</i21>
<i22>
<label> Cosenza </label>
<code> CS </code>
</i22>
<i23>
<label> Cremona </label>
<code> CR </code>
</i23>
<i24>
<label> Crotone </label>
<code> KR </code>
</i24>
<i25>
<label> Cuneo </label>
<code> CN </code>
</i25>
<i26>
<label> Enna </label>
<code> EN </code>
</i26>
<i27>
<label> Fermo </label>
<code> FM </code>
</i27>
<i28>
<label> Ferrara </label>
<code> FE </code>
</i28>
<i29>
<label> Foggia </label>
<code> FG </code>
</i29>
<i30>
<label> Forlì-Cesena </label>
<code> FC </code>
</i30>
<i31>
<label> Frosinone </label>
<code> FR </code>
</i31>
<i32>
<label> Gorizia </label>
<code> GO </code>
</i32>
<i33>
<label> Grosseto </label>
<code> GR </code>
</i33>
<i34>
<label> Imperia </label>
<code> IM </code>
</i34>
<i35>
<label> Isernia </label>
<code> IS </code>
</i35>
<i36>
<label> L'Aquila </label>
<code> AQ </code>
</i36>
<i37>
<label> LaSpezia </label>
<code> SP </code>
</i37>
<i38>
<label> Latina </label>
<code> LT </code>
</i38>
<i39>
<label> Lecce </label>
<code> LE </code>
</i39>
<i40>
<label> Lecco </label>
<code> LC </code>
</i40>
<i41>
<label> Livorno </label>
<code> LI </code>
</i41>
<i42>
<label> Lodi </label>
<code> LO </code>
</i42>
<i43>
<label> Lucca </label>
<code> LU </code>
</i43>
<i44>
<label> Macerata </label>
<code> MC </code>
</i44>
<i45>
<label> Mantova </label>
<code> MN </code>
</i45>
<i46>
<label> Massa-Carrara </label>
<code> MS </code>
</i46>
<i47>
<label> Matera </label>
<code> MT </code>
</i47>
<i48>
<label> Modena </label>
<code> MO </code>
</i48>
<i49>
<label> Monzae Brianza </label>
<code> MB </code>
</i49>
<i50>
<label> Novara </label>
<code> NO </code>
</i50>
<i51>
<label> Nuoro </label>
<code> NU </code>
</i51>
<i52>
<label> Oristano </label>
<code> OR </code>
</i52>
<i53>
<label> Padova </label>
<code> PD </code>
</i53>
<i54>
<label> Parma </label>
<code> PR </code>
</i54>
<i55>
<label> Pavia </label>
<code> PV </code>
</i55>
<i56>
<label> Perugia </label>
<code> PG </code>
</i56>
<i57>
<label> Pesaro e Urbino </label>
<code> PU </code>
</i57>
<i58>
<label> Pescara </label>
<code> PE </code>
</i58>
<i59>
<label> Piacenza </label>
<code> PC </code>
</i59>
<i60>
<label> Pisa </label>
<code> PI </code>
</i60>
<i61>
<label> Pistoia </label>
<code> PT </code>
</i61>
<i62>
<label> Pordenone </label>
<code> PN </code>
</i62>
<i63>
<label> Potenza </label>
<code> PZ </code>
</i63>
<i64>
<label> Prato </label>
<code> PO </code>
</i64>
<i65>
<label> Ragusa </label>
<code> RG </code>
</i65>
<i66>
<label> Ravenna </label>
<code> RA </code>
</i66>
<i67>
<label> Reggio Emilia </label>
<code> RE </code>
</i67>
<i68>
<label> Rieti </label>
<code> RI </code>
</i68>
<i69>
<label> Rimini </label>
<code> RN </code>
</i69>
<i70>
<label> Rovigo </label>
<code> RO </code>
</i70>
<i71>
<label> Salerno </label>
<code> SA </code>
</i71>
<i72>
<label> Sassari </label>
<code> SS </code>
</i72>
<i73>
<label> Savona </label>
<code> SV </code>
</i73>
<i74>
<label> Siena </label>
<code> SI </code>
</i74>
<i75>
<label> Siracusa </label>
<code> SR </code>
</i75>
<i76>
<label> Sondrio </label>
<code> SO </code>
</i76>
<i77>
<label> Sud Sardegna </label>
<code> SU </code>
</i77>
<i78>
<label> Taranto </label>
<code> TA </code>
</i78>
<i79>
<label> Teramo </label>
<code> TE </code>
</i79>
<i80>
<label> Terni </label>
<code> TR </code>
</i80>
<i81>
<label> Trapani </label>
<code> TP </code>
</i81>
<i82>
<label> Trento </label>
<code> TN </code>
</i82>
<i83>
<label> Treviso </label>
<code> TV </code>
</i83>
<i84>
<label> Trieste </label>
<code> TS </code>
</i84>
<i85>
<label> Udine </label>
<code> UD </code>
</i85>
<i86>
<label> Varese </label>
<code> VA </code>
</i86>
<i87>
<label> Verbano-Cusio-Ossola </label>
<code> VB </code>
</i87>
<i88>
<label> Vercelli </label>
<code> VC </code>
</i88>
<i89>
<label> Verona </label>
<code> VR </code>
</i89>
<i90>
<label> Vibo Valentia </label>
<code> VV </code>
</i90>
<i91>
<label> Vicenza </label>
<code> VI </code>
</i91>
<i92>
<label> Viterbo </label>
<code> VT </code>
</i92>
</provinces>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/provinces/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_provinces_0_label = Agrigento
result_provinces_0_code = AG
result_provinces_1_label = Alessandria
result_provinces_1_code = AL
result_provinces_2_label = Ancona
result_provinces_2_code = AN
result_provinces_3_label = Aosta
result_provinces_3_code = AO
result_provinces_4_label = Arezzo
result_provinces_4_code = AR
result_provinces_5_label = Ascoli Piceno
result_provinces_5_code = AP
result_provinces_6_label = Asti
result_provinces_6_code = AT
result_provinces_7_label = Avellino
result_provinces_7_code = AV
result_provinces_8_label = Barletta-Andria-Trani
result_provinces_8_code = BT
result_provinces_9_label = Belluno
result_provinces_9_code = BL
result_provinces_10_label = Benevento
result_provinces_10_code = BN
result_provinces_11_label = Bergamo
result_provinces_11_code = BG
result_provinces_12_label = Biella
result_provinces_12_code = BI
result_provinces_13_label = Bolzano
result_provinces_13_code = BZ
result_provinces_14_label = Brescia
result_provinces_14_code = BS
result_provinces_15_label = Brindisi
result_provinces_15_code = BR
result_provinces_16_label = Caltanissetta
result_provinces_16_code = CL
result_provinces_17_label = Campobasso
result_provinces_17_code = CB
result_provinces_18_label = Caserta
result_provinces_18_code = CE
result_provinces_19_label = Catanzaro
result_provinces_19_code = CZ
result_provinces_20_label = Chieti
result_provinces_20_code = CH
result_provinces_21_label = Como
result_provinces_21_code = CO
result_provinces_22_label = Cosenza
result_provinces_22_code = CS
result_provinces_23_label = Cremona
result_provinces_23_code = CR
result_provinces_24_label = Crotone
result_provinces_24_code = KR
result_provinces_25_label = Cuneo
result_provinces_25_code = CN
result_provinces_26_label = Enna
result_provinces_26_code = EN
result_provinces_27_label = Fermo
result_provinces_27_code = FM
result_provinces_28_label = Ferrara
result_provinces_28_code = FE
result_provinces_29_label = Foggia
result_provinces_29_code = FG
result_provinces_30_label = Forlì-Cesena
result_provinces_30_code = FC
result_provinces_31_label = Frosinone
result_provinces_31_code = FR
result_provinces_32_label = Gorizia
result_provinces_32_code = GO
result_provinces_33_label = Grosseto
result_provinces_33_code = GR
result_provinces_34_label = Imperia
result_provinces_34_code = IM
result_provinces_35_label = Isernia
result_provinces_35_code = IS
result_provinces_36_label = L'Aquila
result_provinces_36_code = AQ
result_provinces_37_label = LaSpezia
result_provinces_37_code = SP
result_provinces_38_label = Latina
result_provinces_38_code = LT
result_provinces_39_label = Lecce
result_provinces_39_code = LE
result_provinces_40_label = Lecco
result_provinces_40_code = LC
result_provinces_41_label = Livorno
result_provinces_41_code = LI
result_provinces_42_label = Lodi
result_provinces_42_code = LO
result_provinces_43_label = Lucca
result_provinces_43_code = LU
result_provinces_44_label = Macerata
result_provinces_44_code = MC
result_provinces_45_label = Mantova
result_provinces_45_code = MN
result_provinces_46_label = Massa-Carrara
result_provinces_46_code = MS
result_provinces_47_label = Matera
result_provinces_47_code = MT
result_provinces_48_label = Modena
result_provinces_48_code = MO
result_provinces_49_label = Monzae Brianza
result_provinces_49_code = MB
result_provinces_50_label = Novara
result_provinces_50_code = NO
result_provinces_51_label = Nuoro
result_provinces_51_code = NU
result_provinces_52_label = Oristano
result_provinces_52_code = OR
result_provinces_53_label = Padova
result_provinces_53_code = PD
result_provinces_54_label = Parma
result_provinces_54_code = PR
result_provinces_55_label = Pavia
result_provinces_55_code = PV
result_provinces_56_label = Perugia
result_provinces_56_code = PG
result_provinces_57_label = Pesaro e Urbino
result_provinces_57_code = PU
result_provinces_58_label = Pescara
result_provinces_58_code = PE
result_provinces_59_label = Piacenza
result_provinces_59_code = PC
result_provinces_60_label = Pisa
result_provinces_60_code = PI
result_provinces_61_label = Pistoia
result_provinces_61_code = PT
result_provinces_62_label = Pordenone
result_provinces_62_code = PN
result_provinces_63_label = Potenza
result_provinces_63_code = PZ
result_provinces_64_label = Prato
result_provinces_64_code = PO
result_provinces_65_label = Ragusa
result_provinces_65_code = RG
result_provinces_66_label = Ravenna
result_provinces_66_code = RA
result_provinces_67_label = Reggio Emilia
result_provinces_67_code = RE
result_provinces_68_label = Rieti
result_provinces_68_code = RI
result_provinces_69_label = Rimini
result_provinces_69_code = RN
result_provinces_70_label = Rovigo
result_provinces_70_code = RO
result_provinces_71_label = Salerno
result_provinces_71_code = SA
result_provinces_72_label = Sassari
result_provinces_72_code = SS
result_provinces_73_label = Savona
result_provinces_73_code = SV
result_provinces_74_label = Siena
result_provinces_74_code = SI
result_provinces_75_label = Siracusa
result_provinces_75_code = SR
result_provinces_76_label = Sondrio
result_provinces_76_code = SO
result_provinces_77_label = Sud Sardegna
result_provinces_77_code = SU
result_provinces_78_label = Taranto
result_provinces_78_code = TA
result_provinces_79_label = Teramo
result_provinces_79_code = TE
result_provinces_80_label = Terni
result_provinces_80_code = TR
result_provinces_81_label = Trapani
result_provinces_81_code = TP
result_provinces_82_label = Trento
result_provinces_82_code = TN
result_provinces_83_label = Treviso
result_provinces_83_code = TV
result_provinces_84_label = Trieste
result_provinces_84_code = TS
result_provinces_85_label = Udine
result_provinces_85_code = UD
result_provinces_86_label = Varese
result_provinces_86_code = VA
result_provinces_87_label = Verbano-Cusio-Ossola
result_provinces_87_code = VB
result_provinces_88_label = Vercelli
result_provinces_88_code = VC
result_provinces_89_label = Verona
result_provinces_89_code = VR
result_provinces_90_label = Vibo Valentia
result_provinces_90_code = VV
result_provinces_91_label = Vicenza
result_provinces_91_code = VI
result_provinces_92_label = Viterbo
result_provinces_92_code = VT
Example 4 (plain)
Request
https://joturl.com/a/i1/provinces/list?format=plain
Query parameters
format = plain
Response
Agrigento
AG
Alessandria
AL
Ancona
AN
Aosta
AO
Arezzo
AR
Ascoli Piceno
AP
Asti
AT
Avellino
AV
Barletta-Andria-Trani
BT
Belluno
BL
Benevento
BN
Bergamo
BG
Biella
BI
Bolzano
BZ
Brescia
BS
Brindisi
BR
Caltanissetta
CL
Campobasso
CB
Caserta
CE
Catanzaro
CZ
Chieti
CH
Como
CO
Cosenza
CS
Cremona
CR
Crotone
KR
Cuneo
CN
Enna
EN
Fermo
FM
Ferrara
FE
Foggia
FG
Forlì-Cesena
FC
Frosinone
FR
Gorizia
GO
Grosseto
GR
Imperia
IM
Isernia
IS
L'Aquila
AQ
LaSpezia
SP
Latina
LT
Lecce
LE
Lecco
LC
Livorno
LI
Lodi
LO
Lucca
LU
Macerata
MC
Mantova
MN
Massa-Carrara
MS
Matera
MT
Modena
MO
Monzae Brianza
MB
Novara
NO
Nuoro
NU
Oristano
OR
Padova
PD
Parma
PR
Pavia
PV
Perugia
PG
Pesaro e Urbino
PU
Pescara
PE
Piacenza
PC
Pisa
PI
Pistoia
PT
Pordenone
PN
Potenza
PZ
Prato
PO
Ragusa
RG
Ravenna
RA
Reggio Emilia
RE
Rieti
RI
Rimini
RN
Rovigo
RO
Salerno
SA
Sassari
SS
Savona
SV
Siena
SI
Siracusa
SR
Sondrio
SO
Sud Sardegna
SU
Taranto
TA
Teramo
TE
Terni
TR
Trapani
TP
Trento
TN
Treviso
TV
Trieste
TS
Udine
UD
Varese
VA
Verbano-Cusio-Ossola
VB
Vercelli
VC
Verona
VR
Vibo Valentia
VV
Vicenza
VI
Viterbo
VT
Return values
parameter
description
provinces
list of available Italian provinces
/qrcodes /qrcodes/add
access: [WRITE]
Add a QR code template.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/add?name=QR+code+template&shape=square&fg_color=000000FF&bg_img_id=&bg_flip_v=0&bg_flip_h=0&bg_sslider_value=0&bg_rslider_value=0&bg_tslider_value=0&bg_color=FFFFFF00&fg_img_id=3605a07e82d2d194ec9c6b18b14fdf46&fg_flip_v=0&fg_flip_h=0&fg_sslider_value=72&fg_rslider_value=0&fg_tslider_value=0
Query parameters
name = QR code template
shape = square
fg_color = 000000FF
bg_img_id =
bg_flip_v = 0
bg_flip_h = 0
bg_sslider_value = 0
bg_rslider_value = 0
bg_tslider_value = 0
bg_color = FFFFFF00
fg_img_id = 3605a07e82d2d194ec9c6b18b14fdf46
fg_flip_v = 0
fg_flip_h = 0
fg_sslider_value = 72
fg_rslider_value = 0
fg_tslider_value = 0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "ed45c171735eac7d643b2d2abaceaaa5" ,
"name" : "QR code template"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/add?name=QR+code+template&shape=square&fg_color=000000FF&bg_img_id=&bg_flip_v=0&bg_flip_h=0&bg_sslider_value=0&bg_rslider_value=0&bg_tslider_value=0&bg_color=FFFFFF00&fg_img_id=3605a07e82d2d194ec9c6b18b14fdf46&fg_flip_v=0&fg_flip_h=0&fg_sslider_value=72&fg_rslider_value=0&fg_tslider_value=0&format=xml
Query parameters
name = QR code template
shape = square
fg_color = 000000FF
bg_img_id =
bg_flip_v = 0
bg_flip_h = 0
bg_sslider_value = 0
bg_rslider_value = 0
bg_tslider_value = 0
bg_color = FFFFFF00
fg_img_id = 3605a07e82d2d194ec9c6b18b14fdf46
fg_flip_v = 0
fg_flip_h = 0
fg_sslider_value = 72
fg_rslider_value = 0
fg_tslider_value = 0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> ed45c171735eac7d643b2d2abaceaaa5 </id>
<name> QR code template </name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/add?name=QR+code+template&shape=square&fg_color=000000FF&bg_img_id=&bg_flip_v=0&bg_flip_h=0&bg_sslider_value=0&bg_rslider_value=0&bg_tslider_value=0&bg_color=FFFFFF00&fg_img_id=3605a07e82d2d194ec9c6b18b14fdf46&fg_flip_v=0&fg_flip_h=0&fg_sslider_value=72&fg_rslider_value=0&fg_tslider_value=0&format=txt
Query parameters
name = QR code template
shape = square
fg_color = 000000FF
bg_img_id =
bg_flip_v = 0
bg_flip_h = 0
bg_sslider_value = 0
bg_rslider_value = 0
bg_tslider_value = 0
bg_color = FFFFFF00
fg_img_id = 3605a07e82d2d194ec9c6b18b14fdf46
fg_flip_v = 0
fg_flip_h = 0
fg_sslider_value = 72
fg_rslider_value = 0
fg_tslider_value = 0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = ed45c171735eac7d643b2d2abaceaaa5
result_name = QR code template
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/add?name=QR+code+template&shape=square&fg_color=000000FF&bg_img_id=&bg_flip_v=0&bg_flip_h=0&bg_sslider_value=0&bg_rslider_value=0&bg_tslider_value=0&bg_color=FFFFFF00&fg_img_id=3605a07e82d2d194ec9c6b18b14fdf46&fg_flip_v=0&fg_flip_h=0&fg_sslider_value=72&fg_rslider_value=0&fg_tslider_value=0&format=plain
Query parameters
name = QR code template
shape = square
fg_color = 000000FF
bg_img_id =
bg_flip_v = 0
bg_flip_h = 0
bg_sslider_value = 0
bg_rslider_value = 0
bg_tslider_value = 0
bg_color = FFFFFF00
fg_img_id = 3605a07e82d2d194ec9c6b18b14fdf46
fg_flip_v = 0
fg_flip_h = 0
fg_sslider_value = 72
fg_rslider_value = 0
fg_tslider_value = 0
format = plain
Response
ed45c171735eac7d643b2d2abaceaaa5
QR code template
Required parameters
parameter
description
max length
nameSTRING
QR code template name
50
Optional parameters
Return values
parameter
description
id
ID of the QR code template
name
echo back of the input parameter name
/qrcodes/count
access: [READ]
This method returns the number of defined QR code templates.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Optional parameters
parameter
description
searchSTRING
filters QR code templates to be extracted by searching them
Return values
parameter
description
count
number of (filtered) QR code templates
/qrcodes/delete
access: [WRITE]
This method deletes a set of QR code templates by using their IDs.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906
Query parameters
ids = c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906&format=xml
Query parameters
ids = c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906&format=txt
Query parameters
ids = c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906&format=plain
Query parameters
ids = c5abe8e9e9299b32c091a33fa2d9626a,7232ca26ed92d114afe8da2ad95aba94,ecdd3708861ab7b5291c47779f7cc906
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf
Query parameters
ids = 0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf&format=xml
Query parameters
ids = 0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62 </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf&format=txt
Query parameters
ids = 0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/qrcodes/delete?ids=0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf&format=plain
Query parameters
ids = 0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62,d31ff5bf1c9eb02e1fbb540ed47263bf
format = plain
Response
0d2863aad4dd96591dcf71be67b48d83,a24ad321d9ae8090d8037ae6dfe53e62
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of QR code template IDs to be deleted
Return values
parameter
description
deleted
number of deleted QR code templates
ids
[OPTIONAL] list of QR code template IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/qrcodes/edit
access: [WRITE]
Edit a QR code template.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/edit?id=289e6db3a32fdc6d706062da2d7dcdb6&name=new+name+for+the+QR+code+template
Query parameters
id = 289e6db3a32fdc6d706062da2d7dcdb6
name = new name for the QR code template
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "289e6db3a32fdc6d706062da2d7dcdb6" ,
"name" : "new name for the QR code template"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/edit?id=289e6db3a32fdc6d706062da2d7dcdb6&name=new+name+for+the+QR+code+template&format=xml
Query parameters
id = 289e6db3a32fdc6d706062da2d7dcdb6
name = new name for the QR code template
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 289e6db3a32fdc6d706062da2d7dcdb6 </id>
<name> new name for the QR code template </name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/edit?id=289e6db3a32fdc6d706062da2d7dcdb6&name=new+name+for+the+QR+code+template&format=txt
Query parameters
id = 289e6db3a32fdc6d706062da2d7dcdb6
name = new name for the QR code template
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 289e6db3a32fdc6d706062da2d7dcdb6
result_name = new name for the QR code template
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/edit?id=289e6db3a32fdc6d706062da2d7dcdb6&name=new+name+for+the+QR+code+template&format=plain
Query parameters
id = 289e6db3a32fdc6d706062da2d7dcdb6
name = new name for the QR code template
format = plain
Response
289e6db3a32fdc6d706062da2d7dcdb6
new name for the QR code template
Required parameters
parameter
description
idID
ID of the QR code template
Optional parameters
Return values
parameter
description
id
ID of the QR code template
name
echo back of the input parameter name
/qrcodes/info
access: [READ]
This method returns information specified in a comma separated input called fields about a Qr code template.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/info?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "f818640345132176246589b99b008b74" ,
"name" : "QR code template" ,
"shape" : "square" ,
"fg_color" : "000000FF" ,
"bg_img_id" : "" ,
"bg_flip_v" : 0 ,
"bg_flip_h" : 0 ,
"bg_sslider_value" : 0 ,
"bg_rslider_value" : 0 ,
"bg_tslider_value" : 0 ,
"bg_color" : "FFFFFF00" ,
"fg_img_id" : "b142fb758c38209d9ddf497306779307" ,
"fg_flip_v" : 0 ,
"fg_flip_h" : 0 ,
"fg_sslider_value" : 72 ,
"fg_rslider_value" : 0 ,
"fg_tslider_value" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/info?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value&format=xml
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> f818640345132176246589b99b008b74 </id>
<name> QR code template </name>
<shape> square </shape>
<fg_color> 000000FF </fg_color>
<bg_img_id> </bg_img_id>
<bg_flip_v> 0 </bg_flip_v>
<bg_flip_h> 0 </bg_flip_h>
<bg_sslider_value> 0 </bg_sslider_value>
<bg_rslider_value> 0 </bg_rslider_value>
<bg_tslider_value> 0 </bg_tslider_value>
<bg_color> FFFFFF00 </bg_color>
<fg_img_id> b142fb758c38209d9ddf497306779307 </fg_img_id>
<fg_flip_v> 0 </fg_flip_v>
<fg_flip_h> 0 </fg_flip_h>
<fg_sslider_value> 72 </fg_sslider_value>
<fg_rslider_value> 0 </fg_rslider_value>
<fg_tslider_value> 0 </fg_tslider_value>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/info?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value&format=txt
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = f818640345132176246589b99b008b74
result_name = QR code template
result_shape = square
result_fg_color = 000000FF
result_bg_img_id =
result_bg_flip_v = 0
result_bg_flip_h = 0
result_bg_sslider_value = 0
result_bg_rslider_value = 0
result_bg_tslider_value = 0
result_bg_color = FFFFFF00
result_fg_img_id = b142fb758c38209d9ddf497306779307
result_fg_flip_v = 0
result_fg_flip_h = 0
result_fg_sslider_value = 72
result_fg_rslider_value = 0
result_fg_tslider_value = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/info?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value&format=plain
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
format = plain
Response
f818640345132176246589b99b008b74
QR code template
square
000000FF
0
0
0
0
0
FFFFFF00
b142fb758c38209d9ddf497306779307
0
0
72
0
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, see i1/qrcodes/list for details
idID
ID of the QR code template
Return values
parameter
description
bg_color
[OPTIONAL] returned only if bg_color is passed in fields
bg_flip_h
[OPTIONAL] returned only if bg_flip_h is passed in fields
bg_flip_v
[OPTIONAL] returned only if bg_flip_v is passed in fields
bg_img_id
[OPTIONAL] returned only if bg_img_id is passed in fields
bg_rslider_value
[OPTIONAL] returned only if bg_rslider_value is passed in fields
bg_sslider_value
[OPTIONAL] returned only if bg_sslider_value is passed in fields
bg_tslider_value
[OPTIONAL] returned only if bg_tslider_value is passed in fields
fg_color
[OPTIONAL] returned only if fg_color is passed in fields
fg_flip_h
[OPTIONAL] returned only if fg_flip_h is passed in fields
fg_flip_v
[OPTIONAL] returned only if fg_flip_v is passed in fields
fg_img_id
[OPTIONAL] returned only if fg_img_id is passed in fields
fg_rslider_value
[OPTIONAL] returned only if fg_rslider_value is passed in fields
fg_sslider_value
[OPTIONAL] returned only if fg_sslider_value is passed in fields
fg_tslider_value
[OPTIONAL] returned only if fg_tslider_value is passed in fields
id
[OPTIONAL] returned only if id is passed in fields
name
[OPTIONAL] returned only if name is passed in fields
shape
[OPTIONAL] returned only if shape is passed in fields
/qrcodes/list
access: [READ]
This method returns a list of user's Qr code templates, specified in a comma separated input called fields.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/list?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"id" : "27ccc3639d34c2fd607e1b8fe6c33efc" ,
"name" : "QR code template" ,
"shape" : "square" ,
"fg_color" : "000000FF" ,
"bg_img_id" : "" ,
"bg_flip_v" : 0 ,
"bg_flip_h" : 0 ,
"bg_sslider_value" : 0 ,
"bg_rslider_value" : 0 ,
"bg_tslider_value" : 0 ,
"bg_color" : "FFFFFF00" ,
"fg_img_id" : "2145ed63d67e7917d2421e2b9a3240d8" ,
"fg_flip_v" : 0 ,
"fg_flip_h" : 0 ,
"fg_sslider_value" : 72 ,
"fg_rslider_value" : 0 ,
"fg_tslider_value" : 0
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/list?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value&format=xml
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<id> 27ccc3639d34c2fd607e1b8fe6c33efc </id>
<name> QR code template </name>
<shape> square </shape>
<fg_color> 000000FF </fg_color>
<bg_img_id> </bg_img_id>
<bg_flip_v> 0 </bg_flip_v>
<bg_flip_h> 0 </bg_flip_h>
<bg_sslider_value> 0 </bg_sslider_value>
<bg_rslider_value> 0 </bg_rslider_value>
<bg_tslider_value> 0 </bg_tslider_value>
<bg_color> FFFFFF00 </bg_color>
<fg_img_id> 2145ed63d67e7917d2421e2b9a3240d8 </fg_img_id>
<fg_flip_v> 0 </fg_flip_v>
<fg_flip_h> 0 </fg_flip_h>
<fg_sslider_value> 72 </fg_sslider_value>
<fg_rslider_value> 0 </fg_rslider_value>
<fg_tslider_value> 0 </fg_tslider_value>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/list?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value&format=txt
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_id = 27ccc3639d34c2fd607e1b8fe6c33efc
result_data_0_name = QR code template
result_data_0_shape = square
result_data_0_fg_color = 000000FF
result_data_0_bg_img_id =
result_data_0_bg_flip_v = 0
result_data_0_bg_flip_h = 0
result_data_0_bg_sslider_value = 0
result_data_0_bg_rslider_value = 0
result_data_0_bg_tslider_value = 0
result_data_0_bg_color = FFFFFF00
result_data_0_fg_img_id = 2145ed63d67e7917d2421e2b9a3240d8
result_data_0_fg_flip_v = 0
result_data_0_fg_flip_h = 0
result_data_0_fg_sslider_value = 72
result_data_0_fg_rslider_value = 0
result_data_0_fg_tslider_value = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/list?fields=count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value&format=plain
Query parameters
fields = count,id,name,shape,fg_color,bg_img_id,bg_flip_v,bg_flip_h,bg_sslider_value,bg_rslider_value,bg_tslider_value,bg_color,fg_img_id,fg_flip_v,fg_flip_h,fg_sslider_value,fg_rslider_value,fg_tslider_value
format = plain
Response
1
27ccc3639d34c2fd607e1b8fe6c33efc
QR code template
square
000000FF
0
0
0
0
0
FFFFFF00
2145ed63d67e7917d2421e2b9a3240d8
0
0
72
0
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, bg_color, bg_img_id, fg_color, id, fg_img_id, params, name, shape
Parameters bg_brand_id, bg_flip_v, bg_flip_h, bg_sslider_value, bg_rslider_value, bg_tslider_value, fg_brand_id, fg_flip_v, fg_flip_h, fg_sslider_value, fg_rslider_value, fg_tslider_value are returned only if params is passed in fields .
Optional parameters
parameter
description
lengthINTEGER
extracts this number of QR code templates (maxmimum allowed: 100)
orderbyARRAY
orders QR code templates by field, available fields: bg_color, bg_img_id, fg_color, id, fg_img_id, params, name, shape
searchSTRING
filters QR code templates to be extracted by searching them
sortSTRING
sorts QR code templates in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract QR code templates from this position
typesSTRING
NA
Return values
parameter
description
data
array containing information on the QR code templates, returned information depends on the fields parameter.
Available fields in the data array:
id : ID of the QR code template name : QR code profile name shape : QR code module shape, see i1/qrcodes/property for details fg_color : QR code modules color (hex format red, green, blue, transparency: RRGGBBAA ) bg_img_id : ID of the background image bg_flip_v : 1 if the background image is flipped vertically bg_flip_h : 1 if the background image is flipped horizontally bg_sslider_value : background image scale [0-100%] bg_rslider_value : background image rotation [0-359 deg] bg_tslider_value : background image transparency [0=totally opaque - 100=totally transparent] bg_color : QR code background color (hex format red, green, blue, transparency: RRGGBBAA) fg_img_id : ID of the foreground image fg_flip_v : 1 if the foreground image is flipped vertically fg_flip_h : 1 if the foreground image is flipped horizontally fg_sslider_value : foreground image scale [0-100%] fg_rslider_value : foreground image rotation [0-359 deg] fg_tslider_value : foreground image transparency [0=totally opaque - 100=totally transparent] See i1/qrcodes/property for details on shape.
/qrcodes/preview
access: [READ]
This method returns a preview of a QR codes.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/preview?size=big&id=d00fe3b3a61ab08169799902717d1fa6
Query parameters
size = big
id = d00fe3b3a61ab08169799902717d1fa6
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"img" : "data:image/png;base64,OGU2ZWJmMDAwOWQxODE5YjViNGRlODIyNzBkNTA0Yzc="
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/preview?size=big&id=d00fe3b3a61ab08169799902717d1fa6&format=xml
Query parameters
size = big
id = d00fe3b3a61ab08169799902717d1fa6
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<img> data:image/png;base64,OGU2ZWJmMDAwOWQxODE5YjViNGRlODIyNzBkNTA0Yzc= </img>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/preview?size=big&id=d00fe3b3a61ab08169799902717d1fa6&format=txt
Query parameters
size = big
id = d00fe3b3a61ab08169799902717d1fa6
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_img = data:image/png;base64,OGU2ZWJmMDAwOWQxODE5YjViNGRlODIyNzBkNTA0Yzc=
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/preview?size=big&id=d00fe3b3a61ab08169799902717d1fa6&format=plain
Query parameters
size = big
id = d00fe3b3a61ab08169799902717d1fa6
format = plain
Response
data:image/png;base64,OGU2ZWJmMDAwOWQxODE5YjViNGRlODIyNzBkNTA0Yzc=
Optional parameters
parameter
description
bg_colorSTRING
QR code background color, see i1/qrcodes/list for details, this parameter is ignored if id is passed
bg_flip_hSTRING
1 if the background image is flipped horizontally
bg_flip_vSTRING
1 if the background image is flipped vertically
bg_img_idID
ID of the background image, see i1/qrcodes/list for details, this parameter is ignored if id is passed
bg_rslider_valueSTRING
background image rotation [0-359 deg]
bg_sslider_valueSTRING
background image scale [0-100%]
bg_tslider_valueSTRING
background image transparency [0=totally opaque - 100=totally transparent]
checkBOOLEAN
1 to check if the QR code is readable, default value check = 0
customizationBOOLEAN
1 if the QR code preview should be generated using bg_color, fg_color, shape, fg_img_id, bg_img_id, bg_flip_v, bg_flip_h, bg_sslider_value, bg_rslider_value, bg_tslider_value, fg_flip_v, fg_flip_h, fg_sslider_value, fg_rslider_value, fg_tslider_value; this parameter is ignored if id is passed
downloadBOOLEAN
1 to force the download of the QR code to be started by this method, default value download = 0
fg_colorSTRING
QR code modules color, see i1/qrcodes/list for details, this parameter is ignored if id is passed
fg_flip_hSTRING
1 if the foreground image is flipped horizontally
fg_flip_vSTRING
1 if the foreground image is flipped vertically
fg_img_idID
ID of the foreground image (logo), see i1/qrcodes/list for details, this parameter is ignored if id is passed
fg_rslider_valueSTRING
foreground image rotation [0-359 deg]
fg_sslider_valueSTRING
foreground image scale [0-100%]
fg_tslider_valueSTRING
foreground image transparency [0=totally opaque - 100=totally transparent]
idID
ID of the QR code template to use for the preview
return_imageBOOLEAN
1 to return the QR code binary data regardless the format
input parameter, it is useful to show QR codes on the user interface, default value return_image = 0
shapeSTRING
QR code module shape, see i1/qrcodes/list for details, this parameter is ignored if id is passed
sizeSTRING
size for the preview to be generated, see i1/qrcodes/property for available sizes, default value type = small
typeSTRING
image type for the preview to be generated, see i1/qrcodes/property for available types, default value type = png
urlURL
URL to which the QR code points, default value: http://joturl.com
Return values
parameter
description
[BINARY DATA]
[OPTIONAL] binary data representing the QR code image are returned only if download = 1
or return_image = 1
check
[OPTIONAL] 1 if the QR code is readable, 0 otherwise, returned only if check = 1
, download = 0
and return_image = 0
img
[OPTIONAL] base64 of the data representing the QR code image, returned only if download = 0
and return_image = 0
/qrcodes/property
access: [READ]
This method returns a list of property of QR codes.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"shapes" : [
"square" ,
"rsquare" ,
"rrsquare" ,
"rhombus" ,
"ldiamond" ,
"rdiamond" ,
"dot" ,
"rndsquare"
] ,
"types" : [
"svg" ,
"jpg"
] ,
"sizes" : [
"small" ,
"medium" ,
"big"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<shapes>
<i0> square </i0>
<i1> rsquare </i1>
<i2> rrsquare </i2>
<i3> rhombus </i3>
<i4> ldiamond </i4>
<i5> rdiamond </i5>
<i6> dot </i6>
<i7> rndsquare </i7>
</shapes>
<types>
<i0> svg </i0>
<i1> jpg </i1>
</types>
<sizes>
<i0> small </i0>
<i1> medium </i1>
<i2> big </i2>
</sizes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_shapes_0 = square
result_shapes_1 = rsquare
result_shapes_2 = rrsquare
result_shapes_3 = rhombus
result_shapes_4 = ldiamond
result_shapes_5 = rdiamond
result_shapes_6 = dot
result_shapes_7 = rndsquare
result_types_0 = svg
result_types_1 = jpg
result_sizes_0 = small
result_sizes_1 = medium
result_sizes_2 = big
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/property?format=plain
Query parameters
format = plain
Response
square
rsquare
rrsquare
rhombus
ldiamond
rdiamond
dot
rndsquare
svg
jpg
small
medium
big
Return values
parameter
description
shapes
available shapes for the QR code modules
sizes
available sizes for the QR code
types
available image types for the QR code
/qrcodes/urls /qrcodes/urls/count
access: [READ]
This method returns the number of tracking link associated to a specific QR code template.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/urls/count?qrcode_id=595976d44d7879662425d49e7fe011b8
Query parameters
qrcode_id = 595976d44d7879662425d49e7fe011b8
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 6
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/urls/count?qrcode_id=595976d44d7879662425d49e7fe011b8&format=xml
Query parameters
qrcode_id = 595976d44d7879662425d49e7fe011b8
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 6 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/urls/count?qrcode_id=595976d44d7879662425d49e7fe011b8&format=txt
Query parameters
qrcode_id = 595976d44d7879662425d49e7fe011b8
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 6
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/urls/count?qrcode_id=595976d44d7879662425d49e7fe011b8&format=plain
Query parameters
qrcode_id = 595976d44d7879662425d49e7fe011b8
format = plain
Response
6
Required parameters
parameter
description
qrcode_idID
ID of the QR code template
Optional parameters
parameter
description
searchSTRING
filters tracking links to be extracted by searching them
Return values
parameter
description
count
number of (filtered) tracking links associated to the QR code template
/qrcodes/urls/list
access: [READ]
This method returns a list of tracking link associated to a specific QR code template.
Example 1 (json)
Request
https://joturl.com/a/i1/qrcodes/urls/list?fields=id,short_url&qrcode_id=833c5812440fe63fc38e2126b9bc0004
Query parameters
fields = id,short_url
qrcode_id = 833c5812440fe63fc38e2126b9bc0004
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "7dd97dd879249634eb475bb77341e7fc" ,
"short_url" : "http://jo.my/bf83640a"
} ,
{
"id" : "d2216ba611a18928b088979c7db7ef4f" ,
"short_url" : "http://jo.my/fd2f0fe0"
} ,
{
"id" : "3665722b3ee504bed74ed1ad978e5628" ,
"short_url" : "http://jo.my/83cb4395"
} ,
{
"id" : "83eb6fe14e24aa45744d6752fc9f41d2" ,
"short_url" : "http://jo.my/274fa9f6"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/qrcodes/urls/list?fields=id,short_url&qrcode_id=833c5812440fe63fc38e2126b9bc0004&format=xml
Query parameters
fields = id,short_url
qrcode_id = 833c5812440fe63fc38e2126b9bc0004
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 7dd97dd879249634eb475bb77341e7fc </id>
<short_url> http://jo.my/bf83640a </short_url>
</i0>
<i1>
<id> d2216ba611a18928b088979c7db7ef4f </id>
<short_url> http://jo.my/fd2f0fe0 </short_url>
</i1>
<i2>
<id> 3665722b3ee504bed74ed1ad978e5628 </id>
<short_url> http://jo.my/83cb4395 </short_url>
</i2>
<i3>
<id> 83eb6fe14e24aa45744d6752fc9f41d2 </id>
<short_url> http://jo.my/274fa9f6 </short_url>
</i3>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/qrcodes/urls/list?fields=id,short_url&qrcode_id=833c5812440fe63fc38e2126b9bc0004&format=txt
Query parameters
fields = id,short_url
qrcode_id = 833c5812440fe63fc38e2126b9bc0004
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 7dd97dd879249634eb475bb77341e7fc
result_data_0_short_url = http://jo.my/bf83640a
result_data_1_id = d2216ba611a18928b088979c7db7ef4f
result_data_1_short_url = http://jo.my/fd2f0fe0
result_data_2_id = 3665722b3ee504bed74ed1ad978e5628
result_data_2_short_url = http://jo.my/83cb4395
result_data_3_id = 83eb6fe14e24aa45744d6752fc9f41d2
result_data_3_short_url = http://jo.my/274fa9f6
Example 4 (plain)
Request
https://joturl.com/a/i1/qrcodes/urls/list?fields=id,short_url&qrcode_id=833c5812440fe63fc38e2126b9bc0004&format=plain
Query parameters
fields = id,short_url
qrcode_id = 833c5812440fe63fc38e2126b9bc0004
format = plain
Response
http://jo.my/bf83640a
http://jo.my/fd2f0fe0
http://jo.my/83cb4395
http://jo.my/274fa9f6
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: id, notes, short_url, long_url, project_id, project_name, domain_id, domain_host, count
qrcode_idID
ID of the QR code template
Optional parameters
parameter
description
lengthINTEGER
extracts this number of tracking links (maxmimum allowed: 100)
orderbyARRAY
orders tracking links by field, available fields: id, notes, short_url, long_url, project_id, project_name, domain_id, domain_host, count
searchSTRING
filters tracking links to be extracted by searching them
sortSTRING
sorts tracking links in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract tracking links from this position
Return values
parameter
description
data
array containing information on the tracking links, the returned information depends on the fields parameter.
access: [WRITE]
Add a remarketing pixel for the user logged in.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/add?name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2
Query parameters
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "71636c766251733639686861436d496d58426c464f773d3d" ,
"name" : "FB remarketing pixel" ,
"notes" : "this is a simple note" ,
"code_type" : "facebook" ,
"code_id" : "132434" ,
"code_html" : "" ,
"gdpr_id" : "7522395a6a22633061376e672161356b3153613638213d3d" ,
"gdpr_enabled" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/add?name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2&format=xml
Query parameters
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 71636c766251733639686861436d496d58426c464f773d3d </id>
<name> FB remarketing pixel </name>
<notes> this is a simple note </notes>
<code_type> facebook </code_type>
<code_id> 132434 </code_id>
<code_html> </code_html>
<gdpr_id> 7522395a6a22633061376e672161356b3153613638213d3d </gdpr_id>
<gdpr_enabled> 2 </gdpr_enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/add?name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2&format=txt
Query parameters
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 71636c766251733639686861436d496d58426c464f773d3d
result_name = FB remarketing pixel
result_notes = this is a simple note
result_code_type = facebook
result_code_id = 132434
result_code_html =
result_gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
result_gdpr_enabled = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/add?name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2&format=plain
Query parameters
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
format = plain
Response
71636c766251733639686861436d496d58426c464f773d3d
FB remarketing pixel
this is a simple note
facebook
132434
7522395a6a22633061376e672161356b3153613638213d3d
2
Required parameters
parameter
description
max length
nameSTRING
remarketing pixel name
100
Optional parameters
parameter
description
max length
code_htmlHTML
HTML code for custom remarketing script
4000
code_idSTRING
pixel ID
255
code_typeENUM
pixel type, available codes: adroll, bing, custom, facebook, google_adwords, google_analytics, google_tag_manager, linkedin, manychat, pinterest, quora, reddit, snapchat, tiktok, twitter
gdpr_enabledINTEGER
0 if GDPR is disabled, 1 if GDPR is enabled and the default model is used, 2 if GDPR is enabled and the model with ID gdpr_id is used
gdpr_idID
ID of the GDPR template associated with this remarketing pixel
notesSTRING
remarketing pixel notes
128
Please note that:
code_html is mandatatory if code_type = custom
(and viceversa) code_id is mandatatory if code_type is not empty and not equal to custom
(and viceversa) gdpr_id is mandatatory if gdpr_enabled=2 name cannot be empty
Return values
parameter
description
code_html
[OPTIONAL] HTML code for custom remarketing script, returned only if code_html is passed
code_id
[OPTIONAL] pixel ID, returned only if code_id is passed
code_type
[OPTIONAL] pixel type, available codes: adroll, bing, custom, facebook, google_adwords, google_analytics, google_tag_manager, linkedin, manychat, pinterest, quora, reddit, snapchat, tiktok, twitter, returned only if code_type is passed
gdpr_enabled
[OPTIONAL] 0 if GDPR is disabled, 1 if GDPR is enabled and the default model is used, 2 if GDPR is enabled and the model with ID gdpr_id is used, returned only if gdpr_enabled is passed
gdpr_id
[OPTIONAL] ID of the GDPR template associated with this remarketing pixel, returned only if gdpr_id is passed
id
[OPTIONAL] remarketing pixel (internal) ID, returned only if id is passed
name
[OPTIONAL] remarketing pixel name, returned only if name is passed
access: [READ]
This method returns the number of defined remarketing pixels.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 8
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 8 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 8
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/count?format=plain
Query parameters
format = plain
Response
8
Example 5 (json)
Request
https://joturl.com/a/i1/remarketings/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/remarketings/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/remarketings/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 8 (plain)
Request
https://joturl.com/a/i1/remarketings/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Optional parameters
parameter
description
searchSTRING
count items by searching them
typesARRAY
filters list by code type(s), it can be empty, all or a comma separated list of these codes: facebook, twitter, linkedin, pinterest, bing, google_analytics, google_adwords, google_tag_manager, manychat, quora, adroll, snapchat, tiktok, reddit, custom
Return values
parameter
description
count
number of remarketing pixels (filtered by search if passed)
access: [WRITE]
This method deletes a set of remarketing pixels by using their IDs.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/delete?ids=a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed
Query parameters
ids = a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/delete?ids=a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed&format=xml
Query parameters
ids = a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/delete?ids=a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed&format=txt
Query parameters
ids = a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/delete?ids=a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed&format=plain
Query parameters
ids = a63414cc44cf908800bcb7bc47bafde7,c56a79be5bf88dce416b34061a0f28fc,7451b14d20d1a617578af97761299fed
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/remarketings/delete?ids=0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b
Query parameters
ids = 0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5" ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/remarketings/delete?ids=0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b&format=xml
Query parameters
ids = 0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5 </ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/remarketings/delete?ids=0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b&format=txt
Query parameters
ids = 0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/remarketings/delete?ids=0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b&format=plain
Query parameters
ids = 0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5,5afa9dc499766f491f9edc82878a441b
format = plain
Response
0f9774f8aac41b8ca1d66aacdea2c928,47a0166941c2d8dca8d57c67a9d870b5
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of remarketing pixel IDs to be deleted
Return values
parameter
description
deleted
number of deleted remarketing pixels
ids
[OPTIONAL] list of remarketing pixel IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
access: [WRITE]
Edit fields of a remarketing pixel.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/edit?id=306663506735386e622f69266e366a586d6b722552513d3d&name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2
Query parameters
id = 306663506735386e622f69266e366a586d6b722552513d3d
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "306663506735386e622f69266e366a586d6b722552513d3d" ,
"name" : "FB remarketing pixel" ,
"notes" : "this is a simple note" ,
"code_type" : "facebook" ,
"code_id" : "132434" ,
"code_html" : "" ,
"gdpr_id" : "7522395a6a22633061376e672161356b3153613638213d3d" ,
"gdpr_enabled" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/edit?id=306663506735386e622f69266e366a586d6b722552513d3d&name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2&format=xml
Query parameters
id = 306663506735386e622f69266e366a586d6b722552513d3d
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 306663506735386e622f69266e366a586d6b722552513d3d </id>
<name> FB remarketing pixel </name>
<notes> this is a simple note </notes>
<code_type> facebook </code_type>
<code_id> 132434 </code_id>
<code_html> </code_html>
<gdpr_id> 7522395a6a22633061376e672161356b3153613638213d3d </gdpr_id>
<gdpr_enabled> 2 </gdpr_enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/edit?id=306663506735386e622f69266e366a586d6b722552513d3d&name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2&format=txt
Query parameters
id = 306663506735386e622f69266e366a586d6b722552513d3d
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 306663506735386e622f69266e366a586d6b722552513d3d
result_name = FB remarketing pixel
result_notes = this is a simple note
result_code_type = facebook
result_code_id = 132434
result_code_html =
result_gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
result_gdpr_enabled = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/edit?id=306663506735386e622f69266e366a586d6b722552513d3d&name=FB+remarketing+pixel¬es=this+is+a+simple+note&code_type=facebook&code_id=132434&code_html=&gdpr_id=7522395a6a22633061376e672161356b3153613638213d3d&gdpr_enabled=2&format=plain
Query parameters
id = 306663506735386e622f69266e366a586d6b722552513d3d
name = FB remarketing pixel
notes = this is a simple note
code_type = facebook
code_id = 132434
code_html =
gdpr_id = 7522395a6a22633061376e672161356b3153613638213d3d
gdpr_enabled = 2
format = plain
Response
306663506735386e622f69266e366a586d6b722552513d3d
FB remarketing pixel
this is a simple note
facebook
132434
7522395a6a22633061376e672161356b3153613638213d3d
2
Required parameters
parameter
description
idID
remarketing pixel (internal) ID
Optional parameters
parameter
description
max length
code_htmlHTML
HTML code for custom remarketing script
4000
code_idSTRING
pixel ID
255
code_typeENUM
pixel type, available codes: adroll, bing, custom, facebook, google_adwords, google_analytics, google_tag_manager, linkedin, manychat, pinterest, quora, reddit, snapchat, tiktok, twitter
gdpr_enabledINTEGER
0 if GDPR is disabled, 1 if GDPR is enabled and the default model is used, 2 if GDPR is enabled and the model with ID gdpr_id is used
gdpr_idID
ID of the GDPR template associated with this remarketing pixel
nameSTRING
remarketing pixel name
100
notesSTRING
remarketing pixel notes
128
Please note that:
code_html is mandatatory if code_type = custom
(and viceversa) code_id is mandatatory if you modify code_type and code_type is not equal to custom
(and viceversa) gdpr_id is mandatatory if gdpr_enabled=2 name cannot be empty (if specified) you have to call this method with at least one param
Return values
parameter
description
code_html
[OPTIONAL] HTML code for custom remarketing script, returned only if code_html is passed
code_id
[OPTIONAL] pixel ID, returned only if code_id is passed
code_type
[OPTIONAL] pixel type, available codes: adroll, bing, custom, facebook, google_adwords, google_analytics, google_tag_manager, linkedin, manychat, pinterest, quora, reddit, snapchat, tiktok, twitter, returned only if code_type is passed
gdpr_enabled
[OPTIONAL] 0 if GDPR is disabled, 1 if GDPR is enabled and the default model is used, 2 if GDPR is enabled and the model with ID gdpr_id is used, returned only if gdpr_enabled is passed
gdpr_id
[OPTIONAL] ID of the GDPR template associated with this remarketing pixel, returned only if gdpr_id is passed
id
[OPTIONAL] remarketing pixel (internal) ID, returned only if id is passed
name
[OPTIONAL] remarketing pixel name, returned only if name is passed
notes
[OPTIONAL] remarketing pixel notes, returned only if notes is passed
access: [READ]
This method returns information on a remarketing pixel, the returned information are that passed in the fields param (a comma separated list).
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/info?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"clicks" : 31234 ,
"code_id" : "132434" ,
"code_type" : "facebook" ,
"creation" : "2018-06-06 23:25:31.703" ,
"gdpr_enabled" : 1 ,
"gdpr_id" : "" ,
"id" : "306663506735386e622f69266e366a586d6b722552513d3d" ,
"name" : "FB remarketing pixel" ,
"notes" : "this is a simple note" ,
"performance" : ".000000000000"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/info?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count&format=xml
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<clicks> 31234 </clicks>
<code_id> 132434 </code_id>
<code_type> facebook </code_type>
<creation> 2018-06-06 23:25:31.703 </creation>
<gdpr_enabled> 1 </gdpr_enabled>
<gdpr_id> </gdpr_id>
<id> 306663506735386e622f69266e366a586d6b722552513d3d </id>
<name> FB remarketing pixel </name>
<notes> this is a simple note </notes>
<performance> .000000000000 </performance>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/info?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count&format=txt
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_clicks = 31234
result_code_id = 132434
result_code_type = facebook
result_creation = 2018-06-06 23:25:31.703
result_gdpr_enabled = 1
result_gdpr_id =
result_id = 306663506735386e622f69266e366a586d6b722552513d3d
result_name = FB remarketing pixel
result_notes = this is a simple note
result_performance = .000000000000
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/info?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count&format=plain
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
format = plain
Response
31234
132434
facebook
2018-06-06 23:25:31.703
1
306663506735386e622f69266e366a586d6b722552513d3d
FB remarketing pixel
this is a simple note
.000000000000
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: clicks, code_id, code_type, creation, gdpr_enabled, gdpr_id, code_html, id, name, notes, performance, count
idID
ID of the remarketing pixel
Return values
parameter
description
clicks
click generated on the remarketing pixel
code_id
pixel ID
code_type
pixel type, available codes: adroll, bing, custom, facebook, google_adwords, google_analytics, google_tag_manager, linkedin, manychat, pinterest, quora, reddit, snapchat, tiktok, twitter
creation
creation date time (e.g., 2018-06-06 23:25:31.703)
gdpr_enabled
0 if GDPR is disabled, 1 if GDPR is enabled and the default model is used, 2 if GDPR is enabled and the model with ID gdpr_id is used
gdpr_id
ID of the GDPR template associated with this remarketing pixel
id
remarketing pixel (internal) ID
name
remarketing pixel name
notes
remarketing pixel notes
performance
performance meter of this remarking code, 0 if the remarketing pixel has 0 clicks or if is was created by less than 3 hours, otherwise it is the average number of clicks per hour
access: [READ]
This method returns a list of remarking code's data, specified in a comma separated input called fields.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/list?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"clicks" : 31234 ,
"code_id" : "132434" ,
"user_retargeting_code_html" : "" ,
"code_type" : "facebook" ,
"creation" : "2018-06-06 23:25:31.703" ,
"gdpr_enabled" : 1 ,
"gdpr_id" : "" ,
"id" : "306663506735386e622f69266e366a586d6b722552513d3d" ,
"name" : "FB remarketing pixel" ,
"notes" : "this is a simple note" ,
"performance" : ".000000000000"
} ,
{
"clicks" : 123 ,
"code_id" : "4568468" ,
"user_retargeting_code_html" : "" ,
"code_type" : "twitter" ,
"creation" : "2017-01-18 13:28:42.543" ,
"gdpr_enabled" : 1 ,
"gdpr_id" : "" ,
"id" : "806668506785886e642f69466e866a586d6b744552518d8d" ,
"name" : "TW remarketing pixel" ,
"notes" : "" ,
"performance" : ".000000000000"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/list?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count&format=xml
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<clicks> 31234 </clicks>
<code_id> 132434 </code_id>
<user_retargeting_code_html> </user_retargeting_code_html>
<code_type> facebook </code_type>
<creation> 2018-06-06 23:25:31.703 </creation>
<gdpr_enabled> 1 </gdpr_enabled>
<gdpr_id> </gdpr_id>
<id> 306663506735386e622f69266e366a586d6b722552513d3d </id>
<name> FB remarketing pixel </name>
<notes> this is a simple note </notes>
<performance> .000000000000 </performance>
</i0>
<i1>
<clicks> 123 </clicks>
<code_id> 4568468 </code_id>
<user_retargeting_code_html> </user_retargeting_code_html>
<code_type> twitter </code_type>
<creation> 2017-01-18 13:28:42.543 </creation>
<gdpr_enabled> 1 </gdpr_enabled>
<gdpr_id> </gdpr_id>
<id> 806668506785886e642f69466e866a586d6b744552518d8d </id>
<name> TW remarketing pixel </name>
<notes> </notes>
<performance> .000000000000 </performance>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/list?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count&format=txt
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_clicks = 31234
result_data_0_code_id = 132434
result_data_0_user_retargeting_code_html =
result_data_0_code_type = facebook
result_data_0_creation = 2018-06-06 23:25:31.703
result_data_0_gdpr_enabled = 1
result_data_0_gdpr_id =
result_data_0_id = 306663506735386e622f69266e366a586d6b722552513d3d
result_data_0_name = FB remarketing pixel
result_data_0_notes = this is a simple note
result_data_0_performance = .000000000000
result_data_1_clicks = 123
result_data_1_code_id = 4568468
result_data_1_user_retargeting_code_html =
result_data_1_code_type = twitter
result_data_1_creation = 2017-01-18 13:28:42.543
result_data_1_gdpr_enabled = 1
result_data_1_gdpr_id =
result_data_1_id = 806668506785886e642f69466e866a586d6b744552518d8d
result_data_1_name = TW remarketing pixel
result_data_1_notes =
result_data_1_performance = .000000000000
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/list?fields=clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count&format=plain
Query parameters
fields = clicks,code_id,code_type,creation,gdpr_enabled,gdpr_id,code_html,id,name,notes,performance,count
format = plain
Response
31234
132434
facebook
2018-06-06 23:25:31.703
1
306663506735386e622f69266e366a586d6b722552513d3d
FB remarketing pixel
this is a simple note
.000000000000
123
4568468
twitter
2017-01-18 13:28:42.543
1
806668506785886e642f69466e866a586d6b744552518d8d
TW remarketing pixel
.000000000000
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: clicks, code_id, code_type, creation, gdpr_enabled, gdpr_id, code_html, id, name, notes, performance, count
Optional parameters
parameter
description
lengthINTEGER
extracts this number of remarketing pixels (maxmimum allowed: 100)
orderbyARRAY
orders remarketing pixels by field, available fields: clicks, code_id, code_type, creation, gdpr_enabled, gdpr_id, code_html, id, name, notes, performance, count
searchSTRING
filters remarketing pixels to be extracted by searching them
sortSTRING
sorts remarketing pixels in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract remarketing pixels from this position
typesARRAY
filters list by code type(s), it can be empty, all or a comma separated list of these codes: facebook, twitter, linkedin, pinterest, bing, google_analytics, google_adwords, google_tag_manager, manychat, quora, adroll, snapchat, tiktok, reddit, custom
Return values
parameter
description
data
array containing required information on remarketing pixels
access: [READ]
This method returns a list of supported remarketing pixels.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"adroll" : {
"enabled" : 1 ,
"label" : "Adroll Pixel" ,
"title" : "Advertiser ID|Pixel ID" ,
"helper" : "" ,
"abbr" : "AR"
} ,
"bing" : {
"enabled" : 1 ,
"label" : "Bing Universal Event Tracking" ,
"title" : "UET Pixel ID" ,
"helper" : "" ,
"abbr" : "BNG"
} ,
"custom" : {
"enabled" : 1 ,
"label" : "Custom remarketing code" ,
"title" : "Remarketing code (including opening and closing tags)" ,
"helper" : "" ,
"abbr" : "CSTM"
} ,
"facebook" : {
"enabled" : 1 ,
"label" : "Facebook Pixel" ,
"title" : "Pixel ID" ,
"helper" : "" ,
"abbr" : "FB"
} ,
"google_adwords" : {
"enabled" : 1 ,
"label" : "AdWords tag for websites" ,
"title" : "Conversion ID" ,
"helper" : "" ,
"abbr" : "ADWS"
} ,
"google_analytics" : {
"enabled" : 1 ,
"label" : "Google Analytics Tracking code" ,
"title" : "Tracking ID" ,
"helper" : "" ,
"abbr" : "GA"
} ,
"google_tag_manager" : {
"enabled" : 1 ,
"label" : "Google Tag Manager" ,
"title" : "GTM ID" ,
"helper" : "" ,
"abbr" : "GTAG"
} ,
"linkedin" : {
"enabled" : 1 ,
"label" : "LinkedIn Insight Tag" ,
"title" : "Partner ID (linkedin_data_partner_id)" ,
"helper" : "" ,
"abbr" : "LI"
} ,
"manychat" : {
"enabled" : 1 ,
"label" : "ManyChat Pixel/Widget" ,
"title" : "Pixel/Widget ID" ,
"helper" : "" ,
"abbr" : "MC"
} ,
"pinterest" : {
"enabled" : 1 ,
"label" : "Pinterest Conversion Tag" ,
"title" : "Pinterest Pixel ID" ,
"helper" : "" ,
"abbr" : "PIN"
} ,
"quora" : {
"enabled" : 1 ,
"label" : "Quora Pixel ID" ,
"title" : "Pixel ID" ,
"helper" : "" ,
"abbr" : "Q"
} ,
"reddit" : {
"enabled" : 1 ,
"label" : "Reddit Pixel" ,
"title" : "ID Inserzionista" ,
"helper" : "" ,
"abbr" : "R"
} ,
"snapchat" : {
"enabled" : 1 ,
"label" : "Snapchat Pixel" ,
"title" : "Pixel ID" ,
"helper" : "" ,
"abbr" : "SC"
} ,
"tiktok" : {
"enabled" : 1 ,
"label" : "TikTok Pixel" ,
"title" : "Pixel ID" ,
"helper" : "" ,
"abbr" : "TT"
} ,
"twitter" : {
"enabled" : 1 ,
"label" : "Twitter conversion tracking" ,
"title" : "Website Tag ID" ,
"helper" : "" ,
"abbr" : "TW"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<adroll>
<enabled> 1 </enabled>
<label> Adroll Pixel </label>
<title> Advertiser ID|Pixel ID </title>
<helper> </helper>
<abbr> AR </abbr>
</adroll>
<bing>
<enabled> 1 </enabled>
<label> Bing Universal Event Tracking </label>
<title> UET Pixel ID </title>
<helper> </helper>
<abbr> BNG </abbr>
</bing>
<custom>
<enabled> 1 </enabled>
<label> Custom remarketing code </label>
<title> Remarketing code (including opening and closing tags) </title>
<helper> </helper>
<abbr> CSTM </abbr>
</custom>
<facebook>
<enabled> 1 </enabled>
<label> Facebook Pixel </label>
<title> Pixel ID </title>
<helper> </helper>
<abbr> FB </abbr>
</facebook>
<google_adwords>
<enabled> 1 </enabled>
<label> AdWords tag for websites </label>
<title> Conversion ID </title>
<helper> </helper>
<abbr> ADWS </abbr>
</google_adwords>
<google_analytics>
<enabled> 1 </enabled>
<label> Google Analytics Tracking code </label>
<title> Tracking ID </title>
<helper> </helper>
<abbr> GA </abbr>
</google_analytics>
<google_tag_manager>
<enabled> 1 </enabled>
<label> Google Tag Manager </label>
<title> GTM ID </title>
<helper> </helper>
<abbr> GTAG </abbr>
</google_tag_manager>
<linkedin>
<enabled> 1 </enabled>
<label> LinkedIn Insight Tag </label>
<title> Partner ID (linkedin_data_partner_id) </title>
<helper> </helper>
<abbr> LI </abbr>
</linkedin>
<manychat>
<enabled> 1 </enabled>
<label> ManyChat Pixel/Widget </label>
<title> Pixel/Widget ID </title>
<helper> </helper>
<abbr> MC </abbr>
</manychat>
<pinterest>
<enabled> 1 </enabled>
<label> Pinterest Conversion Tag </label>
<title> Pinterest Pixel ID </title>
<helper> </helper>
<abbr> PIN </abbr>
</pinterest>
<quora>
<enabled> 1 </enabled>
<label> Quora Pixel ID </label>
<title> Pixel ID </title>
<helper> </helper>
<abbr> Q </abbr>
</quora>
<reddit>
<enabled> 1 </enabled>
<label> Reddit Pixel </label>
<title> ID Inserzionista </title>
<helper> </helper>
<abbr> R </abbr>
</reddit>
<snapchat>
<enabled> 1 </enabled>
<label> Snapchat Pixel </label>
<title> Pixel ID </title>
<helper> </helper>
<abbr> SC </abbr>
</snapchat>
<tiktok>
<enabled> 1 </enabled>
<label> TikTok Pixel </label>
<title> Pixel ID </title>
<helper> </helper>
<abbr> TT </abbr>
</tiktok>
<twitter>
<enabled> 1 </enabled>
<label> Twitter conversion tracking </label>
<title> Website Tag ID </title>
<helper> </helper>
<abbr> TW </abbr>
</twitter>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_adroll_enabled = 1
result_adroll_label = Adroll Pixel
result_adroll_title = Advertiser ID|Pixel ID
result_adroll_helper =
result_adroll_abbr = AR
result_bing_enabled = 1
result_bing_label = Bing Universal Event Tracking
result_bing_title = UET Pixel ID
result_bing_helper =
result_bing_abbr = BNG
result_custom_enabled = 1
result_custom_label = Custom remarketing code
result_custom_title = Remarketing code (including opening and closing tags)
result_custom_helper =
result_custom_abbr = CSTM
result_facebook_enabled = 1
result_facebook_label = Facebook Pixel
result_facebook_title = Pixel ID
result_facebook_helper =
result_facebook_abbr = FB
result_google_adwords_enabled = 1
result_google_adwords_label = AdWords tag for websites
result_google_adwords_title = Conversion ID
result_google_adwords_helper =
result_google_adwords_abbr = ADWS
result_google_analytics_enabled = 1
result_google_analytics_label = Google Analytics Tracking code
result_google_analytics_title = Tracking ID
result_google_analytics_helper =
result_google_analytics_abbr = GA
result_google_tag_manager_enabled = 1
result_google_tag_manager_label = Google Tag Manager
result_google_tag_manager_title = GTM ID
result_google_tag_manager_helper =
result_google_tag_manager_abbr = GTAG
result_linkedin_enabled = 1
result_linkedin_label = LinkedIn Insight Tag
result_linkedin_title = Partner ID (linkedin_data_partner_id)
result_linkedin_helper =
result_linkedin_abbr = LI
result_manychat_enabled = 1
result_manychat_label = ManyChat Pixel/Widget
result_manychat_title = Pixel/Widget ID
result_manychat_helper =
result_manychat_abbr = MC
result_pinterest_enabled = 1
result_pinterest_label = Pinterest Conversion Tag
result_pinterest_title = Pinterest Pixel ID
result_pinterest_helper =
result_pinterest_abbr = PIN
result_quora_enabled = 1
result_quora_label = Quora Pixel ID
result_quora_title = Pixel ID
result_quora_helper =
result_quora_abbr = Q
result_reddit_enabled = 1
result_reddit_label = Reddit Pixel
result_reddit_title = ID Inserzionista
result_reddit_helper =
result_reddit_abbr = R
result_snapchat_enabled = 1
result_snapchat_label = Snapchat Pixel
result_snapchat_title = Pixel ID
result_snapchat_helper =
result_snapchat_abbr = SC
result_tiktok_enabled = 1
result_tiktok_label = TikTok Pixel
result_tiktok_title = Pixel ID
result_tiktok_helper =
result_tiktok_abbr = TT
result_twitter_enabled = 1
result_twitter_label = Twitter conversion tracking
result_twitter_title = Website Tag ID
result_twitter_helper =
result_twitter_abbr = TW
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/property?format=plain
Query parameters
format = plain
Response
1
Adroll Pixel
Advertiser ID|Pixel ID
AR
1
Bing Universal Event Tracking
UET Pixel ID
BNG
1
Custom remarketing code
Remarketing code (including opening and closing tags)
CSTM
1
Facebook Pixel
Pixel ID
FB
1
AdWords tag for websites
Conversion ID
ADWS
1
Google Analytics Tracking code
Tracking ID
GA
1
Google Tag Manager
GTM ID
GTAG
1
LinkedIn Insight Tag
Partner ID (linkedin_data_partner_id)
LI
1
ManyChat Pixel/Widget
Pixel/Widget ID
MC
1
Pinterest Conversion Tag
Pinterest Pixel ID
PIN
1
Quora Pixel ID
Pixel ID
Q
1
Reddit Pixel
ID Inserzionista
R
1
Snapchat Pixel
Pixel ID
SC
1
TikTok Pixel
Pixel ID
TT
1
Twitter conversion tracking
Website Tag ID
TW
Return values
parameter
description
data
array containing supported remarketing pixels
access: [READ]
This method returns the number of user's urls linked to a remarketing pixel.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/urls/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 8
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/urls/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 8 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/urls/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 8
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/urls/count?format=plain
Query parameters
format = plain
Response
8
Example 5 (json)
Request
https://joturl.com/a/i1/remarketings/urls/count?search=test
Query parameters
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/remarketings/urls/count?search=test&format=xml
Query parameters
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/remarketings/urls/count?search=test&format=txt
Query parameters
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 8 (plain)
Request
https://joturl.com/a/i1/remarketings/urls/count?search=test&format=plain
Query parameters
search = test
format = plain
Response
3
Required parameters
parameter
description
remarketing_idID
NA
Optional parameters
parameter
description
searchSTRING
count items by searching them
Return values
parameter
description
count
number of urls (filtered by search if passed)
access: [READ]
This method returns a list of user's urls data related to a remarketing pixel.
Example 1 (json)
Request
https://joturl.com/a/i1/remarketings/urls/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"remarketing_clicks" : 31234 ,
"code_id" : "132434" ,
"code_type" : "facebook" ,
"creation" : "2018-06-06 23:25:31.703" ,
"gdpr_enabled" : 1 ,
"gdpr_id" : "" ,
"remarketing_id" : "306663506735386e622f69266e366a586d6b722552513d3d" ,
"name" : "FB remarketing pixel" ,
"notes" : "this is a simple note" ,
"performance" : ".000000000000"
} ,
{
"remarketing_clicks" : 123 ,
"code_id" : "4568468" ,
"code_type" : "twitter" ,
"creation" : "2017-01-18 13:28:42.543" ,
"gdpr_enabled" : 1 ,
"gdpr_id" : "" ,
"remarketing_id" : "806668506785886e642f69466e866a586d6b744552518d8d" ,
"name" : "TW remarketing pixel" ,
"notes" : "" ,
"performance" : ".000000000000"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/remarketings/urls/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<remarketing_clicks> 31234 </remarketing_clicks>
<code_id> 132434 </code_id>
<code_type> facebook </code_type>
<creation> 2018-06-06 23:25:31.703 </creation>
<gdpr_enabled> 1 </gdpr_enabled>
<gdpr_id> </gdpr_id>
<remarketing_id> 306663506735386e622f69266e366a586d6b722552513d3d </remarketing_id>
<name> FB remarketing pixel </name>
<notes> this is a simple note </notes>
<performance> .000000000000 </performance>
</i0>
<i1>
<remarketing_clicks> 123 </remarketing_clicks>
<code_id> 4568468 </code_id>
<code_type> twitter </code_type>
<creation> 2017-01-18 13:28:42.543 </creation>
<gdpr_enabled> 1 </gdpr_enabled>
<gdpr_id> </gdpr_id>
<remarketing_id> 806668506785886e642f69466e866a586d6b744552518d8d </remarketing_id>
<name> TW remarketing pixel </name>
<notes> </notes>
<performance> .000000000000 </performance>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/remarketings/urls/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_remarketing_clicks = 31234
result_data_0_code_id = 132434
result_data_0_code_type = facebook
result_data_0_creation = 2018-06-06 23:25:31.703
result_data_0_gdpr_enabled = 1
result_data_0_gdpr_id =
result_data_0_remarketing_id = 306663506735386e622f69266e366a586d6b722552513d3d
result_data_0_name = FB remarketing pixel
result_data_0_notes = this is a simple note
result_data_0_performance = .000000000000
result_data_1_remarketing_clicks = 123
result_data_1_code_id = 4568468
result_data_1_code_type = twitter
result_data_1_creation = 2017-01-18 13:28:42.543
result_data_1_gdpr_enabled = 1
result_data_1_gdpr_id =
result_data_1_remarketing_id = 806668506785886e642f69466e866a586d6b744552518d8d
result_data_1_name = TW remarketing pixel
result_data_1_notes =
result_data_1_performance = .000000000000
Example 4 (plain)
Request
https://joturl.com/a/i1/remarketings/urls/list?format=plain
Query parameters
format = plain
Response
31234
132434
facebook
2018-06-06 23:25:31.703
1
306663506735386e622f69266e366a586d6b722552513d3d
FB remarketing pixel
this is a simple note
.000000000000
123
4568468
twitter
2017-01-18 13:28:42.543
1
806668506785886e642f69466e866a586d6b744552518d8d
TW remarketing pixel
.000000000000
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: project_name, url, id, project_id, short_url, visits, count
remarketing_idID
remarketing pixel (internal) ID
Optional parameters
parameter
description
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
orderbyARRAY
orders items by field, available fields: project_name, url, id, project_id, short_url, visits, count
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
[OPTIONAL] total number of (filtered) remarketing pixels, returned only if count is passed in fields
data
array containing required information on remarketing pixels
/stats /stats/conversions /stats/conversions/get
access: [READ]
This method returns information about stats.
Example 1 (json)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=3f58d205d03095a6a3efa0c2fa21141d&charts=tl_snapshot&start_date=2020-01-01&end_date=2020-10-13
Query parameters
conversion_id = 3f58d205d03095a6a3efa0c2fa21141d
charts = tl_snapshot
start_date = 2020-01-01
end_date = 2020-10-13
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"tl_snapshot" : {
"type" : "line" ,
"series" : [
"visits" ,
"unique_visits" ,
"mobile" ,
"unique_mobile" ,
"qrcode_scans"
] ,
"types" : {
"x" : "Ym" ,
"count" : "int"
} ,
"data" : {
"visits" : {
"2020-03" : {
"count" : 2
}
} ,
"unique_visits" : {
"2020-03" : {
"count" : 0
}
} ,
"mobile" : {
"2020-03" : {
"count" : 0
}
} ,
"unique_mobile" : {
"2020-03" : {
"count" : 0
}
} ,
"qrcode_scans" : {
"2020-03" : {
"count" : 0
}
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=3f58d205d03095a6a3efa0c2fa21141d&charts=tl_snapshot&start_date=2020-01-01&end_date=2020-10-13&format=xml
Query parameters
conversion_id = 3f58d205d03095a6a3efa0c2fa21141d
charts = tl_snapshot
start_date = 2020-01-01
end_date = 2020-10-13
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<tl_snapshot>
<type> line </type>
<series>
<i0> visits </i0>
<i1> unique_visits </i1>
<i2> mobile </i2>
<i3> unique_mobile </i3>
<i4> qrcode_scans </i4>
</series>
<types>
<x> Ym </x>
<count> int </count>
</types>
<data>
<visits>
<2020-03>
<count> 2 </count>
</2020-03>
</visits>
<unique_visits>
<2020-03>
<count> 0 </count>
</2020-03>
</unique_visits>
<mobile>
<2020-03>
<count> 0 </count>
</2020-03>
</mobile>
<unique_mobile>
<2020-03>
<count> 0 </count>
</2020-03>
</unique_mobile>
<qrcode_scans>
<2020-03>
<count> 0 </count>
</2020-03>
</qrcode_scans>
</data>
</tl_snapshot>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=3f58d205d03095a6a3efa0c2fa21141d&charts=tl_snapshot&start_date=2020-01-01&end_date=2020-10-13&format=txt
Query parameters
conversion_id = 3f58d205d03095a6a3efa0c2fa21141d
charts = tl_snapshot
start_date = 2020-01-01
end_date = 2020-10-13
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_tl_snapshot_type = line
result_tl_snapshot_series_0 = visits
result_tl_snapshot_series_1 = unique_visits
result_tl_snapshot_series_2 = mobile
result_tl_snapshot_series_3 = unique_mobile
result_tl_snapshot_series_4 = qrcode_scans
result_tl_snapshot_types_x = Ym
result_tl_snapshot_types_count = int
result_tl_snapshot_data_visits_2020-03_count = 2
result_tl_snapshot_data_unique_visits_2020-03_count = 0
result_tl_snapshot_data_mobile_2020-03_count = 0
result_tl_snapshot_data_unique_mobile_2020-03_count = 0
result_tl_snapshot_data_qrcode_scans_2020-03_count = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=3f58d205d03095a6a3efa0c2fa21141d&charts=tl_snapshot&start_date=2020-01-01&end_date=2020-10-13&format=plain
Query parameters
conversion_id = 3f58d205d03095a6a3efa0c2fa21141d
charts = tl_snapshot
start_date = 2020-01-01
end_date = 2020-10-13
format = plain
Response
line
visits
unique_visits
mobile
unique_mobile
qrcode_scans
Ym
int
2
0
0
0
0
Example 5 (json)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=2ae6574265bf47f27dbcd6dee79b34d6&url_id=37ac095c9fc26c1e2d20932368bac230&charts=tl_countries&start_date=2020-10-01&end_date=2020-10-13
Query parameters
conversion_id = 2ae6574265bf47f27dbcd6dee79b34d6
url_id = 37ac095c9fc26c1e2d20932368bac230
charts = tl_countries
start_date = 2020-10-01
end_date = 2020-10-13
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"type" : "doughnut" ,
"series" : [
"countries"
] ,
"types" : {
"count" : "int"
} ,
"data" : {
"countries" : {
"Italia" : {
"count" : 2
}
}
} ,
"table" : {
"Italia" : {
"visits" : 2 ,
"unique_visits" : 0 ,
"mobile" : 0 ,
"unique_mobile" : 0 ,
"qrcode_scans" : 0
}
}
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=2ae6574265bf47f27dbcd6dee79b34d6&url_id=37ac095c9fc26c1e2d20932368bac230&charts=tl_countries&start_date=2020-10-01&end_date=2020-10-13&format=xml
Query parameters
conversion_id = 2ae6574265bf47f27dbcd6dee79b34d6
url_id = 37ac095c9fc26c1e2d20932368bac230
charts = tl_countries
start_date = 2020-10-01
end_date = 2020-10-13
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<type> doughnut </type>
<series>
<i0> countries </i0>
</series>
<types>
<count> int </count>
</types>
<data>
<countries>
<Italia>
<count> 2 </count>
</Italia>
</countries>
</data>
<table>
<Italia>
<visits> 2 </visits>
<unique_visits> 0 </unique_visits>
<mobile> 0 </mobile>
<unique_mobile> 0 </unique_mobile>
<qrcode_scans> 0 </qrcode_scans>
</Italia>
</table>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=2ae6574265bf47f27dbcd6dee79b34d6&url_id=37ac095c9fc26c1e2d20932368bac230&charts=tl_countries&start_date=2020-10-01&end_date=2020-10-13&format=txt
Query parameters
conversion_id = 2ae6574265bf47f27dbcd6dee79b34d6
url_id = 37ac095c9fc26c1e2d20932368bac230
charts = tl_countries
start_date = 2020-10-01
end_date = 2020-10-13
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_type = doughnut
result_series_0 = countries
result_types_count = int
result_data_countries_Italia_count = 2
result_table_Italia_visits = 2
result_table_Italia_unique_visits = 0
result_table_Italia_mobile = 0
result_table_Italia_unique_mobile = 0
result_table_Italia_qrcode_scans = 0
Example 8 (plain)
Request
https://joturl.com/a/i1/stats/conversions/get?conversion_id=2ae6574265bf47f27dbcd6dee79b34d6&url_id=37ac095c9fc26c1e2d20932368bac230&charts=tl_countries&start_date=2020-10-01&end_date=2020-10-13&format=plain
Query parameters
conversion_id = 2ae6574265bf47f27dbcd6dee79b34d6
url_id = 37ac095c9fc26c1e2d20932368bac230
charts = tl_countries
start_date = 2020-10-01
end_date = 2020-10-13
format = plain
Response
doughnut
countries
int
2
2
0
0
0
0
Required parameters
Optional parameters
parameter
description
conversion_idID
ID of the conversion for which to extract statistics
end_dateDATE
extract statistics up to this date (included)
ep00_idID
filter conversion data by using the ID of the extended parameter ep00, see i1/conversions/codes/params/list for details
ep01_idID
filter conversion data by using the ID of the extended parameter ep01, see i1/conversions/codes/params/list for details
ep02_idID
filter conversion data by using the ID of the extended parameter ep02, see i1/conversions/codes/params/list for details
ep03_idID
filter conversion data by using the ID of the extended parameter ep03, see i1/conversions/codes/params/list for details
ep04_idID
filter conversion data by using the ID of the extended parameter ep04, see i1/conversions/codes/params/list for details
ep05_idID
filter conversion data by using the ID of the extended parameter ep05, see i1/conversions/codes/params/list for details
ep06_idID
filter conversion data by using the ID of the extended parameter ep06, see i1/conversions/codes/params/list for details
ep07_idID
filter conversion data by using the ID of the extended parameter ep07, see i1/conversions/codes/params/list for details
ep08_idID
filter conversion data by using the ID of the extended parameter ep08, see i1/conversions/codes/params/list for details
ep09_idID
filter conversion data by using the ID of the extended parameter ep09, see i1/conversions/codes/params/list for details
ep10_idID
filter conversion data by using the ID of the extended parameter ep10, see i1/conversions/codes/params/list for details
ep11_idID
filter conversion data by using the ID of the extended parameter ep11, see i1/conversions/codes/params/list for details
ep12_idID
filter conversion data by using the ID of the extended parameter ep12, see i1/conversions/codes/params/list for details
ep13_idID
filter conversion data by using the ID of the extended parameter ep13, see i1/conversions/codes/params/list for details
ep14_idID
filter conversion data by using the ID of the extended parameter ep14, see i1/conversions/codes/params/list for details
map_typeSTRING
used only when charts contains tl_map
, see i1/stats/projects/get for details
param_idID
filter conversion data by using the ID of the parameter, see i1/conversions/codes/params/list for details
start_dateDATE
extract statistics from this date (included)
url_idID
ID of the tracking link for which to extract statistics
Return values
parameter
description
data
JSON object in the format {"chart": {[CHART INFO]}}
For each valid element passed in charts
(e.g., summary_snapshot_value
, tl_browsers
), there will be a corresponding element in the output identified by chart
(e.g., tl_browsers
). The object {[CHART INFO]}
has the following fields:
type : chart type, it can be line
, map
, doughnut
series : an array of the series in the output (e.g., ["visits","unique_visits","mobile","unique_mobile","qrcode_scans"]
) types : object that describes the output types in the format "output_field": "output_type"
, a special case is output_field = x
which describes the type of the values on the abscissa of the chart data : output data in the format {"serie1":{"abscissa value 1":{"output_field1":"output_value1"}, ..., "abscissa value N":{"output_fieldN":"output_valueN"}}, ..., "serieM":{"abscissa value 1":{"output_field1":"output_value1"}, ..., "abscissa value N":{"output_fieldN":"output_valueN"}}}
table : only returned when type = doughnut
, it contains items with the format {"abscissa value 1":{visits:V1,unique_visits:UV1,mobile:M1,unique_mobile:UM1,qrcode_scans:Q1}, ..., "abscissa value N":{visits:VN,unique_visits:UVN,mobile:MN,unique_mobile:UMN,qrcode_scans: QN}}
locations : only returned when type = map
, it contains items with the format {{"count":[visits],"country":{"name":"[country name]","code":"[ISO 3166 country code]"}, "region":{"name":"[region name]"}, "city":{"name":"[city name]","latitude":[city latitude (float)],"longitude":[city longitude (float)]}}
markers : only returned when type = map
, it contains items with the format [{"location":[index in the locations object], "isUnique":[1 if conversion for a non-returning user, 0 otherwise], "isQrCode":[1 if conversion from a QR code scan, 0 otherwise], "isMobile":[1 if conversion from a mobile devices, 0 otherwise], "count":[number of conversions], "ip":"[IPv4 address]"},...]
nodata : returned when no data is available (always equal to 1 if present). Where:
visits : number of conversions unique_visits : number of conversions coming from unique visitors mobile : number of conversions coming from a mobile device unique_mobile : number of conversions coming from unique visitors using a mobile device qrcode_scans : number of conversions coming from QR code scans. For available values for output_type
see i1/stats/projects/get .
/stats/conversions/info
access: [READ]
This method returns information about stats.
Example 1 (json)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=efb62d3d75542f495c2999147b158c5e&url_id=baa983d9ff764a3516a0d35d61a178da
Query parameters
conversion_id = efb62d3d75542f495c2999147b158c5e
url_id = baa983d9ff764a3516a0d35d61a178da
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"tl_snapshot" ,
"tl_map" ,
"tl_countries" ,
"tl_regions" ,
"tl_cities" ,
"tl_languages" ,
"tl_referrers" ,
"tl_devices" ,
"tl_browsers" ,
"tl_platforms" ,
"tl_operating_systems" ,
"tl_ips" ,
"tl_bots" ,
"tl_conversions" ,
"tl_commissions"
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=efb62d3d75542f495c2999147b158c5e&url_id=baa983d9ff764a3516a0d35d61a178da&format=xml
Query parameters
conversion_id = efb62d3d75542f495c2999147b158c5e
url_id = baa983d9ff764a3516a0d35d61a178da
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> tl_snapshot </i0>
<i1> tl_map </i1>
<i2> tl_countries </i2>
<i3> tl_regions </i3>
<i4> tl_cities </i4>
<i5> tl_languages </i5>
<i6> tl_referrers </i6>
<i7> tl_devices </i7>
<i8> tl_browsers </i8>
<i9> tl_platforms </i9>
<i10> tl_operating_systems </i10>
<i11> tl_ips </i11>
<i12> tl_bots </i12>
<i13> tl_conversions </i13>
<i14> tl_commissions </i14>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=efb62d3d75542f495c2999147b158c5e&url_id=baa983d9ff764a3516a0d35d61a178da&format=txt
Query parameters
conversion_id = efb62d3d75542f495c2999147b158c5e
url_id = baa983d9ff764a3516a0d35d61a178da
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = tl_snapshot
result_1 = tl_map
result_2 = tl_countries
result_3 = tl_regions
result_4 = tl_cities
result_5 = tl_languages
result_6 = tl_referrers
result_7 = tl_devices
result_8 = tl_browsers
result_9 = tl_platforms
result_10 = tl_operating_systems
result_11 = tl_ips
result_12 = tl_bots
result_13 = tl_conversions
result_14 = tl_commissions
Example 4 (plain)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=efb62d3d75542f495c2999147b158c5e&url_id=baa983d9ff764a3516a0d35d61a178da&format=plain
Query parameters
conversion_id = efb62d3d75542f495c2999147b158c5e
url_id = baa983d9ff764a3516a0d35d61a178da
format = plain
Response
tl_snapshot
tl_map
tl_countries
tl_regions
tl_cities
tl_languages
tl_referrers
tl_devices
tl_browsers
tl_platforms
tl_operating_systems
tl_ips
tl_bots
tl_conversions
tl_commissions
Example 5 (json)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=8a249b00258fdfee53527140c2c36ae2
Query parameters
conversion_id = 8a249b00258fdfee53527140c2c36ae2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"tl_snapshot" ,
"tl_map" ,
"tl_countries" ,
"tl_regions" ,
"tl_cities" ,
"tl_languages" ,
"tl_referrers" ,
"tl_devices" ,
"tl_browsers" ,
"tl_platforms" ,
"tl_operating_systems" ,
"tl_ips" ,
"tl_bots" ,
"summary_snapshot_value" ,
"summary_snapshot_commission"
]
}
Example 6 (xml)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=8a249b00258fdfee53527140c2c36ae2&format=xml
Query parameters
conversion_id = 8a249b00258fdfee53527140c2c36ae2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> tl_snapshot </i0>
<i1> tl_map </i1>
<i2> tl_countries </i2>
<i3> tl_regions </i3>
<i4> tl_cities </i4>
<i5> tl_languages </i5>
<i6> tl_referrers </i6>
<i7> tl_devices </i7>
<i8> tl_browsers </i8>
<i9> tl_platforms </i9>
<i10> tl_operating_systems </i10>
<i11> tl_ips </i11>
<i12> tl_bots </i12>
<i13> summary_snapshot_value </i13>
<i14> summary_snapshot_commission </i14>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=8a249b00258fdfee53527140c2c36ae2&format=txt
Query parameters
conversion_id = 8a249b00258fdfee53527140c2c36ae2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = tl_snapshot
result_1 = tl_map
result_2 = tl_countries
result_3 = tl_regions
result_4 = tl_cities
result_5 = tl_languages
result_6 = tl_referrers
result_7 = tl_devices
result_8 = tl_browsers
result_9 = tl_platforms
result_10 = tl_operating_systems
result_11 = tl_ips
result_12 = tl_bots
result_13 = summary_snapshot_value
result_14 = summary_snapshot_commission
Example 8 (plain)
Request
https://joturl.com/a/i1/stats/conversions/info?conversion_id=8a249b00258fdfee53527140c2c36ae2&format=plain
Query parameters
conversion_id = 8a249b00258fdfee53527140c2c36ae2
format = plain
Response
tl_snapshot
tl_map
tl_countries
tl_regions
tl_cities
tl_languages
tl_referrers
tl_devices
tl_browsers
tl_platforms
tl_operating_systems
tl_ips
tl_bots
summary_snapshot_value
summary_snapshot_commission
Example 9 (json)
Request
https://joturl.com/a/i1/stats/conversions/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"summary_snapshot_value" ,
"summary_snapshot_commission"
]
}
Example 10 (xml)
Request
https://joturl.com/a/i1/stats/conversions/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> summary_snapshot_value </i0>
<i1> summary_snapshot_commission </i1>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/stats/conversions/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = summary_snapshot_value
result_1 = summary_snapshot_commission
Example 12 (plain)
Request
https://joturl.com/a/i1/stats/conversions/info?format=plain
Query parameters
format = plain
Response
summary_snapshot_value
summary_snapshot_commission
Optional parameters
parameter
description
conversion_idID
ID of the conversion for which to extract statistics
url_idID
ID of the tracking link for which to extract statistics
Return values
parameter
description
data
array of available charts for the given conversion_id
and url_id
/stats/ctas /stats/ctas/get
access: [READ]
This method returns information about stats.
Example 1 (json)
Request
https://joturl.com/a/i1/stats/ctas/get?charts=summary_snapshot&start_date=2018-09-01&end_date=2020-10-13
Query parameters
charts = summary_snapshot
start_date = 2018-09-01
end_date = 2020-10-13
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"summary_snapshot" : {
"type" : "line" ,
"series" : [
"ctas_visits" ,
"ctas_clicks"
] ,
"types" : {
"x" : "Ym" ,
"visits" : "int" ,
"clicks" : "int"
} ,
"data" : {
"ctas_visits" : {
"2018-09" : {
"visits" : 27
} ,
"2019-03" : {
"visits" : 27
} ,
"2020-02" : {
"visits" : 8
} ,
"2020-03" : {
"visits" : 6
} ,
"2020-05" : {
"visits" : 17
} ,
"2020-10" : {
"visits" : 17
}
} ,
"ctas_clicks" : {
"2018-09" : {
"clicks" : 2
} ,
"2019-03" : {
"clicks" : 2
} ,
"2020-02" : {
"clicks" : 1
} ,
"2020-03" : {
"clicks" : 1
} ,
"2020-05" : {
"clicks" : 9
} ,
"2020-10" : {
"clicks" : 2
}
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/stats/ctas/get?charts=summary_snapshot&start_date=2018-09-01&end_date=2020-10-13&format=xml
Query parameters
charts = summary_snapshot
start_date = 2018-09-01
end_date = 2020-10-13
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<summary_snapshot>
<type> line </type>
<series>
<i0> ctas_visits </i0>
<i1> ctas_clicks </i1>
</series>
<types>
<x> Ym </x>
<visits> int </visits>
<clicks> int </clicks>
</types>
<data>
<ctas_visits>
<2018-09>
<visits> 27 </visits>
</2018-09>
<2019-03>
<visits> 27 </visits>
</2019-03>
<2020-02>
<visits> 8 </visits>
</2020-02>
<2020-03>
<visits> 6 </visits>
</2020-03>
<2020-05>
<visits> 17 </visits>
</2020-05>
<2020-10>
<visits> 17 </visits>
</2020-10>
</ctas_visits>
<ctas_clicks>
<2018-09>
<clicks> 2 </clicks>
</2018-09>
<2019-03>
<clicks> 2 </clicks>
</2019-03>
<2020-02>
<clicks> 1 </clicks>
</2020-02>
<2020-03>
<clicks> 1 </clicks>
</2020-03>
<2020-05>
<clicks> 9 </clicks>
</2020-05>
<2020-10>
<clicks> 2 </clicks>
</2020-10>
</ctas_clicks>
</data>
</summary_snapshot>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/stats/ctas/get?charts=summary_snapshot&start_date=2018-09-01&end_date=2020-10-13&format=txt
Query parameters
charts = summary_snapshot
start_date = 2018-09-01
end_date = 2020-10-13
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_summary_snapshot_type = line
result_summary_snapshot_series_0 = ctas_visits
result_summary_snapshot_series_1 = ctas_clicks
result_summary_snapshot_types_x = Ym
result_summary_snapshot_types_visits = int
result_summary_snapshot_types_clicks = int
result_summary_snapshot_data_ctas_visits_2018-09_visits = 27
result_summary_snapshot_data_ctas_visits_2019-03_visits = 27
result_summary_snapshot_data_ctas_visits_2020-02_visits = 8
result_summary_snapshot_data_ctas_visits_2020-03_visits = 6
result_summary_snapshot_data_ctas_visits_2020-05_visits = 17
result_summary_snapshot_data_ctas_visits_2020-10_visits = 17
result_summary_snapshot_data_ctas_clicks_2018-09_clicks = 2
result_summary_snapshot_data_ctas_clicks_2019-03_clicks = 2
result_summary_snapshot_data_ctas_clicks_2020-02_clicks = 1
result_summary_snapshot_data_ctas_clicks_2020-03_clicks = 1
result_summary_snapshot_data_ctas_clicks_2020-05_clicks = 9
result_summary_snapshot_data_ctas_clicks_2020-10_clicks = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/stats/ctas/get?charts=summary_snapshot&start_date=2018-09-01&end_date=2020-10-13&format=plain
Query parameters
charts = summary_snapshot
start_date = 2018-09-01
end_date = 2020-10-13
format = plain
Response
line
ctas_visits
ctas_clicks
Ym
int
int
27
27
8
6
17
17
2
2
1
1
9
2
Example 5 (json)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=17ef2a3cf78d546d0c81fa1ceb57dd1e&url_id=e7068aed64c172daa01d486d3f90aed5&charts=tl_cities&start_date=2020-10-01&end_date=2020-10-13
Query parameters
cta_id = 17ef2a3cf78d546d0c81fa1ceb57dd1e
url_id = e7068aed64c172daa01d486d3f90aed5
charts = tl_cities
start_date = 2020-10-01
end_date = 2020-10-13
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"tl_cities" : {
"type" : "doughnut" ,
"series" : [
"cities"
] ,
"types" : {
"count" : "int"
} ,
"data" : {
"cities" : {
"Akko" : {
"count" : 2
} ,
"Florence" : {
"count" : 2
}
}
} ,
"table" : {
"Akko" : {
"visits" : 2 ,
"unique_visits" : 0 ,
"mobile" : 0 ,
"unique_mobile" : 0 ,
"qrcode_scans" : 0
} ,
"Florence" : {
"visits" : 2 ,
"unique_visits" : 0 ,
"mobile" : 0 ,
"unique_mobile" : 0 ,
"qrcode_scans" : 0
}
}
}
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=17ef2a3cf78d546d0c81fa1ceb57dd1e&url_id=e7068aed64c172daa01d486d3f90aed5&charts=tl_cities&start_date=2020-10-01&end_date=2020-10-13&format=xml
Query parameters
cta_id = 17ef2a3cf78d546d0c81fa1ceb57dd1e
url_id = e7068aed64c172daa01d486d3f90aed5
charts = tl_cities
start_date = 2020-10-01
end_date = 2020-10-13
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<tl_cities>
<type> doughnut </type>
<series>
<i0> cities </i0>
</series>
<types>
<count> int </count>
</types>
<data>
<cities>
<Akko>
<count> 2 </count>
</Akko>
<Florence>
<count> 2 </count>
</Florence>
</cities>
</data>
<table>
<Akko>
<visits> 2 </visits>
<unique_visits> 0 </unique_visits>
<mobile> 0 </mobile>
<unique_mobile> 0 </unique_mobile>
<qrcode_scans> 0 </qrcode_scans>
</Akko>
<Florence>
<visits> 2 </visits>
<unique_visits> 0 </unique_visits>
<mobile> 0 </mobile>
<unique_mobile> 0 </unique_mobile>
<qrcode_scans> 0 </qrcode_scans>
</Florence>
</table>
</tl_cities>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=17ef2a3cf78d546d0c81fa1ceb57dd1e&url_id=e7068aed64c172daa01d486d3f90aed5&charts=tl_cities&start_date=2020-10-01&end_date=2020-10-13&format=txt
Query parameters
cta_id = 17ef2a3cf78d546d0c81fa1ceb57dd1e
url_id = e7068aed64c172daa01d486d3f90aed5
charts = tl_cities
start_date = 2020-10-01
end_date = 2020-10-13
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_tl_cities_type = doughnut
result_tl_cities_series_0 = cities
result_tl_cities_types_count = int
result_tl_cities_data_cities_Akko_count = 2
result_tl_cities_data_cities_Florence_count = 2
result_tl_cities_table_Akko_visits = 2
result_tl_cities_table_Akko_unique_visits = 0
result_tl_cities_table_Akko_mobile = 0
result_tl_cities_table_Akko_unique_mobile = 0
result_tl_cities_table_Akko_qrcode_scans = 0
result_tl_cities_table_Florence_visits = 2
result_tl_cities_table_Florence_unique_visits = 0
result_tl_cities_table_Florence_mobile = 0
result_tl_cities_table_Florence_unique_mobile = 0
result_tl_cities_table_Florence_qrcode_scans = 0
Example 8 (plain)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=17ef2a3cf78d546d0c81fa1ceb57dd1e&url_id=e7068aed64c172daa01d486d3f90aed5&charts=tl_cities&start_date=2020-10-01&end_date=2020-10-13&format=plain
Query parameters
cta_id = 17ef2a3cf78d546d0c81fa1ceb57dd1e
url_id = e7068aed64c172daa01d486d3f90aed5
charts = tl_cities
start_date = 2020-10-01
end_date = 2020-10-13
format = plain
Response
doughnut
cities
int
2
2
2
0
0
0
0
2
0
0
0
0
Example 9 (json)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=d994cf96b9fc11a5c44ed1c145f787ac&url_id=5ad6d7e60fa752b6dcf18f41edc04dd8&charts=tl_ips&start_date=2020-10-01&end_date=2020-10-13
Query parameters
cta_id = d994cf96b9fc11a5c44ed1c145f787ac
url_id = 5ad6d7e60fa752b6dcf18f41edc04dd8
charts = tl_ips
start_date = 2020-10-01
end_date = 2020-10-13
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"tl_ips" : {
"nodata" : 1
}
}
}
Example 10 (xml)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=d994cf96b9fc11a5c44ed1c145f787ac&url_id=5ad6d7e60fa752b6dcf18f41edc04dd8&charts=tl_ips&start_date=2020-10-01&end_date=2020-10-13&format=xml
Query parameters
cta_id = d994cf96b9fc11a5c44ed1c145f787ac
url_id = 5ad6d7e60fa752b6dcf18f41edc04dd8
charts = tl_ips
start_date = 2020-10-01
end_date = 2020-10-13
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<tl_ips>
<nodata> 1 </nodata>
</tl_ips>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=d994cf96b9fc11a5c44ed1c145f787ac&url_id=5ad6d7e60fa752b6dcf18f41edc04dd8&charts=tl_ips&start_date=2020-10-01&end_date=2020-10-13&format=txt
Query parameters
cta_id = d994cf96b9fc11a5c44ed1c145f787ac
url_id = 5ad6d7e60fa752b6dcf18f41edc04dd8
charts = tl_ips
start_date = 2020-10-01
end_date = 2020-10-13
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_tl_ips_nodata = 1
Example 12 (plain)
Request
https://joturl.com/a/i1/stats/ctas/get?cta_id=d994cf96b9fc11a5c44ed1c145f787ac&url_id=5ad6d7e60fa752b6dcf18f41edc04dd8&charts=tl_ips&start_date=2020-10-01&end_date=2020-10-13&format=plain
Query parameters
cta_id = d994cf96b9fc11a5c44ed1c145f787ac
url_id = 5ad6d7e60fa752b6dcf18f41edc04dd8
charts = tl_ips
start_date = 2020-10-01
end_date = 2020-10-13
format = plain
Response
1
Required parameters
parameter
description
chartsARRAY
comma separated list of charts, for a detailed list of charts see i1/stats/ctas/info
Optional parameters
parameter
description
cta_idID
ID of the CTA for which to extract statistics
end_dateDATE
extract statistics up to this date (included)
map_typeSTRING
used only when charts contains tl_map
, see i1/stats/projects/get for details
start_dateDATE
extract statistics from this date (included)
url_idID
ID of the tracking link for which to extract statistics
Return values
parameter
description
data
JSON object in the format {"chart": {[CHART INFO]}}
For each valid element passed in charts
(e.g., summary_snapshot
, tl_browsers
), there will be a corresponding element in the output identified by chart
(e.g., tl_browsers
). The object {[CHART INFO]}
has the following fields:
type : chart type, it can be line
, map
, doughnut
series : an array of the series in the output (e.g., ["ctas_visits","ctas_clicks"]
) types : object that describes the output types in the format "output_field": "output_type"
, a special case is output_field = x
which describes the type of the values on the abscissa of the chart data : output data in the format {"serie1":{"abscissa value 1":{"output_field1":"output_value1"}, ..., "abscissa value N":{"output_fieldN":"output_valueN"}}, ..., "serieM":{"abscissa value 1":{"output_field1":"output_value1"}, ..., "abscissa value N":{"output_fieldN":"output_valueN"}}}
table : only returned when type = doughnut
, it contains items with the format {"abscissa value 1":{visits:V1,unique_visits:UV1,mobile:M1,unique_mobile:UM1,qrcode_scans:Q1}, ..., "abscissa value N":{visits:VN,unique_visits:UVN,mobile:MN,unique_mobile:UMN,qrcode_scans: QN}}
locations : only returned when type = map
, it contains items with the format {{"count":[visits],"country":{"name":"[country name]","code":"[ISO 3166 country code]"}, "region":{"name":"[region name]"}, "city":{"name":"[city name]","latitude":[city latitude (float)],"longitude":[city longitude (float)]}}
markers : only returned when type = map
, it contains items with the format [{"location":[index in the locations object], "isUnique":[1 if unique CTA conversion, 0 otherwise], "isQrCode":[1 if CTA conversion from QR code scan, 0 otherwise], "isMobile":[1 if CTA conversion from mobile devices, 0 otherwise], "count":[number of CTA conversions], "ip":"[IPv4 address]"},...]
, 'CTA conversion' means an action that user made with the CTA (e.g., click on the button) nodata : returned when no data is available (always equal to 1 if present). For available values for output_type
see i1/stats/projects/get .
/stats/ctas/info
access: [READ]
This method returns information about stats.
Example 1 (json)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=af6412285b72d86af09f55e481919a35&url_id=93a310fce1316ccfac00483029c69557
Query parameters
cta_id = af6412285b72d86af09f55e481919a35
url_id = 93a310fce1316ccfac00483029c69557
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"tl_snapshot" ,
"tl_map" ,
"tl_countries" ,
"tl_regions" ,
"tl_cities" ,
"tl_languages" ,
"tl_referrers" ,
"tl_devices" ,
"tl_browsers" ,
"tl_platforms" ,
"tl_operating_systems" ,
"tl_ips" ,
"tl_bots" ,
"tl_ctas_conversions" ,
"tl_ctas_metrics"
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=af6412285b72d86af09f55e481919a35&url_id=93a310fce1316ccfac00483029c69557&format=xml
Query parameters
cta_id = af6412285b72d86af09f55e481919a35
url_id = 93a310fce1316ccfac00483029c69557
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> tl_snapshot </i0>
<i1> tl_map </i1>
<i2> tl_countries </i2>
<i3> tl_regions </i3>
<i4> tl_cities </i4>
<i5> tl_languages </i5>
<i6> tl_referrers </i6>
<i7> tl_devices </i7>
<i8> tl_browsers </i8>
<i9> tl_platforms </i9>
<i10> tl_operating_systems </i10>
<i11> tl_ips </i11>
<i12> tl_bots </i12>
<i13> tl_ctas_conversions </i13>
<i14> tl_ctas_metrics </i14>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=af6412285b72d86af09f55e481919a35&url_id=93a310fce1316ccfac00483029c69557&format=txt
Query parameters
cta_id = af6412285b72d86af09f55e481919a35
url_id = 93a310fce1316ccfac00483029c69557
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = tl_snapshot
result_1 = tl_map
result_2 = tl_countries
result_3 = tl_regions
result_4 = tl_cities
result_5 = tl_languages
result_6 = tl_referrers
result_7 = tl_devices
result_8 = tl_browsers
result_9 = tl_platforms
result_10 = tl_operating_systems
result_11 = tl_ips
result_12 = tl_bots
result_13 = tl_ctas_conversions
result_14 = tl_ctas_metrics
Example 4 (plain)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=af6412285b72d86af09f55e481919a35&url_id=93a310fce1316ccfac00483029c69557&format=plain
Query parameters
cta_id = af6412285b72d86af09f55e481919a35
url_id = 93a310fce1316ccfac00483029c69557
format = plain
Response
tl_snapshot
tl_map
tl_countries
tl_regions
tl_cities
tl_languages
tl_referrers
tl_devices
tl_browsers
tl_platforms
tl_operating_systems
tl_ips
tl_bots
tl_ctas_conversions
tl_ctas_metrics
Example 5 (json)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=f50a44a905837e275983927e131ba30a
Query parameters
cta_id = f50a44a905837e275983927e131ba30a
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"summary_snapshot" ,
"summary_conversions" ,
"summary_commissions" ,
"summary_ctas" ,
"summary_cta_forms" ,
"summary_cta_social_connects" ,
"summary_clicks_to_destination" ,
"tl_ctas_conversions" ,
"tl_ctas_metrics"
]
}
Example 6 (xml)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=f50a44a905837e275983927e131ba30a&format=xml
Query parameters
cta_id = f50a44a905837e275983927e131ba30a
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> summary_snapshot </i0>
<i1> summary_conversions </i1>
<i2> summary_commissions </i2>
<i3> summary_ctas </i3>
<i4> summary_cta_forms </i4>
<i5> summary_cta_social_connects </i5>
<i6> summary_clicks_to_destination </i6>
<i7> tl_ctas_conversions </i7>
<i8> tl_ctas_metrics </i8>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=f50a44a905837e275983927e131ba30a&format=txt
Query parameters
cta_id = f50a44a905837e275983927e131ba30a
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = summary_snapshot
result_1 = summary_conversions
result_2 = summary_commissions
result_3 = summary_ctas
result_4 = summary_cta_forms
result_5 = summary_cta_social_connects
result_6 = summary_clicks_to_destination
result_7 = tl_ctas_conversions
result_8 = tl_ctas_metrics
Example 8 (plain)
Request
https://joturl.com/a/i1/stats/ctas/info?cta_id=f50a44a905837e275983927e131ba30a&format=plain
Query parameters
cta_id = f50a44a905837e275983927e131ba30a
format = plain
Response
summary_snapshot
summary_conversions
summary_commissions
summary_ctas
summary_cta_forms
summary_cta_social_connects
summary_clicks_to_destination
tl_ctas_conversions
tl_ctas_metrics
Example 9 (json)
Request
https://joturl.com/a/i1/stats/ctas/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"summary_snapshot"
]
}
Example 10 (xml)
Request
https://joturl.com/a/i1/stats/ctas/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> summary_snapshot </i0>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/stats/ctas/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = summary_snapshot
Example 12 (plain)
Request
https://joturl.com/a/i1/stats/ctas/info?format=plain
Query parameters
format = plain
Response
summary_snapshot
Optional parameters
parameter
description
cta_idID
ID of the CTA for which to extract statistics
url_idID
ID of the tracking link for which to extract statistics
Return values
parameter
description
data
array of available charts for the given cta_id
and url_id
/stats/projects /stats/projects/get
access: [READ]
This method returns the charts requested in the charts parameter.
Example 1 (json)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_snapshot&start_date=2020-10-05&end_date=2020-10-11
Query parameters
charts = summary_snapshot
start_date = 2020-10-05
end_date = 2020-10-11
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"summary_snapshot" : {
"type" : "line" ,
"series" : [
"visits" ,
"unique_visits" ,
"mobile" ,
"unique_mobile" ,
"qrcode_scans"
] ,
"types" : {
"x" : "Ymd" ,
"count" : "int"
} ,
"data" : {
"visits" : {
"2020-10-05" : {
"count" : 2
} ,
... : {
"count" : 3
} ,
"2020-10-11" : {
"count" : 19
}
} ,
"unique_visits" : {
"2020-10-05" : {
"count" : 2
} ,
... : {
"count" : 3
} ,
"2020-10-11" : {
"count" : 5
}
} ,
"mobile" : {
"2020-10-05" : {
"count" : 0
} ,
... : {
"count" : 2
} ,
"2020-10-11" : {
"count" : 0
}
} ,
"unique_mobile" : {
"2020-10-05" : {
"count" : 0
} ,
... : {
"count" : 2
} ,
"2020-10-11" : {
"count" : 0
}
} ,
"qrcode_scans" : {
"2020-10-05" : {
"count" : 0
} ,
... : {
"count" : 0
} ,
"2020-10-11" : {
"count" : 0
}
}
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_snapshot&start_date=2020-10-05&end_date=2020-10-11&format=xml
Query parameters
charts = summary_snapshot
start_date = 2020-10-05
end_date = 2020-10-11
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<summary_snapshot>
<type> line </type>
<series>
<i0> visits </i0>
<i1> unique_visits </i1>
<i2> mobile </i2>
<i3> unique_mobile </i3>
<i4> qrcode_scans </i4>
</series>
<types>
<x> Ymd </x>
<count> int </count>
</types>
<data>
<visits>
<2020-10-05>
<count> 2 </count>
</2020-10-05>
<...>
<count> 3 </count>
</...>
<2020-10-11>
<count> 19 </count>
</2020-10-11>
</visits>
<unique_visits>
<2020-10-05>
<count> 2 </count>
</2020-10-05>
<...>
<count> 3 </count>
</...>
<2020-10-11>
<count> 5 </count>
</2020-10-11>
</unique_visits>
<mobile>
<2020-10-05>
<count> 0 </count>
</2020-10-05>
<...>
<count> 2 </count>
</...>
<2020-10-11>
<count> 0 </count>
</2020-10-11>
</mobile>
<unique_mobile>
<2020-10-05>
<count> 0 </count>
</2020-10-05>
<...>
<count> 2 </count>
</...>
<2020-10-11>
<count> 0 </count>
</2020-10-11>
</unique_mobile>
<qrcode_scans>
<2020-10-05>
<count> 0 </count>
</2020-10-05>
<...>
<count> 0 </count>
</...>
<2020-10-11>
<count> 0 </count>
</2020-10-11>
</qrcode_scans>
</data>
</summary_snapshot>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_snapshot&start_date=2020-10-05&end_date=2020-10-11&format=txt
Query parameters
charts = summary_snapshot
start_date = 2020-10-05
end_date = 2020-10-11
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_summary_snapshot_type = line
result_summary_snapshot_series_0 = visits
result_summary_snapshot_series_1 = unique_visits
result_summary_snapshot_series_2 = mobile
result_summary_snapshot_series_3 = unique_mobile
result_summary_snapshot_series_4 = qrcode_scans
result_summary_snapshot_types_x = Ymd
result_summary_snapshot_types_count = int
result_summary_snapshot_data_visits_2020-10-05_count = 2
result_summary_snapshot_data_visits_..._count = 3
result_summary_snapshot_data_visits_2020-10-11_count = 19
result_summary_snapshot_data_unique_visits_2020-10-05_count = 2
result_summary_snapshot_data_unique_visits_..._count = 3
result_summary_snapshot_data_unique_visits_2020-10-11_count = 5
result_summary_snapshot_data_mobile_2020-10-05_count = 0
result_summary_snapshot_data_mobile_..._count = 2
result_summary_snapshot_data_mobile_2020-10-11_count = 0
result_summary_snapshot_data_unique_mobile_2020-10-05_count = 0
result_summary_snapshot_data_unique_mobile_..._count = 2
result_summary_snapshot_data_unique_mobile_2020-10-11_count = 0
result_summary_snapshot_data_qrcode_scans_2020-10-05_count = 0
result_summary_snapshot_data_qrcode_scans_..._count = 0
result_summary_snapshot_data_qrcode_scans_2020-10-11_count = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_snapshot&start_date=2020-10-05&end_date=2020-10-11&format=plain
Query parameters
charts = summary_snapshot
start_date = 2020-10-05
end_date = 2020-10-11
format = plain
Response
line
visits
unique_visits
mobile
unique_mobile
qrcode_scans
Ymd
int
2
3
19
2
3
5
0
2
0
0
2
0
0
0
0
Example 5 (json)
Request
https://joturl.com/a/i1/stats/projects/get?project_id=3e17d34f70ed66ae7259be802fffbcb1&url_id=9534873cc00151118feb7cf865d5b127&charts=tl_browsers&start_date=2017-10-12&end_date=2020-10-12
Query parameters
project_id = 3e17d34f70ed66ae7259be802fffbcb1
url_id = 9534873cc00151118feb7cf865d5b127
charts = tl_browsers
start_date = 2017-10-12
end_date = 2020-10-12
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"tl_browsers" : {
"type" : "doughnut" ,
"series" : [
"stats_browsers"
] ,
"types" : {
"count" : "int"
} ,
"data" : {
"stats_browsers" : {
"Internet Explorer" : {
"count" : 15
} ,
"Mozilla" : {
"count" : 14
} ,
... : {
"count" : 13
} ,
"Internet Explorer Mobile" : {
"count" : 4
}
}
} ,
"table" : {
"Internet Explorer" : {
"visits" : 15 ,
"unique_visits" : 15 ,
"mobile" : 0 ,
"unique_mobile" : 0 ,
"qrcode_scans" : 0
} ,
"Mozilla" : {
"visits" : 14 ,
"unique_visits" : 14 ,
"mobile" : 0 ,
"unique_mobile" : 0 ,
"qrcode_scans" : 0
} ,
... : {
"visits" : 13 ,
"unique_visits" : 13 ,
"mobile" : 0 ,
"unique_mobile" : 0 ,
"qrcode_scans" : 0
} ,
"Internet Explorer Mobile" : {
"visits" : 4 ,
"unique_visits" : 3 ,
"mobile" : 2 ,
"unique_mobile" : 1 ,
"qrcode_scans" : 1
}
}
}
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/stats/projects/get?project_id=3e17d34f70ed66ae7259be802fffbcb1&url_id=9534873cc00151118feb7cf865d5b127&charts=tl_browsers&start_date=2017-10-12&end_date=2020-10-12&format=xml
Query parameters
project_id = 3e17d34f70ed66ae7259be802fffbcb1
url_id = 9534873cc00151118feb7cf865d5b127
charts = tl_browsers
start_date = 2017-10-12
end_date = 2020-10-12
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<tl_browsers>
<type> doughnut </type>
<series>
<i0> stats_browsers </i0>
</series>
<types>
<count> int </count>
</types>
<data>
<stats_browsers>
<Internet Explorer>
<count> 15 </count>
</Internet Explorer>
<Mozilla>
<count> 14 </count>
</Mozilla>
<...>
<count> 13 </count>
</...>
<Internet Explorer Mobile>
<count> 4 </count>
</Internet Explorer Mobile>
</stats_browsers>
</data>
<table>
<Internet Explorer>
<visits> 15 </visits>
<unique_visits> 15 </unique_visits>
<mobile> 0 </mobile>
<unique_mobile> 0 </unique_mobile>
<qrcode_scans> 0 </qrcode_scans>
</Internet Explorer>
<Mozilla>
<visits> 14 </visits>
<unique_visits> 14 </unique_visits>
<mobile> 0 </mobile>
<unique_mobile> 0 </unique_mobile>
<qrcode_scans> 0 </qrcode_scans>
</Mozilla>
<...>
<visits> 13 </visits>
<unique_visits> 13 </unique_visits>
<mobile> 0 </mobile>
<unique_mobile> 0 </unique_mobile>
<qrcode_scans> 0 </qrcode_scans>
</...>
<Internet Explorer Mobile>
<visits> 4 </visits>
<unique_visits> 3 </unique_visits>
<mobile> 2 </mobile>
<unique_mobile> 1 </unique_mobile>
<qrcode_scans> 1 </qrcode_scans>
</Internet Explorer Mobile>
</table>
</tl_browsers>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/stats/projects/get?project_id=3e17d34f70ed66ae7259be802fffbcb1&url_id=9534873cc00151118feb7cf865d5b127&charts=tl_browsers&start_date=2017-10-12&end_date=2020-10-12&format=txt
Query parameters
project_id = 3e17d34f70ed66ae7259be802fffbcb1
url_id = 9534873cc00151118feb7cf865d5b127
charts = tl_browsers
start_date = 2017-10-12
end_date = 2020-10-12
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_tl_browsers_type = doughnut
result_tl_browsers_series_0 = stats_browsers
result_tl_browsers_types_count = int
result_tl_browsers_data_stats_browsers_Internet Explorer_count = 15
result_tl_browsers_data_stats_browsers_Mozilla_count = 14
result_tl_browsers_data_stats_browsers_..._count = 13
result_tl_browsers_data_stats_browsers_Internet Explorer Mobile_count = 4
result_tl_browsers_table_Internet Explorer_visits = 15
result_tl_browsers_table_Internet Explorer_unique_visits = 15
result_tl_browsers_table_Internet Explorer_mobile = 0
result_tl_browsers_table_Internet Explorer_unique_mobile = 0
result_tl_browsers_table_Internet Explorer_qrcode_scans = 0
result_tl_browsers_table_Mozilla_visits = 14
result_tl_browsers_table_Mozilla_unique_visits = 14
result_tl_browsers_table_Mozilla_mobile = 0
result_tl_browsers_table_Mozilla_unique_mobile = 0
result_tl_browsers_table_Mozilla_qrcode_scans = 0
result_tl_browsers_table_..._visits = 13
result_tl_browsers_table_..._unique_visits = 13
result_tl_browsers_table_..._mobile = 0
result_tl_browsers_table_..._unique_mobile = 0
result_tl_browsers_table_..._qrcode_scans = 0
result_tl_browsers_table_Internet Explorer Mobile_visits = 4
result_tl_browsers_table_Internet Explorer Mobile_unique_visits = 3
result_tl_browsers_table_Internet Explorer Mobile_mobile = 2
result_tl_browsers_table_Internet Explorer Mobile_unique_mobile = 1
result_tl_browsers_table_Internet Explorer Mobile_qrcode_scans = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/stats/projects/get?project_id=3e17d34f70ed66ae7259be802fffbcb1&url_id=9534873cc00151118feb7cf865d5b127&charts=tl_browsers&start_date=2017-10-12&end_date=2020-10-12&format=plain
Query parameters
project_id = 3e17d34f70ed66ae7259be802fffbcb1
url_id = 9534873cc00151118feb7cf865d5b127
charts = tl_browsers
start_date = 2017-10-12
end_date = 2020-10-12
format = plain
Response
doughnut
stats_browsers
int
15
14
13
4
15
15
0
0
0
14
14
0
0
0
13
13
0
0
0
4
3
2
1
1
Example 9 (json)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_clicks_to_destination&start_date=2017-10-12&end_date=2020-10-11
Query parameters
charts = summary_clicks_to_destination
start_date = 2017-10-12
end_date = 2020-10-11
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : []
}
Example 10 (xml)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_clicks_to_destination&start_date=2017-10-12&end_date=2020-10-11&format=xml
Query parameters
charts = summary_clicks_to_destination
start_date = 2017-10-12
end_date = 2020-10-11
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_clicks_to_destination&start_date=2017-10-12&end_date=2020-10-11&format=txt
Query parameters
charts = summary_clicks_to_destination
start_date = 2017-10-12
end_date = 2020-10-11
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result =
Example 12 (plain)
Request
https://joturl.com/a/i1/stats/projects/get?charts=summary_clicks_to_destination&start_date=2017-10-12&end_date=2020-10-11&format=plain
Query parameters
charts = summary_clicks_to_destination
start_date = 2017-10-12
end_date = 2020-10-11
format = plain
Response
Example 13 (json)
Request
https://joturl.com/a/i1/stats/projects/get?cta_id=8ce83b89f15768a71c1460bbd6c8a08e&url_id=c38be616d383827b652b0fccd21daea5&charts=tl_referrers&start_date=2020-10-01&end_date=2020-10-13
Query parameters
cta_id = 8ce83b89f15768a71c1460bbd6c8a08e
url_id = c38be616d383827b652b0fccd21daea5
charts = tl_referrers
start_date = 2020-10-01
end_date = 2020-10-13
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"tl_referrers" : {
"nodata" : 1
}
}
}
Example 14 (xml)
Request
https://joturl.com/a/i1/stats/projects/get?cta_id=8ce83b89f15768a71c1460bbd6c8a08e&url_id=c38be616d383827b652b0fccd21daea5&charts=tl_referrers&start_date=2020-10-01&end_date=2020-10-13&format=xml
Query parameters
cta_id = 8ce83b89f15768a71c1460bbd6c8a08e
url_id = c38be616d383827b652b0fccd21daea5
charts = tl_referrers
start_date = 2020-10-01
end_date = 2020-10-13
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<tl_referrers>
<nodata> 1 </nodata>
</tl_referrers>
</result>
</response>
Example 15 (txt)
Request
https://joturl.com/a/i1/stats/projects/get?cta_id=8ce83b89f15768a71c1460bbd6c8a08e&url_id=c38be616d383827b652b0fccd21daea5&charts=tl_referrers&start_date=2020-10-01&end_date=2020-10-13&format=txt
Query parameters
cta_id = 8ce83b89f15768a71c1460bbd6c8a08e
url_id = c38be616d383827b652b0fccd21daea5
charts = tl_referrers
start_date = 2020-10-01
end_date = 2020-10-13
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_tl_referrers_nodata = 1
Example 16 (plain)
Request
https://joturl.com/a/i1/stats/projects/get?cta_id=8ce83b89f15768a71c1460bbd6c8a08e&url_id=c38be616d383827b652b0fccd21daea5&charts=tl_referrers&start_date=2020-10-01&end_date=2020-10-13&format=plain
Query parameters
cta_id = 8ce83b89f15768a71c1460bbd6c8a08e
url_id = c38be616d383827b652b0fccd21daea5
charts = tl_referrers
start_date = 2020-10-01
end_date = 2020-10-13
format = plain
Response
1
Required parameters
Optional parameters
parameter
description
end_dateDATE
extract statistics up to this date (included)
map_typeSTRING
used only when charts contains tl_map
, see before for details
mu_idxINTEGER
only valid for tracking links with the InstaUrl option enabled, it allows you to specify the extraction of a specific URL: this value is the index of the corresponding URL in the option (in the same order in which they appear)
project_idID
ID of the project for which to extract statistics
start_dateDATE
extract statistics from this date (included)
url_idID
ID of the tracking link for which to extract statistics
Parameter project_id
is mandatory when url_id
is passed.
Available values for map_type
:
unique : extract unique visits (default) not_unique : extract not unique visits qrcode_scans : extract visits from QR codes mobile : extract visits from mobile devices
Return values
parameter
description
data
JSON object in the format {"chart": {[CHART INFO]}}
For each valid element passed in charts
(e.g., summary_snapshot
, tl_browsers
), there will be a corresponding element in the output identified by chart
(e.g., tl_browsers
). The object {[CHART INFO]}
has the following fields:
type : chart type, it can be line
, doughnut
, map
, conversions
series : an array of the series in the output (e.g., ["visits","unique_visits","mobile","unique_mobile","qrcode_scans"]
) types : object that describes the output types in the format "output_field": "output_type"
, a special case is output_field = x
which describes the type of the values on the abscissa of the chart data : output data in the format {"serie1":{"abscissa value 1":{"output_field1":"output_value1"}, ..., "abscissa value N":{"output_fieldN":"output_valueN"}}, ..., "serieM":{"abscissa value 1":{"output_field1":"output_value1"}, ..., "abscissa value N":{"output_fieldN":"output_valueN"}}}
table : only returned when type = doughnut
or type = conversions
, when type = doughnut
it contains items with the format {"abscissa value 1":{visits:V1,unique_visits:UV1,mobile:M1,unique_mobile:UM1,qrcode_scans:Q1}, ..., "abscissa value N":{visits:VN,unique_visits:UVN,mobile:MN,unique_mobile:UMN,qrcode_scans: QN}}
, when type = conversions
it contains items with the format {"abscissa value 1":{clicks:C1,value:V1,visits:I1,rate:R1}, ..., "abscissa value N":{clicks:CN,value:VN,visits:IN,rate:RN}}
(clicks
= conversions, value
= conversion value, visits
= number of visits, rate
= conversion rate) locations : only returned when type = map
, it contains items with the format {{"count":[visits],"country":{"name":"[country name]","code":"[ISO 3166 country code]"}, "region":{"name":"[region name]"}, "city":{"name":"[city name]","latitude":[city latitude (float)],"longitude":[city longitude (float)]}}
markers : only returned when type = map
, it contains items with the format [{"location":[index in the locations object], "isUnique":[1 if unique visit, 0 otherwise], "isQrCode":[1 if QR code scan, 0 otherwise], "isMobile":[1 if visits from mobile device, 0 otherwise], "count":[number of visits], "ip":"[IPv4 address]"},...]
nodata : returned when no data is available (always equal to 1 if present). Available values for output_type
:
Ymd : date in the format year-month-day (2020-12-31) Ym : date in the format year-month (2020-12) cur : currency (float value) number : float value int : integer value
/stats/projects/info
access: [READ]
This method returns available charts for the given inputs.
Example 1 (json)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=b626ca2189c740487ec08626445f5bd4&url_id=098664eccd0cfdf0141a2cbb90f469d2
Query parameters
project_id = b626ca2189c740487ec08626445f5bd4
url_id = 098664eccd0cfdf0141a2cbb90f469d2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"tl_snapshot" ,
"tl_map" ,
"tl_countries" ,
"tl_regions" ,
"tl_cities" ,
"tl_languages" ,
"tl_referrers" ,
"tl_devices" ,
"tl_browsers" ,
"tl_platforms" ,
"tl_operating_systems" ,
"tl_ips" ,
"tl_bots"
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=b626ca2189c740487ec08626445f5bd4&url_id=098664eccd0cfdf0141a2cbb90f469d2&format=xml
Query parameters
project_id = b626ca2189c740487ec08626445f5bd4
url_id = 098664eccd0cfdf0141a2cbb90f469d2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> tl_snapshot </i0>
<i1> tl_map </i1>
<i2> tl_countries </i2>
<i3> tl_regions </i3>
<i4> tl_cities </i4>
<i5> tl_languages </i5>
<i6> tl_referrers </i6>
<i7> tl_devices </i7>
<i8> tl_browsers </i8>
<i9> tl_platforms </i9>
<i10> tl_operating_systems </i10>
<i11> tl_ips </i11>
<i12> tl_bots </i12>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=b626ca2189c740487ec08626445f5bd4&url_id=098664eccd0cfdf0141a2cbb90f469d2&format=txt
Query parameters
project_id = b626ca2189c740487ec08626445f5bd4
url_id = 098664eccd0cfdf0141a2cbb90f469d2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = tl_snapshot
result_1 = tl_map
result_2 = tl_countries
result_3 = tl_regions
result_4 = tl_cities
result_5 = tl_languages
result_6 = tl_referrers
result_7 = tl_devices
result_8 = tl_browsers
result_9 = tl_platforms
result_10 = tl_operating_systems
result_11 = tl_ips
result_12 = tl_bots
Example 4 (plain)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=b626ca2189c740487ec08626445f5bd4&url_id=098664eccd0cfdf0141a2cbb90f469d2&format=plain
Query parameters
project_id = b626ca2189c740487ec08626445f5bd4
url_id = 098664eccd0cfdf0141a2cbb90f469d2
format = plain
Response
tl_snapshot
tl_map
tl_countries
tl_regions
tl_cities
tl_languages
tl_referrers
tl_devices
tl_browsers
tl_platforms
tl_operating_systems
tl_ips
tl_bots
Example 5 (json)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=40730906fc3813d0483e4437748a5d67
Query parameters
project_id = 40730906fc3813d0483e4437748a5d67
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"summary_snapshot" ,
"summary_conversions" ,
"summary_commissions" ,
"summary_ctas" ,
"summary_cta_forms" ,
"summary_cta_social_connects" ,
"summary_clicks_to_destination"
]
}
Example 6 (xml)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=40730906fc3813d0483e4437748a5d67&format=xml
Query parameters
project_id = 40730906fc3813d0483e4437748a5d67
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> summary_snapshot </i0>
<i1> summary_conversions </i1>
<i2> summary_commissions </i2>
<i3> summary_ctas </i3>
<i4> summary_cta_forms </i4>
<i5> summary_cta_social_connects </i5>
<i6> summary_clicks_to_destination </i6>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=40730906fc3813d0483e4437748a5d67&format=txt
Query parameters
project_id = 40730906fc3813d0483e4437748a5d67
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = summary_snapshot
result_1 = summary_conversions
result_2 = summary_commissions
result_3 = summary_ctas
result_4 = summary_cta_forms
result_5 = summary_cta_social_connects
result_6 = summary_clicks_to_destination
Example 8 (plain)
Request
https://joturl.com/a/i1/stats/projects/info?project_id=40730906fc3813d0483e4437748a5d67&format=plain
Query parameters
project_id = 40730906fc3813d0483e4437748a5d67
format = plain
Response
summary_snapshot
summary_conversions
summary_commissions
summary_ctas
summary_cta_forms
summary_cta_social_connects
summary_clicks_to_destination
Example 9 (json)
Request
https://joturl.com/a/i1/stats/projects/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"summary_snapshot" ,
"summary_conversions" ,
"summary_commissions" ,
"summary_ctas" ,
"summary_cta_forms" ,
"summary_cta_social_connects" ,
"summary_clicks_to_destination" ,
"summary_external_apis" ,
"summary_short_domain_requests"
]
}
Example 10 (xml)
Request
https://joturl.com/a/i1/stats/projects/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> summary_snapshot </i0>
<i1> summary_conversions </i1>
<i2> summary_commissions </i2>
<i3> summary_ctas </i3>
<i4> summary_cta_forms </i4>
<i5> summary_cta_social_connects </i5>
<i6> summary_clicks_to_destination </i6>
<i7> summary_external_apis </i7>
<i8> summary_short_domain_requests </i8>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/stats/projects/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = summary_snapshot
result_1 = summary_conversions
result_2 = summary_commissions
result_3 = summary_ctas
result_4 = summary_cta_forms
result_5 = summary_cta_social_connects
result_6 = summary_clicks_to_destination
result_7 = summary_external_apis
result_8 = summary_short_domain_requests
Example 12 (plain)
Request
https://joturl.com/a/i1/stats/projects/info?format=plain
Query parameters
format = plain
Response
summary_snapshot
summary_conversions
summary_commissions
summary_ctas
summary_cta_forms
summary_cta_social_connects
summary_clicks_to_destination
summary_external_apis
summary_short_domain_requests
Optional parameters
parameter
description
project_idID
ID of the project for which to extract statistics
url_idID
ID of the tracking link for which to extract statistics
Return values
parameter
description
data
array of available charts for the given project_id
and url_id
/subusers /subusers/accounts /subusers/accounts/count
access: [READ]
This method returns the number of accounts associated with the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/accounts/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/accounts/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/accounts/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/accounts/count?format=plain
Query parameters
format = plain
Response
2
Optional parameters
parameter
description
searchSTRING
filters associated accounts to be extracted by searching them
Return values
parameter
description
count
total number of associated accounts (filtered by parameter search)
/subusers/accounts/list
access: [READ]
This method returns a list of accounts associated with the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/accounts/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"id" : "767cbc7f5747cfbeaca78dab2677a41d" ,
"current" : 1 ,
"full_name" : "Jon Smith" ,
"email" : "jon.smith.710@example.com" ,
"short_name" : "JS" ,
"is_readonly" : 0 ,
"is_subuser" : 0 ,
"parent_full_name" : "" ,
"parent_short_name" : "" ,
"has_access_to_dashboard" : 1 ,
"creation" : "2025-07-02 12:29:57" ,
"domains" : []
} ,
{
"id" : "ac1a9b4d315b54175f89590479d8ea91" ,
"current" : 0 ,
"full_name" : "Jon Smith (subuser)" ,
"email" : "jon.smith.710@example.com" ,
"short_name" : "JS" ,
"is_readonly" : 0 ,
"is_subuser" : 1 ,
"parent_full_name" : "Maria Garcia" ,
"parent_short_name" : "MG" ,
"has_access_to_dashboard" : 0 ,
"creation" : "2025-10-06 12:29:57" ,
"domains" : [
"my.custom.domain"
]
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/accounts/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<id> 767cbc7f5747cfbeaca78dab2677a41d </id>
<current> 1 </current>
<full_name> Jon Smith </full_name>
<email> jon.smith.710@example.com </email>
<short_name> JS </short_name>
<is_readonly> 0 </is_readonly>
<is_subuser> 0 </is_subuser>
<parent_full_name> </parent_full_name>
<parent_short_name> </parent_short_name>
<has_access_to_dashboard> 1 </has_access_to_dashboard>
<creation> 2025-07-02 12:29:57 </creation>
<domains>
</domains>
</i0>
<i1>
<id> ac1a9b4d315b54175f89590479d8ea91 </id>
<current> 0 </current>
<full_name> Jon Smith (subuser) </full_name>
<email> jon.smith.710@example.com </email>
<short_name> JS </short_name>
<is_readonly> 0 </is_readonly>
<is_subuser> 1 </is_subuser>
<parent_full_name> Maria Garcia </parent_full_name>
<parent_short_name> MG </parent_short_name>
<has_access_to_dashboard> 0 </has_access_to_dashboard>
<creation> 2025-10-06 12:29:57 </creation>
<domains>
<i0> my.custom.domain </i0>
</domains>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/accounts/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_id = 767cbc7f5747cfbeaca78dab2677a41d
result_data_0_current = 1
result_data_0_full_name = Jon Smith
result_data_0_email = jon.smith.710@example.com
result_data_0_short_name = JS
result_data_0_is_readonly = 0
result_data_0_is_subuser = 0
result_data_0_parent_full_name =
result_data_0_parent_short_name =
result_data_0_has_access_to_dashboard = 1
result_data_0_creation = 2025-07-02 12:29:57
result_data_0_domains =
result_data_1_id = ac1a9b4d315b54175f89590479d8ea91
result_data_1_current = 0
result_data_1_full_name = Jon Smith (subuser)
result_data_1_email = jon.smith.710@example.com
result_data_1_short_name = JS
result_data_1_is_readonly = 0
result_data_1_is_subuser = 1
result_data_1_parent_full_name = Maria Garcia
result_data_1_parent_short_name = MG
result_data_1_has_access_to_dashboard = 0
result_data_1_creation = 2025-10-06 12:29:57
result_data_1_domains_0 = my.custom.domain
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/accounts/list?format=plain
Query parameters
format = plain
Response
2
767cbc7f5747cfbeaca78dab2677a41d
1
Jon Smith
jon.smith.710@example.com
JS
0
0
1
2025-07-02 12:29:57
ac1a9b4d315b54175f89590479d8ea91
0
Jon Smith (subuser)
jon.smith.710@example.com
JS
0
1
Maria Garcia
MG
0
2025-10-06 12:29:57
my.custom.domain
Optional parameters
parameter
description
searchSTRING
filters associated accounts to be extracted by searching them
Return values
parameter
description
count
total number of associated accounts (filtered by parameter search)
data
array containing information on the associated accounts
Available fields in the data array:
id : ID to be used with endpoint i1/subusers/accounts/swap current : 1 if the associated account is the one currently logged in, 0 otherwise full_name : full name of the associated account email : email of the associated account short_name : short name of the associated account is_readonly : 1 if the associated account is read-only, 0 otherwise is_subuser : 1 if the associated account is a team member (i.e., the subuser of a parent user), 0 otherwise parent_full_name : if is_subuser = 1
, it is the full name of the parent user parent_short_name : if is_subuser = 1
, it is the short name of the parent user has_access_to_dashboard : 1 if the associated account can access the dashboard, 0 otherwise creation : the date/time (UTC) at which the account was created domains : first 10 owned domains the account has access to NOTE : a user can have a maximum of 50 accounts with the same email address.
/subusers/accounts/swap
access: [READ]
This method allows the logged in user to access another account to which he/she has access.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/accounts/swap?id=80b4ac9f95f0492cc6256c8a7516a37f
Query parameters
id = 80b4ac9f95f0492cc6256c8a7516a37f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"logged" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/accounts/swap?id=80b4ac9f95f0492cc6256c8a7516a37f&format=xml
Query parameters
id = 80b4ac9f95f0492cc6256c8a7516a37f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<logged> 1 </logged>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/accounts/swap?id=80b4ac9f95f0492cc6256c8a7516a37f&format=txt
Query parameters
id = 80b4ac9f95f0492cc6256c8a7516a37f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_logged = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/accounts/swap?id=80b4ac9f95f0492cc6256c8a7516a37f&format=plain
Query parameters
id = 80b4ac9f95f0492cc6256c8a7516a37f
format = plain
Response
1
Required parameters
Return values
parameter
description
logged
1 on success, an invalid parameter error otherwise
/subusers/add
access: [WRITE]
This method adds a new team member.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/add?email=email.of%40the.team.member&full_name=full+name+of+the+team+member
Query parameters
email = email.of@the.team.member
full_name = full name of the team member
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"email" : "email.of@the.team.member" ,
"full_name" : "full name of the team member" ,
"added" : "1 on success, 0 otherwise" ,
"id" : "df55d86ab2bd66e5dae72a3b17946598" ,
"level" : 5 ,
"gender" : "m" ,
"role" : "" ,
"group" : "" ,
"creation" : "2024-02-10 12:29:57" ,
"is_readonly" : 0 ,
"is_confirmed" : 0 ,
"permission_id" : null ,
"permission_name" : null ,
"is_alias" : 0 ,
"alias_email" : "" ,
"alias_full_name" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/add?email=email.of%40the.team.member&full_name=full+name+of+the+team+member&format=xml
Query parameters
email = email.of@the.team.member
full_name = full name of the team member
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<email> email.of@the.team.member </email>
<full_name> full name of the team member </full_name>
<added> 1 on success, 0 otherwise </added>
<id> df55d86ab2bd66e5dae72a3b17946598 </id>
<level> 5 </level>
<gender> m </gender>
<role> </role>
<group> </group>
<creation> 2024-02-10 12:29:57 </creation>
<is_readonly> 0 </is_readonly>
<is_confirmed> 0 </is_confirmed>
<permission_id> </permission_id>
<permission_name> </permission_name>
<is_alias> 0 </is_alias>
<alias_email> </alias_email>
<alias_full_name> </alias_full_name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/add?email=email.of%40the.team.member&full_name=full+name+of+the+team+member&format=txt
Query parameters
email = email.of@the.team.member
full_name = full name of the team member
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_email = email.of@the.team.member
result_full_name = full name of the team member
result_added = 1 on success, 0 otherwise
result_id = df55d86ab2bd66e5dae72a3b17946598
result_level = 5
result_gender = m
result_role =
result_group =
result_creation = 2024-02-10 12:29:57
result_is_readonly = 0
result_is_confirmed = 0
result_permission_id =
result_permission_name =
result_is_alias = 0
result_alias_email =
result_alias_full_name =
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/add?email=email.of%40the.team.member&full_name=full+name+of+the+team+member&format=plain
Query parameters
email = email.of@the.team.member
full_name = full name of the team member
format = plain
Response
email.of@the.team.member
full name of the team member
1 on success, 0 otherwise
df55d86ab2bd66e5dae72a3b17946598
5
m
2024-02-10 12:29:57
0
0
0
Required parameters
parameter
description
max length
emailSTRING
email address of the team member
255
full_nameSTRING
full name of the team member
255
Optional parameters
parameter
description
max length
genderSTRING
gender of the team member, possible values: [m, f], default: m
1
groupSTRING
group of the team member
50
is_aliasBOOLEAN
1 if the user has full access to the account of the user who created it
is_readonlyBOOLEAN
1 if the team member can only read information
locationSTRING
2-digit code of the country (ISO Alpha-2) the team member is based on (e.g., US)
50
permission_idID
ID of the subuser permission (can only be passed by administrator/root users)
phone_numberSTRING
phone number
255
roleSTRING
role of the team member
50
Return values
parameter
description
added
1 on success, 0 otherwise
alias_email
email of the alias user if is_alias = 1
, empty othrwise
alias_full_name
full name of the alias user if is_alias = 1
, empty othrwise
creation
creation date/time
email
echo back of the email input parameter
full_name
echo back of the full_name input parameter
gender
echo back of the gender input parameter
group
echo back of the group input parameter
id
ID of the team member
is_alias
echo back of the is_alias input parameter
is_confirmed
1 if the team member confirmed the account by clicking on the confirmation link sent by email, 0 otherwise. The return value is always 0 when adding a new team member. Read the note below for details.
is_readonly
echo back of the is_readonly input parameter
level
level of the team member (level represents the user hierarchy, parent users have a lower level than childrens)
permission_id
ID of the subuser permission (only returned for administrator/root users)
permission_name
name of the subuser permission (only returned for administrator/root users)
role
echo back of the role input parameter
When adding a new team member, our engine sends an email to the specified email address with a confirmation link that the team member must click to confirm the account.
/subusers/count
access: [READ]
This method returns the number of team members.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 7
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 7 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 7
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/count?format=plain
Query parameters
format = plain
Response
7
Optional parameters
parameter
description
searchSTRING
filters team members to be extracted by searching them
with_projectsBOOLEAN
1 to count only team members who created projects still present in the dashboard, 0 otherwise (default)
Return values
parameter
description
count
the number of team members
/subusers/delete
access: [WRITE]
This method deletes a team member.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/delete?ids=3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c
Query parameters
ids = 3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/delete?ids=3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c&format=xml
Query parameters
ids = 3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/delete?ids=3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c&format=txt
Query parameters
ids = 3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/delete?ids=3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c&format=plain
Query parameters
ids = 3463208b7a354d576e28780a4bbf6a9f,e1ad8713549699bbb586df67c54d9a40,2aa63b346e514e6f1621f4b5a9ea599c
format = plain
Response
3
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of team members to remove
Return values
parameter
description
deleted
number of deleted team members on success, 0 otherwise
/subusers/edit
access: [WRITE]
This method edits a team member.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/edit?full_name=new+full+name+of+the+team+member
Query parameters
full_name = new full name of the team member
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"full_name" : "new full name of the team member" ,
"updated" : "1 on success, 0 otherwise" ,
"id" : "4d38b8d01eb1855e0109fba7bae463af" ,
"is_alias" : 0 ,
"alias_email" : "" ,
"alias_full_name" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/edit?full_name=new+full+name+of+the+team+member&format=xml
Query parameters
full_name = new full name of the team member
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<full_name> new full name of the team member </full_name>
<updated> 1 on success, 0 otherwise </updated>
<id> 4d38b8d01eb1855e0109fba7bae463af </id>
<is_alias> 0 </is_alias>
<alias_email> </alias_email>
<alias_full_name> </alias_full_name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/edit?full_name=new+full+name+of+the+team+member&format=txt
Query parameters
full_name = new full name of the team member
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_full_name = new full name of the team member
result_updated = 1 on success, 0 otherwise
result_id = 4d38b8d01eb1855e0109fba7bae463af
result_is_alias = 0
result_alias_email =
result_alias_full_name =
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/edit?full_name=new+full+name+of+the+team+member&format=plain
Query parameters
full_name = new full name of the team member
format = plain
Response
new full name of the team member
1 on success, 0 otherwise
4d38b8d01eb1855e0109fba7bae463af
0
Required parameters
parameter
description
idID
ID of the team member
Optional parameters
parameter
description
max length
full_nameSTRING
full name of the team member
255
genderSTRING
gender of the team member, possible values: [m, f], default: m
1
groupSTRING
group of the team member
50
is_aliasBOOLEAN
1 if the user has full access to the account of the user who created it
is_readonlyBOOLEAN
1 if the team member can only read information
locationSTRING
2-digit code of the country (ISO Alpha-2) the team member is based on (e.g., US)
50
permission_idID
ID of the subuser permission (can only be passed by administrator/root users)
phone_numberSTRING
full name
255
roleSTRING
role of the team member
50
Return values
parameter
description
alias_email
email of the alias user if is_alias = 1
, empty othrwise
alias_full_name
full name of the alias user if is_alias = 1
, empty othrwise
creation
[OPTIONAL] creation date/time
full_name
[OPTIONAL] echo back of the full_name input parameter
gender
[OPTIONAL] echo back of the gender input parameter
group
[OPTIONAL] echo back of the group input parameter
id
ID of the team member
is_alias
echo back of the is_alias input parameter
is_readonly
[OPTIONAL] echo back of the is_readonly input parameter
location
[OPTIONAL] echo back of the location input parameter
permission_id
ID of the subuser permission (only returned for administrator/root users)
permission_name
name of the subuser permission (only returned for administrator/root users)
phone_number
[OPTIONAL] echo back of the phone_number input parameter
role
[OPTIONAL] echo back of the role input parameter
updated
1 on success, 0 otherwise
/subusers/info
access: [READ]
This method returns info about a team member.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/info?fields=id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&id=17aad145e7fbcd3e2a9809ab87437250
Query parameters
fields = id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
id = 17aad145e7fbcd3e2a9809ab87437250
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "17aad145e7fbcd3e2a9809ab87437250" ,
"level" : 1 ,
"email" : "email.of@the.team.member" ,
"full_name" : "full name of the team member" ,
"group" : "" ,
"role" : "Tester" ,
"is_readonly" : 0 ,
"is_confirmed" : 1 ,
"permission_id" : "9afe98c522de0f98a73f1175081533b8" ,
"permission_name" : "permission name" ,
"is_alias" : 0 ,
"alias_email" : "" ,
"alias_full_name" : ""
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/info?fields=id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&id=17aad145e7fbcd3e2a9809ab87437250&format=xml
Query parameters
fields = id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
id = 17aad145e7fbcd3e2a9809ab87437250
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 17aad145e7fbcd3e2a9809ab87437250 </id>
<level> 1 </level>
<email> email.of@the.team.member </email>
<full_name> full name of the team member </full_name>
<group> </group>
<role> Tester </role>
<is_readonly> 0 </is_readonly>
<is_confirmed> 1 </is_confirmed>
<permission_id> 9afe98c522de0f98a73f1175081533b8 </permission_id>
<permission_name> permission name </permission_name>
<is_alias> 0 </is_alias>
<alias_email> </alias_email>
<alias_full_name> </alias_full_name>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/info?fields=id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&id=17aad145e7fbcd3e2a9809ab87437250&format=txt
Query parameters
fields = id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
id = 17aad145e7fbcd3e2a9809ab87437250
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 17aad145e7fbcd3e2a9809ab87437250
result_data_0_level = 1
result_data_0_email = email.of@the.team.member
result_data_0_full_name = full name of the team member
result_data_0_group =
result_data_0_role = Tester
result_data_0_is_readonly = 0
result_data_0_is_confirmed = 1
result_data_0_permission_id = 9afe98c522de0f98a73f1175081533b8
result_data_0_permission_name = permission name
result_data_0_is_alias = 0
result_data_0_alias_email =
result_data_0_alias_full_name =
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/info?fields=id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&id=17aad145e7fbcd3e2a9809ab87437250&format=plain
Query parameters
fields = id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
id = 17aad145e7fbcd3e2a9809ab87437250
format = plain
Response
17aad145e7fbcd3e2a9809ab87437250
1
email.of@the.team.member
full name of the team member
Tester
0
1
9afe98c522de0f98a73f1175081533b8
permission name
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, is_confirmed, creation, email, full_name, gender, group, id, is_readonly, level, location, name, phone_number, role
idID
ID of the team member
Return values
parameter
description
data
array containing information on the team members, returned information depends on the fields parameter.
/subusers/list
access: [READ]
This method returns a list of team members.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/list?fields=count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
Query parameters
fields = count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"id" : "3ebe00a4c728f07963c6b0eb2fe22472" ,
"level" : 1 ,
"email" : "email.of@the.team.member" ,
"full_name" : "full name of the team member" ,
"group" : "" ,
"role" : "Tester" ,
"is_readonly" : 0 ,
"is_confirmed" : 1 ,
"permission_id" : "7649e54f2f3a7432c56de00883154887" ,
"permission_name" : "permission name" ,
"is_alias" : 0 ,
"alias_email" : "" ,
"alias_full_name" : ""
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/list?fields=count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&format=xml
Query parameters
fields = count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<id> 3ebe00a4c728f07963c6b0eb2fe22472 </id>
<level> 1 </level>
<email> email.of@the.team.member </email>
<full_name> full name of the team member </full_name>
<group> </group>
<role> Tester </role>
<is_readonly> 0 </is_readonly>
<is_confirmed> 1 </is_confirmed>
<permission_id> 7649e54f2f3a7432c56de00883154887 </permission_id>
<permission_name> permission name </permission_name>
<is_alias> 0 </is_alias>
<alias_email> </alias_email>
<alias_full_name> </alias_full_name>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/list?fields=count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&format=txt
Query parameters
fields = count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_id = 3ebe00a4c728f07963c6b0eb2fe22472
result_data_0_level = 1
result_data_0_email = email.of@the.team.member
result_data_0_full_name = full name of the team member
result_data_0_group =
result_data_0_role = Tester
result_data_0_is_readonly = 0
result_data_0_is_confirmed = 1
result_data_0_permission_id = 7649e54f2f3a7432c56de00883154887
result_data_0_permission_name = permission name
result_data_0_is_alias = 0
result_data_0_alias_email =
result_data_0_alias_full_name =
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/list?fields=count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias&format=plain
Query parameters
fields = count,id,level,email,full_name,group,role,is_readonly,is_confirmed,permission_id,permission_name,is_alias
format = plain
Response
1
3ebe00a4c728f07963c6b0eb2fe22472
1
email.of@the.team.member
full name of the team member
Tester
0
1
7649e54f2f3a7432c56de00883154887
permission name
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, is_confirmed, creation, email, full_name, gender, group, id, is_readonly, level, location, name, phone_number, role
Optional parameters
parameter
description
lengthINTEGER
extracts this number of team members (maxmimum allowed: 100)
orderbyARRAY
orders team members by field, available fields: is_confirmed, creation, email, full_name, gender, group, id, is_readonly, level, location, name, phone_number, role
project_idID
ID of the project, when passed the field has_access
is returned for each team member, has_access = 1
if the team member has access to the project, has_access = 0
otherwise
searchSTRING
filters team members to be extracted by searching them
sortSTRING
sorts team members in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract team members from this position
with_projectsBOOLEAN
1 to extract only team members who created projects still present in the dashboard, 0 otherwise (default)
Return values
parameter
description
count
[OPTIONAL] total number of team members, returned only if count is passed in fields
data
array containing information on the team members, returned information depends on the fields parameter.
/subusers/projects /subusers/projects/grant
access: [WRITE]
Grants access to projects to the team member.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/projects/grant?id=e3a9c2ce5346a795cca2085dbcce213e&add_ids=fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4&delete_ids=ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb
Query parameters
id = e3a9c2ce5346a795cca2085dbcce213e
add_ids = fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4
delete_ids = ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 3 ,
"deleted" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/projects/grant?id=e3a9c2ce5346a795cca2085dbcce213e&add_ids=fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4&delete_ids=ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb&format=xml
Query parameters
id = e3a9c2ce5346a795cca2085dbcce213e
add_ids = fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4
delete_ids = ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 3 </added>
<deleted> 2 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/projects/grant?id=e3a9c2ce5346a795cca2085dbcce213e&add_ids=fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4&delete_ids=ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb&format=txt
Query parameters
id = e3a9c2ce5346a795cca2085dbcce213e
add_ids = fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4
delete_ids = ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 3
result_deleted = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/projects/grant?id=e3a9c2ce5346a795cca2085dbcce213e&add_ids=fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4&delete_ids=ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb&format=plain
Query parameters
id = e3a9c2ce5346a795cca2085dbcce213e
add_ids = fa7cfdbca7a5c46e67d9317d9c83fd4c,db2303a6834b05d6a9f329c3c39566aa,1a86b8311ca0622174aa948c2492f9d4
delete_ids = ed6e7f8e2a7a6e3d5cdc6846c410bc45,9e427bba60bb8bac3585718188759cbb
format = plain
Response
3
2
Required parameters
parameter
description
idID
ID of the team member
Optional parameters
parameter
description
add_idsARRAY_OF_IDS
comma separated list of project IDs to grant access to the team member
delete_idsARRAY_OF_IDS
comma-separated list of project IDs to deny access to the team member
Return values
parameter
description
added
number of project IDs that the team member has been granted access to
deleted
number of project IDs that the team member was denied access to
/subusers/roles_groups /subusers/roles_groups/list
access: [READ]
This method returns a list of roles or groups previously used.
Example 1 (json)
Request
https://joturl.com/a/i1/subusers/roles_groups/list?type=role&search=test
Query parameters
type = role
search = test
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
"test" ,
"Tester" ,
"main tester"
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/subusers/roles_groups/list?type=role&search=test&format=xml
Query parameters
type = role
search = test
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0> test </i0>
<i1> Tester </i1>
<i2> main tester </i2>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/subusers/roles_groups/list?type=role&search=test&format=txt
Query parameters
type = role
search = test
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0 = test
result_1 = Tester
result_2 = main tester
Example 4 (plain)
Request
https://joturl.com/a/i1/subusers/roles_groups/list?type=role&search=test&format=plain
Query parameters
type = role
search = test
format = plain
Response
test
Tester
main tester
Required parameters
parameter
description
typeSTRING
type to list, available types: [role, group]
Optional parameters
parameter
description
lengthINTEGER
extracts this number of roles & groups (maxmimum allowed: 100)
searchSTRING
filters roles & groups to be extracted by searching them
startINTEGER
starts to extract roles & groups from this position
Return values
parameter
description
[ARRAY]
array containing requested information.
/urls /urls/balancers /urls/balancers/clone
access: [WRITE]
Clone the balancer configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/balancers/clone?from_url_id=3401a6acb160a739934d11ae88c5aa69&to_url_id=960d9ce2a8ae59f4cfa182d52b6ed4c9
Query parameters
from_url_id = 3401a6acb160a739934d11ae88c5aa69
to_url_id = 960d9ce2a8ae59f4cfa182d52b6ed4c9
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/balancers/clone?from_url_id=3401a6acb160a739934d11ae88c5aa69&to_url_id=960d9ce2a8ae59f4cfa182d52b6ed4c9&format=xml
Query parameters
from_url_id = 3401a6acb160a739934d11ae88c5aa69
to_url_id = 960d9ce2a8ae59f4cfa182d52b6ed4c9
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/balancers/clone?from_url_id=3401a6acb160a739934d11ae88c5aa69&to_url_id=960d9ce2a8ae59f4cfa182d52b6ed4c9&format=txt
Query parameters
from_url_id = 3401a6acb160a739934d11ae88c5aa69
to_url_id = 960d9ce2a8ae59f4cfa182d52b6ed4c9
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/balancers/clone?from_url_id=3401a6acb160a739934d11ae88c5aa69&to_url_id=960d9ce2a8ae59f4cfa182d52b6ed4c9&format=plain
Query parameters
from_url_id = 3401a6acb160a739934d11ae88c5aa69
to_url_id = 960d9ce2a8ae59f4cfa182d52b6ed4c9
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the balancer configuration from
to_url_idID
ID of the tracking link you want to copy the balancer configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/balancers/delete
access: [WRITE]
Delete the smart balancer linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/balancers/delete?id=1588e616d05b4ea5d696e718cb2fc6b8
Query parameters
id = 1588e616d05b4ea5d696e718cb2fc6b8
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/balancers/delete?id=1588e616d05b4ea5d696e718cb2fc6b8&format=xml
Query parameters
id = 1588e616d05b4ea5d696e718cb2fc6b8
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/balancers/delete?id=1588e616d05b4ea5d696e718cb2fc6b8&format=txt
Query parameters
id = 1588e616d05b4ea5d696e718cb2fc6b8
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/balancers/delete?id=1588e616d05b4ea5d696e718cb2fc6b8&format=plain
Query parameters
id = 1588e616d05b4ea5d696e718cb2fc6b8
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove the balancer
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/balancers/edit
access: [WRITE]
Set the smart balancer for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/balancers/edit?id=58031d165007be15062de3b167d83f60&type=WEIGHTED&urls=%5B%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2Fpricing%5C%2F%22,%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%22%5D&weights=%5B22.22,77.78%5D
Query parameters
id = 58031d165007be15062de3b167d83f60
type = WEIGHTED
urls = ["https:\/\/www.joturl.com\/pricing\/","https:\/\/www.joturl.com\/"]
weights = [22.22,77.78]
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/balancers/edit?id=58031d165007be15062de3b167d83f60&type=WEIGHTED&urls=%5B%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2Fpricing%5C%2F%22,%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%22%5D&weights=%5B22.22,77.78%5D&format=xml
Query parameters
id = 58031d165007be15062de3b167d83f60
type = WEIGHTED
urls = ["https:\/\/www.joturl.com\/pricing\/","https:\/\/www.joturl.com\/"]
weights = [22.22,77.78]
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/balancers/edit?id=58031d165007be15062de3b167d83f60&type=WEIGHTED&urls=%5B%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2Fpricing%5C%2F%22,%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%22%5D&weights=%5B22.22,77.78%5D&format=txt
Query parameters
id = 58031d165007be15062de3b167d83f60
type = WEIGHTED
urls = ["https:\/\/www.joturl.com\/pricing\/","https:\/\/www.joturl.com\/"]
weights = [22.22,77.78]
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/balancers/edit?id=58031d165007be15062de3b167d83f60&type=WEIGHTED&urls=%5B%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2Fpricing%5C%2F%22,%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%22%5D&weights=%5B22.22,77.78%5D&format=plain
Query parameters
id = 58031d165007be15062de3b167d83f60
type = WEIGHTED
urls = ["https:\/\/www.joturl.com\/pricing\/","https:\/\/www.joturl.com\/"]
weights = [22.22,77.78]
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link on which to enable the balancer
typeSTRING
balancer type, available types: SEQUENTIAL, WEIGHTED, WEIGHTED_FIXED, RANDOM, RANDOM_FIXED, SWITCHING, SPLIT_TEST
urlsJSON
JSON array of destination URLs to be used with the balancer, a maximum of 5 destination URLs can be used when type = SPLIT_TEST
, otherwise a maximum of 100 destination URLs is allowed
Optional parameters
parameter
description
conversionsARRAY_OF_IDS
conversion codes to be used when type = SPLIT_TEST
weightsJSON
JSON array of floats between 0.0 and 100.0, the balancer will use these floats to randomly select destination URLs, this parameter is mandatory for type = WEIGHTED
and type = WEIGHTED_FIXED
, it must contain the same number of items in urls
Please note that:
when parameter weights is mandatory, the sum of all passed weights must be exactly equal to 100, the first weight cannot be less than 1 when parameter weights is mandatory, the number of items in weights must be equal to that in urls when the parameter conversions
is mandatory, the number of items in conversions
must be equal to 1 or to the number of urls
Return values
parameter
description
enabled
1 on success, 0 otherwise
/urls/balancers/info
access: [READ]
Get the smart balancer linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/balancers/info?id=3fc50146a36d9a6784f417eeed2daee6
Query parameters
id = 3fc50146a36d9a6784f417eeed2daee6
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "3fc50146a36d9a6784f417eeed2daee6" ,
"type" : "WEIGHTED" ,
"info" : [
{
"url" : "https://www.joturl.com/pricing/" ,
"weight" : "22.22"
} ,
{
"url" : "https://www.joturl.com/" ,
"weight" : "77.78"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/balancers/info?id=3fc50146a36d9a6784f417eeed2daee6&format=xml
Query parameters
id = 3fc50146a36d9a6784f417eeed2daee6
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 3fc50146a36d9a6784f417eeed2daee6 </id>
<type> WEIGHTED </type>
<info>
<i0>
<url> https://www.joturl.com/pricing/ </url>
<weight> 22.22 </weight>
</i0>
<i1>
<url> https://www.joturl.com/ </url>
<weight> 77.78 </weight>
</i1>
</info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/balancers/info?id=3fc50146a36d9a6784f417eeed2daee6&format=txt
Query parameters
id = 3fc50146a36d9a6784f417eeed2daee6
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 3fc50146a36d9a6784f417eeed2daee6
result_type = WEIGHTED
result_info_0_url = https://www.joturl.com/pricing/
result_info_0_weight = 22.22
result_info_1_url = https://www.joturl.com/
result_info_1_weight = 77.78
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/balancers/info?id=3fc50146a36d9a6784f417eeed2daee6&format=plain
Query parameters
id = 3fc50146a36d9a6784f417eeed2daee6
format = plain
Response
3fc50146a36d9a6784f417eeed2daee6
WEIGHTED
https://www.joturl.com/pricing/
22.22
https://www.joturl.com/
77.78
Required parameters
parameter
description
idID
ID of the tracking link whose balancer configuration is desired
Return values
parameter
description
id
echo back of parameter id
info
array of couples (url, weight)
type
balancer type, see i1/urls/balancers/edit for details
/urls/balancers/property
access: [READ]
This method returns smart balancer types that are available to the logged users.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/balancers/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"types" : {
"SEQUENTIAL" : {
"is_split" : 0
} ,
"WEIGHTED" : {
"is_split" : 0
} ,
"WEIGHTED_FIXED" : {
"is_split" : 0
} ,
"RANDOM" : {
"is_split" : 0
} ,
"RANDOM_FIXED" : {
"is_split" : 0
} ,
"SWITCHING" : {
"is_split" : 0
} ,
"SPLIT_TEST" : {
"is_split" : 1
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/balancers/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<types>
<SEQUENTIAL>
<is_split> 0 </is_split>
</SEQUENTIAL>
<WEIGHTED>
<is_split> 0 </is_split>
</WEIGHTED>
<WEIGHTED_FIXED>
<is_split> 0 </is_split>
</WEIGHTED_FIXED>
<RANDOM>
<is_split> 0 </is_split>
</RANDOM>
<RANDOM_FIXED>
<is_split> 0 </is_split>
</RANDOM_FIXED>
<SWITCHING>
<is_split> 0 </is_split>
</SWITCHING>
<SPLIT_TEST>
<is_split> 1 </is_split>
</SPLIT_TEST>
</types>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/balancers/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_types_SEQUENTIAL_is_split = 0
result_types_WEIGHTED_is_split = 0
result_types_WEIGHTED_FIXED_is_split = 0
result_types_RANDOM_is_split = 0
result_types_RANDOM_FIXED_is_split = 0
result_types_SWITCHING_is_split = 0
result_types_SPLIT_TEST_is_split = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/balancers/property?format=plain
Query parameters
format = plain
Response
0
0
0
0
0
0
1
Return values
parameter
description
types
array of smart balancer types
/urls/clone
access: [WRITE]
This method clones options of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/clone?fields=id,short_url&src_id=c3ac4412728fefa7b2e345d496c93e95&alias=63eca3fe&long_url=https%3A%2F%2Fwww.joturl.com%2F&domain_id=5abbec666605202ff8c0975c12494f93
Query parameters
fields = id,short_url
src_id = c3ac4412728fefa7b2e345d496c93e95
alias = 63eca3fe
long_url = https://www.joturl.com/
domain_id = 5abbec666605202ff8c0975c12494f93
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1 ,
"added" : 0 ,
"removed" : 0 ,
"failed" : [] ,
"id" : "84d55753650826c337615b2bf61bb194" ,
"short_url" : "http://jo.my/63eca3fe"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/clone?fields=id,short_url&src_id=c3ac4412728fefa7b2e345d496c93e95&alias=63eca3fe&long_url=https%3A%2F%2Fwww.joturl.com%2F&domain_id=5abbec666605202ff8c0975c12494f93&format=xml
Query parameters
fields = id,short_url
src_id = c3ac4412728fefa7b2e345d496c93e95
alias = 63eca3fe
long_url = https://www.joturl.com/
domain_id = 5abbec666605202ff8c0975c12494f93
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
<added> 0 </added>
<removed> 0 </removed>
<failed>
</failed>
<id> 84d55753650826c337615b2bf61bb194 </id>
<short_url> http://jo.my/63eca3fe </short_url>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/clone?fields=id,short_url&src_id=c3ac4412728fefa7b2e345d496c93e95&alias=63eca3fe&long_url=https%3A%2F%2Fwww.joturl.com%2F&domain_id=5abbec666605202ff8c0975c12494f93&format=txt
Query parameters
fields = id,short_url
src_id = c3ac4412728fefa7b2e345d496c93e95
alias = 63eca3fe
long_url = https://www.joturl.com/
domain_id = 5abbec666605202ff8c0975c12494f93
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
result_added = 0
result_removed = 0
result_failed =
result_id = 84d55753650826c337615b2bf61bb194
result_short_url = http://jo.my/63eca3fe
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/clone?fields=id,short_url&src_id=c3ac4412728fefa7b2e345d496c93e95&alias=63eca3fe&long_url=https%3A%2F%2Fwww.joturl.com%2F&domain_id=5abbec666605202ff8c0975c12494f93&format=plain
Query parameters
fields = id,short_url
src_id = c3ac4412728fefa7b2e345d496c93e95
alias = 63eca3fe
long_url = https://www.joturl.com/
domain_id = 5abbec666605202ff8c0975c12494f93
format = plain
Response
http://jo.my/63eca3fe
Required parameters
parameter
description
src_idID
ID of the tracking link to be cloned
Optional parameters
parameter
description
max length
aliasSTRING
alias for the cloned tracking link, see i1/urls/shorten for details
510
domain_idID
ID of the domain for the cloned tracking link, if not specified the domain of the source tracking link will be used
dst_idID
ID of the tracking link on which to clone the options
fieldsARRAY
comma separated list of fields to return after cloning is complete, see method i1/urls/list for reference.
long_urlSTRING
destination URL for the cloned tracking link, not available for tracking pixels, if empty, the destination URL of the source tracking link will be used
4000
notesSTRING
notes for the cloned tracking link
255
project_idID
ID of the project where the cloned tracking link will be put in, if not specified the project of the source tracking link will be used
tagsARRAY
comma-separated list of tags for the cloned tracking link
Parameter dst_id is incompatible with parameters alias , domain_id and project_id . At least one of the parameters dst_id and alias have to be specified.
Return values
parameter
description
[FIELDS]
[OPTIONAL] fields containing information on cloned tracking links, the information returned depends on the fields parameter, no field is returned if the fields parameter is empty. See i1/urls/list for details on fields
added
total number of options added or changed in the destination tracking link
cloned
total number of cloned options (removed + added/changed), this parameter can be 0 if the tracking link you cloned has no options, or if an error occurred, in the latter case the parameter failed
is not empty
failed
list of options that could not be added, modified or deleted from the destination tracking link due to an error, this parameter can be empty when the cloned tracking link has no options or when no error occurred during cloning, see i1/urls/options/list for details on returned values
removed
total number of options removed in the destination tracking link
/urls/conversions /urls/conversions/add
access: [WRITE]
Add conversion codes to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/conversions/add?url_id=45c2d2cef2e2a46b1b2f1f76fd5c9e55&ids=5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915
Query parameters
url_id = 45c2d2cef2e2a46b1b2f1f76fd5c9e55
ids = 5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 4
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/conversions/add?url_id=45c2d2cef2e2a46b1b2f1f76fd5c9e55&ids=5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915&format=xml
Query parameters
url_id = 45c2d2cef2e2a46b1b2f1f76fd5c9e55
ids = 5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 4 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/conversions/add?url_id=45c2d2cef2e2a46b1b2f1f76fd5c9e55&ids=5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915&format=txt
Query parameters
url_id = 45c2d2cef2e2a46b1b2f1f76fd5c9e55
ids = 5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 4
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/conversions/add?url_id=45c2d2cef2e2a46b1b2f1f76fd5c9e55&ids=5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915&format=plain
Query parameters
url_id = 45c2d2cef2e2a46b1b2f1f76fd5c9e55
ids = 5b550ed9c72425a5cbc50e6e3293c2fc,facf4b28b5e1fa58ab46831739dd1152,8872b786c410eb614f1cf142c3a49ad5,15c70e4c36109b87d59039c150cc7915
format = plain
Response
4
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of conversion codes to add (maxmimum number of conversion codes: 5)
url_idID
ID of the tracking link to which to add one or more conversion codes
Return values
parameter
description
added
0 on error, the number of added conversion codes otherwise
/urls/conversions/clone
access: [WRITE]
Clone the conversions configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/conversions/clone?from_url_id=1d4651bb0012a3d95ea3b0e7c73a4a5b&to_url_id=8c2266faf5bf81fecb6d634488bc8bfb
Query parameters
from_url_id = 1d4651bb0012a3d95ea3b0e7c73a4a5b
to_url_id = 8c2266faf5bf81fecb6d634488bc8bfb
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/conversions/clone?from_url_id=1d4651bb0012a3d95ea3b0e7c73a4a5b&to_url_id=8c2266faf5bf81fecb6d634488bc8bfb&format=xml
Query parameters
from_url_id = 1d4651bb0012a3d95ea3b0e7c73a4a5b
to_url_id = 8c2266faf5bf81fecb6d634488bc8bfb
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/conversions/clone?from_url_id=1d4651bb0012a3d95ea3b0e7c73a4a5b&to_url_id=8c2266faf5bf81fecb6d634488bc8bfb&format=txt
Query parameters
from_url_id = 1d4651bb0012a3d95ea3b0e7c73a4a5b
to_url_id = 8c2266faf5bf81fecb6d634488bc8bfb
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/conversions/clone?from_url_id=1d4651bb0012a3d95ea3b0e7c73a4a5b&to_url_id=8c2266faf5bf81fecb6d634488bc8bfb&format=plain
Query parameters
from_url_id = 1d4651bb0012a3d95ea3b0e7c73a4a5b
to_url_id = 8c2266faf5bf81fecb6d634488bc8bfb
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the conversions configuration from
to_url_idID
ID of the tracking link you want to copy the conversions configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/conversions/count
access: [READ]
This method returns the number of conversion codes linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/conversions/count?url_id=b22b7b4d69b6e09bc4ebd2c96e7525d1
Query parameters
url_id = b22b7b4d69b6e09bc4ebd2c96e7525d1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/conversions/count?url_id=b22b7b4d69b6e09bc4ebd2c96e7525d1&format=xml
Query parameters
url_id = b22b7b4d69b6e09bc4ebd2c96e7525d1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/conversions/count?url_id=b22b7b4d69b6e09bc4ebd2c96e7525d1&format=txt
Query parameters
url_id = b22b7b4d69b6e09bc4ebd2c96e7525d1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/conversions/count?url_id=b22b7b4d69b6e09bc4ebd2c96e7525d1&format=plain
Query parameters
url_id = b22b7b4d69b6e09bc4ebd2c96e7525d1
format = plain
Response
3
Required parameters
parameter
description
url_idID
ID of the tracking link to check
Return values
parameter
description
count
the number of linked conversion codes
/urls/conversions/delete
access: [WRITE]
Delete one or more conversion codes linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/conversions/delete?url_id=65489cf1a83dfaac3bab3fbc84b129ba
Query parameters
url_id = 65489cf1a83dfaac3bab3fbc84b129ba
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/conversions/delete?url_id=65489cf1a83dfaac3bab3fbc84b129ba&format=xml
Query parameters
url_id = 65489cf1a83dfaac3bab3fbc84b129ba
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/conversions/delete?url_id=65489cf1a83dfaac3bab3fbc84b129ba&format=txt
Query parameters
url_id = 65489cf1a83dfaac3bab3fbc84b129ba
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/conversions/delete?url_id=65489cf1a83dfaac3bab3fbc84b129ba&format=plain
Query parameters
url_id = 65489cf1a83dfaac3bab3fbc84b129ba
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link from which to remove one or more conversion codes
Optional parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of conversion codes to remove, if empty all conversion codes will be removed
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/conversions/edit
access: [WRITE]
Edit the list of conversion codes linked to a tracking link (all previous conversion codes are removed).
Example 1 (json)
Request
https://joturl.com/a/i1/urls/conversions/edit?url_id=5e93cebf0b8512364e9df9fc4d8c1fb9&ids=6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
Query parameters
url_id = 5e93cebf0b8512364e9df9fc4d8c1fb9
ids = 6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/conversions/edit?url_id=5e93cebf0b8512364e9df9fc4d8c1fb9&ids=6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4&format=xml
Query parameters
url_id = 5e93cebf0b8512364e9df9fc4d8c1fb9
ids = 6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> 6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4 </ids>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/conversions/edit?url_id=5e93cebf0b8512364e9df9fc4d8c1fb9&ids=6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4&format=txt
Query parameters
url_id = 5e93cebf0b8512364e9df9fc4d8c1fb9
ids = 6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = 6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/conversions/edit?url_id=5e93cebf0b8512364e9df9fc4d8c1fb9&ids=6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4&format=plain
Query parameters
url_id = 5e93cebf0b8512364e9df9fc4d8c1fb9
ids = 6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
format = plain
Response
6caedefc9cb840f4c720fdf4dc871052,8d8ee955f0d685c0ea69eed9328ab6b4
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of conversion codes to add (maxmimum number of conversion codes: 5)
url_idID
ID of the tracking link to which to add one or more conversion codes
Return values
parameter
description
ids
comma-separated list of added conversion codes
/urls/conversions/list
access: [READ]
This method returns a list of conversion codes linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/conversions/list?fields=count,name,id,enable_postback_url,actual_url_params&url_id=04db6445b0af2c8cb13bdef641e8d50f
Query parameters
fields = count,name,id,enable_postback_url,actual_url_params
url_id = 04db6445b0af2c8cb13bdef641e8d50f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3 ,
"data" : [
{
"name" : "conversion name 1" ,
"id" : "4dfee98093ef89f375c2365ff116a18e" ,
"enable_postback_url" : 0 ,
"actual_url_params" : ""
} ,
{
"name" : "conversion name 2 (with postback URL enabled)" ,
"id" : "fb4f18463b6a68496621131070c5fc7f" ,
"enable_postback_url" : 1 ,
"actual_url_params" : "subid1={:CLICK_ID:}"
} ,
{
"name" : "conversion name 3" ,
"id" : "1c3810f399eb8a84827a0d16a39c9396" ,
"enable_postback_url" : 0 ,
"actual_url_params" : ""
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/conversions/list?fields=count,name,id,enable_postback_url,actual_url_params&url_id=04db6445b0af2c8cb13bdef641e8d50f&format=xml
Query parameters
fields = count,name,id,enable_postback_url,actual_url_params
url_id = 04db6445b0af2c8cb13bdef641e8d50f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
<data>
<i0>
<name> conversion name 1 </name>
<id> 4dfee98093ef89f375c2365ff116a18e </id>
<enable_postback_url> 0 </enable_postback_url>
<actual_url_params> </actual_url_params>
</i0>
<i1>
<name> conversion name 2 (with postback URL enabled) </name>
<id> fb4f18463b6a68496621131070c5fc7f </id>
<enable_postback_url> 1 </enable_postback_url>
<actual_url_params> subid1={:CLICK_ID:} </actual_url_params>
</i1>
<i2>
<name> conversion name 3 </name>
<id> 1c3810f399eb8a84827a0d16a39c9396 </id>
<enable_postback_url> 0 </enable_postback_url>
<actual_url_params> </actual_url_params>
</i2>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/conversions/list?fields=count,name,id,enable_postback_url,actual_url_params&url_id=04db6445b0af2c8cb13bdef641e8d50f&format=txt
Query parameters
fields = count,name,id,enable_postback_url,actual_url_params
url_id = 04db6445b0af2c8cb13bdef641e8d50f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
result_data_0_name = conversion name 1
result_data_0_id = 4dfee98093ef89f375c2365ff116a18e
result_data_0_enable_postback_url = 0
result_data_0_actual_url_params =
result_data_1_name = conversion name 2 (with postback URL enabled)
result_data_1_id = fb4f18463b6a68496621131070c5fc7f
result_data_1_enable_postback_url = 1
result_data_1_actual_url_params = subid1={:CLICK_ID:}
result_data_2_name = conversion name 3
result_data_2_id = 1c3810f399eb8a84827a0d16a39c9396
result_data_2_enable_postback_url = 0
result_data_2_actual_url_params =
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/conversions/list?fields=count,name,id,enable_postback_url,actual_url_params&url_id=04db6445b0af2c8cb13bdef641e8d50f&format=plain
Query parameters
fields = count,name,id,enable_postback_url,actual_url_params
url_id = 04db6445b0af2c8cb13bdef641e8d50f
format = plain
Response
3
conversion name 1
4dfee98093ef89f375c2365ff116a18e
0
conversion name 2 (with postback URL enabled)
fb4f18463b6a68496621131070c5fc7f
1
subid1={:CLICK_ID:}
conversion name 3
1c3810f399eb8a84827a0d16a39c9396
0
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, name, notes, enable_postback_url, actual_url_params, postback_url_params
url_idID
ID of the liked tracking link
Optional parameters
parameter
description
lengthINTEGER
extracts this number of conversion codes (maxmimum allowed: 100)
orderbyARRAY
orders conversion codes by field, available fields: id, name, notes, enable_postback_url, actual_url_params, postback_url_params
searchSTRING
filters conversion codes to be extracted by searching them
sortSTRING
sorts conversion codes in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract conversion codes from this position
Return values
parameter
description
count
[OPTIONAL] total number of conversion codes, returned only if count is passed in fields
data
array containing information on the conversion codes, returned information depends on the fields parameter.
/urls/count
access: [READ]
This method returns the number of user's urls.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/count?project_id=e19c838e0f4874f4a03a23b10b79c838
Query parameters
project_id = e19c838e0f4874f4a03a23b10b79c838
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1508
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/count?project_id=e19c838e0f4874f4a03a23b10b79c838&format=xml
Query parameters
project_id = e19c838e0f4874f4a03a23b10b79c838
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1508 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/count?project_id=e19c838e0f4874f4a03a23b10b79c838&format=txt
Query parameters
project_id = e19c838e0f4874f4a03a23b10b79c838
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1508
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/count?project_id=e19c838e0f4874f4a03a23b10b79c838&format=plain
Query parameters
project_id = e19c838e0f4874f4a03a23b10b79c838
format = plain
Response
1508
Optional parameters
Return values
parameter
description
count
total number of tracking links
/urls/ctas /urls/ctas/clone
access: [WRITE]
Clone the CTA configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/clone?from_url_id=e0e52501f477cde0ff0cf29385d11459&to_url_id=ebfb70b4a58f9f065534736c805947fd
Query parameters
from_url_id = e0e52501f477cde0ff0cf29385d11459
to_url_id = ebfb70b4a58f9f065534736c805947fd
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/clone?from_url_id=e0e52501f477cde0ff0cf29385d11459&to_url_id=ebfb70b4a58f9f065534736c805947fd&format=xml
Query parameters
from_url_id = e0e52501f477cde0ff0cf29385d11459
to_url_id = ebfb70b4a58f9f065534736c805947fd
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/clone?from_url_id=e0e52501f477cde0ff0cf29385d11459&to_url_id=ebfb70b4a58f9f065534736c805947fd&format=txt
Query parameters
from_url_id = e0e52501f477cde0ff0cf29385d11459
to_url_id = ebfb70b4a58f9f065534736c805947fd
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/clone?from_url_id=e0e52501f477cde0ff0cf29385d11459&to_url_id=ebfb70b4a58f9f065534736c805947fd&format=plain
Query parameters
from_url_id = e0e52501f477cde0ff0cf29385d11459
to_url_id = ebfb70b4a58f9f065534736c805947fd
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the CTA configuration from
to_url_idID
ID of the tracking link you want to copy the CTA configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/ctas/delete
access: [WRITE]
Unset a call to action for a short URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/delete?url_id=ee95bab09cbf6a29e3c3e9852148f362
Query parameters
url_id = ee95bab09cbf6a29e3c3e9852148f362
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/delete?url_id=ee95bab09cbf6a29e3c3e9852148f362&format=xml
Query parameters
url_id = ee95bab09cbf6a29e3c3e9852148f362
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/delete?url_id=ee95bab09cbf6a29e3c3e9852148f362&format=txt
Query parameters
url_id = ee95bab09cbf6a29e3c3e9852148f362
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/delete?url_id=ee95bab09cbf6a29e3c3e9852148f362&format=plain
Query parameters
url_id = ee95bab09cbf6a29e3c3e9852148f362
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link from which to remove the CTA
Optional parameters
parameter
description
idID
ID of the CTA to remove
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/ctas/edit
access: [WRITE]
Set a call to action for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/edit?url_id=af13676d3589e78cbbe2443ef8c61ac8&id=62ce171308e715b3baf6a2fd8fdba654
Query parameters
url_id = af13676d3589e78cbbe2443ef8c61ac8
id = 62ce171308e715b3baf6a2fd8fdba654
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/edit?url_id=af13676d3589e78cbbe2443ef8c61ac8&id=62ce171308e715b3baf6a2fd8fdba654&format=xml
Query parameters
url_id = af13676d3589e78cbbe2443ef8c61ac8
id = 62ce171308e715b3baf6a2fd8fdba654
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/edit?url_id=af13676d3589e78cbbe2443ef8c61ac8&id=62ce171308e715b3baf6a2fd8fdba654&format=txt
Query parameters
url_id = af13676d3589e78cbbe2443ef8c61ac8
id = 62ce171308e715b3baf6a2fd8fdba654
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/edit?url_id=af13676d3589e78cbbe2443ef8c61ac8&id=62ce171308e715b3baf6a2fd8fdba654&format=plain
Query parameters
url_id = af13676d3589e78cbbe2443ef8c61ac8
id = 62ce171308e715b3baf6a2fd8fdba654
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the CTA to associate to the tracking link
url_idID
ID of the tracking link
Return values
parameter
description
added
1 on success, 0 otherwise
/urls/ctas/info
access: [READ]
Get information for a CTA that is linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/info?fields=id,type,name&url_id=5a983961a7dd23439cf112fa79f6ba54
Query parameters
fields = id,type,name
url_id = 5a983961a7dd23439cf112fa79f6ba54
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "0c33dddb504dae7aa6ac93fa6184e7c7" ,
"type" : "button" ,
"name" : "this is a button CTA"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/info?fields=id,type,name&url_id=5a983961a7dd23439cf112fa79f6ba54&format=xml
Query parameters
fields = id,type,name
url_id = 5a983961a7dd23439cf112fa79f6ba54
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 0c33dddb504dae7aa6ac93fa6184e7c7 </id>
<type> button </type>
<name> this is a button CTA </name>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/info?fields=id,type,name&url_id=5a983961a7dd23439cf112fa79f6ba54&format=txt
Query parameters
fields = id,type,name
url_id = 5a983961a7dd23439cf112fa79f6ba54
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 0c33dddb504dae7aa6ac93fa6184e7c7
result_type = button
result_name = this is a button CTA
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/info?fields=id,type,name&url_id=5a983961a7dd23439cf112fa79f6ba54&format=plain
Query parameters
fields = id,type,name
url_id = 5a983961a7dd23439cf112fa79f6ba54
format = plain
Response
0c33dddb504dae7aa6ac93fa6184e7c7
button
this is a button CTA
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: id, type, name
url_idID
ID of the liked tracking link
Return values
parameter
description
id
[OPTIONAL] ID of the CTA, only if id is passed in fields
name
[OPTIONAL] name of the CTA, only if name is passed in fields
type
[OPTIONAL] type of the CTA, only if type is passed in fields
/urls/ctas/previews /urls/ctas/previews/check
access: [WRITE]
Check if a page preview is associated with a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/previews/check?url_id=2b3a8af6ab0f22b41911e1398eeed42a
Query parameters
url_id = 2b3a8af6ab0f22b41911e1398eeed42a
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/previews/check?url_id=2b3a8af6ab0f22b41911e1398eeed42a&format=xml
Query parameters
url_id = 2b3a8af6ab0f22b41911e1398eeed42a
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/previews/check?url_id=2b3a8af6ab0f22b41911e1398eeed42a&format=txt
Query parameters
url_id = 2b3a8af6ab0f22b41911e1398eeed42a
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/previews/check?url_id=2b3a8af6ab0f22b41911e1398eeed42a&format=plain
Query parameters
url_id = 2b3a8af6ab0f22b41911e1398eeed42a
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link
Return values
parameter
description
enabled
1 if a page preview is associated with the tracking link, 0 otherwise
access: [WRITE]
Extract a page preview for the destination URL of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/previews/extract?url_id=c0ac593de6d1502950504afe328ca06a
Query parameters
url_id = c0ac593de6d1502950504afe328ca06a
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"extracted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/previews/extract?url_id=c0ac593de6d1502950504afe328ca06a&format=xml
Query parameters
url_id = c0ac593de6d1502950504afe328ca06a
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<extracted> 1 </extracted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/previews/extract?url_id=c0ac593de6d1502950504afe328ca06a&format=txt
Query parameters
url_id = c0ac593de6d1502950504afe328ca06a
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_extracted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/previews/extract?url_id=c0ac593de6d1502950504afe328ca06a&format=plain
Query parameters
url_id = c0ac593de6d1502950504afe328ca06a
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link
Optional parameters
parameter
description
aiBOOLEAN
1 to enable the AI extraction, default value ai = 0
Return values
parameter
description
extracted
1 on success, 0 otherwise
/urls/ctas/previews/info
access: [READ]
Return a page preview info for the destination URL of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/previews/info?url_id=0aea89146e92f84c7944331597941f4a
Query parameters
url_id = 0aea89146e92f84c7944331597941f4a
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"info" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/previews/info?url_id=0aea89146e92f84c7944331597941f4a&format=xml
Query parameters
url_id = 0aea89146e92f84c7944331597941f4a
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<info> 1 </info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/previews/info?url_id=0aea89146e92f84c7944331597941f4a&format=txt
Query parameters
url_id = 0aea89146e92f84c7944331597941f4a
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_info = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/previews/info?url_id=0aea89146e92f84c7944331597941f4a&format=plain
Query parameters
url_id = 0aea89146e92f84c7944331597941f4a
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link
Return values
parameter
description
info
1 on success, 0 otherwise
/urls/ctas/previews/preview
access: [WRITE]
Return a page preview HTML for the destination URL of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/ctas/previews/preview?url_id=6c8ecd2f07cc0b29eb6112724d0998d4
Query parameters
url_id = 6c8ecd2f07cc0b29eb6112724d0998d4
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"html" : "<html><body>...</body></html>"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/ctas/previews/preview?url_id=6c8ecd2f07cc0b29eb6112724d0998d4&format=xml
Query parameters
url_id = 6c8ecd2f07cc0b29eb6112724d0998d4
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<html> <html><body>...</body></html> </html>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/ctas/previews/preview?url_id=6c8ecd2f07cc0b29eb6112724d0998d4&format=txt
Query parameters
url_id = 6c8ecd2f07cc0b29eb6112724d0998d4
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_html = <html><body>...</body></html>
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/ctas/previews/preview?url_id=6c8ecd2f07cc0b29eb6112724d0998d4&format=plain
Query parameters
url_id = 6c8ecd2f07cc0b29eb6112724d0998d4
format = plain
Response
<html><body>...</body></html>
Required parameters
parameter
description
url_idID
ID of the tracking link
Optional parameters
parameter
description
return_htmlBOOLEAN
1 to return HTML, 0 to return JSON containing the html
field, default value return_html = 0
Return values
parameter
description
[BINARY DATA]
[OPTIONAL] raw HTML content for the page preview, returned if return_html = 1
html
[OPTIONAL] HTML for the page preview, returned if return_html = 0
/urls/deeplinks /urls/deeplinks/al
access: [READ]
Extract App Links information from a given URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/al?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1234567890%2F
Query parameters
url = https://www.facebook.com/groups/1234567890/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"android" : {
"app_name" : "Facebook" ,
"package" : "com.facebook.katana" ,
"uri_scheme" : "fb://group/1234567890"
} ,
"ios" : {
"app_name" : "Facebook" ,
"app_store_id" : "284882215" ,
"uri_scheme" : "fb://group/?id=1234567890"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/al?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1234567890%2F&format=xml
Query parameters
url = https://www.facebook.com/groups/1234567890/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<android>
<app_name> Facebook </app_name>
<package> com.facebook.katana </package>
<uri_scheme> fb://group/1234567890 </uri_scheme>
</android>
<ios>
<app_name> Facebook </app_name>
<app_store_id> 284882215 </app_store_id>
<uri_scheme> fb://group/?id=1234567890 </uri_scheme>
</ios>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/al?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1234567890%2F&format=txt
Query parameters
url = https://www.facebook.com/groups/1234567890/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_android_app_name = Facebook
result_android_package = com.facebook.katana
result_android_uri_scheme = fb://group/1234567890
result_ios_app_name = Facebook
result_ios_app_store_id = 284882215
result_ios_uri_scheme = fb://group/?id=1234567890
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/al?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1234567890%2F&format=plain
Query parameters
url = https://www.facebook.com/groups/1234567890/
format = plain
Response
Facebook
com.facebook.katana
fb://group/1234567890
Facebook
284882215
fb://group/?id=1234567890
Required parameters
parameter
description
urlSTRING
URL to be scraped
Return values
parameter
description
data
Extracted App Link tags
/urls/deeplinks/clone
access: [WRITE]
Clone the deep link configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/clone?from_url_id=412ea21a951fdbae3a4227d263fe76fa&to_url_id=5d6f529d2219ab85ccb81c703c1a7eb3
Query parameters
from_url_id = 412ea21a951fdbae3a4227d263fe76fa
to_url_id = 5d6f529d2219ab85ccb81c703c1a7eb3
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/clone?from_url_id=412ea21a951fdbae3a4227d263fe76fa&to_url_id=5d6f529d2219ab85ccb81c703c1a7eb3&format=xml
Query parameters
from_url_id = 412ea21a951fdbae3a4227d263fe76fa
to_url_id = 5d6f529d2219ab85ccb81c703c1a7eb3
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/clone?from_url_id=412ea21a951fdbae3a4227d263fe76fa&to_url_id=5d6f529d2219ab85ccb81c703c1a7eb3&format=txt
Query parameters
from_url_id = 412ea21a951fdbae3a4227d263fe76fa
to_url_id = 5d6f529d2219ab85ccb81c703c1a7eb3
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/clone?from_url_id=412ea21a951fdbae3a4227d263fe76fa&to_url_id=5d6f529d2219ab85ccb81c703c1a7eb3&format=plain
Query parameters
from_url_id = 412ea21a951fdbae3a4227d263fe76fa
to_url_id = 5d6f529d2219ab85ccb81c703c1a7eb3
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the deep link configuration from
to_url_idID
ID of the tracking link you want to the deep link configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/deeplinks/delete
access: [WRITE]
Unset (delete) a deep link for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/delete?id=3c09b903782c05957fc2360156290e10
Query parameters
id = 3c09b903782c05957fc2360156290e10
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/delete?id=3c09b903782c05957fc2360156290e10&format=xml
Query parameters
id = 3c09b903782c05957fc2360156290e10
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/delete?id=3c09b903782c05957fc2360156290e10&format=txt
Query parameters
id = 3c09b903782c05957fc2360156290e10
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/delete?id=3c09b903782c05957fc2360156290e10&format=plain
Query parameters
id = 3c09b903782c05957fc2360156290e10
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a deep link configration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/deeplinks/edit
access: [WRITE]
Set deep link settings for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/edit?id=edeaacc163d1ab928fc72a21ef3806ef
Query parameters
id = edeaacc163d1ab928fc72a21ef3806ef
Post parameters
settings=%7B%22params%22%3A%5B%5D%2C%22default_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22desktop_settings%22%3A%22default%22%2C%22desktop_redirect_url%22%3A%22%22%2C%22android_redirect_url%22%3A%22%22%2C%22android_settings%22%3A%22deeplink%22%2C%22android_uri_scheme%22%3A%22customUriScheme%3A%2F%2Fopen%22%2C%22android_package_name%22%3A%22com.joturl.example%22%2C%22android_fallback%22%3A%22redirect%22%2C%22android_fallback_redirect_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22ios_settings%22%3A%22default%22%2C%22ios_redirect_url%22%3A%22%22%2C%22ios_uri_scheme%22%3A%22%22%2C%22ios_store_url%22%3A%22%22%2C%22ios_fallback%22%3A%22store%22%2C%22ios_fallback_redirect_url%22%3A%22%22%2C%22og_title%22%3A%22%22%3A%22%22%2C%22og_image%22%3A%22%22%7D
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/edit?id=edeaacc163d1ab928fc72a21ef3806ef&format=xml
Query parameters
id = edeaacc163d1ab928fc72a21ef3806ef
format = xml
Post parameters
settings=%7B%22params%22%3A%5B%5D%2C%22default_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22desktop_settings%22%3A%22default%22%2C%22desktop_redirect_url%22%3A%22%22%2C%22android_redirect_url%22%3A%22%22%2C%22android_settings%22%3A%22deeplink%22%2C%22android_uri_scheme%22%3A%22customUriScheme%3A%2F%2Fopen%22%2C%22android_package_name%22%3A%22com.joturl.example%22%2C%22android_fallback%22%3A%22redirect%22%2C%22android_fallback_redirect_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22ios_settings%22%3A%22default%22%2C%22ios_redirect_url%22%3A%22%22%2C%22ios_uri_scheme%22%3A%22%22%2C%22ios_store_url%22%3A%22%22%2C%22ios_fallback%22%3A%22store%22%2C%22ios_fallback_redirect_url%22%3A%22%22%2C%22og_title%22%3A%22%22%3A%22%22%2C%22og_image%22%3A%22%22%7D
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/edit?id=edeaacc163d1ab928fc72a21ef3806ef&format=txt
Query parameters
id = edeaacc163d1ab928fc72a21ef3806ef
format = txt
Post parameters
settings=%7B%22params%22%3A%5B%5D%2C%22default_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22desktop_settings%22%3A%22default%22%2C%22desktop_redirect_url%22%3A%22%22%2C%22android_redirect_url%22%3A%22%22%2C%22android_settings%22%3A%22deeplink%22%2C%22android_uri_scheme%22%3A%22customUriScheme%3A%2F%2Fopen%22%2C%22android_package_name%22%3A%22com.joturl.example%22%2C%22android_fallback%22%3A%22redirect%22%2C%22android_fallback_redirect_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22ios_settings%22%3A%22default%22%2C%22ios_redirect_url%22%3A%22%22%2C%22ios_uri_scheme%22%3A%22%22%2C%22ios_store_url%22%3A%22%22%2C%22ios_fallback%22%3A%22store%22%2C%22ios_fallback_redirect_url%22%3A%22%22%2C%22og_title%22%3A%22%22%3A%22%22%2C%22og_image%22%3A%22%22%7D
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/edit?id=edeaacc163d1ab928fc72a21ef3806ef&format=plain
Query parameters
id = edeaacc163d1ab928fc72a21ef3806ef
format = plain
Post parameters
settings=%7B%22params%22%3A%5B%5D%2C%22default_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22desktop_settings%22%3A%22default%22%2C%22desktop_redirect_url%22%3A%22%22%2C%22android_redirect_url%22%3A%22%22%2C%22android_settings%22%3A%22deeplink%22%2C%22android_uri_scheme%22%3A%22customUriScheme%3A%2F%2Fopen%22%2C%22android_package_name%22%3A%22com.joturl.example%22%2C%22android_fallback%22%3A%22redirect%22%2C%22android_fallback_redirect_url%22%3A%22https%3A%2F%2Fjoturl.com%2F%22%2C%22ios_settings%22%3A%22default%22%2C%22ios_redirect_url%22%3A%22%22%2C%22ios_uri_scheme%22%3A%22%22%2C%22ios_store_url%22%3A%22%22%2C%22ios_fallback%22%3A%22store%22%2C%22ios_fallback_redirect_url%22%3A%22%22%2C%22og_title%22%3A%22%22%3A%22%22%2C%22og_image%22%3A%22%22%7D
Response
1
Required parameters
parameter
description
idID
tracking link ID for which you want to edit the app deep link configuration
settingsSTRING
stringified JSON of the app deep link configuration, see i1/urls/deeplinks/info for details
We suggest that you call this endpoint using the POST method due to the large number of characters that may be required in the URL parameters.
Return values
parameter
description
enabled
1 if the app deep link option has been successfully enabled, 0 otherwise
/urls/deeplinks/huawei /urls/deeplinks/huawei/quickapps/id2package
access: [READ]
Get the package of a Huawei Quick App from its ID.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/huawei/quickapps/id2package?id=C1234567890
Query parameters
id = C1234567890
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"package" : "com.example.quickapp"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/huawei/quickapps/id2package?id=C1234567890&format=xml
Query parameters
id = C1234567890
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<package> com.example.quickapp </package>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/huawei/quickapps/id2package?id=C1234567890&format=txt
Query parameters
id = C1234567890
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_package = com.example.quickapp
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/huawei/quickapps/id2package?id=C1234567890&format=plain
Query parameters
id = C1234567890
format = plain
Response
com.example.quickapp
Required parameters
parameter
description
idSTRING
ID of a Huawei Quick App
Return values
parameter
description
package
The Huawei Quick App package that matches the passed id
/urls/deeplinks/info
access: [READ]
Get a deep link settings for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/info?id=e43f40552137676771ee63608540f9f7
Query parameters
id = e43f40552137676771ee63608540f9f7
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"settings" : {
"params" : [
{
"key" : "a" ,
"value" : "b"
} ,
{
"key" : "c" ,
"value" : "d"
}
] ,
"default_url" : "https://joturl.com/" ,
"desktop_settings" : "default" ,
"desktop_redirect_url" : "" ,
"android_redirect_url" : "" ,
"android_settings" : "deeplink" ,
"android_uri_scheme" : "customUriScheme://open" ,
"android_package_name" : "com.joturl.example" ,
"android_fallback" : "redirect" ,
"android_fallback_redirect_url" : "https://joturl.com/" ,
"ios_settings" : "default" ,
"ios_redirect_url" : "" ,
"ios_uri_scheme" : "" ,
"ios_store_url" : "" ,
"ios_fallback" : "store" ,
"ios_fallback_redirect_url" : "" ,
"og_title" : "" ,
"og_description" : "" ,
"og_image" : ""
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/info?id=e43f40552137676771ee63608540f9f7&format=xml
Query parameters
id = e43f40552137676771ee63608540f9f7
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<settings>
<params>
<i0>
<key> a </key>
<value> b </value>
</i0>
<i1>
<key> c </key>
<value> d </value>
</i1>
</params>
<default_url> https://joturl.com/ </default_url>
<desktop_settings> default </desktop_settings>
<desktop_redirect_url> </desktop_redirect_url>
<android_redirect_url> </android_redirect_url>
<android_settings> deeplink </android_settings>
<android_uri_scheme> customUriScheme://open </android_uri_scheme>
<android_package_name> com.joturl.example </android_package_name>
<android_fallback> redirect </android_fallback>
<android_fallback_redirect_url> https://joturl.com/ </android_fallback_redirect_url>
<ios_settings> default </ios_settings>
<ios_redirect_url> </ios_redirect_url>
<ios_uri_scheme> </ios_uri_scheme>
<ios_store_url> </ios_store_url>
<ios_fallback> store </ios_fallback>
<ios_fallback_redirect_url> </ios_fallback_redirect_url>
<og_title> </og_title>
<og_description> </og_description>
<og_image> </og_image>
</settings>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/info?id=e43f40552137676771ee63608540f9f7&format=txt
Query parameters
id = e43f40552137676771ee63608540f9f7
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_settings_params_0_key = a
result_settings_params_0_value = b
result_settings_params_1_key = c
result_settings_params_1_value = d
result_settings_default_url = https://joturl.com/
result_settings_desktop_settings = default
result_settings_desktop_redirect_url =
result_settings_android_redirect_url =
result_settings_android_settings = deeplink
result_settings_android_uri_scheme = customUriScheme://open
result_settings_android_package_name = com.joturl.example
result_settings_android_fallback = redirect
result_settings_android_fallback_redirect_url = https://joturl.com/
result_settings_ios_settings = default
result_settings_ios_redirect_url =
result_settings_ios_uri_scheme =
result_settings_ios_store_url =
result_settings_ios_fallback = store
result_settings_ios_fallback_redirect_url =
result_settings_og_title =
result_settings_og_description =
result_settings_og_image =
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/info?id=e43f40552137676771ee63608540f9f7&format=plain
Query parameters
id = e43f40552137676771ee63608540f9f7
format = plain
Response
a
b
c
d
https://joturl.com/
default
deeplink
customUriScheme://open
com.joturl.example
redirect
https://joturl.com/
default
store
Required parameters
parameter
description
idID
tracking link ID for which you want to extract the deep link configuration
Return values
parameter
description
settings
deep link configuration
Fields in settings
:
params : array of {"key":"","value":""} objects representing custom parameters default_url : the user will be redirected to this URL in all cases where it will not be possible to automatically open the app or bring the user to the store desktop_settings : desktop settings, qrcode
to show a page with QR a code, default
to redirect the user to the URL in default_url
, redirect
to redirect the user to the URL in desktop_redirect_url
desktop_redirect_url : the URL to be used when desktop_settings = redirect
android_settings : Android settings, default
to redirect the user to the URL in default_url
, redirect
to redirect the user to the URL in android_redirect_url
, deeplink
to try to bring the user within the app android_redirect_url : the URL to be used when android_settings = redirect
android_uri_scheme : when android_settings = deeplink
, Android URI scheme android_package_name : when android_settings = deeplink
, Android package name huawei_quickapp_package_name : when android_settings = deeplink
, package name of the Quick App on the Huawei AppGallery huawei_app_id : when android_settings = deeplink
, app ID in the Huawei AppGallery android_fallback : when the custom URI scheme fails redirects to the Google Play store/Huawei AppGallery when android_fallback = store
, redirects to the URL in android_fallback_redirect_url
when android_fallback = redirect
android_fallback_redirect_url : the URL to be used when android_fallback = redirect
has_app_link : 1 if the custom domain associated with the tracking link is configured for the Android App Links, 0 otherwise ios_settings : iOS settings, default
to redirect the user to the URL in default_url
, redirect
to redirect the user to the URL in ios_redirect_url
, deeplink
to try to bring the user within the app ios_redirect_url : the URL to be used when ios_settings = redirect
ios_uri_scheme : when ios_settings = deeplink
, iOS URI scheme ios_store_url : when ios_settings = deeplink
,URL of the app on the Apple Store ios_fallback : when the custom URI scheme fails redirects to the Apple store when ios_fallback = store
, redirects to the URL in ios_fallback_redirect_url
when ios_fallback = redirect
ios_fallback_redirect_url : the URL to be used when ios_fallback = redirect
has_universal_link : 1 if the custom domain associated with the tracking link is configured for the Apple Universal Links, 0 otherwise og_title : Open Graph Title og_description : Open Graph Description og_image : Open Graph Image (URL)
/urls/deeplinks/og
access: [READ]
Extract Open Graph information from a given URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/deeplinks/og?url=https%3A%2F%2Fwww.facebook.com%2F
Query parameters
url = https://www.facebook.com/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"site_name" : "Facebook" ,
"url" : "https://www.facebook.com/" ,
"image" : "https://www.facebook.com/images/fb_icon_325x325.png" ,
"locale" : "en_US" ,
"title" : "Facebook - Log In or Sign Up" ,
"description" : "Create an account or log into Facebook. Connect with friends, family and other people you know. Share photos and videos, send messages and get updates."
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/deeplinks/og?url=https%3A%2F%2Fwww.facebook.com%2F&format=xml
Query parameters
url = https://www.facebook.com/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<site_name> Facebook </site_name>
<url> https://www.facebook.com/ </url>
<image> https://www.facebook.com/images/fb_icon_325x325.png </image>
<locale> en_US </locale>
<title> Facebook - Log In or Sign Up </title>
<description> Create an account or log into Facebook. Connect with friends, family and other people you know. Share photos and videos, send messages and get updates. </description>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/deeplinks/og?url=https%3A%2F%2Fwww.facebook.com%2F&format=txt
Query parameters
url = https://www.facebook.com/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_site_name = Facebook
result_data_url = https://www.facebook.com/
result_data_image = https://www.facebook.com/images/fb_icon_325x325.png
result_data_locale = en_US
result_data_title = Facebook - Log In or Sign Up
result_data_description = Create an account or log into Facebook. Connect with friends, family and other people you know. Share photos and videos, send messages and get updates.
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/deeplinks/og?url=https%3A%2F%2Fwww.facebook.com%2F&format=plain
Query parameters
url = https://www.facebook.com/
format = plain
Response
Facebook
https://www.facebook.com/
https://www.facebook.com/images/fb_icon_325x325.png
en_US
Facebook - Log In or Sign Up
Create an account or log into Facebook. Connect with friends, family and other people you know. Share photos and videos, send messages and get updates.
Required parameters
parameter
description
urlSTRING
URL to be scraped
Return values
parameter
description
data
Extracted Open Graph tags
/urls/delete
access: [WRITE]
This method deletes a set of tracking links by using the parameter ids .
Example 1 (json)
Request
https://joturl.com/a/i1/urls/delete?ids=e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe
Query parameters
ids = e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/delete?ids=e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe&format=xml
Query parameters
ids = e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 3 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/delete?ids=e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe&format=txt
Query parameters
ids = e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/delete?ids=e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe&format=plain
Query parameters
ids = e72f93ee7cdeb3d0448b6381c095c085,aeb83b97a1e8cc0862b124fd11a4bcb9,8459e5978957468be405e9b91c49d4fe
format = plain
Response
3
Example 5 (json)
Request
https://joturl.com/a/i1/urls/delete?ids=43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c
Query parameters
ids = 43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : [
"bb8d3365315b32928a54d920975e68a6" ,
"c02ecb6d57049f8179dc1cb8b6fedc7c"
] ,
"deleted" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/urls/delete?ids=43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c&format=xml
Query parameters
ids = 43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids>
<i0> bb8d3365315b32928a54d920975e68a6 </i0>
<i1> c02ecb6d57049f8179dc1cb8b6fedc7c </i1>
</ids>
<deleted> 1 </deleted>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/urls/delete?ids=43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c&format=txt
Query parameters
ids = 43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids_0 = bb8d3365315b32928a54d920975e68a6
result_ids_1 = c02ecb6d57049f8179dc1cb8b6fedc7c
result_deleted = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/urls/delete?ids=43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c&format=plain
Query parameters
ids = 43c1e7aea10acfceb20b3360b1da2e6a,bb8d3365315b32928a54d920975e68a6,c02ecb6d57049f8179dc1cb8b6fedc7c
format = plain
Response
bb8d3365315b32928a54d920975e68a6
c02ecb6d57049f8179dc1cb8b6fedc7c
1
Required parameters
parameter
description
idsARRAY_OF_IDS
comma separated list of tracking link IDs to be deleted
Return values
parameter
description
deleted
number of deleted tracking links
ids
[OPTIONAL] list of tracking link IDs whose delete has failed, this parameter is returned only when at least one delete error has occurred
/urls/easydeeplinks /urls/easydeeplinks/clone
access: [WRITE]
Clone the easy deep link configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/clone?from_url_id=550c1560e27ab1c6485fcb0c5dd6c868&to_url_id=5a8380913b8de9d7c6bd02d09de5829f
Query parameters
from_url_id = 550c1560e27ab1c6485fcb0c5dd6c868
to_url_id = 5a8380913b8de9d7c6bd02d09de5829f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/clone?from_url_id=550c1560e27ab1c6485fcb0c5dd6c868&to_url_id=5a8380913b8de9d7c6bd02d09de5829f&format=xml
Query parameters
from_url_id = 550c1560e27ab1c6485fcb0c5dd6c868
to_url_id = 5a8380913b8de9d7c6bd02d09de5829f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/clone?from_url_id=550c1560e27ab1c6485fcb0c5dd6c868&to_url_id=5a8380913b8de9d7c6bd02d09de5829f&format=txt
Query parameters
from_url_id = 550c1560e27ab1c6485fcb0c5dd6c868
to_url_id = 5a8380913b8de9d7c6bd02d09de5829f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/clone?from_url_id=550c1560e27ab1c6485fcb0c5dd6c868&to_url_id=5a8380913b8de9d7c6bd02d09de5829f&format=plain
Query parameters
from_url_id = 550c1560e27ab1c6485fcb0c5dd6c868
to_url_id = 5a8380913b8de9d7c6bd02d09de5829f
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the easy deep link configuration from
to_url_idID
ID of the tracking link you want to the easy deep link configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/easydeeplinks/delete
access: [WRITE]
Unset (delete) an easy dee link for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/delete?id=0b00aa3f1cca2b0af96f22d89c11ae22
Query parameters
id = 0b00aa3f1cca2b0af96f22d89c11ae22
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/delete?id=0b00aa3f1cca2b0af96f22d89c11ae22&format=xml
Query parameters
id = 0b00aa3f1cca2b0af96f22d89c11ae22
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/delete?id=0b00aa3f1cca2b0af96f22d89c11ae22&format=txt
Query parameters
id = 0b00aa3f1cca2b0af96f22d89c11ae22
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/delete?id=0b00aa3f1cca2b0af96f22d89c11ae22&format=plain
Query parameters
id = 0b00aa3f1cca2b0af96f22d89c11ae22
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove an easy deep link configration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/easydeeplinks/detect
access: [READ]
Find the app the passed URL is associated with (e.g., Facebook, Instagram).
Example 1 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/detect?url=https%3A%2F%2Fwww.facebook.com%2FjotURL
Query parameters
url = https://www.facebook.com/jotURL
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"name" : "Facebook" ,
"category" : "social"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/detect?url=https%3A%2F%2Fwww.facebook.com%2FjotURL&format=xml
Query parameters
url = https://www.facebook.com/jotURL
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<name> Facebook </name>
<category> social </category>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/detect?url=https%3A%2F%2Fwww.facebook.com%2FjotURL&format=txt
Query parameters
url = https://www.facebook.com/jotURL
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_name = Facebook
result_category = social
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/detect?url=https%3A%2F%2Fwww.facebook.com%2FjotURL&format=plain
Query parameters
url = https://www.facebook.com/jotURL
format = plain
Response
Facebook
social
Optional parameters
parameter
description
max length
urlURL
URL corresponding to the app page
4000
Return values
parameter
description
category
category of the easy deep link provider, if available, supported categories: affiliation, business, entertainment, lifestyle, music, other, shopping, social, travel, unknown, website
name
name of the easy deep link provider, if available, supported names: AliExpress, Amazon, Apartments.com, Apple Maps, Apple Music, Apple Podcast, Best Buy, Booking.com, Discord, Epic Games Store, Etsy, Expedia, Facebook, Flipkart, Google Docs, Google Maps, Google Sheets, Google Slides, HSN, IKEA, Instagram, Kickstarter, Kohl's, LINE, LTK, LinkedIn, Macy's, Mavely, Medium, Mercado Livre, Messenger, Microsoft Excel, Microsoft PowerPoint, Microsoft Word, Netflix, Pinterest, Product Hunt, Quora, Reddit, Refersion, SHEIN, Signal, Skype, Snapchat, Spotify, Steam, Target, Telegram, The Home Depot, TikTok, TripAdvisor, Trulia, Twitch TV, Twitter, Unknown, Viber, Vimeo, Walmart, WhatsApp, YouTube, Zendesk Support, Zillow, Zulily, eBay, iFood
real_category
[OPTIONAL] category of the real easy deep link provider, see notes
real_name
[OPTIONAL] name of the real easy deep link provider, see notes
The real_name
and real_category
parameters are optional and only returned if the primary provider is an interface to other deep link providers. These parameters describe the provider that will actually manage the deep link.
/urls/easydeeplinks/edit
access: [WRITE]
Set an easy deep link settings for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/edit?id=60375aa5ef4a9745727c35d1a67aa9ae
Query parameters
id = 60375aa5ef4a9745727c35d1a67aa9ae
Post parameters
settings=%7B%22name%22%3A%22YouTube%22%2C%22category%22%3A%22social%22%2C%22ios%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22android%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22default_url%22%3A%22https%3A%5C%2F%5C%2Fyoutu.be%5C%2FoBg0slZQt1g%22%2C%22info%22%3A%7B%22title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%2C%22ios_url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22ios_store_url%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%2C%22android_url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22android_store_url%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%2C%22info%22%3A%7B%22ios%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22app_store_id%22%3A%22544007664%22%2C%22url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%7D%2C%22android%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22package%22%3A%22com.google.android.youtube%22%2C%22url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%7D%7D%7D%2C%22detected%22%3A%5B%22ios%22%2C%22android%22%5D%2C%22og_title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22og_description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22og_image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%7D
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/edit?id=60375aa5ef4a9745727c35d1a67aa9ae&format=xml
Query parameters
id = 60375aa5ef4a9745727c35d1a67aa9ae
format = xml
Post parameters
settings=%7B%22name%22%3A%22YouTube%22%2C%22category%22%3A%22social%22%2C%22ios%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22android%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22default_url%22%3A%22https%3A%5C%2F%5C%2Fyoutu.be%5C%2FoBg0slZQt1g%22%2C%22info%22%3A%7B%22title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%2C%22ios_url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22ios_store_url%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%2C%22android_url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22android_store_url%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%2C%22info%22%3A%7B%22ios%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22app_store_id%22%3A%22544007664%22%2C%22url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%7D%2C%22android%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22package%22%3A%22com.google.android.youtube%22%2C%22url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%7D%7D%7D%2C%22detected%22%3A%5B%22ios%22%2C%22android%22%5D%2C%22og_title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22og_description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22og_image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%7D
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/edit?id=60375aa5ef4a9745727c35d1a67aa9ae&format=txt
Query parameters
id = 60375aa5ef4a9745727c35d1a67aa9ae
format = txt
Post parameters
settings=%7B%22name%22%3A%22YouTube%22%2C%22category%22%3A%22social%22%2C%22ios%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22android%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22default_url%22%3A%22https%3A%5C%2F%5C%2Fyoutu.be%5C%2FoBg0slZQt1g%22%2C%22info%22%3A%7B%22title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%2C%22ios_url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22ios_store_url%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%2C%22android_url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22android_store_url%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%2C%22info%22%3A%7B%22ios%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22app_store_id%22%3A%22544007664%22%2C%22url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%7D%2C%22android%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22package%22%3A%22com.google.android.youtube%22%2C%22url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%7D%7D%7D%2C%22detected%22%3A%5B%22ios%22%2C%22android%22%5D%2C%22og_title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22og_description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22og_image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%7D
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/edit?id=60375aa5ef4a9745727c35d1a67aa9ae&format=plain
Query parameters
id = 60375aa5ef4a9745727c35d1a67aa9ae
format = plain
Post parameters
settings=%7B%22name%22%3A%22YouTube%22%2C%22category%22%3A%22social%22%2C%22ios%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%7D%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22android%22%3A%7B%22phone%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%2C%22tablet%22%3A%7B%22enabled%22%3A1%2C%22installed%22%3A%7B%22choice%22%3A%22scheme%22%2C%22scheme%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22custom%22%3A%22%22%2C%22alternatives%22%3A%5B%5D%7D%2C%22not_installed%22%3A%7B%22choice%22%3A%22default%22%2C%22custom%22%3A%22%22%2C%22store%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%7D%2C%22force_chrome%22%3A0%2C%22deeplink_method%22%3A%22aggressive%22%7D%7D%2C%22default_url%22%3A%22https%3A%5C%2F%5C%2Fyoutu.be%5C%2FoBg0slZQt1g%22%2C%22info%22%3A%7B%22title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%2C%22ios_url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%2C%22ios_store_url%22%3A%22https%3A%5C%2F%5C%2Fitunes.apple.com%5C%2Fus%5C%2Fapp%5C%2Fyoutube%5C%2Fid544007664%22%2C%22android_url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%2C%22android_store_url%22%3A%22https%3A%5C%2F%5C%2Fplay.google.com%5C%2Fstore%5C%2Fapps%5C%2Fdetails%3Fid%3Dcom.google.android.youtube%22%2C%22info%22%3A%7B%22ios%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22app_store_id%22%3A%22544007664%22%2C%22url%22%3A%22vnd.youtube%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%22%7D%2C%22android%22%3A%7B%22app_name%22%3A%22YouTube%22%2C%22package%22%3A%22com.google.android.youtube%22%2C%22url%22%3A%22intent%3A%5C%2F%5C%2Fwww.youtube.com%5C%2Fwatch%3Fv%3DoBg0slZQt1g%26feature%3Dyoutu.be%23Intent%3Bpackage%3Dcom.google.android.youtube%3Bscheme%3Dhttps%3BS.browser_fallback_url%3D%7Bnot_installed%7D%3Bend%22%7D%7D%7D%2C%22detected%22%3A%5B%22ios%22%2C%22android%22%5D%2C%22og_title%22%3A%22JotURL+-+The+all-in-one+dream+suite+for+your+marketing+links%21%22%2C%22og_description%22%3A%22JotUrl%3A+Boost+your+inbound+marketing+results+and+conversions%2C+with+the+best+user+experience.+www.joturl.com%22%2C%22og_image%22%3A%22https%3A%5C%2F%5C%2Fi.ytimg.com%5C%2Fvi%5C%2FoBg0slZQt1g%5C%2Fmaxresdefault.jpg%22%7D
Response
1
Required parameters
parameter
description
idID
tracking link ID for which you want to edit the easy deep link configuration
settingsJSON
stringified JSON of the easy deep link configuration, see i1/urls/easydeeplinks/info for details
We suggest that you call this endpoint using the POST method due to the large number of characters that may be required in the URL parameters.
Return values
parameter
description
enabled
1 if the easy deep link option has been successfully enabled, 0 otherwise
/urls/easydeeplinks/info
access: [READ]
Get an easy deep link settings for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=a946012462cdf2b169369bac6ed3adbc
Query parameters
id = a946012462cdf2b169369bac6ed3adbc
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"name" : "YouTube" ,
"category" : "social" ,
"ios" : {
"phone" : {
"enabled" : 1 ,
"installed" : {
"choice" : "scheme" ,
"scheme" : "vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be" ,
"custom" : "" ,
"alternatives" : []
} ,
"not_installed" : {
"choice" : "default" ,
"custom" : "" ,
"store" : "https://itunes.apple.com/us/app/youtube/id544007664"
}
} ,
"tablet" : {
"enabled" : 1 ,
"installed" : {
"choice" : "scheme" ,
"scheme" : "vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be" ,
"custom" : "" ,
"alternatives" : []
} ,
"not_installed" : {
"choice" : "default" ,
"custom" : "" ,
"store" : "https://itunes.apple.com/us/app/youtube/id544007664"
}
}
} ,
"android" : {
"phone" : {
"enabled" : 1 ,
"installed" : {
"choice" : "scheme" ,
"scheme" : "intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end" ,
"custom" : "" ,
"alternatives" : []
} ,
"not_installed" : {
"choice" : "default" ,
"custom" : "" ,
"store" : "https://play.google.com/store/apps/details?id=com.google.android.youtube"
}
} ,
"tablet" : {
"enabled" : 1 ,
"installed" : {
"choice" : "scheme" ,
"scheme" : "intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end" ,
"custom" : "" ,
"alternatives" : []
} ,
"not_installed" : {
"choice" : "default" ,
"custom" : "" ,
"store" : "https://play.google.com/store/apps/details?id=com.google.android.youtube"
}
}
} ,
"default_url" : "https://youtu.be/oBg0slZQt1g" ,
"info" : {
"title" : "JotURL - The all-in-one dream suite for your marketing links!" ,
"description" : "JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com" ,
"image" : "https://i.ytimg.com/vi/oBg0slZQt1g/maxresdefault.jpg" ,
"ios_url" : "vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be" ,
"ios_store_url" : "https://itunes.apple.com/us/app/youtube/id544007664" ,
"android_url" : "intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end" ,
"android_store_url" : "https://play.google.com/store/apps/details?id=com.google.android.youtube" ,
"info" : {
"ios" : {
"app_name" : "YouTube" ,
"app_store_id" : "544007664" ,
"url" : "vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be"
} ,
"android" : {
"app_name" : "YouTube" ,
"package" : "com.google.android.youtube" ,
"url" : "intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end"
}
}
} ,
"detected" : [
"ios" ,
"android"
] ,
"autodetect" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=a946012462cdf2b169369bac6ed3adbc&format=xml
Query parameters
id = a946012462cdf2b169369bac6ed3adbc
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<name> YouTube </name>
<category> social </category>
<ios>
<phone>
<enabled> 1 </enabled>
<installed>
<choice> scheme </choice>
<scheme> vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be </scheme>
<custom> </custom>
<alternatives>
</alternatives>
</installed>
<not_installed>
<choice> default </choice>
<custom> </custom>
<store> https://itunes.apple.com/us/app/youtube/id544007664 </store>
</not_installed>
</phone>
<tablet>
<enabled> 1 </enabled>
<installed>
<choice> scheme </choice>
<scheme> vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be </scheme>
<custom> </custom>
<alternatives>
</alternatives>
</installed>
<not_installed>
<choice> default </choice>
<custom> </custom>
<store> https://itunes.apple.com/us/app/youtube/id544007664 </store>
</not_installed>
</tablet>
</ios>
<android>
<phone>
<enabled> 1 </enabled>
<installed>
<choice> scheme </choice>
<scheme> intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end </scheme>
<custom> </custom>
<alternatives>
</alternatives>
</installed>
<not_installed>
<choice> default </choice>
<custom> </custom>
<store> https://play.google.com/store/apps/details?id=com.google.android.youtube </store>
</not_installed>
</phone>
<tablet>
<enabled> 1 </enabled>
<installed>
<choice> scheme </choice>
<scheme> intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end </scheme>
<custom> </custom>
<alternatives>
</alternatives>
</installed>
<not_installed>
<choice> default </choice>
<custom> </custom>
<store> https://play.google.com/store/apps/details?id=com.google.android.youtube </store>
</not_installed>
</tablet>
</android>
<default_url> https://youtu.be/oBg0slZQt1g </default_url>
<info>
<title> JotURL - The all-in-one dream suite for your marketing links! </title>
<description> JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com </description>
<image> https://i.ytimg.com/vi/oBg0slZQt1g/maxresdefault.jpg </image>
<ios_url> vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be </ios_url>
<ios_store_url> https://itunes.apple.com/us/app/youtube/id544007664 </ios_store_url>
<android_url> intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end </android_url>
<android_store_url> https://play.google.com/store/apps/details?id=com.google.android.youtube </android_store_url>
<info>
<ios>
<app_name> YouTube </app_name>
<app_store_id> 544007664 </app_store_id>
<url> vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be </url>
</ios>
<android>
<app_name> YouTube </app_name>
<package> com.google.android.youtube </package>
<url> intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end </url>
</android>
</info>
</info>
<detected>
<i0> ios </i0>
<i1> android </i1>
</detected>
<autodetect> 1 </autodetect>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=a946012462cdf2b169369bac6ed3adbc&format=txt
Query parameters
id = a946012462cdf2b169369bac6ed3adbc
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_name = YouTube
result_category = social
result_ios_phone_enabled = 1
result_ios_phone_installed_choice = scheme
result_ios_phone_installed_scheme = vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
result_ios_phone_installed_custom =
result_ios_phone_installed_alternatives =
result_ios_phone_not_installed_choice = default
result_ios_phone_not_installed_custom =
result_ios_phone_not_installed_store = https://itunes.apple.com/us/app/youtube/id544007664
result_ios_tablet_enabled = 1
result_ios_tablet_installed_choice = scheme
result_ios_tablet_installed_scheme = vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
result_ios_tablet_installed_custom =
result_ios_tablet_installed_alternatives =
result_ios_tablet_not_installed_choice = default
result_ios_tablet_not_installed_custom =
result_ios_tablet_not_installed_store = https://itunes.apple.com/us/app/youtube/id544007664
result_android_phone_enabled = 1
result_android_phone_installed_choice = scheme
result_android_phone_installed_scheme = intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
result_android_phone_installed_custom =
result_android_phone_installed_alternatives =
result_android_phone_not_installed_choice = default
result_android_phone_not_installed_custom =
result_android_phone_not_installed_store = https://play.google.com/store/apps/details?id=com.google.android.youtube
result_android_tablet_enabled = 1
result_android_tablet_installed_choice = scheme
result_android_tablet_installed_scheme = intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
result_android_tablet_installed_custom =
result_android_tablet_installed_alternatives =
result_android_tablet_not_installed_choice = default
result_android_tablet_not_installed_custom =
result_android_tablet_not_installed_store = https://play.google.com/store/apps/details?id=com.google.android.youtube
result_default_url = https://youtu.be/oBg0slZQt1g
result_info_title = JotURL - The all-in-one dream suite for your marketing links!
result_info_description = JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com
result_info_image = https://i.ytimg.com/vi/oBg0slZQt1g/maxresdefault.jpg
result_info_ios_url = vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
result_info_ios_store_url = https://itunes.apple.com/us/app/youtube/id544007664
result_info_android_url = intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
result_info_android_store_url = https://play.google.com/store/apps/details?id=com.google.android.youtube
result_info_info_ios_app_name = YouTube
result_info_info_ios_app_store_id = 544007664
result_info_info_ios_url = vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
result_info_info_android_app_name = YouTube
result_info_info_android_package = com.google.android.youtube
result_info_info_android_url = intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
result_detected_0 = ios
result_detected_1 = android
result_autodetect = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=a946012462cdf2b169369bac6ed3adbc&format=plain
Query parameters
id = a946012462cdf2b169369bac6ed3adbc
format = plain
Response
YouTube
social
1
scheme
vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
default
https://itunes.apple.com/us/app/youtube/id544007664
1
scheme
vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
default
https://itunes.apple.com/us/app/youtube/id544007664
1
scheme
intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
default
https://play.google.com/store/apps/details?id=com.google.android.youtube
1
scheme
intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
default
https://play.google.com/store/apps/details?id=com.google.android.youtube
https://youtu.be/oBg0slZQt1g
JotURL - The all-in-one dream suite for your marketing links!
JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com
https://i.ytimg.com/vi/oBg0slZQt1g/maxresdefault.jpg
vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
https://itunes.apple.com/us/app/youtube/id544007664
intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
https://play.google.com/store/apps/details?id=com.google.android.youtube
YouTube
544007664
vnd.youtube://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be
YouTube
com.google.android.youtube
intent://www.youtube.com/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end
ios
android
1
Example 5 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=fd509a23b4958ef9778a5e58370481b0
Query parameters
id = fd509a23b4958ef9778a5e58370481b0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"settings" : "{"name":"YouTube","category":"social","ios":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"}},"android":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"}},"default_url":"https:\/\/youtu.be\/oBg0slZQt1g","info":{"title":"JotURL - The all-in-one dream suite for your marketing links!","description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg","ios_url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","ios_store_url":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664","android_url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","android_store_url":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube","info":{"ios":{"app_name":"YouTube","app_store_id":"544007664","url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be"},"android":{"app_name":"YouTube","package":"com.google.android.youtube","url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end"}}},"detected":["ios","android"],"og_title":"JotURL - The all-in-one dream suite for your marketing links!","og_description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","og_image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg"}" ,
"autodetect" : 0
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=fd509a23b4958ef9778a5e58370481b0&format=xml
Query parameters
id = fd509a23b4958ef9778a5e58370481b0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<settings> {"name":"YouTube","category":"social","ios":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"}},"android":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"}},"default_url":"https:\/\/youtu.be\/oBg0slZQt1g","info":{"title":"JotURL - The all-in-one dream suite for your marketing links!","description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg","ios_url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","ios_store_url":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664","android_url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","android_store_url":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube","info":{"ios":{"app_name":"YouTube","app_store_id":"544007664","url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be"},"android":{"app_name":"YouTube","package":"com.google.android.youtube","url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end"}}},"detected":["ios","android"],"og_title":"JotURL - The all-in-one dream suite for your marketing links!","og_description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","og_image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg"} </settings>
<autodetect> 0 </autodetect>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=fd509a23b4958ef9778a5e58370481b0&format=txt
Query parameters
id = fd509a23b4958ef9778a5e58370481b0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_settings = {"name":"YouTube","category":"social","ios":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"}},"android":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"}},"default_url":"https:\/\/youtu.be\/oBg0slZQt1g","info":{"title":"JotURL - The all-in-one dream suite for your marketing links!","description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg","ios_url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","ios_store_url":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664","android_url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","android_store_url":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube","info":{"ios":{"app_name":"YouTube","app_store_id":"544007664","url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be"},"android":{"app_name":"YouTube","package":"com.google.android.youtube","url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end"}}},"detected":["ios","android"],"og_title":"JotURL - The all-in-one dream suite for your marketing links!","og_description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","og_image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg"}
result_autodetect = 0
Example 8 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/info?id=fd509a23b4958ef9778a5e58370481b0&format=plain
Query parameters
id = fd509a23b4958ef9778a5e58370481b0
format = plain
Response
{"name":"YouTube","category":"social","ios":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664"},"deeplink_method":"aggressive"}},"android":{"phone":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"},"tablet":{"enabled":1,"installed":{"choice":"scheme","scheme":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","custom":"","alternatives":[]},"not_installed":{"choice":"default","custom":"","store":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube"},"force_chrome":0,"deeplink_method":"aggressive"}},"default_url":"https:\/\/youtu.be\/oBg0slZQt1g","info":{"title":"JotURL - The all-in-one dream suite for your marketing links!","description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg","ios_url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be","ios_store_url":"https:\/\/itunes.apple.com\/us\/app\/youtube\/id544007664","android_url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end","android_store_url":"https:\/\/play.google.com\/store\/apps\/details?id=com.google.android.youtube","info":{"ios":{"app_name":"YouTube","app_store_id":"544007664","url":"vnd.youtube:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be"},"android":{"app_name":"YouTube","package":"com.google.android.youtube","url":"intent:\/\/www.youtube.com\/watch?v=oBg0slZQt1g&feature=youtu.be#Intent;package=com.google.android.youtube;scheme=https;S.browser_fallback_url={not_installed};end"}}},"detected":["ios","android"],"og_title":"JotURL - The all-in-one dream suite for your marketing links!","og_description":"JotUrl: Boost your inbound marketing results and conversions, with the best user experience. www.joturl.com","og_image":"https:\/\/i.ytimg.com\/vi\/oBg0slZQt1g\/maxresdefault.jpg"}
0
Required parameters
parameter
description
idID
tracking link ID for which you want to extract the easy deep link configuration
Return values
parameter
description
android
[OPTIONAL] array containing the easy deep link configuration for Android, returned only if autodetect = 1
autodetect
1 if the configuration was automatically detected, 0 if it was taken from a previously set configuration
category
[OPTIONAL] category of the easy deep link provider, returned only if autodetect = 1
, supported categories: affiliation, business, entertainment, lifestyle, music, other, shopping, social, travel, unknown, website
default_url
[OPTIONAL] default URL for the easy deepl ink configuration, returned only if autodetect = 1
detected
[OPTIONAL] returned only if autodetect = 1
, array containing the extracted information, it can contain the values ios
and android
depending on whether our system was able to extract the deep link information for that specific operating system, it contains only one of the above values in case it is not possible to extract the information for the deep link for one of the operating systems, it can be empty in case it is not possible to extract the information for the deep link
info
[OPTIONAL] Open Graph information extracted from default_url
and raw deep link information, returned only if autodetect = 1
ios
[OPTIONAL] array containing the easy deep link configuration for iOS, returned only if autodetect = 1
name
[OPTIONAL] name of the easy deep link provider, returned only if autodetect = 1
, supported names: AliExpress, Amazon, Apartments.com, Apple Maps, Apple Music, Apple Podcast, Best Buy, Booking.com, Discord, eBay, Epic Games Store, Etsy, Expedia, Facebook, Flipkart, Google Docs, Google Maps, Google Sheets, Google Slides, HSN, iFood, IKEA, Instagram, Kickstarter, Kohl's, LINE, LinkedIn, LTK, Macy's, Mavely, Medium, Mercado Livre, Messenger, Microsoft Excel, Microsoft PowerPoint, Microsoft Word, Netflix, Pinterest, Product Hunt, Quora, Reddit, Refersion, SHEIN, Signal, Skype, Snapchat, Spotify, Steam, Target, Telegram, The Home Depot, TikTok, TripAdvisor, Trulia, Twitch TV, Twitter, Unknown, Viber, Vimeo, Walmart, WhatsApp, YouTube, Zendesk Support, Zillow, Zulily
settings
[OPTIONAL] returned only if autodetect = 0
, stringified JSON of the easy deep link configuration, it contains the same fields returned when autodetect = 1
except autodetect
plus the fields: og_title, og_description, og_image which are the corresponding custom Open Graph fields
NOTES :
Both android and ios arrays have the following structure:
{
"phone" : (DEEPLINK_INFO) ,
"tablet" : (DEEPLINK_INFO)
}
Where (DEEPLINK_INFO) is:
{
"enabled" : (ENABLED) ,
"installed" :{
"choice" : "(INSTALLED_CHOICE)" ,
"scheme" : "(URI SCHEME)" ,
"custom" : "(CUSTOM URI SCHEME WHEN APP INSTALLED)" ,
"alternatives" : (ALTERNATIVES WHEN APP INSTALLED)
},
"not_installed" :{
"choice" : "(NOT_INSTALLED_CHOICE)" ,
"custom" : "(CUSTOM URI SCHEME WHEN APP NOT INSTALLED)" ,
"store" : "(STORE URL)"
},
"force_chrome" : (FORCE_CHROME) ,
"force_redirect" : (FORCE_REDIRECT) ,
"deeplink_method" : (DEEPLINK_METHOD)
}
With
(ENABLED):
- 1: to enabled the specific configuration (phone or tablet)
- 0: to disable the specific configuration, in this case the default URL will be used to redirect the user
(INSTALLED_CHOICE):
- scheme: use the (URI SCHEME) for deep linking
- custom: use the (CUSTOM URI SCHEME WHEN APP INSTALLED) for deep linking
(ALTERNATIVES WHEN APP INSTALLED): array of alternatives for the field (CUSTOM URI SCHEME WHEN APP INSTALLED), it can be an empty array or contain elements like this:
{
"type" : "[unique ID]" ,
"url" : "[alternative custom URI scheme]"
}
(NOT_INSTALLED_CHOICE):
- default: use the default_url to redirect the user when the app is not installed
- store: use the (STORE URL) to redirect the user when the app is not installed
- custom: use the (CUSTOM URI SCHEME WHEN APP NOT INSTALLED) to redirect the user when the app is not installed
(FORCE_CHROME), may not be present and available only for Android (in all other cases it is ignored):
- 1: to try to open Chrome before deep linking (useful in all those apps that open links in the webview, e.g., Facebook)
- 0: to not try to open Chrome
(FORCE_REDIRECT), may not be present and available only for Android (in all other cases it is ignored), this flag is only used
when `(NOT_INSTALLED_CHOICE) = default`, `(FORCE_CHROME) = 0` and our engine detects a webview (in-app browser, e.g., the Facebook internal browser),
in this case and when the deep link fails:
- 1: force a redirect to default_url instead of opening the Android Play Store
- 0: open the Android Play Store
(DEEPLINK_METHOD), only available when autodetect = 0:
- aggressive: try to open the app anyway, although this may cause errors (recommended)
- conservative: our engine tries to open the app only if our engine can determine if the app is installed
/urls/easydeeplinks/list
access: [READ]
Get all supported apps for easy deep link grouped by category.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/easydeeplinks/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"shopping" : [
"AliExpress" ,
"Amazon" ,
"Best Buy" ,
"eBay" ,
"Etsy" ,
"Flipkart" ,
"HSN" ,
"IKEA" ,
"Kohl's" ,
"LTK" ,
"Macy's" ,
"Mavely" ,
"Mercado Livre" ,
"SHEIN" ,
"Target" ,
"The Home Depot" ,
"Walmart" ,
"Zulily"
] ,
"lifestyle" : [
"Apartments.com" ,
"iFood" ,
"Trulia" ,
"Zillow"
] ,
"travel" : [
"Apple Maps" ,
"Booking.com" ,
"Expedia" ,
"Google Maps" ,
"TripAdvisor"
] ,
"music" : [
"Apple Music" ,
"Spotify"
] ,
"other" : [
"Apple Podcast" ,
"Zendesk Support"
] ,
"social" : [
"Discord" ,
"Facebook" ,
"Instagram" ,
"LINE" ,
"LinkedIn" ,
"Messenger" ,
"Pinterest" ,
"Product Hunt" ,
"Reddit" ,
"Signal" ,
"Skype" ,
"Snapchat" ,
"Telegram" ,
"TikTok" ,
"Twitter" ,
"Viber" ,
"Vimeo" ,
"YouTube"
] ,
"entertainment" : [
"Epic Games Store" ,
"Netflix" ,
"Steam" ,
"Twitch TV"
] ,
"business" : [
"Google Docs" ,
"Google Sheets" ,
"Google Slides" ,
"Microsoft Excel" ,
"Microsoft PowerPoint" ,
"Microsoft Word"
] ,
"website" : [
"Kickstarter" ,
"Medium" ,
"Quora"
] ,
"affiliation" : [
"Refersion"
] ,
"unknown" : [
"Unknown"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/easydeeplinks/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<shopping>
<i0> AliExpress </i0>
<i1> Amazon </i1>
<i2> Best Buy </i2>
<i3> eBay </i3>
<i4> Etsy </i4>
<i5> Flipkart </i5>
<i6> HSN </i6>
<i7> IKEA </i7>
<i8> Kohl's </i8>
<i9> LTK </i9>
<i10> Macy's </i10>
<i11> Mavely </i11>
<i12> Mercado Livre </i12>
<i13> SHEIN </i13>
<i14> Target </i14>
<i15> The Home Depot </i15>
<i16> Walmart </i16>
<i17> Zulily </i17>
</shopping>
<lifestyle>
<i0> Apartments.com </i0>
<i1> iFood </i1>
<i2> Trulia </i2>
<i3> Zillow </i3>
</lifestyle>
<travel>
<i0> Apple Maps </i0>
<i1> Booking.com </i1>
<i2> Expedia </i2>
<i3> Google Maps </i3>
<i4> TripAdvisor </i4>
</travel>
<music>
<i0> Apple Music </i0>
<i1> Spotify </i1>
</music>
<other>
<i0> Apple Podcast </i0>
<i1> Zendesk Support </i1>
</other>
<social>
<i0> Discord </i0>
<i1> Facebook </i1>
<i2> Instagram </i2>
<i3> LINE </i3>
<i4> LinkedIn </i4>
<i5> Messenger </i5>
<i6> Pinterest </i6>
<i7> Product Hunt </i7>
<i8> Reddit </i8>
<i9> Signal </i9>
<i10> Skype </i10>
<i11> Snapchat </i11>
<i12> Telegram </i12>
<i13> TikTok </i13>
<i14> Twitter </i14>
<i15> Viber </i15>
<i16> Vimeo </i16>
<i17> YouTube </i17>
</social>
<entertainment>
<i0> Epic Games Store </i0>
<i1> Netflix </i1>
<i2> Steam </i2>
<i3> Twitch TV </i3>
</entertainment>
<business>
<i0> Google Docs </i0>
<i1> Google Sheets </i1>
<i2> Google Slides </i2>
<i3> Microsoft Excel </i3>
<i4> Microsoft PowerPoint </i4>
<i5> Microsoft Word </i5>
</business>
<website>
<i0> Kickstarter </i0>
<i1> Medium </i1>
<i2> Quora </i2>
</website>
<affiliation>
<i0> Refersion </i0>
</affiliation>
<unknown>
<i0> Unknown </i0>
</unknown>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/easydeeplinks/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_shopping_0 = AliExpress
result_shopping_1 = Amazon
result_shopping_2 = Best Buy
result_shopping_3 = eBay
result_shopping_4 = Etsy
result_shopping_5 = Flipkart
result_shopping_6 = HSN
result_shopping_7 = IKEA
result_shopping_8 = Kohl's
result_shopping_9 = LTK
result_shopping_10 = Macy's
result_shopping_11 = Mavely
result_shopping_12 = Mercado Livre
result_shopping_13 = SHEIN
result_shopping_14 = Target
result_shopping_15 = The Home Depot
result_shopping_16 = Walmart
result_shopping_17 = Zulily
result_lifestyle_0 = Apartments.com
result_lifestyle_1 = iFood
result_lifestyle_2 = Trulia
result_lifestyle_3 = Zillow
result_travel_0 = Apple Maps
result_travel_1 = Booking.com
result_travel_2 = Expedia
result_travel_3 = Google Maps
result_travel_4 = TripAdvisor
result_music_0 = Apple Music
result_music_1 = Spotify
result_other_0 = Apple Podcast
result_other_1 = Zendesk Support
result_social_0 = Discord
result_social_1 = Facebook
result_social_2 = Instagram
result_social_3 = LINE
result_social_4 = LinkedIn
result_social_5 = Messenger
result_social_6 = Pinterest
result_social_7 = Product Hunt
result_social_8 = Reddit
result_social_9 = Signal
result_social_10 = Skype
result_social_11 = Snapchat
result_social_12 = Telegram
result_social_13 = TikTok
result_social_14 = Twitter
result_social_15 = Viber
result_social_16 = Vimeo
result_social_17 = YouTube
result_entertainment_0 = Epic Games Store
result_entertainment_1 = Netflix
result_entertainment_2 = Steam
result_entertainment_3 = Twitch TV
result_business_0 = Google Docs
result_business_1 = Google Sheets
result_business_2 = Google Slides
result_business_3 = Microsoft Excel
result_business_4 = Microsoft PowerPoint
result_business_5 = Microsoft Word
result_website_0 = Kickstarter
result_website_1 = Medium
result_website_2 = Quora
result_affiliation_0 = Refersion
result_unknown_0 = Unknown
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/easydeeplinks/list?format=plain
Query parameters
format = plain
Response
AliExpress
Amazon
Best Buy
eBay
Etsy
Flipkart
HSN
IKEA
Kohl's
LTK
Macy's
Mavely
Mercado Livre
SHEIN
Target
The Home Depot
Walmart
Zulily
Apartments.com
iFood
Trulia
Zillow
Apple Maps
Booking.com
Expedia
Google Maps
TripAdvisor
Apple Music
Spotify
Apple Podcast
Zendesk Support
Discord
Facebook
Instagram
LINE
LinkedIn
Messenger
Pinterest
Product Hunt
Reddit
Signal
Skype
Snapchat
Telegram
TikTok
Twitter
Viber
Vimeo
YouTube
Epic Games Store
Netflix
Steam
Twitch TV
Google Docs
Google Sheets
Google Slides
Microsoft Excel
Microsoft PowerPoint
Microsoft Word
Kickstarter
Medium
Quora
Refersion
Unknown
Return values
parameter
description
data
array containing all supported apps for easy deep link grouped by category, it is in the form {"category1":[ list ], "category2":[ list ], ... }
/urls/edit
access: [WRITE]
Edit fields of a short URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/edit?id=e2b8784e7f3fcb9b93d6981a2f5a4563&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=this+is+a+sample+note
Query parameters
id = e2b8784e7f3fcb9b93d6981a2f5a4563
long_url = https://www.joturl.com/
notes = this is a sample note
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "e2b8784e7f3fcb9b93d6981a2f5a4563" ,
"alias" : "jot" ,
"domain_host" : "jo.my" ,
"domain_id" : "5c4b11c8ad8b10fe29ffb62ba5b080ef" ,
"project_id" : "ddb163e43afbc391f4d27c5ba7d00c21" ,
"project_name" : "project name" ,
"long_url" : "https://www.joturl.com/" ,
"short_url" : "http://jo.my/jot" ,
"notes" : "this is a sample note"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/edit?id=e2b8784e7f3fcb9b93d6981a2f5a4563&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=this+is+a+sample+note&format=xml
Query parameters
id = e2b8784e7f3fcb9b93d6981a2f5a4563
long_url = https://www.joturl.com/
notes = this is a sample note
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> e2b8784e7f3fcb9b93d6981a2f5a4563 </id>
<alias> jot </alias>
<domain_host> jo.my </domain_host>
<domain_id> 5c4b11c8ad8b10fe29ffb62ba5b080ef </domain_id>
<project_id> ddb163e43afbc391f4d27c5ba7d00c21 </project_id>
<project_name> project name </project_name>
<long_url> https://www.joturl.com/ </long_url>
<short_url> http://jo.my/jot </short_url>
<notes> this is a sample note </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/edit?id=e2b8784e7f3fcb9b93d6981a2f5a4563&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=this+is+a+sample+note&format=txt
Query parameters
id = e2b8784e7f3fcb9b93d6981a2f5a4563
long_url = https://www.joturl.com/
notes = this is a sample note
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = e2b8784e7f3fcb9b93d6981a2f5a4563
result_alias = jot
result_domain_host = jo.my
result_domain_id = 5c4b11c8ad8b10fe29ffb62ba5b080ef
result_project_id = ddb163e43afbc391f4d27c5ba7d00c21
result_project_name = project name
result_long_url = https://www.joturl.com/
result_short_url = http://jo.my/jot
result_notes = this is a sample note
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/edit?id=e2b8784e7f3fcb9b93d6981a2f5a4563&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=this+is+a+sample+note&format=plain
Query parameters
id = e2b8784e7f3fcb9b93d6981a2f5a4563
long_url = https://www.joturl.com/
notes = this is a sample note
format = plain
Response
http://jo.my/jot
Required parameters
parameter
description
idID
ID of the tracking link to be edited
Optional parameters
parameter
description
max length
long_urlSTRING
destination URL for tracking link
4000
notesSTRING
notes for tracking link
255
Return values
parameter
description
alias
see i1/urls/list for details
domain_host
domain (e.g., domain.ext) of the tracking link
domain_id
ID of the domain of the tracking link
id
see i1/urls/list for details
long_url
see i1/urls/list for details
notes
see i1/urls/list for details
project_id
ID of the project
project_name
name of the project
short_url
see i1/urls/list for details
/urls/embeddable
access: [READ]
This method returns 1 if the passed URL is embeddable, 0 otherwise.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/embeddable?u=https%3A%2F%2Fwww.joturl.com%2F
Query parameters
u = https://www.joturl.com/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"embeddable" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/embeddable?u=https%3A%2F%2Fwww.joturl.com%2F&format=xml
Query parameters
u = https://www.joturl.com/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<embeddable> 0 </embeddable>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/embeddable?u=https%3A%2F%2Fwww.joturl.com%2F&format=txt
Query parameters
u = https://www.joturl.com/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_embeddable = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/embeddable?u=https%3A%2F%2Fwww.joturl.com%2F&format=plain
Query parameters
u = https://www.joturl.com/
format = plain
Response
0
Required parameters
parameter
description
uSTRING
URL to be checked
Return values
parameter
description
embeddable
1 if the URL is embeddable, 0 otherwise
/urls/export
access: [READ]
This method export the list of URLs in a user account.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/export
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 8 ,
"remaining" : 0 ,
"tls" : {
"publication name 1" : {
"custom.domain4.ext" : [
{
"alias" : "alias0" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=0" ,
"visits" : 33 ,
"unique_visits" : 24 ,
"qrcodes_visits" : 7
} ,
{
"alias" : "alias1" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=1" ,
"visits" : 61 ,
"unique_visits" : 27 ,
"qrcodes_visits" : 5
}
]
} ,
"publication name 2" : {
"custom.domain3.ext" : [
{
"alias" : "alias2" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=2" ,
"visits" : 6 ,
"unique_visits" : 2 ,
"qrcodes_visits" : 0
} ,
{
"alias" : "alias3" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=3" ,
"visits" : 19 ,
"unique_visits" : 12 ,
"qrcodes_visits" : 10
} ,
{
"alias" : "alias4" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=4" ,
"visits" : 47 ,
"unique_visits" : 11 ,
"qrcodes_visits" : 0
}
]
} ,
"publication name 3" : {
"custom.domain3.ext" : [
{
"alias" : "alias5" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=5" ,
"visits" : 8 ,
"unique_visits" : 0 ,
"qrcodes_visits" : 0
} ,
{
"alias" : "alias6" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=6" ,
"visits" : 61 ,
"unique_visits" : 34 ,
"qrcodes_visits" : 9
} ,
{
"alias" : "alias7" ,
"embed_code" : "" ,
"long_url" : "https://my.destination.url/?p=7" ,
"visits" : 1 ,
"unique_visits" : 0 ,
"qrcodes_visits" : 0
}
]
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/export?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 8 </count>
<remaining> 0 </remaining>
<tls>
<publication name 1>
<custom.domain4.ext>
<i0>
<alias> alias0 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=0 </long_url>
<visits> 33 </visits>
<unique_visits> 24 </unique_visits>
<qrcodes_visits> 7 </qrcodes_visits>
</i0>
<i1>
<alias> alias1 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=1 </long_url>
<visits> 61 </visits>
<unique_visits> 27 </unique_visits>
<qrcodes_visits> 5 </qrcodes_visits>
</i1>
</custom.domain4.ext>
</publication name 1>
<publication name 2>
<custom.domain3.ext>
<i0>
<alias> alias2 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=2 </long_url>
<visits> 6 </visits>
<unique_visits> 2 </unique_visits>
<qrcodes_visits> 0 </qrcodes_visits>
</i0>
<i1>
<alias> alias3 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=3 </long_url>
<visits> 19 </visits>
<unique_visits> 12 </unique_visits>
<qrcodes_visits> 10 </qrcodes_visits>
</i1>
<i2>
<alias> alias4 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=4 </long_url>
<visits> 47 </visits>
<unique_visits> 11 </unique_visits>
<qrcodes_visits> 0 </qrcodes_visits>
</i2>
</custom.domain3.ext>
</publication name 2>
<publication name 3>
<custom.domain3.ext>
<i0>
<alias> alias5 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=5 </long_url>
<visits> 8 </visits>
<unique_visits> 0 </unique_visits>
<qrcodes_visits> 0 </qrcodes_visits>
</i0>
<i1>
<alias> alias6 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=6 </long_url>
<visits> 61 </visits>
<unique_visits> 34 </unique_visits>
<qrcodes_visits> 9 </qrcodes_visits>
</i1>
<i2>
<alias> alias7 </alias>
<embed_code> </embed_code>
<long_url> https://my.destination.url/?p=7 </long_url>
<visits> 1 </visits>
<unique_visits> 0 </unique_visits>
<qrcodes_visits> 0 </qrcodes_visits>
</i2>
</custom.domain3.ext>
</publication name 3>
</tls>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/export?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 8
result_remaining = 0
result_tls_publication name 1_custom.domain4.ext_0_alias = alias0
result_tls_publication name 1_custom.domain4.ext_0_embed_code =
result_tls_publication name 1_custom.domain4.ext_0_long_url = https://my.destination.url/?p=0
result_tls_publication name 1_custom.domain4.ext_0_visits = 33
result_tls_publication name 1_custom.domain4.ext_0_unique_visits = 24
result_tls_publication name 1_custom.domain4.ext_0_qrcodes_visits = 7
result_tls_publication name 1_custom.domain4.ext_1_alias = alias1
result_tls_publication name 1_custom.domain4.ext_1_embed_code =
result_tls_publication name 1_custom.domain4.ext_1_long_url = https://my.destination.url/?p=1
result_tls_publication name 1_custom.domain4.ext_1_visits = 61
result_tls_publication name 1_custom.domain4.ext_1_unique_visits = 27
result_tls_publication name 1_custom.domain4.ext_1_qrcodes_visits = 5
result_tls_publication name 2_custom.domain3.ext_0_alias = alias2
result_tls_publication name 2_custom.domain3.ext_0_embed_code =
result_tls_publication name 2_custom.domain3.ext_0_long_url = https://my.destination.url/?p=2
result_tls_publication name 2_custom.domain3.ext_0_visits = 6
result_tls_publication name 2_custom.domain3.ext_0_unique_visits = 2
result_tls_publication name 2_custom.domain3.ext_0_qrcodes_visits = 0
result_tls_publication name 2_custom.domain3.ext_1_alias = alias3
result_tls_publication name 2_custom.domain3.ext_1_embed_code =
result_tls_publication name 2_custom.domain3.ext_1_long_url = https://my.destination.url/?p=3
result_tls_publication name 2_custom.domain3.ext_1_visits = 19
result_tls_publication name 2_custom.domain3.ext_1_unique_visits = 12
result_tls_publication name 2_custom.domain3.ext_1_qrcodes_visits = 10
result_tls_publication name 2_custom.domain3.ext_2_alias = alias4
result_tls_publication name 2_custom.domain3.ext_2_embed_code =
result_tls_publication name 2_custom.domain3.ext_2_long_url = https://my.destination.url/?p=4
result_tls_publication name 2_custom.domain3.ext_2_visits = 47
result_tls_publication name 2_custom.domain3.ext_2_unique_visits = 11
result_tls_publication name 2_custom.domain3.ext_2_qrcodes_visits = 0
result_tls_publication name 3_custom.domain3.ext_0_alias = alias5
result_tls_publication name 3_custom.domain3.ext_0_embed_code =
result_tls_publication name 3_custom.domain3.ext_0_long_url = https://my.destination.url/?p=5
result_tls_publication name 3_custom.domain3.ext_0_visits = 8
result_tls_publication name 3_custom.domain3.ext_0_unique_visits = 0
result_tls_publication name 3_custom.domain3.ext_0_qrcodes_visits = 0
result_tls_publication name 3_custom.domain3.ext_1_alias = alias6
result_tls_publication name 3_custom.domain3.ext_1_embed_code =
result_tls_publication name 3_custom.domain3.ext_1_long_url = https://my.destination.url/?p=6
result_tls_publication name 3_custom.domain3.ext_1_visits = 61
result_tls_publication name 3_custom.domain3.ext_1_unique_visits = 34
result_tls_publication name 3_custom.domain3.ext_1_qrcodes_visits = 9
result_tls_publication name 3_custom.domain3.ext_2_alias = alias7
result_tls_publication name 3_custom.domain3.ext_2_embed_code =
result_tls_publication name 3_custom.domain3.ext_2_long_url = https://my.destination.url/?p=7
result_tls_publication name 3_custom.domain3.ext_2_visits = 1
result_tls_publication name 3_custom.domain3.ext_2_unique_visits = 0
result_tls_publication name 3_custom.domain3.ext_2_qrcodes_visits = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/export?format=plain
Query parameters
format = plain
Response
8
0
alias0
https://my.destination.url/?p=0
33
24
7
alias1
https://my.destination.url/?p=1
61
27
5
alias2
https://my.destination.url/?p=2
6
2
0
alias3
https://my.destination.url/?p=3
19
12
10
alias4
https://my.destination.url/?p=4
47
11
0
alias5
https://my.destination.url/?p=5
8
0
0
alias6
https://my.destination.url/?p=6
61
34
9
alias7
https://my.destination.url/?p=7
1
0
0
Optional parameters
parameter
description
startINTEGER
the position from which to start the extraction
Return values
parameter
description
count
total number of tracking links
next
[OPTIONAL] the URL to be called to obtain the next tracking links, the export ends if this parameter does not exist or the URL is empty
remaining
remaining tracking links after the export call, the export ends if this parameter is 0
tls
array containing the exported tracking links
Paramter tls
has the following structure: {"publication name 1":{"custom domain name 1":[{tracking link info 1}, ..., {tracking link info N}]}, ...}
available fields in "tracking link info" (see i1/urls/list for details): alias
, long_url
, embed_code
, visits
, unique_visits
, qrcodes_visits
/urls/hub /urls/hub/check
access: [READ]
This method performs an advanced check of conditions in the hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/check?controller_id=565ab732570792a5fb7c8820772e89f9
Query parameters
controller_id = 565ab732570792a5fb7c8820772e89f9
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"url_id" : "db680cdc2883146cfe8f73aedbe615b6" ,
"condition" : "#referrer# CON 'facebook.com'" ,
"warning" : {
"type" : "not_reached" ,
"message" : "condition is never reached"
}
} ,
{
"url_id" : "db680cdc2883146cfe8f73aedbe615b6" ,
"condition" : "#os# == 'android'" ,
"warning" : {
"type" : "=true" ,
"message" : "condition is always true"
}
} ,
{
"url_id" : "4a265d75cd86537a710d3adf17c88953" ,
"condition" : "#os# != 'android'" ,
"warning" : {
"type" : "=false" ,
"message" : "condition is always false"
}
} ,
{
"url_id" : "565ab732570792a5fb7c8820772e89f9" ,
"condition" : "" ,
"warning" : {
"type" : "controller_url" ,
"message" : "the controller destination URL is never reached (at least one rule is always true)"
}
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/check?controller_id=565ab732570792a5fb7c8820772e89f9&format=xml
Query parameters
controller_id = 565ab732570792a5fb7c8820772e89f9
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<url_id> db680cdc2883146cfe8f73aedbe615b6 </url_id>
<condition> #referrer# CON 'facebook.com' </condition>
<warning>
<type> not_reached </type>
<message> condition is never reached </message>
</warning>
</i0>
<i1>
<url_id> db680cdc2883146cfe8f73aedbe615b6 </url_id>
<condition> #os# == 'android' </condition>
<warning>
<type> =true </type>
<message> condition is always true </message>
</warning>
</i1>
<i2>
<url_id> 4a265d75cd86537a710d3adf17c88953 </url_id>
<condition> #os# != 'android' </condition>
<warning>
<type> =false </type>
<message> condition is always false </message>
</warning>
</i2>
<i3>
<url_id> 565ab732570792a5fb7c8820772e89f9 </url_id>
<condition> </condition>
<warning>
<type> controller_url </type>
<message> the controller destination URL is never reached (at least one rule is always true) </message>
</warning>
</i3>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/check?controller_id=565ab732570792a5fb7c8820772e89f9&format=txt
Query parameters
controller_id = 565ab732570792a5fb7c8820772e89f9
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_url_id = db680cdc2883146cfe8f73aedbe615b6
result_data_0_condition = #referrer# CON 'facebook.com'
result_data_0_warning_type = not_reached
result_data_0_warning_message = condition is never reached
result_data_1_url_id = db680cdc2883146cfe8f73aedbe615b6
result_data_1_condition = #os# == 'android'
result_data_1_warning_type = =true
result_data_1_warning_message = condition is always true
result_data_2_url_id = 4a265d75cd86537a710d3adf17c88953
result_data_2_condition = #os# != 'android'
result_data_2_warning_type = =false
result_data_2_warning_message = condition is always false
result_data_3_url_id = 565ab732570792a5fb7c8820772e89f9
result_data_3_condition =
result_data_3_warning_type = controller_url
result_data_3_warning_message = the controller destination URL is never reached (at least one rule is always true)
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/check?controller_id=565ab732570792a5fb7c8820772e89f9&format=plain
Query parameters
controller_id = 565ab732570792a5fb7c8820772e89f9
format = plain
Response
db680cdc2883146cfe8f73aedbe615b6
#referrer# CON 'facebook.com'
not_reached
condition is never reached
db680cdc2883146cfe8f73aedbe615b6
#os# == 'android'
=true
condition is always true
4a265d75cd86537a710d3adf17c88953
#os# != 'android'
=false
condition is always false
565ab732570792a5fb7c8820772e89f9
controller_url
the controller destination URL is never reached (at least one rule is always true)
Required parameters
parameter
description
controller_idID
ID of the controller tracking link
Return values
parameter
description
data
array containing information about rule checks, empty if no anomalies are detected
The returned array contains as many elements as the anomalies found, each element is an object containing the following fields:
url_id : the ID of the URL associated with the anomaly condition : the condition identified as an anomaly warning : object containing information on the detected anomaly Field warning
is an object containing the following fields:
message : a short message explaining the anomaly type : anomaly type, the following types are currently supported: =true
: condition is always true =false
: condition is always false never_reached
: condition is never reached controller_url_never_reached
: the controller destination URL is never reached (at least one rule is always true) controller_url_always_reached
: the controller destination URL is always reached (all rules are always false) controller_url_always_used
: no rules to check, the controller URL will always be used
/urls/hub/clone
access: [WRITE]
Clone the hub configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/clone?from_url_id=bc6cb7e2a6578b1344d75ad81619ec6c&to_url_id=51047a14598166f64632f3aa5c4d3d44
Query parameters
from_url_id = bc6cb7e2a6578b1344d75ad81619ec6c
to_url_id = 51047a14598166f64632f3aa5c4d3d44
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/clone?from_url_id=bc6cb7e2a6578b1344d75ad81619ec6c&to_url_id=51047a14598166f64632f3aa5c4d3d44&format=xml
Query parameters
from_url_id = bc6cb7e2a6578b1344d75ad81619ec6c
to_url_id = 51047a14598166f64632f3aa5c4d3d44
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/clone?from_url_id=bc6cb7e2a6578b1344d75ad81619ec6c&to_url_id=51047a14598166f64632f3aa5c4d3d44&format=txt
Query parameters
from_url_id = bc6cb7e2a6578b1344d75ad81619ec6c
to_url_id = 51047a14598166f64632f3aa5c4d3d44
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/clone?from_url_id=bc6cb7e2a6578b1344d75ad81619ec6c&to_url_id=51047a14598166f64632f3aa5c4d3d44&format=plain
Query parameters
from_url_id = bc6cb7e2a6578b1344d75ad81619ec6c
to_url_id = 51047a14598166f64632f3aa5c4d3d44
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the hub configuration from
to_url_idID
ID of the tracking link you want to the hub configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/hub/conditions /urls/hub/conditions/add
access: [WRITE]
Add a new condition to the URL hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/conditions/add?url_id=e39f98a370b909e0534e8f713cce2db8&controller_id=67d0d38349522929ed20e47836368698&condition=%23language%23+%3D+%27DE%27
Query parameters
url_id = e39f98a370b909e0534e8f713cce2db8
controller_id = 67d0d38349522929ed20e47836368698
condition = #language# = 'DE'
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/conditions/add?url_id=e39f98a370b909e0534e8f713cce2db8&controller_id=67d0d38349522929ed20e47836368698&condition=%23language%23+%3D+%27DE%27&format=xml
Query parameters
url_id = e39f98a370b909e0534e8f713cce2db8
controller_id = 67d0d38349522929ed20e47836368698
condition = #language# = 'DE'
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/conditions/add?url_id=e39f98a370b909e0534e8f713cce2db8&controller_id=67d0d38349522929ed20e47836368698&condition=%23language%23+%3D+%27DE%27&format=txt
Query parameters
url_id = e39f98a370b909e0534e8f713cce2db8
controller_id = 67d0d38349522929ed20e47836368698
condition = #language# = 'DE'
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/conditions/add?url_id=e39f98a370b909e0534e8f713cce2db8&controller_id=67d0d38349522929ed20e47836368698&condition=%23language%23+%3D+%27DE%27&format=plain
Query parameters
url_id = e39f98a370b909e0534e8f713cce2db8
controller_id = 67d0d38349522929ed20e47836368698
condition = #language# = 'DE'
format = plain
Response
1
Required parameters
parameter
description
conditionHTML
if this condition is met, the engine redirects to the tracking link identified by url_id
controller_idID
ID of the root tracking link
url_idID
ID of the tracking link to be used if the condition
is met
Optional parameters
parameter
description
old_url_idID
ID of the existing tracking link in the hub to be replaced with the new one identified by url_id
Return values
parameter
description
added
1 on success (the new condition is added/replaced), 0 otherwise
/urls/hub/conditions/check
access: [READ]
This method check the validity of a condition to be used with the hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/conditions/check?condition=%23language%23+%3D+%27FR%27
Query parameters
condition = #language# = 'FR'
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : 1
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/conditions/check?condition=%23language%23+%3D+%27FR%27&format=xml
Query parameters
condition = #language# = 'FR'
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result> 1 </result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/conditions/check?condition=%23language%23+%3D+%27FR%27&format=txt
Query parameters
condition = #language# = 'FR'
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/conditions/check?condition=%23language%23+%3D+%27FR%27&format=plain
Query parameters
condition = #language# = 'FR'
format = plain
Response
Required parameters
parameter
description
conditionHTML
condition to check
Return values
parameter
description
result
1 if the condition is valid, an invalid parameter error with a detailed error is returned otherwise
/urls/hub/conditions/decompile
access: [READ]
This method decompiles a condition by exploding it into parts.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23language%23+%3D+%27FR%27
Query parameters
condition = #language# = 'FR'
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"parts" : [
{
"level" : 0 ,
"variable" : "language" ,
"operator" : "=" ,
"value" : "FR"
}
] ,
"operators" : {
"language" : {
"=" : "equal to" ,
"!=" : "not equal to"
}
} ,
"values" : {
"language" : {
"AF" : "Afrikaans" ,
"AR" : "Arabic - العربية" ,
"[...]" : "[...]" ,
"*" : "custom (replace * with the ISO 639-1 code of the language)"
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23language%23+%3D+%27FR%27&format=xml
Query parameters
condition = #language# = 'FR'
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<parts>
<i0>
<level> 0 </level>
<variable> language </variable>
<operator> = </operator>
<value> FR </value>
</i0>
</parts>
<operators>
<language>
<=> equal to </=>
<!=> not equal to </!=>
</language>
</operators>
<values>
<language>
<AF> Afrikaans </AF>
<AR> Arabic - العربية </AR>
<[...]> [...] </[...]>
<*> custom (replace * with the ISO 639-1 code of the language) </*>
</language>
</values>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23language%23+%3D+%27FR%27&format=txt
Query parameters
condition = #language# = 'FR'
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_parts_0_level = 0
result_parts_0_variable = language
result_parts_0_operator = =
result_parts_0_value = FR
result_operators_language_= = equal to
result_operators_language_!= = not equal to
result_values_language_AF = Afrikaans
result_values_language_AR = Arabic - العربية
result_values_language_[...] = [...]
result_values_language_* = custom (replace * with the ISO 639-1 code of the language)
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23language%23+%3D+%27FR%27&format=plain
Query parameters
condition = #language# = 'FR'
format = plain
Response
0
language
=
FR
equal to
not equal to
Afrikaans
Arabic - العربية
[...]
custom (replace * with the ISO 639-1 code of the language)
Example 5 (json)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23country%23+%21%3D+%27AT%27++AND+%28+%23language%23+%3D+%27AF%27++OR++%23language%23+%3D+%27DA%27+%29
Query parameters
condition = #country# != 'AT' AND ( #language# = 'AF' OR #language# = 'DA' )
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"parts" : [
{
"level" : 0 ,
"variable" : "country" ,
"operator" : "!=" ,
"value" : "AT"
} ,
{
"level" : 0 ,
"boolean" : "AND"
} ,
{
"level" : 1 ,
"variable" : "language" ,
"operator" : "=" ,
"value" : "AF"
} ,
{
"level" : 1 ,
"boolean" : "OR"
} ,
{
"level" : 1 ,
"variable" : "language" ,
"operator" : "=" ,
"value" : "DA"
}
] ,
"operators" : {
"country" : {
"=" : "equal to" ,
"!=" : "not equal to"
} ,
"language" : {
"=" : "equal to" ,
"!=" : "not equal to"
}
} ,
"values" : {
"country" : {
"AF" : "Afghanistan (افغانستان)" ,
"AX" : "Aland Islands" ,
"[...]" : "[...]" ,
"unk" : "Other or unrecognized"
} ,
"language" : {
"AF" : "Afrikaans" ,
"AR" : "Arabic - العربية" ,
"[...]" : "[...]" ,
"*" : "custom (replace * with the ISO 639-1 code of the language)"
}
}
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23country%23+%21%3D+%27AT%27++AND+%28+%23language%23+%3D+%27AF%27++OR++%23language%23+%3D+%27DA%27+%29&format=xml
Query parameters
condition = #country# != 'AT' AND ( #language# = 'AF' OR #language# = 'DA' )
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<parts>
<i0>
<level> 0 </level>
<variable> country </variable>
<operator> != </operator>
<value> AT </value>
</i0>
<i1>
<level> 0 </level>
<boolean> AND </boolean>
</i1>
<i2>
<level> 1 </level>
<variable> language </variable>
<operator> = </operator>
<value> AF </value>
</i2>
<i3>
<level> 1 </level>
<boolean> OR </boolean>
</i3>
<i4>
<level> 1 </level>
<variable> language </variable>
<operator> = </operator>
<value> DA </value>
</i4>
</parts>
<operators>
<country>
<=> equal to </=>
<!=> not equal to </!=>
</country>
<language>
<=> equal to </=>
<!=> not equal to </!=>
</language>
</operators>
<values>
<country>
<AF> Afghanistan (افغانستان) </AF>
<AX> Aland Islands </AX>
<[...]> [...] </[...]>
<unk> Other or unrecognized </unk>
</country>
<language>
<AF> Afrikaans </AF>
<AR> Arabic - العربية </AR>
<[...]> [...] </[...]>
<*> custom (replace * with the ISO 639-1 code of the language) </*>
</language>
</values>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23country%23+%21%3D+%27AT%27++AND+%28+%23language%23+%3D+%27AF%27++OR++%23language%23+%3D+%27DA%27+%29&format=txt
Query parameters
condition = #country# != 'AT' AND ( #language# = 'AF' OR #language# = 'DA' )
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_parts_0_level = 0
result_parts_0_variable = country
result_parts_0_operator = !=
result_parts_0_value = AT
result_parts_1_level = 0
result_parts_1_boolean = AND
result_parts_2_level = 1
result_parts_2_variable = language
result_parts_2_operator = =
result_parts_2_value = AF
result_parts_3_level = 1
result_parts_3_boolean = OR
result_parts_4_level = 1
result_parts_4_variable = language
result_parts_4_operator = =
result_parts_4_value = DA
result_operators_country_= = equal to
result_operators_country_!= = not equal to
result_operators_language_= = equal to
result_operators_language_!= = not equal to
result_values_country_AF = Afghanistan (افغانستان)
result_values_country_AX = Aland Islands
result_values_country_[...] = [...]
result_values_country_unk = Other or unrecognized
result_values_language_AF = Afrikaans
result_values_language_AR = Arabic - العربية
result_values_language_[...] = [...]
result_values_language_* = custom (replace * with the ISO 639-1 code of the language)
Example 8 (plain)
Request
https://joturl.com/a/i1/urls/hub/conditions/decompile?condition=%23country%23+%21%3D+%27AT%27++AND+%28+%23language%23+%3D+%27AF%27++OR++%23language%23+%3D+%27DA%27+%29&format=plain
Query parameters
condition = #country# != 'AT' AND ( #language# = 'AF' OR #language# = 'DA' )
format = plain
Response
0
country
!=
AT
0
AND
1
language
=
AF
1
OR
1
language
=
DA
equal to
not equal to
equal to
not equal to
Afghanistan (افغانستان)
Aland Islands
[...]
Other or unrecognized
Afrikaans
Arabic - العربية
[...]
custom (replace * with the ISO 639-1 code of the language)
Required parameters
parameter
description
conditionHTML
condition to decompile
Return values
parameter
description
operators
foreach varible in parts
, it contains the allowed operators
parts
parts of the condition in the format (level,variable,operator,value) or (level,boolean), where level
is the variable of the boolean level (variables/booleans with the same level must be considered in brackets), variable
is its name, operator
and value
are its operator and value, respectively; boolean
can be AND
or OR
values
foreach varible in parts
, it contains the allowed values
/urls/hub/conditions/delete
access: [WRITE]
This method allows you to remove a tracking link from the URL hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/conditions/delete?url_id=28c5f9ecbba912dd375aee5542f24960&controller_id=869b4855748f91f5374b296750aa796f
Query parameters
url_id = 28c5f9ecbba912dd375aee5542f24960
controller_id = 869b4855748f91f5374b296750aa796f
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1 ,
"isActive" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/conditions/delete?url_id=28c5f9ecbba912dd375aee5542f24960&controller_id=869b4855748f91f5374b296750aa796f&format=xml
Query parameters
url_id = 28c5f9ecbba912dd375aee5542f24960
controller_id = 869b4855748f91f5374b296750aa796f
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
<isActive> 1 </isActive>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/conditions/delete?url_id=28c5f9ecbba912dd375aee5542f24960&controller_id=869b4855748f91f5374b296750aa796f&format=txt
Query parameters
url_id = 28c5f9ecbba912dd375aee5542f24960
controller_id = 869b4855748f91f5374b296750aa796f
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
result_isActive = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/conditions/delete?url_id=28c5f9ecbba912dd375aee5542f24960&controller_id=869b4855748f91f5374b296750aa796f&format=plain
Query parameters
url_id = 28c5f9ecbba912dd375aee5542f24960
controller_id = 869b4855748f91f5374b296750aa796f
format = plain
Response
1
1
Required parameters
parameter
description
controller_idID
ID of the root tracking link
url_idID
ID of the tracking link to remove
Return values
parameter
description
deleted
1 on success (the new tracking link is deleted), 0 otherwise
isActive
1 if the hub is still active after deleting the tracking link identified by url_id
(i.e., the hub has at least 2 tracking links, including the root tracking link), 0 otherwise
/urls/hub/conditions/order
access: [WRITE]
This method allows you to set the order for the tracking links of a hub URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/conditions/order?controller_id=0231832925b88b9a49368c5f6cb0e8c8&ids%5B0%5D=275ba53c8edcb423cecdbf10979fe162&ids%5B1%5D=9475d6f8042056a5588b2b8e766f09e4&ids%5B2%5D=40739c9157544b24563909941b3b9ed6&orders%5B0%5D=3&orders%5B1%5D=2&orders%5B2%5D=1
Query parameters
controller_id = 0231832925b88b9a49368c5f6cb0e8c8
ids[0] = 275ba53c8edcb423cecdbf10979fe162
ids[1] = 9475d6f8042056a5588b2b8e766f09e4
ids[2] = 40739c9157544b24563909941b3b9ed6
orders[0] = 3
orders[1] = 2
orders[2] = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"modified" : 2 ,
"isActive" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/conditions/order?controller_id=0231832925b88b9a49368c5f6cb0e8c8&ids%5B0%5D=275ba53c8edcb423cecdbf10979fe162&ids%5B1%5D=9475d6f8042056a5588b2b8e766f09e4&ids%5B2%5D=40739c9157544b24563909941b3b9ed6&orders%5B0%5D=3&orders%5B1%5D=2&orders%5B2%5D=1&format=xml
Query parameters
controller_id = 0231832925b88b9a49368c5f6cb0e8c8
ids[0] = 275ba53c8edcb423cecdbf10979fe162
ids[1] = 9475d6f8042056a5588b2b8e766f09e4
ids[2] = 40739c9157544b24563909941b3b9ed6
orders[0] = 3
orders[1] = 2
orders[2] = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<modified> 2 </modified>
<isActive> 1 </isActive>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/conditions/order?controller_id=0231832925b88b9a49368c5f6cb0e8c8&ids%5B0%5D=275ba53c8edcb423cecdbf10979fe162&ids%5B1%5D=9475d6f8042056a5588b2b8e766f09e4&ids%5B2%5D=40739c9157544b24563909941b3b9ed6&orders%5B0%5D=3&orders%5B1%5D=2&orders%5B2%5D=1&format=txt
Query parameters
controller_id = 0231832925b88b9a49368c5f6cb0e8c8
ids[0] = 275ba53c8edcb423cecdbf10979fe162
ids[1] = 9475d6f8042056a5588b2b8e766f09e4
ids[2] = 40739c9157544b24563909941b3b9ed6
orders[0] = 3
orders[1] = 2
orders[2] = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_modified = 2
result_isActive = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/conditions/order?controller_id=0231832925b88b9a49368c5f6cb0e8c8&ids%5B0%5D=275ba53c8edcb423cecdbf10979fe162&ids%5B1%5D=9475d6f8042056a5588b2b8e766f09e4&ids%5B2%5D=40739c9157544b24563909941b3b9ed6&orders%5B0%5D=3&orders%5B1%5D=2&orders%5B2%5D=1&format=plain
Query parameters
controller_id = 0231832925b88b9a49368c5f6cb0e8c8
ids[0] = 275ba53c8edcb423cecdbf10979fe162
ids[1] = 9475d6f8042056a5588b2b8e766f09e4
ids[2] = 40739c9157544b24563909941b3b9ed6
orders[0] = 3
orders[1] = 2
orders[2] = 1
format = plain
Response
2
1
Required parameters
parameter
description
controller_idID
ID of the root tracking link
idsARRAY_OF_IDS
list of tracking link IDs for which to set the order
ordersARRAY
list of integers defining the order of tracking links identified by ids
Return values
parameter
description
isActive
1 if the hub is still active after reordering the tracking links, 0 otherwise
modified
tracking link number whose ordering has actually changed
/urls/hub/debug
access: [READ]
Get a debug URL for a specific hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/debug?controller_id=cc07339cd65c8e1a6385aa7d1382f631
Query parameters
controller_id = cc07339cd65c8e1a6385aa7d1382f631
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"debug_url" : "https://jo.my/joturl?9774AA75!dbg" ,
"valid_until" : "2024-02-10T12:29:58+00:00"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/debug?controller_id=cc07339cd65c8e1a6385aa7d1382f631&format=xml
Query parameters
controller_id = cc07339cd65c8e1a6385aa7d1382f631
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<debug_url> https://jo.my/joturl?9774AA75!dbg </debug_url>
<valid_until> 2024-02-10T12:29:58+00:00 </valid_until>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/debug?controller_id=cc07339cd65c8e1a6385aa7d1382f631&format=txt
Query parameters
controller_id = cc07339cd65c8e1a6385aa7d1382f631
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_debug_url = https://jo.my/joturl?9774AA75!dbg
result_valid_until = 2024-02-10T12:29:58+00:00
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/debug?controller_id=cc07339cd65c8e1a6385aa7d1382f631&format=plain
Query parameters
controller_id = cc07339cd65c8e1a6385aa7d1382f631
format = plain
Response
https://jo.my/joturl?9774AA75!dbg
2024-02-10T12:29:58+00:00
Required parameters
parameter
description
controller_idID
ID of the root tracking link
Return values
parameter
description
debug_url
debug URL
valid_until
expiration date for the debug URL (ISO 8601 date format, e.g., 2024-02-10T12:29:58+00:00)
/urls/hub/delete
access: [WRITE]
Delete a URL hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/delete?controller_id=32876b0202a0719cd8e09cea844c6d66
Query parameters
controller_id = 32876b0202a0719cd8e09cea844c6d66
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/delete?controller_id=32876b0202a0719cd8e09cea844c6d66&format=xml
Query parameters
controller_id = 32876b0202a0719cd8e09cea844c6d66
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/delete?controller_id=32876b0202a0719cd8e09cea844c6d66&format=txt
Query parameters
controller_id = 32876b0202a0719cd8e09cea844c6d66
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/delete?controller_id=32876b0202a0719cd8e09cea844c6d66&format=plain
Query parameters
controller_id = 32876b0202a0719cd8e09cea844c6d66
format = plain
Response
1
Required parameters
parameter
description
controller_idID
ID of the tracking link from which to remove a URL hub
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/hub/info
access: [READ]
Returns the URLs associated with a URL hub.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/info?controller_id=f5097ec7f5a4bc64849301db24494b61
Query parameters
controller_id = f5097ec7f5a4bc64849301db24494b61
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
{
"url_id" : "3fa0cb42e316736211fe98f96d67a47e" ,
"short_url" : "https://jo.my/tracking_link_condition_1" ,
"condition" : "#language# = 'IT'"
} ,
{
"url_id" : "e7d583a2ab2dab8114822bf97253103a" ,
"short_url" : "https://jo.my/tracking_link_condition_2" ,
"condition" : "#language# = 'DE'"
}
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/info?controller_id=f5097ec7f5a4bc64849301db24494b61&format=xml
Query parameters
controller_id = f5097ec7f5a4bc64849301db24494b61
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0>
<url_id> 3fa0cb42e316736211fe98f96d67a47e </url_id>
<short_url> https://jo.my/tracking_link_condition_1 </short_url>
<condition> #language# = 'IT' </condition>
</i0>
<i1>
<url_id> e7d583a2ab2dab8114822bf97253103a </url_id>
<short_url> https://jo.my/tracking_link_condition_2 </short_url>
<condition> #language# = 'DE' </condition>
</i1>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/info?controller_id=f5097ec7f5a4bc64849301db24494b61&format=txt
Query parameters
controller_id = f5097ec7f5a4bc64849301db24494b61
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0_url_id = 3fa0cb42e316736211fe98f96d67a47e
result_0_short_url = https://jo.my/tracking_link_condition_1
result_0_condition = #language# = 'IT'
result_1_url_id = e7d583a2ab2dab8114822bf97253103a
result_1_short_url = https://jo.my/tracking_link_condition_2
result_1_condition = #language# = 'DE'
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/info?controller_id=f5097ec7f5a4bc64849301db24494b61&format=plain
Query parameters
controller_id = f5097ec7f5a4bc64849301db24494b61
format = plain
Response
https://jo.my/tracking_link_condition_1
https://jo.my/tracking_link_condition_2
Required parameters
parameter
description
controller_idID
ID of the controller tracking link
Return values
parameter
description
data
array of objects in the format ( url_id
, short_url
, condition
), where url_id
is the tracking link ID, short_url
is the tracking link itself and condition
is the condition to be satisfied to redirect to the aforementioned tracking link. A maximum of 100 items are returned (the limit on the number of conditions that can be created)
/urls/hub/variable
access: [READ]
This method returns a list of variables that can be used with the Smart Redirector. Furthermore, if parameter name
is passed, possible accepted operators and values are returned.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/hub/variable
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"variables" : {
"language" : "Language" ,
"country" : "Country" ,
"os" : "Operating system" ,
"os_version" : "Operating system version" ,
"mobile_device" : "Mobile device" ,
"browser" : "Browser" ,
"browser_type" : "Browser type" ,
"browser_version" : "Main browser version" ,
"visits" : "Visits" ,
"unique_visits" : "Unique visits" ,
"is_qrcode" : "QR-Code?" ,
"visited" : "Already visited?" ,
"time" : "Time (UTC)" ,
"datetime" : "Date/Time (UTC)" ,
"referrer" : "Referrer" ,
"user_agent" : "User agent"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/hub/variable?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<variables>
<language> Language </language>
<country> Country </country>
<os> Operating system </os>
<os_version> Operating system version </os_version>
<mobile_device> Mobile device </mobile_device>
<browser> Browser </browser>
<browser_type> Browser type </browser_type>
<browser_version> Main browser version </browser_version>
<visits> Visits </visits>
<unique_visits> Unique visits </unique_visits>
<is_qrcode> QR-Code? </is_qrcode>
<visited> Already visited? </visited>
<time> Time (UTC) </time>
<datetime> Date/Time (UTC) </datetime>
<referrer> Referrer </referrer>
<user_agent> User agent </user_agent>
</variables>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/hub/variable?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_variables_language = Language
result_variables_country = Country
result_variables_os = Operating system
result_variables_os_version = Operating system version
result_variables_mobile_device = Mobile device
result_variables_browser = Browser
result_variables_browser_type = Browser type
result_variables_browser_version = Main browser version
result_variables_visits = Visits
result_variables_unique_visits = Unique visits
result_variables_is_qrcode = QR-Code?
result_variables_visited = Already visited?
result_variables_time = Time (UTC)
result_variables_datetime = Date/Time (UTC)
result_variables_referrer = Referrer
result_variables_user_agent = User agent
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/hub/variable?format=plain
Query parameters
format = plain
Response
Language
Country
Operating system
Operating system version
Mobile device
Browser
Browser type
Main browser version
Visits
Unique visits
QR-Code?
Already visited?
Time (UTC)
Date/Time (UTC)
Referrer
User agent
Example 5 (json)
Request
https://joturl.com/a/i1/urls/hub/variable?0=1
Query parameters
0 = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : []
}
Example 6 (xml)
Request
https://joturl.com/a/i1/urls/hub/variable?0=1&format=xml
Query parameters
0 = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/urls/hub/variable?0=1&format=txt
Query parameters
0 = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result =
Example 8 (plain)
Request
https://joturl.com/a/i1/urls/hub/variable?0=1&format=plain
Query parameters
0 = 1
format = plain
Response
Optional parameters
parameter
description
nameSTRING
name of the variable for which to extract the possible operators and values
Return values
parameter
description
operators
[OPTIONAL] array containing a list of available operators for the given variable name
, it is passed only if name
is passed
values
[OPTIONAL] array containing a list of available values for the given variable name
, it is passed only if name
is passed
variables
array containing a list of available variables
/urls/import
access: [WRITE]
This method import tracking links into a specific project.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/import?domain_id=1ff6e6a75d8960671663711e4d930657
Query parameters
domain_id = 1ff6e6a75d8960671663711e4d930657
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"imported" : 344 ,
"errors" : []
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/import?domain_id=1ff6e6a75d8960671663711e4d930657&format=xml
Query parameters
domain_id = 1ff6e6a75d8960671663711e4d930657
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<imported> 344 </imported>
<errors>
</errors>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/import?domain_id=1ff6e6a75d8960671663711e4d930657&format=txt
Query parameters
domain_id = 1ff6e6a75d8960671663711e4d930657
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_imported = 344
result_errors =
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/import?domain_id=1ff6e6a75d8960671663711e4d930657&format=plain
Query parameters
domain_id = 1ff6e6a75d8960671663711e4d930657
format = plain
Response
344
Required parameters
parameter
description
domain_idID
ID of the domain on which to import tracking links
inputSTRING
name of the HTML form field that is used to transfer the CSV file
Please note that you can import up to 1000 tracking links with a single CSV file up to 5MB in size.
The CSV must contain at least 2 columns:
alias : the first column must be the valid alias for the tracking link without specifying the domain, destination URL : the second column must contain the destination URL with HTTP or HTTPS protocol. You can also specify 2 additional columns:
notes : the third column, if present, contains the notes to be used in the creation of the tracking links, tags : the fourth column, if present, contains the list of tags separated by commas, if you want to insert tags , you must also specify the notes column even if it is empty.
Optional parameters
parameter
description
check_onlyBOOLEAN
if 1 only a file check is required, no tracking link will be imported, default: 0
csv_has_headerBOOLEAN
1 if the CSV file has a header line, default: 0
csv_sepSTRING
CSV delimiter, default: ; (semicolon)
project_idID
ID of the project on which to import tracking links, if not specified the default
will be used
Return values
parameter
description
_accepted_id
ID to be used to retrieve the current import status or to stop the import procedure
_accepted_key
a string representing the current import operation
_accepted_perc
percentage of completion of the import (floating point number)
check_only
echo back of the input parameter check_only
csv_has_header
echo back of the input parameter csv_has_header
csv_sep
echo back of the input parameter csv_sep
domain_id
echo back of the input parameter domain_id
errors
array containing errors that occurred during the import (one element for each error)
imported
number of imported tracking links
project_id
echo back of the input parameter project_id
The input CSV is analyzed and verified for any errors. If there is an error, the parsing operation is stopped and the error returned.
When check_only = 1
the import procedure is not started and this method returns these parameters:
check_only , csv_has_header , csv_sep , errors , imported , domain_id , project_id . When check_only = 0
, the import procedure is started asynchronously and an accepted status (202) is returned. The following parameters are returned:
_accepted_id , _accepted_key , _accepted_perc , see i1/apis/accepted for details.
After the import procedure is complete, the method i1/apis/accepted will disable the _accepted_id
and will return these parameters:
check_only , csv_has_header , csv_sep , errors , imported , domain_id , project_id .
/urls/info
access: [READ]
This method returns the info about a tracking link, returned fields are specified by parameter fields.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/info?fields=id,short_url&id=1c2be7d82bc97930b716eba76f38902e
Query parameters
fields = id,short_url
id = 1c2be7d82bc97930b716eba76f38902e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "1c2be7d82bc97930b716eba76f38902e" ,
"short_url" : "http://jo.my/5fd94dcb"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/info?fields=id,short_url&id=1c2be7d82bc97930b716eba76f38902e&format=xml
Query parameters
fields = id,short_url
id = 1c2be7d82bc97930b716eba76f38902e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> 1c2be7d82bc97930b716eba76f38902e </id>
<short_url> http://jo.my/5fd94dcb </short_url>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/info?fields=id,short_url&id=1c2be7d82bc97930b716eba76f38902e&format=txt
Query parameters
fields = id,short_url
id = 1c2be7d82bc97930b716eba76f38902e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = 1c2be7d82bc97930b716eba76f38902e
result_data_0_short_url = http://jo.my/5fd94dcb
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/info?fields=id,short_url&id=1c2be7d82bc97930b716eba76f38902e&format=plain
Query parameters
fields = id,short_url
id = 1c2be7d82bc97930b716eba76f38902e
format = plain
Response
http://jo.my/5fd94dcb
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, see method i1/urls/list for reference
idID
ID of the tracking link whose information is required
Return values
parameter
description
data
array containing 1 item on success, the returned information depends on the fields parameter.
/urls/instaurls /urls/instaurls/clone
access: [WRITE]
Clone the InstaUrl configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/clone?from_url_id=f6253e5c5f2d7efcc1b45f63ff5dca64&to_url_id=00c947bbfe76e5b5590a764b198ce84c
Query parameters
from_url_id = f6253e5c5f2d7efcc1b45f63ff5dca64
to_url_id = 00c947bbfe76e5b5590a764b198ce84c
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/instaurls/clone?from_url_id=f6253e5c5f2d7efcc1b45f63ff5dca64&to_url_id=00c947bbfe76e5b5590a764b198ce84c&format=xml
Query parameters
from_url_id = f6253e5c5f2d7efcc1b45f63ff5dca64
to_url_id = 00c947bbfe76e5b5590a764b198ce84c
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/instaurls/clone?from_url_id=f6253e5c5f2d7efcc1b45f63ff5dca64&to_url_id=00c947bbfe76e5b5590a764b198ce84c&format=txt
Query parameters
from_url_id = f6253e5c5f2d7efcc1b45f63ff5dca64
to_url_id = 00c947bbfe76e5b5590a764b198ce84c
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/instaurls/clone?from_url_id=f6253e5c5f2d7efcc1b45f63ff5dca64&to_url_id=00c947bbfe76e5b5590a764b198ce84c&format=plain
Query parameters
from_url_id = f6253e5c5f2d7efcc1b45f63ff5dca64
to_url_id = 00c947bbfe76e5b5590a764b198ce84c
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the InstaUrl configuration from
to_url_idID
ID of the tracking link you want to the InstaUrl configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/instaurls/delete
access: [WRITE]
Delete InstaUrl settings for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/delete?id=de3e72f7dbd618f2b9289d16d95298ab
Query parameters
id = de3e72f7dbd618f2b9289d16d95298ab
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/instaurls/delete?id=de3e72f7dbd618f2b9289d16d95298ab&format=xml
Query parameters
id = de3e72f7dbd618f2b9289d16d95298ab
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/instaurls/delete?id=de3e72f7dbd618f2b9289d16d95298ab&format=txt
Query parameters
id = de3e72f7dbd618f2b9289d16d95298ab
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/instaurls/delete?id=de3e72f7dbd618f2b9289d16d95298ab&format=plain
Query parameters
id = de3e72f7dbd618f2b9289d16d95298ab
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove an InstaUrl configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/instaurls/icons /urls/instaurls/icons/info
access: [READ]
This method returns info on a SVG icon for InstaUrl.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/icons/info?id=ad3bee50d1294b1f09077d88b75d0e03
Query parameters
id = ad3bee50d1294b1f09077d88b75d0e03
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "ad3bee50d1294b1f09077d88b75d0e03" ,
"svg" : "<svg>[...]</svg>"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/instaurls/icons/info?id=ad3bee50d1294b1f09077d88b75d0e03&format=xml
Query parameters
id = ad3bee50d1294b1f09077d88b75d0e03
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> ad3bee50d1294b1f09077d88b75d0e03 </id>
<svg> <svg>[...]</svg> </svg>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/instaurls/icons/info?id=ad3bee50d1294b1f09077d88b75d0e03&format=txt
Query parameters
id = ad3bee50d1294b1f09077d88b75d0e03
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = ad3bee50d1294b1f09077d88b75d0e03
result_svg = <svg>[...]</svg>
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/instaurls/icons/info?id=ad3bee50d1294b1f09077d88b75d0e03&format=plain
Query parameters
id = ad3bee50d1294b1f09077d88b75d0e03
format = plain
Response
ad3bee50d1294b1f09077d88b75d0e03
<svg>[...]</svg>
Required parameters
Return values
parameter
description
svg
SVG of the requested icon
/urls/instaurls/icons/list
access: [READ]
This method returns a list of SVG icons for InstaUrl.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/icons/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1975 ,
"icons" : {
"id" : "8dd0b2c737b7f8ad0497f23ec084389c" ,
"svg" : "<svg>[...]</svg>"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/instaurls/icons/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1975 </count>
<icons>
<id> 8dd0b2c737b7f8ad0497f23ec084389c </id>
<svg> <svg>[...]</svg> </svg>
</icons>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/instaurls/icons/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1975
result_icons_id = 8dd0b2c737b7f8ad0497f23ec084389c
result_icons_svg = <svg>[...]</svg>
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/instaurls/icons/list?format=plain
Query parameters
format = plain
Response
1975
8dd0b2c737b7f8ad0497f23ec084389c
<svg>[...]</svg>
Optional parameters
parameter
description
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
searchSTRING
filters items to be extracted by searching them
startINTEGER
starts to extract items from this position
Return values
parameter
description
count
total number of icons
icons
array containing icons in the format {"id":"[id of the icon]","svg":"[SVG of the icon"}
/urls/jotbars /urls/jotbars/clone
access: [WRITE]
Clone the jotbar configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/jotbars/clone?from_url_id=e200e85ee543db3ce91b6f838135da1d&to_url_id=a27d3ef8556b5e39785734d5e49189b5
Query parameters
from_url_id = e200e85ee543db3ce91b6f838135da1d
to_url_id = a27d3ef8556b5e39785734d5e49189b5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/jotbars/clone?from_url_id=e200e85ee543db3ce91b6f838135da1d&to_url_id=a27d3ef8556b5e39785734d5e49189b5&format=xml
Query parameters
from_url_id = e200e85ee543db3ce91b6f838135da1d
to_url_id = a27d3ef8556b5e39785734d5e49189b5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/jotbars/clone?from_url_id=e200e85ee543db3ce91b6f838135da1d&to_url_id=a27d3ef8556b5e39785734d5e49189b5&format=txt
Query parameters
from_url_id = e200e85ee543db3ce91b6f838135da1d
to_url_id = a27d3ef8556b5e39785734d5e49189b5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/jotbars/clone?from_url_id=e200e85ee543db3ce91b6f838135da1d&to_url_id=a27d3ef8556b5e39785734d5e49189b5&format=plain
Query parameters
from_url_id = e200e85ee543db3ce91b6f838135da1d
to_url_id = a27d3ef8556b5e39785734d5e49189b5
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the jotbar configuration from
to_url_idID
ID of the tracking link you want to the jotbar configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/jotbars/delete
access: [WRITE]
Remove a jotbar option for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/jotbars/delete?id=d6a014cef4a1a1a4873ec805a21a0e29
Query parameters
id = d6a014cef4a1a1a4873ec805a21a0e29
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/jotbars/delete?id=d6a014cef4a1a1a4873ec805a21a0e29&format=xml
Query parameters
id = d6a014cef4a1a1a4873ec805a21a0e29
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/jotbars/delete?id=d6a014cef4a1a1a4873ec805a21a0e29&format=txt
Query parameters
id = d6a014cef4a1a1a4873ec805a21a0e29
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/jotbars/delete?id=d6a014cef4a1a1a4873ec805a21a0e29&format=plain
Query parameters
id = d6a014cef4a1a1a4873ec805a21a0e29
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a jotbar configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/jotbars/edit
access: [WRITE]
Set a jotbar option for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/jotbars/edit?id=5ff45c10fa1ed761da4f90a60bea1c58&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D
Query parameters
id = 5ff45c10fa1ed761da4f90a60bea1c58
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/jotbars/edit?id=5ff45c10fa1ed761da4f90a60bea1c58&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=xml
Query parameters
id = 5ff45c10fa1ed761da4f90a60bea1c58
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/jotbars/edit?id=5ff45c10fa1ed761da4f90a60bea1c58&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=txt
Query parameters
id = 5ff45c10fa1ed761da4f90a60bea1c58
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/jotbars/edit?id=5ff45c10fa1ed761da4f90a60bea1c58&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&user_default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=plain
Query parameters
id = 5ff45c10fa1ed761da4f90a60bea1c58
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language =
user_default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the project
Optional parameters
parameter
description
embed_codeHTML
embed code for videos (for example the YouTube embedding code <iframe ...></iframe>), if available
infoJSON
JSON containing page_title, description_title, description, questions_title, questions for each language in languages, see i1/urls/jotbars/info for details on info
logoSTRING
0 to disable logo, the URL of the logo to be shown, empty or null
to inherit the configuration from the account-level settings
logo_urlSTRING
when logo has an URL, this is the URL to which the user will be redirect when clicks on the logo
show_feedbackSTRING
1 to show feedback, 0 to do not show it, empty or null
to inherit the configuration from the account-level settings
templateSTRING
position of the jotbar, empty or null
to inherit the configuration from the account-level settings, for available positions see i1/jotbars/property
template_sizeSTRING
dimension of the jotbar, empty or null
to inherit the configuration from the account-level settings,for available dimensions see i1/jotbars/property
video_durationSTRING
it represents the duration of the video in embed_code, if available
Return values
parameter
description
data
NA
/urls/jotbars/info
access: [READ]
Get jotbar information of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/jotbars/info?id=ca00757d67c0aa4bcac0369e1d318018
Query parameters
id = ca00757d67c0aa4bcac0369e1d318018
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"logo" : "https://joturl.com/logo.svg" ,
"logo_url" : "https://joturl.com/" ,
"template" : "right" ,
"template_size" : "big" ,
"show_feedback" : null ,
"embed_code" : null ,
"video_duration" : null ,
"info" : {
"en" : {
"page_title" : "English page title" ,
"description_title" : null ,
"description" : "<p>[EN] HTML description</p>" ,
"questions_title" : null ,
"questions" : "<p>[EN] HTML questions</p>"
} ,
"it" : {
"page_title" : "Titolo pagina in italiano" ,
"description_title" : null ,
"description" : "<p>[IT] HTML description</p>" ,
"questions_title" : null ,
"questions" : "<p>[IT] HTML questions</p>"
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/jotbars/info?id=ca00757d67c0aa4bcac0369e1d318018&format=xml
Query parameters
id = ca00757d67c0aa4bcac0369e1d318018
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<logo> https://joturl.com/logo.svg </logo>
<logo_url> https://joturl.com/ </logo_url>
<template> right </template>
<template_size> big </template_size>
<show_feedback> </show_feedback>
<embed_code> </embed_code>
<video_duration> </video_duration>
<info>
<en>
<page_title> English page title </page_title>
<description_title> </description_title>
<description> <p>[EN] HTML description</p> </description>
<questions_title> </questions_title>
<questions> <p>[EN] HTML questions</p> </questions>
</en>
<it>
<page_title> Titolo pagina in italiano </page_title>
<description_title> </description_title>
<description> <p>[IT] HTML description</p> </description>
<questions_title> </questions_title>
<questions> <p>[IT] HTML questions</p> </questions>
</it>
</info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/jotbars/info?id=ca00757d67c0aa4bcac0369e1d318018&format=txt
Query parameters
id = ca00757d67c0aa4bcac0369e1d318018
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_logo = https://joturl.com/logo.svg
result_logo_url = https://joturl.com/
result_template = right
result_template_size = big
result_show_feedback =
result_embed_code =
result_video_duration =
result_info_en_page_title = English page title
result_info_en_description_title =
result_info_en_description = <p>[EN] HTML description</p>
result_info_en_questions_title =
result_info_en_questions = <p>[EN] HTML questions</p>
result_info_it_page_title = Titolo pagina in italiano
result_info_it_description_title =
result_info_it_description = <p>[IT] HTML description</p>
result_info_it_questions_title =
result_info_it_questions = <p>[IT] HTML questions</p>
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/jotbars/info?id=ca00757d67c0aa4bcac0369e1d318018&format=plain
Query parameters
id = ca00757d67c0aa4bcac0369e1d318018
format = plain
Response
https://joturl.com/logo.svg
https://joturl.com/
right
big
English page title
<p>[EN] HTML description</p>
<p>[EN] HTML questions</p>
Titolo pagina in italiano
<p>[IT] HTML description</p>
<p>[IT] HTML questions</p>
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
embed_code
embed code for videos (for example the YouTube embedding code <iframe ...></iframe>), if available
info
for each language in languages, it contains page_title, description_title, description, questions_title, questions, see the following notes for details
logo
0 to disable logo, the URL of the logo to be shown, empty or null
to inherit the configuration from the account-level settings
logo_url
when logo has an URL, this is the URL to which the user will be redirect when clicks on the logo
show_feedback
1 to show feedback, 0 to do not show it, empty or null
to inherit the configuration from the account-level settings
template
position of the jotbar, for available positions see i1/jotbars/property
template_size
dimension of the jotbar, for available dimensions see i1/jotbars/property
video_duration
it represents the duration of the video in embed_code, if available
The jotbar page is divided into 2 parts, the first one is called description , the second is called questions . Each part has a title ( _descriptiontitle , _questionstitle ) and a HTML body ( description , questions ). Furthermore, it is possible to enter a page title _pagetitle per language. If description_title (questions_title) is null
it is inherited from the account-level settings.
/urls/languages /urls/languages/list
access: [READ]
This method returns a list of available languages for specific options (e.g., Masking, jotBar) of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/languages/list?id=790473b979dbf1aee9fe9fb6bd6f43c5
Query parameters
id = 790473b979dbf1aee9fe9fb6bd6f43c5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
{
"name" : "en" ,
"label" : "English"
} ,
{
"name" : "it" ,
"label" : "Italiano"
}
]
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/languages/list?id=790473b979dbf1aee9fe9fb6bd6f43c5&format=xml
Query parameters
id = 790473b979dbf1aee9fe9fb6bd6f43c5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0>
<name> en </name>
<label> English </label>
</i0>
<i1>
<name> it </name>
<label> Italiano </label>
</i1>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/languages/list?id=790473b979dbf1aee9fe9fb6bd6f43c5&format=txt
Query parameters
id = 790473b979dbf1aee9fe9fb6bd6f43c5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0_name = en
result_0_label = English
result_1_name = it
result_1_label = Italiano
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/languages/list?id=790473b979dbf1aee9fe9fb6bd6f43c5&format=plain
Query parameters
id = 790473b979dbf1aee9fe9fb6bd6f43c5
format = plain
Response
en
English
it
Italiano
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
[ARRAY]
array containing available languages
/urls/last
access: [READ]
This method returns the list of the last 100 tracking links strictly created by the logged user. Returned fields are that specified in the parameter fields.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/last?fields=id,short_url,creation
Query parameters
fields = id,short_url,creation
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"creation" : "2024-02-10 12:29:58" ,
"id" : "336a5307f744c212b7a8dc34628c498f" ,
"short_url" : "http://jo.my/75c8ca77"
} ,
{
"creation" : "2024-02-10 11:29:58" ,
"id" : "ffdca34992595a3287aeebb37ce8b791" ,
"short_url" : "http://jo.my/227176d5"
} ,
{
"creation" : "2024-02-10 10:29:58" ,
"id" : "7fb4354652f33885178ed4c0094a7aa5" ,
"short_url" : "http://jo.my/5d0d0eef"
} ,
{
"creation" : "2024-02-10 09:29:58" ,
"id" : "a0f4cbd5180c6eb2f3a49ff8080020d5" ,
"short_url" : "http://jo.my/4163039b"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/last?fields=id,short_url,creation&format=xml
Query parameters
fields = id,short_url,creation
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<creation> 2024-02-10 12:29:58 </creation>
<id> 336a5307f744c212b7a8dc34628c498f </id>
<short_url> http://jo.my/75c8ca77 </short_url>
</i0>
<i1>
<creation> 2024-02-10 11:29:58 </creation>
<id> ffdca34992595a3287aeebb37ce8b791 </id>
<short_url> http://jo.my/227176d5 </short_url>
</i1>
<i2>
<creation> 2024-02-10 10:29:58 </creation>
<id> 7fb4354652f33885178ed4c0094a7aa5 </id>
<short_url> http://jo.my/5d0d0eef </short_url>
</i2>
<i3>
<creation> 2024-02-10 09:29:58 </creation>
<id> a0f4cbd5180c6eb2f3a49ff8080020d5 </id>
<short_url> http://jo.my/4163039b </short_url>
</i3>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/last?fields=id,short_url,creation&format=txt
Query parameters
fields = id,short_url,creation
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_creation = 2024-02-10 12:29:58
result_data_0_id = 336a5307f744c212b7a8dc34628c498f
result_data_0_short_url = http://jo.my/75c8ca77
result_data_1_creation = 2024-02-10 11:29:58
result_data_1_id = ffdca34992595a3287aeebb37ce8b791
result_data_1_short_url = http://jo.my/227176d5
result_data_2_creation = 2024-02-10 10:29:58
result_data_2_id = 7fb4354652f33885178ed4c0094a7aa5
result_data_2_short_url = http://jo.my/5d0d0eef
result_data_3_creation = 2024-02-10 09:29:58
result_data_3_id = a0f4cbd5180c6eb2f3a49ff8080020d5
result_data_3_short_url = http://jo.my/4163039b
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/last?fields=id,short_url,creation&format=plain
Query parameters
fields = id,short_url,creation
format = plain
Response
http://jo.my/75c8ca77
http://jo.my/227176d5
http://jo.my/5d0d0eef
http://jo.my/4163039b
Required parameters
Optional parameters
Return values
/urls/list
access: [READ]
This method returns a list of tracking links' data, returned fields are specified by parameter fields.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/list?fields=id,short_url&project_id=a23b48b61a552ba8131f6116cedefb42
Query parameters
fields = id,short_url
project_id = a23b48b61a552ba8131f6116cedefb42
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "c392a8b4ef74e20e84331ee7bf19a1a5" ,
"short_url" : "http://jo.my/69b19c28"
} ,
{
"id" : "c5a5821de9d11bd0c4c5deca4b12a2c1" ,
"short_url" : "http://jo.my/761cec99"
} ,
{
"id" : "db795e73bb49212d54fd90c07bdf5ab7" ,
"short_url" : "http://jo.my/51b46862"
} ,
{
"id" : "9c23e965ca4b4d489075850b1192b7bf" ,
"short_url" : "http://jo.my/8ee7d5d4"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/list?fields=id,short_url&project_id=a23b48b61a552ba8131f6116cedefb42&format=xml
Query parameters
fields = id,short_url
project_id = a23b48b61a552ba8131f6116cedefb42
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> c392a8b4ef74e20e84331ee7bf19a1a5 </id>
<short_url> http://jo.my/69b19c28 </short_url>
</i0>
<i1>
<id> c5a5821de9d11bd0c4c5deca4b12a2c1 </id>
<short_url> http://jo.my/761cec99 </short_url>
</i1>
<i2>
<id> db795e73bb49212d54fd90c07bdf5ab7 </id>
<short_url> http://jo.my/51b46862 </short_url>
</i2>
<i3>
<id> 9c23e965ca4b4d489075850b1192b7bf </id>
<short_url> http://jo.my/8ee7d5d4 </short_url>
</i3>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/list?fields=id,short_url&project_id=a23b48b61a552ba8131f6116cedefb42&format=txt
Query parameters
fields = id,short_url
project_id = a23b48b61a552ba8131f6116cedefb42
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = c392a8b4ef74e20e84331ee7bf19a1a5
result_data_0_short_url = http://jo.my/69b19c28
result_data_1_id = c5a5821de9d11bd0c4c5deca4b12a2c1
result_data_1_short_url = http://jo.my/761cec99
result_data_2_id = db795e73bb49212d54fd90c07bdf5ab7
result_data_2_short_url = http://jo.my/51b46862
result_data_3_id = 9c23e965ca4b4d489075850b1192b7bf
result_data_3_short_url = http://jo.my/8ee7d5d4
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/list?fields=id,short_url&project_id=a23b48b61a552ba8131f6116cedefb42&format=plain
Query parameters
fields = id,short_url
project_id = a23b48b61a552ba8131f6116cedefb42
format = plain
Response
http://jo.my/69b19c28
http://jo.my/761cec99
http://jo.my/51b46862
http://jo.my/8ee7d5d4
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: count, id, short_url, creation, url_tags, visits, unique_visits, qrcodes_visits, conversions_visits, long_url, notes, alias, options, is_tracking_pixel
Optional parameters
parameter
description
end_dateDATE
filter tracking links created up to this date (inclusive)
filterSTRING
filter tracking links based on specific criteria, see notes for available filters
is_tracking_pixelBOOLEAN
1 to return only tracking pixels, 0 to return only tracking links, do not pass this parameter to return both
lengthINTEGER
extracts this number of items (maxmimum allowed: 100)
optionSTRING
filter tracking links by option, see i1/urls/options/list for a list of available options
orderbyARRAY
orders items by field, available fields: count, id, short_url, creation, url_tags, visits, unique_visits, qrcodes_visits, conversions_visits, long_url, notes, alias, options, is_tracking_pixel
project_idID
ID of the project, if empty or unspecified, the default project will be assumed
searchSTRING
filters items to be extracted by searching them
sortSTRING
sorts items in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract items from this position
start_dateDATE
filter tracking links created from this date (inclusive)
whereSTRING
to be used in conjunction with search , specifies where to search and it can be [alias,domain,destination,notes,tags,utms];
with_alertsBOOLEAN
filter tracking links with security alerts
Available values for the where parameter:
alias : searches for tracking links with alias containing search domain : searches for tracking links with domain containing search destination : searches for tracking links with destination URL containing search notes : searches for tracking links with notes containing search tags : searches for tracking links with tags containing search , multiple tags must be separated by space; you can specify the search operator by placing AND:
or OR:
at the beginning of search , if search starts with AND:
, tags will be searched using the logic operator AND
, if search starts with OR:
, tags will be searched using the logic operator OR
(default, if you specify neither AND:
nor OR:
) utms : searches for tracking links with UTM templates containing search if empty or unspecified, it searches for tracking links in all the above fields and with the above criteria ("containing") Please note that the search behaviour changes when it involves at least 10000 tracking links, and, in this case, based on the parameter where will be:
alias : searches for tracking links with alias exactly equal to search domain : searches for tracking links with domain exactly equal to search destination : searches for tracking links with destination URL exactly equal to search notes : searches for tracking links with notes exactly equal to search tags : searches for tracking links with tags exactly equal to search (i.e., exactly in the same order) utms : searches for tracking links with UTM templates exactly equal to search if empty or unspecified, it searches for tracking links in all the above fields and with the above criteria ("exactly equal to") When the limit of 10000 tracking has been reached or exceeded, the following restrictions are also applied:
parameters oderby and sort are ignored, tracking links will be sorted according to the creation date (descending) Available values for the filter parameter:
visit0 : shows tracking links that have no visits qrcodes0 : shows tracking links that have no visits from QR codes unique_visits0 : shows tracking links that have no unique visits
Return values
parameter
description
count
[OPTIONAL] total number of tracking links, returned only if count is passed in fields
data
array containing information on the tracking links, the returned information depends on the fields parameter.
/urls/masking /urls/masking/clone
access: [WRITE]
Clone the masking configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/masking/clone?from_url_id=1bc030d651b2b0ccc9375c60ac8839dc&to_url_id=181f56716418de3994214bf38d26de86
Query parameters
from_url_id = 1bc030d651b2b0ccc9375c60ac8839dc
to_url_id = 181f56716418de3994214bf38d26de86
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/masking/clone?from_url_id=1bc030d651b2b0ccc9375c60ac8839dc&to_url_id=181f56716418de3994214bf38d26de86&format=xml
Query parameters
from_url_id = 1bc030d651b2b0ccc9375c60ac8839dc
to_url_id = 181f56716418de3994214bf38d26de86
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/masking/clone?from_url_id=1bc030d651b2b0ccc9375c60ac8839dc&to_url_id=181f56716418de3994214bf38d26de86&format=txt
Query parameters
from_url_id = 1bc030d651b2b0ccc9375c60ac8839dc
to_url_id = 181f56716418de3994214bf38d26de86
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/masking/clone?from_url_id=1bc030d651b2b0ccc9375c60ac8839dc&to_url_id=181f56716418de3994214bf38d26de86&format=plain
Query parameters
from_url_id = 1bc030d651b2b0ccc9375c60ac8839dc
to_url_id = 181f56716418de3994214bf38d26de86
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the masking configuration from
to_url_idID
ID of the tracking link you want to copy the masking configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/masking/delete
access: [WRITE]
Delete the masking option from a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/masking/delete?id=f3ef1e7a1ce0ce67147bf687a2fdb420
Query parameters
id = f3ef1e7a1ce0ce67147bf687a2fdb420
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/masking/delete?id=f3ef1e7a1ce0ce67147bf687a2fdb420&format=xml
Query parameters
id = f3ef1e7a1ce0ce67147bf687a2fdb420
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/masking/delete?id=f3ef1e7a1ce0ce67147bf687a2fdb420&format=txt
Query parameters
id = f3ef1e7a1ce0ce67147bf687a2fdb420
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/masking/delete?id=f3ef1e7a1ce0ce67147bf687a2fdb420&format=plain
Query parameters
id = f3ef1e7a1ce0ce67147bf687a2fdb420
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a Masking configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/masking/edit
access: [WRITE]
Set a masking option for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/masking/edit?id=f7769506891780d86ffad608fe6f6aaf&titles%5Ben%5D=This+is+title+for+the+page+in+English&titles%5Bit%5D=Questo+%C3%A8+un+titolo+per+la+pagina+in+Italiano&obfuscated=1&favicon=https%3A%2F%2Fwww.joturl.com%2Ffavicon.ico&otc_enabled=1&otc_validity=50&otc_private_key=2887769527
Query parameters
id = f7769506891780d86ffad608fe6f6aaf
titles[en] = This is title for the page in English
titles[it] = Questo è un titolo per la pagina in Italiano
obfuscated = 1
favicon = https://www.joturl.com/favicon.ico
otc_enabled = 1
otc_validity = 50
otc_private_key = 2887769527
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/masking/edit?id=f7769506891780d86ffad608fe6f6aaf&titles%5Ben%5D=This+is+title+for+the+page+in+English&titles%5Bit%5D=Questo+%C3%A8+un+titolo+per+la+pagina+in+Italiano&obfuscated=1&favicon=https%3A%2F%2Fwww.joturl.com%2Ffavicon.ico&otc_enabled=1&otc_validity=50&otc_private_key=2887769527&format=xml
Query parameters
id = f7769506891780d86ffad608fe6f6aaf
titles[en] = This is title for the page in English
titles[it] = Questo è un titolo per la pagina in Italiano
obfuscated = 1
favicon = https://www.joturl.com/favicon.ico
otc_enabled = 1
otc_validity = 50
otc_private_key = 2887769527
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/masking/edit?id=f7769506891780d86ffad608fe6f6aaf&titles%5Ben%5D=This+is+title+for+the+page+in+English&titles%5Bit%5D=Questo+%C3%A8+un+titolo+per+la+pagina+in+Italiano&obfuscated=1&favicon=https%3A%2F%2Fwww.joturl.com%2Ffavicon.ico&otc_enabled=1&otc_validity=50&otc_private_key=2887769527&format=txt
Query parameters
id = f7769506891780d86ffad608fe6f6aaf
titles[en] = This is title for the page in English
titles[it] = Questo è un titolo per la pagina in Italiano
obfuscated = 1
favicon = https://www.joturl.com/favicon.ico
otc_enabled = 1
otc_validity = 50
otc_private_key = 2887769527
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/masking/edit?id=f7769506891780d86ffad608fe6f6aaf&titles%5Ben%5D=This+is+title+for+the+page+in+English&titles%5Bit%5D=Questo+%C3%A8+un+titolo+per+la+pagina+in+Italiano&obfuscated=1&favicon=https%3A%2F%2Fwww.joturl.com%2Ffavicon.ico&otc_enabled=1&otc_validity=50&otc_private_key=2887769527&format=plain
Query parameters
id = f7769506891780d86ffad608fe6f6aaf
titles[en] = This is title for the page in English
titles[it] = Questo è un titolo per la pagina in Italiano
obfuscated = 1
favicon = https://www.joturl.com/favicon.ico
otc_enabled = 1
otc_validity = 50
otc_private_key = 2887769527
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link
Optional parameters
parameter
description
max length
faviconURL
complete URL for the favicon to be used, this URL must be in HTTPS to avoid securiy issues
4000
obfuscatedBOOLEAN
1 if the destiantion URL should be obfuscated, 0 otherwise
otc_enabledBOOLEAN
1 to enable one-time code feature, 0 otherwise
otc_validityINTEGER
the time in seconds that the one-time code remains valid, too short times can cause malfunctions, too long times can give other users access to the one-time code. Available times: 10, 20, 30, 40, 50, 60, 180, 360, 540, 720, 1440, 2880, 4320, 5760, 7200, 8640, 10080
titlesSTRING
titles for the masking page, one for each supported language; it contains couples (language codes, title), each title can contain maximum 500 characters
500
Return values
parameter
description
enabled
1 on success, 0 otherwise
/urls/masking/info
access: [READ]
Get masking information for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/masking/info?id=355b4e91201cf231b02b49662ce64bf0
Query parameters
id = 355b4e91201cf231b02b49662ce64bf0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"titles" : {
"en" : "This is title for the page in English" ,
"it" : "Questo è un titolo per la pagina in Italiano"
} ,
"obfuscated" : 1 ,
"favicon" : "https://www.joturl.com/favicon.ico" ,
"otc_enabled" : 1 ,
"otc_validity" : 50 ,
"otc_private_key" : "905350173"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/masking/info?id=355b4e91201cf231b02b49662ce64bf0&format=xml
Query parameters
id = 355b4e91201cf231b02b49662ce64bf0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<titles>
<en> This is title for the page in English </en>
<it> Questo è un titolo per la pagina in Italiano </it>
</titles>
<obfuscated> 1 </obfuscated>
<favicon> https://www.joturl.com/favicon.ico </favicon>
<otc_enabled> 1 </otc_enabled>
<otc_validity> 50 </otc_validity>
<otc_private_key> 905350173 </otc_private_key>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/masking/info?id=355b4e91201cf231b02b49662ce64bf0&format=txt
Query parameters
id = 355b4e91201cf231b02b49662ce64bf0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_titles_en = This is title for the page in English
result_titles_it = Questo è un titolo per la pagina in Italiano
result_obfuscated = 1
result_favicon = https://www.joturl.com/favicon.ico
result_otc_enabled = 1
result_otc_validity = 50
result_otc_private_key = 905350173
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/masking/info?id=355b4e91201cf231b02b49662ce64bf0&format=plain
Query parameters
id = 355b4e91201cf231b02b49662ce64bf0
format = plain
Response
This is title for the page in English
Questo è un titolo per la pagina in Italiano
1
https://www.joturl.com/favicon.ico
1
50
905350173
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
favicon
[OPTIONAL] complete URL for the favicon to be used, this URL must be in HTTPS to avoid securiy issues
obfuscated
[OPTIONAL] 1 if the destiantion URL should be obfuscated, 0 otherwise
otc_enabled
[OPTIONAL] 1 if the one-time code feature is enabled, 0 otherwise
otc_private_key
[OPTIONAL] one-time code private key, it is the key to be used to generate one-time codes
otc_validity
[OPTIONAL] the time in seconds that the one-time code remains valid, see i1/urls/masking/edit for details
titles
[OPTIONAL] titles for the masking page, one for each supported language
/urls/minipages /urls/minipages/clone
access: [WRITE]
Clone the minpages configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/minipages/clone?from_url_id=32c8a5b56a77a8af2db79ddc8e759d7f&to_url_id=a9754cd7cc7771203f070dc01609a087
Query parameters
from_url_id = 32c8a5b56a77a8af2db79ddc8e759d7f
to_url_id = a9754cd7cc7771203f070dc01609a087
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/minipages/clone?from_url_id=32c8a5b56a77a8af2db79ddc8e759d7f&to_url_id=a9754cd7cc7771203f070dc01609a087&format=xml
Query parameters
from_url_id = 32c8a5b56a77a8af2db79ddc8e759d7f
to_url_id = a9754cd7cc7771203f070dc01609a087
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/minipages/clone?from_url_id=32c8a5b56a77a8af2db79ddc8e759d7f&to_url_id=a9754cd7cc7771203f070dc01609a087&format=txt
Query parameters
from_url_id = 32c8a5b56a77a8af2db79ddc8e759d7f
to_url_id = a9754cd7cc7771203f070dc01609a087
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/minipages/clone?from_url_id=32c8a5b56a77a8af2db79ddc8e759d7f&to_url_id=a9754cd7cc7771203f070dc01609a087&format=plain
Query parameters
from_url_id = 32c8a5b56a77a8af2db79ddc8e759d7f
to_url_id = a9754cd7cc7771203f070dc01609a087
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the minpages configuration from
to_url_idID
ID of the tracking link you want to the minpages configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/minipages/delete
access: [WRITE]
Unset (delete) a minipage for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/minipages/delete?id=03f92b6f69e2958e221d53a4f11f1321
Query parameters
id = 03f92b6f69e2958e221d53a4f11f1321
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/minipages/delete?id=03f92b6f69e2958e221d53a4f11f1321&format=xml
Query parameters
id = 03f92b6f69e2958e221d53a4f11f1321
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/minipages/delete?id=03f92b6f69e2958e221d53a4f11f1321&format=txt
Query parameters
id = 03f92b6f69e2958e221d53a4f11f1321
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/minipages/delete?id=03f92b6f69e2958e221d53a4f11f1321&format=plain
Query parameters
id = 03f92b6f69e2958e221d53a4f11f1321
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a Minipage configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/move
access: [WRITE]
Moves a tracking link from a project to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/move?src_project_id=59d573e4cd1734e24d3c43f8cf90c652&dst_project_id=09864c4000a0c802dcc8a8ab0904eb3a&id=d3de72f73561a3b029e06c9c6ab30fe6
Query parameters
src_project_id = 59d573e4cd1734e24d3c43f8cf90c652
dst_project_id = 09864c4000a0c802dcc8a8ab0904eb3a
id = d3de72f73561a3b029e06c9c6ab30fe6
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"moved" : [
{
"src_project_id" : "59d573e4cd1734e24d3c43f8cf90c652" ,
"id" : "d3de72f73561a3b029e06c9c6ab30fe6"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/move?src_project_id=59d573e4cd1734e24d3c43f8cf90c652&dst_project_id=09864c4000a0c802dcc8a8ab0904eb3a&id=d3de72f73561a3b029e06c9c6ab30fe6&format=xml
Query parameters
src_project_id = 59d573e4cd1734e24d3c43f8cf90c652
dst_project_id = 09864c4000a0c802dcc8a8ab0904eb3a
id = d3de72f73561a3b029e06c9c6ab30fe6
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<moved>
<i0>
<src_project_id> 59d573e4cd1734e24d3c43f8cf90c652 </src_project_id>
<id> d3de72f73561a3b029e06c9c6ab30fe6 </id>
</i0>
</moved>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/move?src_project_id=59d573e4cd1734e24d3c43f8cf90c652&dst_project_id=09864c4000a0c802dcc8a8ab0904eb3a&id=d3de72f73561a3b029e06c9c6ab30fe6&format=txt
Query parameters
src_project_id = 59d573e4cd1734e24d3c43f8cf90c652
dst_project_id = 09864c4000a0c802dcc8a8ab0904eb3a
id = d3de72f73561a3b029e06c9c6ab30fe6
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_moved_0_src_project_id = 59d573e4cd1734e24d3c43f8cf90c652
result_moved_0_id = d3de72f73561a3b029e06c9c6ab30fe6
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/move?src_project_id=59d573e4cd1734e24d3c43f8cf90c652&dst_project_id=09864c4000a0c802dcc8a8ab0904eb3a&id=d3de72f73561a3b029e06c9c6ab30fe6&format=plain
Query parameters
src_project_id = 59d573e4cd1734e24d3c43f8cf90c652
dst_project_id = 09864c4000a0c802dcc8a8ab0904eb3a
id = d3de72f73561a3b029e06c9c6ab30fe6
format = plain
Response
59d573e4cd1734e24d3c43f8cf90c652
d3de72f73561a3b029e06c9c6ab30fe6
Required parameters
parameter
description
dst_project_idID
ID of the project the tracking link have to be moved to
src_project_idID
ID of the project the tracking link is currently in
Optional parameters
parameter
description
fieldsARRAY
see method i1/urls/list for a list of available fields
idID
ID of the tracking link to move
idsARRAY_OF_IDS
comma separated list of tracking link IDs to be moved
Return values
parameter
description
moved
array containing information on the moved tracking links, errors occurred while moving are ignored and this array can be empty. The information returned depends on the fields parameter. If fields is not passed, IDs of the tracking links and of the source project are returned. See method i1/urls/list for a list of return fields.
/urls/options /urls/options/check
access: [READ]
Checks if an option is compatible with those active on the tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/options/check?id=844d1685fc4393abf33f4b9284a016ac&option=easydeeplink
Query parameters
id = 844d1685fc4393abf33f4b9284a016ac
option = easydeeplink
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"compatible" : 0 ,
"incompatible" : "split"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/options/check?id=844d1685fc4393abf33f4b9284a016ac&option=easydeeplink&format=xml
Query parameters
id = 844d1685fc4393abf33f4b9284a016ac
option = easydeeplink
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<compatible> 0 </compatible>
<incompatible> split </incompatible>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/options/check?id=844d1685fc4393abf33f4b9284a016ac&option=easydeeplink&format=txt
Query parameters
id = 844d1685fc4393abf33f4b9284a016ac
option = easydeeplink
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_compatible = 0
result_incompatible = split
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/options/check?id=844d1685fc4393abf33f4b9284a016ac&option=easydeeplink&format=plain
Query parameters
id = 844d1685fc4393abf33f4b9284a016ac
option = easydeeplink
format = plain
Response
0
split
Required parameters
parameter
description
idID
ID of the tracking link
optionSTRING
Option to be checked
Return values
parameter
description
compatible
1 if the option is compatible with the options that are active on the tracking link, 0 otherwise
incompatible
if compatible = 0
, it contains the option that is not compatible with the passed option
, if compatible = 1
it is empty. incompatible
is not a list of all incompatible options, but just the first option detected
/urls/options/info
access: [READ]
Returns the list of available options for a specific TLs. Further, this method returns the exclusion list (options that cannot be used with other options), the list of options that are disabled for the user plan and the list of options that can be used to filter tracking links.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/options/info?id=450305
Query parameters
id = 450305
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"options" : [] ,
"exclusions" : [] ,
"disabled" : [] ,
"filters" : []
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/options/info?id=450305&format=xml
Query parameters
id = 450305
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<options>
</options>
<exclusions>
</exclusions>
<disabled>
</disabled>
<filters>
</filters>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/options/info?id=450305&format=txt
Query parameters
id = 450305
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_options =
result_exclusions =
result_disabled =
result_filters =
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/options/info?id=450305&format=plain
Query parameters
id = 450305
format = plain
Response
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
disabled
List of options that are not available for the current user
exclusions
List of options that are not compatible with other options. Each option of the list contains an array of incompatible options
filters
List of options that are can be used to filter tracking links
options
List of options available for the specified tracking link
/urls/options/list
access: [READ]
Returns the list of available options for TLs. Further, this method returns the exlusion list (options that cannot be used in conjuction of other options), the list of options that are disabled for the user plan and the list of options that can be used to filter tracking links.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/options/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"options" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split" ,
"conversions"
] ,
"exclusions" : {
"balancer" : [
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"ctas" : [
"balancer" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"deeplink" : [
"balancer" ,
"ctas" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"easydeeplink" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"jotbar" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"masking" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"minipage" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"redirector" ,
"remarketings" ,
"split"
] ,
"redirector" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"remarketings" ,
"split"
] ,
"remarketings" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"split"
] ,
"split" : [
"balancer" ,
"conversions" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings"
] ,
"conversions" : [
"split"
]
} ,
"disabled" : [] ,
"filters" : [
"balancer" ,
"ctas" ,
"deeplink" ,
"easydeeplink" ,
"jotbar" ,
"masking" ,
"minipage" ,
"redirector" ,
"remarketings" ,
"split" ,
"conversions"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/options/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<options>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> jotbar </i4>
<i5> masking </i5>
<i6> minipage </i6>
<i7> redirector </i7>
<i8> remarketings </i8>
<i9> split </i9>
<i10> conversions </i10>
</options>
<exclusions>
<balancer>
<i0> ctas </i0>
<i1> deeplink </i1>
<i2> easydeeplink </i2>
<i3> jotbar </i3>
<i4> masking </i4>
<i5> minipage </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</balancer>
<ctas>
<i0> balancer </i0>
<i1> deeplink </i1>
<i2> easydeeplink </i2>
<i3> jotbar </i3>
<i4> masking </i4>
<i5> minipage </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</ctas>
<deeplink>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> easydeeplink </i2>
<i3> jotbar </i3>
<i4> masking </i4>
<i5> minipage </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</deeplink>
<easydeeplink>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> jotbar </i3>
<i4> masking </i4>
<i5> minipage </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</easydeeplink>
<jotbar>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> masking </i4>
<i5> minipage </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</jotbar>
<masking>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> jotbar </i4>
<i5> minipage </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</masking>
<minipage>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> jotbar </i4>
<i5> masking </i5>
<i6> redirector </i6>
<i7> remarketings </i7>
<i8> split </i8>
</minipage>
<redirector>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> jotbar </i4>
<i5> masking </i5>
<i6> minipage </i6>
<i7> remarketings </i7>
<i8> split </i8>
</redirector>
<remarketings>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> jotbar </i4>
<i5> masking </i5>
<i6> minipage </i6>
<i7> redirector </i7>
<i8> split </i8>
</remarketings>
<split>
<i0> balancer </i0>
<i1> conversions </i1>
<i2> ctas </i2>
<i3> deeplink </i3>
<i4> easydeeplink </i4>
<i5> jotbar </i5>
<i6> masking </i6>
<i7> minipage </i7>
<i8> redirector </i8>
<i9> remarketings </i9>
</split>
<conversions>
<i0> split </i0>
</conversions>
</exclusions>
<disabled>
</disabled>
<filters>
<i0> balancer </i0>
<i1> ctas </i1>
<i2> deeplink </i2>
<i3> easydeeplink </i3>
<i4> jotbar </i4>
<i5> masking </i5>
<i6> minipage </i6>
<i7> redirector </i7>
<i8> remarketings </i8>
<i9> split </i9>
<i10> conversions </i10>
</filters>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/options/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_options_0 = balancer
result_options_1 = ctas
result_options_2 = deeplink
result_options_3 = easydeeplink
result_options_4 = jotbar
result_options_5 = masking
result_options_6 = minipage
result_options_7 = redirector
result_options_8 = remarketings
result_options_9 = split
result_options_10 = conversions
result_exclusions_balancer_0 = ctas
result_exclusions_balancer_1 = deeplink
result_exclusions_balancer_2 = easydeeplink
result_exclusions_balancer_3 = jotbar
result_exclusions_balancer_4 = masking
result_exclusions_balancer_5 = minipage
result_exclusions_balancer_6 = redirector
result_exclusions_balancer_7 = remarketings
result_exclusions_balancer_8 = split
result_exclusions_ctas_0 = balancer
result_exclusions_ctas_1 = deeplink
result_exclusions_ctas_2 = easydeeplink
result_exclusions_ctas_3 = jotbar
result_exclusions_ctas_4 = masking
result_exclusions_ctas_5 = minipage
result_exclusions_ctas_6 = redirector
result_exclusions_ctas_7 = remarketings
result_exclusions_ctas_8 = split
result_exclusions_deeplink_0 = balancer
result_exclusions_deeplink_1 = ctas
result_exclusions_deeplink_2 = easydeeplink
result_exclusions_deeplink_3 = jotbar
result_exclusions_deeplink_4 = masking
result_exclusions_deeplink_5 = minipage
result_exclusions_deeplink_6 = redirector
result_exclusions_deeplink_7 = remarketings
result_exclusions_deeplink_8 = split
result_exclusions_easydeeplink_0 = balancer
result_exclusions_easydeeplink_1 = ctas
result_exclusions_easydeeplink_2 = deeplink
result_exclusions_easydeeplink_3 = jotbar
result_exclusions_easydeeplink_4 = masking
result_exclusions_easydeeplink_5 = minipage
result_exclusions_easydeeplink_6 = redirector
result_exclusions_easydeeplink_7 = remarketings
result_exclusions_easydeeplink_8 = split
result_exclusions_jotbar_0 = balancer
result_exclusions_jotbar_1 = ctas
result_exclusions_jotbar_2 = deeplink
result_exclusions_jotbar_3 = easydeeplink
result_exclusions_jotbar_4 = masking
result_exclusions_jotbar_5 = minipage
result_exclusions_jotbar_6 = redirector
result_exclusions_jotbar_7 = remarketings
result_exclusions_jotbar_8 = split
result_exclusions_masking_0 = balancer
result_exclusions_masking_1 = ctas
result_exclusions_masking_2 = deeplink
result_exclusions_masking_3 = easydeeplink
result_exclusions_masking_4 = jotbar
result_exclusions_masking_5 = minipage
result_exclusions_masking_6 = redirector
result_exclusions_masking_7 = remarketings
result_exclusions_masking_8 = split
result_exclusions_minipage_0 = balancer
result_exclusions_minipage_1 = ctas
result_exclusions_minipage_2 = deeplink
result_exclusions_minipage_3 = easydeeplink
result_exclusions_minipage_4 = jotbar
result_exclusions_minipage_5 = masking
result_exclusions_minipage_6 = redirector
result_exclusions_minipage_7 = remarketings
result_exclusions_minipage_8 = split
result_exclusions_redirector_0 = balancer
result_exclusions_redirector_1 = ctas
result_exclusions_redirector_2 = deeplink
result_exclusions_redirector_3 = easydeeplink
result_exclusions_redirector_4 = jotbar
result_exclusions_redirector_5 = masking
result_exclusions_redirector_6 = minipage
result_exclusions_redirector_7 = remarketings
result_exclusions_redirector_8 = split
result_exclusions_remarketings_0 = balancer
result_exclusions_remarketings_1 = ctas
result_exclusions_remarketings_2 = deeplink
result_exclusions_remarketings_3 = easydeeplink
result_exclusions_remarketings_4 = jotbar
result_exclusions_remarketings_5 = masking
result_exclusions_remarketings_6 = minipage
result_exclusions_remarketings_7 = redirector
result_exclusions_remarketings_8 = split
result_exclusions_split_0 = balancer
result_exclusions_split_1 = conversions
result_exclusions_split_2 = ctas
result_exclusions_split_3 = deeplink
result_exclusions_split_4 = easydeeplink
result_exclusions_split_5 = jotbar
result_exclusions_split_6 = masking
result_exclusions_split_7 = minipage
result_exclusions_split_8 = redirector
result_exclusions_split_9 = remarketings
result_exclusions_conversions_0 = split
result_disabled =
result_filters_0 = balancer
result_filters_1 = ctas
result_filters_2 = deeplink
result_filters_3 = easydeeplink
result_filters_4 = jotbar
result_filters_5 = masking
result_filters_6 = minipage
result_filters_7 = redirector
result_filters_8 = remarketings
result_filters_9 = split
result_filters_10 = conversions
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/options/list?format=plain
Query parameters
format = plain
Response
balancer
ctas
deeplink
easydeeplink
jotbar
masking
minipage
redirector
remarketings
split
conversions
ctas
deeplink
easydeeplink
jotbar
masking
minipage
redirector
remarketings
split
balancer
deeplink
easydeeplink
jotbar
masking
minipage
redirector
remarketings
split
balancer
ctas
easydeeplink
jotbar
masking
minipage
redirector
remarketings
split
balancer
ctas
deeplink
jotbar
masking
minipage
redirector
remarketings
split
balancer
ctas
deeplink
easydeeplink
masking
minipage
redirector
remarketings
split
balancer
ctas
deeplink
easydeeplink
jotbar
minipage
redirector
remarketings
split
balancer
ctas
deeplink
easydeeplink
jotbar
masking
redirector
remarketings
split
balancer
ctas
deeplink
easydeeplink
jotbar
masking
minipage
remarketings
split
balancer
ctas
deeplink
easydeeplink
jotbar
masking
minipage
redirector
split
balancer
conversions
ctas
deeplink
easydeeplink
jotbar
masking
minipage
redirector
remarketings
split
balancer
ctas
deeplink
easydeeplink
jotbar
masking
minipage
redirector
remarketings
split
conversions
Return values
parameter
description
disabled
List of options that are not available for the current user
exclusions
List of options that are not compatible with other options. Each option of the list contains an array of incompatible options
filters
List of options that are can be used to filter tracking links
options
List of options available for tracking links
/urls/parameters /urls/parameters/clone
access: [WRITE]
Clone the UTM paramters from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/parameters/clone?from_url_id=9208fc15d981f05300cb745694e3d633&to_url_id=22d89027c4f81689dd8ad2cd2e2ee2b7
Query parameters
from_url_id = 9208fc15d981f05300cb745694e3d633
to_url_id = 22d89027c4f81689dd8ad2cd2e2ee2b7
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/parameters/clone?from_url_id=9208fc15d981f05300cb745694e3d633&to_url_id=22d89027c4f81689dd8ad2cd2e2ee2b7&format=xml
Query parameters
from_url_id = 9208fc15d981f05300cb745694e3d633
to_url_id = 22d89027c4f81689dd8ad2cd2e2ee2b7
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/parameters/clone?from_url_id=9208fc15d981f05300cb745694e3d633&to_url_id=22d89027c4f81689dd8ad2cd2e2ee2b7&format=txt
Query parameters
from_url_id = 9208fc15d981f05300cb745694e3d633
to_url_id = 22d89027c4f81689dd8ad2cd2e2ee2b7
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/parameters/clone?from_url_id=9208fc15d981f05300cb745694e3d633&to_url_id=22d89027c4f81689dd8ad2cd2e2ee2b7&format=plain
Query parameters
from_url_id = 9208fc15d981f05300cb745694e3d633
to_url_id = 22d89027c4f81689dd8ad2cd2e2ee2b7
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the UTM paramters from
to_url_idID
ID of the tracking link you want to copy the UTM paramters to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/parameters/delete
access: [WRITE]
Delete UTM parameters from the destination URL of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/parameters/delete?url_id=07671bac33d1b38ba81add2ed260fad0
Query parameters
url_id = 07671bac33d1b38ba81add2ed260fad0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/parameters/delete?url_id=07671bac33d1b38ba81add2ed260fad0&format=xml
Query parameters
url_id = 07671bac33d1b38ba81add2ed260fad0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/parameters/delete?url_id=07671bac33d1b38ba81add2ed260fad0&format=txt
Query parameters
url_id = 07671bac33d1b38ba81add2ed260fad0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/parameters/delete?url_id=07671bac33d1b38ba81add2ed260fad0&format=plain
Query parameters
url_id = 07671bac33d1b38ba81add2ed260fad0
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link from which to remove the UTM parameters
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/parameters/edit
access: [WRITE]
Set query and UTM parameters of the destination URL of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/parameters/edit?url_id=09ce559ca9788dde462c67840a62f3ee&utm_template_id=16c774a637d8475c78ab4bf581295714¶ms%5Bp1%5D=v1¶ms%5Bp2%5D=v2
Query parameters
url_id = 09ce559ca9788dde462c67840a62f3ee
utm_template_id = 16c774a637d8475c78ab4bf581295714
params[p1] = v1
params[p2] = v2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1 ,
"url_id" : "09ce559ca9788dde462c67840a62f3ee" ,
"enabled" : 1 ,
"utm_template_id" : "16c774a637d8475c78ab4bf581295714" ,
"utm_source" : "" ,
"utm_medium" : "" ,
"utm_campaign" : "" ,
"utm_term" : "" ,
"utm_content" : "" ,
"long_url" : "https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/parameters/edit?url_id=09ce559ca9788dde462c67840a62f3ee&utm_template_id=16c774a637d8475c78ab4bf581295714¶ms%5Bp1%5D=v1¶ms%5Bp2%5D=v2&format=xml
Query parameters
url_id = 09ce559ca9788dde462c67840a62f3ee
utm_template_id = 16c774a637d8475c78ab4bf581295714
params[p1] = v1
params[p2] = v2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
<url_id> 09ce559ca9788dde462c67840a62f3ee </url_id>
<enabled> 1 </enabled>
<utm_template_id> 16c774a637d8475c78ab4bf581295714 </utm_template_id>
<utm_source> </utm_source>
<utm_medium> </utm_medium>
<utm_campaign> </utm_campaign>
<utm_term> </utm_term>
<utm_content> </utm_content>
<long_url> https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2 </long_url>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/parameters/edit?url_id=09ce559ca9788dde462c67840a62f3ee&utm_template_id=16c774a637d8475c78ab4bf581295714¶ms%5Bp1%5D=v1¶ms%5Bp2%5D=v2&format=txt
Query parameters
url_id = 09ce559ca9788dde462c67840a62f3ee
utm_template_id = 16c774a637d8475c78ab4bf581295714
params[p1] = v1
params[p2] = v2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
result_url_id = 09ce559ca9788dde462c67840a62f3ee
result_enabled = 1
result_utm_template_id = 16c774a637d8475c78ab4bf581295714
result_utm_source =
result_utm_medium =
result_utm_campaign =
result_utm_term =
result_utm_content =
result_long_url = https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/parameters/edit?url_id=09ce559ca9788dde462c67840a62f3ee&utm_template_id=16c774a637d8475c78ab4bf581295714¶ms%5Bp1%5D=v1¶ms%5Bp2%5D=v2&format=plain
Query parameters
url_id = 09ce559ca9788dde462c67840a62f3ee
utm_template_id = 16c774a637d8475c78ab4bf581295714
params[p1] = v1
params[p2] = v2
format = plain
Response
1
09ce559ca9788dde462c67840a62f3ee
1
16c774a637d8475c78ab4bf581295714
https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2
Required parameters
parameter
description
url_idID
ID of the tracking link
Optional parameters
parameter
description
paramsJSON
couples (key,value) to be set in the destination URL of the tracking link, this only affects the main destination URL, other destination URLs coming from other options (e.g., balancer, timing) are not changed. Old parameters are deleted or changed with the passed values.
utm_campaignSTRING
UTM campaign parameter
utm_contentSTRING
UTM content parameter
utm_mediumSTRING
UTM medium parameter
utm_sourceSTRING
UTM source parameter
utm_template_idID
ID of the UTM template to associate to the tracking link
utm_termSTRING
UTM term parameter
Parameters utm_source
, utm_medium
, utm_campaign
, utm_term
, utm_content
are ignored if utm_template_id
is passed. The parameter utm_source
is required if utm_template_id
is not specified and if at least one of the other UTM parameters is specified. See i1/utms/add to understand how UTM parameters are added to the destination URL of the tracking link.
Return values
parameter
description
added
1 on success, 0 otherwise
enabled
1 if UTM parameters have been set for the tracking link, 0 otherwise
long_url
[OPTIONAL] returned only if input paramter params is passed
utm_campaign
echo back of the input utm_campaign parameter if utm_template_id is not passed, empty otherwise
utm_content
echo back of the input utm_content parameter if utm_template_id is not passed, empty otherwise
utm_medium
echo back of the input utm_medium parameter if utm_template_id is not passed, empty otherwise
utm_source
echo back of the input utm_source parameter if utm_template_id is not passed, empty otherwise
utm_template_id
echo back of the input utm_template_id parameter
utm_term
echo back of the input utm_term parameter if utm_template_id is not passed, empty otherwise
/urls/parameters/info
access: [READ]
Get query and UTM parameters of the destination URL of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/parameters/info?url_id=f13b0b5e8f3613d74dc8bdda36150fe5
Query parameters
url_id = f13b0b5e8f3613d74dc8bdda36150fe5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"params" : {
"p1" : "v1" ,
"p2" : "v2"
} ,
"utm_template_id" : "ace45ad5dce3b737ad6f1adaa50cfdb3" ,
"name" : "template name" ,
"utm_source" : "" ,
"utm_medium" : "" ,
"utm_campaign" : "" ,
"utm_term" : "" ,
"utm_content" : "" ,
"long_url" : "https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/parameters/info?url_id=f13b0b5e8f3613d74dc8bdda36150fe5&format=xml
Query parameters
url_id = f13b0b5e8f3613d74dc8bdda36150fe5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<params>
<p1> v1 </p1>
<p2> v2 </p2>
</params>
<utm_template_id> ace45ad5dce3b737ad6f1adaa50cfdb3 </utm_template_id>
<name> template name </name>
<utm_source> </utm_source>
<utm_medium> </utm_medium>
<utm_campaign> </utm_campaign>
<utm_term> </utm_term>
<utm_content> </utm_content>
<long_url> https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2 </long_url>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/parameters/info?url_id=f13b0b5e8f3613d74dc8bdda36150fe5&format=txt
Query parameters
url_id = f13b0b5e8f3613d74dc8bdda36150fe5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_params_p1 = v1
result_params_p2 = v2
result_utm_template_id = ace45ad5dce3b737ad6f1adaa50cfdb3
result_name = template name
result_utm_source =
result_utm_medium =
result_utm_campaign =
result_utm_term =
result_utm_content =
result_long_url = https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/parameters/info?url_id=f13b0b5e8f3613d74dc8bdda36150fe5&format=plain
Query parameters
url_id = f13b0b5e8f3613d74dc8bdda36150fe5
format = plain
Response
v1
v2
ace45ad5dce3b737ad6f1adaa50cfdb3
template name
https://www.joturl.com/reserved/projects.html?p1=v1&p2=v2
Required parameters
parameter
description
url_idID
ID of the tracking link
Return values
parameter
description
long_url
destination URL of the tracking link
name
name of the UTM template if utm_template_id is not empty
params
couples (key,value) representing query parameters of the destination URL
utm_campaign
utm_campaign parameter, it is the utm_campaign defined in the UTM template if utm_template_id is not empty, otherwise it is the custom utm_campaign defined in the tracking link (if available)
utm_content
utm_content parameter, it is the utm_content defined in the UTM template if utm_template_id is not empty, otherwise it is the custom utm_content defined in the tracking link (if available)
utm_medium
utm_medium parameter, it is the utm_medium defined in the UTM template if utm_template_id is not empty, otherwise it is the custom utm_medium defined in the tracking link (if available)
utm_source
utm_source parameter, it is the utm_source defined in the UTM template if utm_template_id is not empty, otherwise it is the custom utm_source defined in the tracking link (if available)
utm_template_id
ID of the applied UTM template, if available
utm_term
utm_term parameter, it is the utm_term defined in the UTM template if utm_template_id is not empty, otherwise it is the custom utm_term defined in the tracking link (if available)
/urls/password /urls/password/clone
access: [WRITE]
Clone a password from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/password/clone?from_url_id=c291a6d65d0b89c9c25bb770f298dde8&to_url_id=a76116a5b0ad893e03997405a8b19c12
Query parameters
from_url_id = c291a6d65d0b89c9c25bb770f298dde8
to_url_id = a76116a5b0ad893e03997405a8b19c12
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/password/clone?from_url_id=c291a6d65d0b89c9c25bb770f298dde8&to_url_id=a76116a5b0ad893e03997405a8b19c12&format=xml
Query parameters
from_url_id = c291a6d65d0b89c9c25bb770f298dde8
to_url_id = a76116a5b0ad893e03997405a8b19c12
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/password/clone?from_url_id=c291a6d65d0b89c9c25bb770f298dde8&to_url_id=a76116a5b0ad893e03997405a8b19c12&format=txt
Query parameters
from_url_id = c291a6d65d0b89c9c25bb770f298dde8
to_url_id = a76116a5b0ad893e03997405a8b19c12
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/password/clone?from_url_id=c291a6d65d0b89c9c25bb770f298dde8&to_url_id=a76116a5b0ad893e03997405a8b19c12&format=plain
Query parameters
from_url_id = c291a6d65d0b89c9c25bb770f298dde8
to_url_id = a76116a5b0ad893e03997405a8b19c12
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy password from
to_url_idID
ID of the tracking link you want to copy password to
Return values
parameter
description
cloned
1 on success, 0 otherwise (e.g., the password is empty)
/urls/password/delete
access: [WRITE]
Delete the password of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/password/delete?id=051a845fb3cfbd9afe6f78501835898e
Query parameters
id = 051a845fb3cfbd9afe6f78501835898e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/password/delete?id=051a845fb3cfbd9afe6f78501835898e&format=xml
Query parameters
id = 051a845fb3cfbd9afe6f78501835898e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/password/delete?id=051a845fb3cfbd9afe6f78501835898e&format=txt
Query parameters
id = 051a845fb3cfbd9afe6f78501835898e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/password/delete?id=051a845fb3cfbd9afe6f78501835898e&format=plain
Query parameters
id = 051a845fb3cfbd9afe6f78501835898e
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove the password
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/password/edit
access: [WRITE]
Define a password for the tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/password/edit?id=d69106a9427b71715764dd9e21c403c7&password=ceca8eb2
Query parameters
id = d69106a9427b71715764dd9e21c403c7
password = ceca8eb2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"password" : "ceca8eb2"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/password/edit?id=d69106a9427b71715764dd9e21c403c7&password=ceca8eb2&format=xml
Query parameters
id = d69106a9427b71715764dd9e21c403c7
password = ceca8eb2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<password> ceca8eb2 </password>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/password/edit?id=d69106a9427b71715764dd9e21c403c7&password=ceca8eb2&format=txt
Query parameters
id = d69106a9427b71715764dd9e21c403c7
password = ceca8eb2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_password = ceca8eb2
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/password/edit?id=d69106a9427b71715764dd9e21c403c7&password=ceca8eb2&format=plain
Query parameters
id = d69106a9427b71715764dd9e21c403c7
password = ceca8eb2
format = plain
Response
ceca8eb2
Required parameters
parameter
description
max length
idID
ID of the tracking link
passwordSTRING
password to use to protect the tracking link
15
Return values
parameter
description
password
echo back of parameter password
/urls/password/info
access: [READ]
Get the password of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/password/info?id=76b2d540c95d31f38b3b5cdda93da230
Query parameters
id = 76b2d540c95d31f38b3b5cdda93da230
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"password" : "db763254"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/password/info?id=76b2d540c95d31f38b3b5cdda93da230&format=xml
Query parameters
id = 76b2d540c95d31f38b3b5cdda93da230
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<password> db763254 </password>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/password/info?id=76b2d540c95d31f38b3b5cdda93da230&format=txt
Query parameters
id = 76b2d540c95d31f38b3b5cdda93da230
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_password = db763254
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/password/info?id=76b2d540c95d31f38b3b5cdda93da230&format=plain
Query parameters
id = 76b2d540c95d31f38b3b5cdda93da230
format = plain
Response
db763254
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
password
password used to pretect the tracking link, empty otherwise
/urls/preview /urls/preview/clone
access: [WRITE]
Clone the preview configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/preview/clone?from_url_id=73619ab637d2465e13b6a6496abd7391&to_url_id=07823ec834d1025fcef4c4094154a2d0
Query parameters
from_url_id = 73619ab637d2465e13b6a6496abd7391
to_url_id = 07823ec834d1025fcef4c4094154a2d0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/preview/clone?from_url_id=73619ab637d2465e13b6a6496abd7391&to_url_id=07823ec834d1025fcef4c4094154a2d0&format=xml
Query parameters
from_url_id = 73619ab637d2465e13b6a6496abd7391
to_url_id = 07823ec834d1025fcef4c4094154a2d0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/preview/clone?from_url_id=73619ab637d2465e13b6a6496abd7391&to_url_id=07823ec834d1025fcef4c4094154a2d0&format=txt
Query parameters
from_url_id = 73619ab637d2465e13b6a6496abd7391
to_url_id = 07823ec834d1025fcef4c4094154a2d0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/preview/clone?from_url_id=73619ab637d2465e13b6a6496abd7391&to_url_id=07823ec834d1025fcef4c4094154a2d0&format=plain
Query parameters
from_url_id = 73619ab637d2465e13b6a6496abd7391
to_url_id = 07823ec834d1025fcef4c4094154a2d0
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the preview configuration from
to_url_idID
ID of the tracking link you want to copy the preview configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/preview/delete
access: [WRITE]
Delete the preview option from a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/preview/delete?id=1d4c71a06f8fb63e352e6ec79d99feed
Query parameters
id = 1d4c71a06f8fb63e352e6ec79d99feed
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/preview/delete?id=1d4c71a06f8fb63e352e6ec79d99feed&format=xml
Query parameters
id = 1d4c71a06f8fb63e352e6ec79d99feed
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/preview/delete?id=1d4c71a06f8fb63e352e6ec79d99feed&format=txt
Query parameters
id = 1d4c71a06f8fb63e352e6ec79d99feed
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/preview/delete?id=1d4c71a06f8fb63e352e6ec79d99feed&format=plain
Query parameters
id = 1d4c71a06f8fb63e352e6ec79d99feed
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a preview configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/preview/edit
access: [WRITE]
Set a preview option for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/preview/edit?id=65745f0b5de58ccd804f42bee2311eb9&title=This+is+a+custom+title&description=This+is+a+custom+description&image=https%3A%2F%2Fpath.to%2Flink%2Fpreview%2Fimage.jpg
Query parameters
id = 65745f0b5de58ccd804f42bee2311eb9
title = This is a custom title
description = This is a custom description
image = https://path.to/link/preview/image.jpg
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/preview/edit?id=65745f0b5de58ccd804f42bee2311eb9&title=This+is+a+custom+title&description=This+is+a+custom+description&image=https%3A%2F%2Fpath.to%2Flink%2Fpreview%2Fimage.jpg&format=xml
Query parameters
id = 65745f0b5de58ccd804f42bee2311eb9
title = This is a custom title
description = This is a custom description
image = https://path.to/link/preview/image.jpg
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/preview/edit?id=65745f0b5de58ccd804f42bee2311eb9&title=This+is+a+custom+title&description=This+is+a+custom+description&image=https%3A%2F%2Fpath.to%2Flink%2Fpreview%2Fimage.jpg&format=txt
Query parameters
id = 65745f0b5de58ccd804f42bee2311eb9
title = This is a custom title
description = This is a custom description
image = https://path.to/link/preview/image.jpg
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/preview/edit?id=65745f0b5de58ccd804f42bee2311eb9&title=This+is+a+custom+title&description=This+is+a+custom+description&image=https%3A%2F%2Fpath.to%2Flink%2Fpreview%2Fimage.jpg&format=plain
Query parameters
id = 65745f0b5de58ccd804f42bee2311eb9
title = This is a custom title
description = This is a custom description
image = https://path.to/link/preview/image.jpg
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link
Optional parameters
parameter
description
max length
cdn_imageJSON
JSON containing info on the CDN image to be used, if present it overrides the image
parameter, see i1/cdns/list for details on this object
descriptionSTRING
Open Graph description for the preview page
2000
imageURL
complete URL for the Open Graph image to be used, this URL must be in HTTPS to avoid securiy issues, alternatively you can pass a CDN image by using the cdn_image
parameter
4000
titleSTRING
Open Graph title for the preview page
2000
Return values
parameter
description
enabled
1 on success, 0 otherwise
/urls/preview/info
access: [READ]
Get link preview information for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/preview/info?id=b58b30c59cf79053814a02740197e946
Query parameters
id = b58b30c59cf79053814a02740197e946
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"title" : "This is a custom title" ,
"description" : "This is a custom description" ,
"image" : "https://path.to/link/preview/image.jpg"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/preview/info?id=b58b30c59cf79053814a02740197e946&format=xml
Query parameters
id = b58b30c59cf79053814a02740197e946
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<title> This is a custom title </title>
<description> This is a custom description </description>
<image> https://path.to/link/preview/image.jpg </image>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/preview/info?id=b58b30c59cf79053814a02740197e946&format=txt
Query parameters
id = b58b30c59cf79053814a02740197e946
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_title = This is a custom title
result_description = This is a custom description
result_image = https://path.to/link/preview/image.jpg
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/preview/info?id=b58b30c59cf79053814a02740197e946&format=plain
Query parameters
id = b58b30c59cf79053814a02740197e946
format = plain
Response
This is a custom title
This is a custom description
https://path.to/link/preview/image.jpg
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
cdn_image
[OPTIONAL] JSON containing info on the CDN image, see i1/urls/preview/edit for details
description
[OPTIONAL] description to be shown in the link preview
image
[OPTIONAL] image to be shown in the link preview
title
[OPTIONAL] title to be shown in the link preview
/urls/preview/property
access: [READ]
Returns the list of available properties for the Preview option.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/preview/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"image" : {
"max_size" : 512000 ,
"max_width" : 1200 ,
"max_height" : 630
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/preview/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<image>
<max_size> 512000 </max_size>
<max_width> 1200 </max_width>
<max_height> 630 </max_height>
</image>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/preview/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_image_max_size = 512000
result_image_max_width = 1200
result_image_max_height = 630
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/preview/property?format=plain
Query parameters
format = plain
Response
512000
1200
630
Return values
parameter
description
image
limits ( max_size
in bytes, max_width
in pixels, max_height
in pixels) for the preview image
/urls/qrcodes /urls/qrcodes/add
access: [WRITE]
Set a Qr code template for a short URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/qrcodes/add?id=52012d433bbf083f61487b8c8eda626d&qrcode_id=62c6ecd7ffa6ba196a213634e55e66c2
Query parameters
id = 52012d433bbf083f61487b8c8eda626d
qrcode_id = 62c6ecd7ffa6ba196a213634e55e66c2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/qrcodes/add?id=52012d433bbf083f61487b8c8eda626d&qrcode_id=62c6ecd7ffa6ba196a213634e55e66c2&format=xml
Query parameters
id = 52012d433bbf083f61487b8c8eda626d
qrcode_id = 62c6ecd7ffa6ba196a213634e55e66c2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 1 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/qrcodes/add?id=52012d433bbf083f61487b8c8eda626d&qrcode_id=62c6ecd7ffa6ba196a213634e55e66c2&format=txt
Query parameters
id = 52012d433bbf083f61487b8c8eda626d
qrcode_id = 62c6ecd7ffa6ba196a213634e55e66c2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/qrcodes/add?id=52012d433bbf083f61487b8c8eda626d&qrcode_id=62c6ecd7ffa6ba196a213634e55e66c2&format=plain
Query parameters
id = 52012d433bbf083f61487b8c8eda626d
qrcode_id = 62c6ecd7ffa6ba196a213634e55e66c2
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link
qrcode_idID
ID of the QR code template to associate to the tracking link
Return values
parameter
description
added
1 on success, 0 otherwise
/urls/qrcodes/clone
access: [WRITE]
Clone the qrcodes configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/qrcodes/clone?from_url_id=6d386ccd85274095eed3290cdc2d2571&to_url_id=72a276e8f3e92a4cb64cacc40df7c949
Query parameters
from_url_id = 6d386ccd85274095eed3290cdc2d2571
to_url_id = 72a276e8f3e92a4cb64cacc40df7c949
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/qrcodes/clone?from_url_id=6d386ccd85274095eed3290cdc2d2571&to_url_id=72a276e8f3e92a4cb64cacc40df7c949&format=xml
Query parameters
from_url_id = 6d386ccd85274095eed3290cdc2d2571
to_url_id = 72a276e8f3e92a4cb64cacc40df7c949
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/qrcodes/clone?from_url_id=6d386ccd85274095eed3290cdc2d2571&to_url_id=72a276e8f3e92a4cb64cacc40df7c949&format=txt
Query parameters
from_url_id = 6d386ccd85274095eed3290cdc2d2571
to_url_id = 72a276e8f3e92a4cb64cacc40df7c949
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/qrcodes/clone?from_url_id=6d386ccd85274095eed3290cdc2d2571&to_url_id=72a276e8f3e92a4cb64cacc40df7c949&format=plain
Query parameters
from_url_id = 6d386ccd85274095eed3290cdc2d2571
to_url_id = 72a276e8f3e92a4cb64cacc40df7c949
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy qrcode configuration from
to_url_idID
ID of the tracking link you want to copy qrcode configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/qrcodes/delete
access: [WRITE]
Unset a Qr code template for a short URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/qrcodes/delete?id=5522f3b79865bac5a9c3fd9f0670ccb7&qrcode_id=62444c75dae7542d71ece1ba9933f4e2
Query parameters
id = 5522f3b79865bac5a9c3fd9f0670ccb7
qrcode_id = 62444c75dae7542d71ece1ba9933f4e2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/qrcodes/delete?id=5522f3b79865bac5a9c3fd9f0670ccb7&qrcode_id=62444c75dae7542d71ece1ba9933f4e2&format=xml
Query parameters
id = 5522f3b79865bac5a9c3fd9f0670ccb7
qrcode_id = 62444c75dae7542d71ece1ba9933f4e2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/qrcodes/delete?id=5522f3b79865bac5a9c3fd9f0670ccb7&qrcode_id=62444c75dae7542d71ece1ba9933f4e2&format=txt
Query parameters
id = 5522f3b79865bac5a9c3fd9f0670ccb7
qrcode_id = 62444c75dae7542d71ece1ba9933f4e2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/qrcodes/delete?id=5522f3b79865bac5a9c3fd9f0670ccb7&qrcode_id=62444c75dae7542d71ece1ba9933f4e2&format=plain
Query parameters
id = 5522f3b79865bac5a9c3fd9f0670ccb7
qrcode_id = 62444c75dae7542d71ece1ba9933f4e2
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove the QR code configuration
Optional parameters
parameter
description
qrcode_idID
ID of the QR code configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/qrcodes/info
access: [READ]
Returns information on QR code customization, if present.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/qrcodes/info?id=089fb050dcb4410dc5d37b10b2d8d802&fields=id,name,shape
Query parameters
id = 089fb050dcb4410dc5d37b10b2d8d802
fields = id,name,shape
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "e9c99f9951fde1297efb9428a3114e29" ,
"name" : "QR code template name" ,
"shape" : "rhombus"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/qrcodes/info?id=089fb050dcb4410dc5d37b10b2d8d802&fields=id,name,shape&format=xml
Query parameters
id = 089fb050dcb4410dc5d37b10b2d8d802
fields = id,name,shape
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> e9c99f9951fde1297efb9428a3114e29 </id>
<name> QR code template name </name>
<shape> rhombus </shape>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/qrcodes/info?id=089fb050dcb4410dc5d37b10b2d8d802&fields=id,name,shape&format=txt
Query parameters
id = 089fb050dcb4410dc5d37b10b2d8d802
fields = id,name,shape
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = e9c99f9951fde1297efb9428a3114e29
result_name = QR code template name
result_shape = rhombus
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/qrcodes/info?id=089fb050dcb4410dc5d37b10b2d8d802&fields=id,name,shape&format=plain
Query parameters
id = 089fb050dcb4410dc5d37b10b2d8d802
fields = id,name,shape
format = plain
Response
e9c99f9951fde1297efb9428a3114e29
QR code template name
rhombus
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, see i1/qrcodes/info for details
idID
ID of the tracking link
Return values
/urls/qrcodes/preview
access: [READ]
This method returns a preview of the QR code associated to the tracking link (if any).
Example 1 (json)
Request
https://joturl.com/a/i1/urls/qrcodes/preview?size=big&id=bb600c6ab2b9de1e628b3f088cc76296
Query parameters
size = big
id = bb600c6ab2b9de1e628b3f088cc76296
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"img" : "data:image/png;base64,YmY5YmMyNTNiY2NiM2MwZWRmN2Y2ZmU5Yzk3MWU0ZTg="
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/qrcodes/preview?size=big&id=bb600c6ab2b9de1e628b3f088cc76296&format=xml
Query parameters
size = big
id = bb600c6ab2b9de1e628b3f088cc76296
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<img> data:image/png;base64,YmY5YmMyNTNiY2NiM2MwZWRmN2Y2ZmU5Yzk3MWU0ZTg= </img>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/qrcodes/preview?size=big&id=bb600c6ab2b9de1e628b3f088cc76296&format=txt
Query parameters
size = big
id = bb600c6ab2b9de1e628b3f088cc76296
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_img = data:image/png;base64,YmY5YmMyNTNiY2NiM2MwZWRmN2Y2ZmU5Yzk3MWU0ZTg=
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/qrcodes/preview?size=big&id=bb600c6ab2b9de1e628b3f088cc76296&format=plain
Query parameters
size = big
id = bb600c6ab2b9de1e628b3f088cc76296
format = plain
Response
data:image/png;base64,YmY5YmMyNTNiY2NiM2MwZWRmN2Y2ZmU5Yzk3MWU0ZTg=
Required parameters
parameter
description
idID
ID of the tracking link
Optional parameters
Return values
access: [WRITE]
Add remarketing pixels to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/remarketings/add?url_id=276f5f14546c58ce949f5946f0100dd4&ids=dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6
Query parameters
url_id = 276f5f14546c58ce949f5946f0100dd4
ids = dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/remarketings/add?url_id=276f5f14546c58ce949f5946f0100dd4&ids=dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6&format=xml
Query parameters
url_id = 276f5f14546c58ce949f5946f0100dd4
ids = dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 3 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/remarketings/add?url_id=276f5f14546c58ce949f5946f0100dd4&ids=dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6&format=txt
Query parameters
url_id = 276f5f14546c58ce949f5946f0100dd4
ids = dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/remarketings/add?url_id=276f5f14546c58ce949f5946f0100dd4&ids=dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6&format=plain
Query parameters
url_id = 276f5f14546c58ce949f5946f0100dd4
ids = dca0ef263a2bd05d6bc4d1a471122b7f,94600c93ef82c4ed3b6aed26b1024229,ebd2f5433c5d94ac760c884ee450b3f6
format = plain
Response
3
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of remarketing pixels to add (maxmimum number of remarketing pixels: 5)
url_idID
ID of the tracking link to which to add one or more remarketing pixels
Return values
parameter
description
added
0 on error, the number of added remarketing pixels otherwise
access: [WRITE]
Clone the remarketings configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/remarketings/clone?from_url_id=cf0d55c495d9c62a5e60c39650a18708&to_url_id=f053f0b23b652a9462f0c750a90258e5
Query parameters
from_url_id = cf0d55c495d9c62a5e60c39650a18708
to_url_id = f053f0b23b652a9462f0c750a90258e5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/remarketings/clone?from_url_id=cf0d55c495d9c62a5e60c39650a18708&to_url_id=f053f0b23b652a9462f0c750a90258e5&format=xml
Query parameters
from_url_id = cf0d55c495d9c62a5e60c39650a18708
to_url_id = f053f0b23b652a9462f0c750a90258e5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 0 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/remarketings/clone?from_url_id=cf0d55c495d9c62a5e60c39650a18708&to_url_id=f053f0b23b652a9462f0c750a90258e5&format=txt
Query parameters
from_url_id = cf0d55c495d9c62a5e60c39650a18708
to_url_id = f053f0b23b652a9462f0c750a90258e5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/remarketings/clone?from_url_id=cf0d55c495d9c62a5e60c39650a18708&to_url_id=f053f0b23b652a9462f0c750a90258e5&format=plain
Query parameters
from_url_id = cf0d55c495d9c62a5e60c39650a18708
to_url_id = f053f0b23b652a9462f0c750a90258e5
format = plain
Response
0
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the remarketings configuration from
to_url_idID
ID of the tracking link you want to copy the remarketings configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
access: [READ]
This method returns the number of remarketing pixels linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/remarketings/count?url_id=40f25010bc694f5263b49dde5e290c75
Query parameters
url_id = 40f25010bc694f5263b49dde5e290c75
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/remarketings/count?url_id=40f25010bc694f5263b49dde5e290c75&format=xml
Query parameters
url_id = 40f25010bc694f5263b49dde5e290c75
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/remarketings/count?url_id=40f25010bc694f5263b49dde5e290c75&format=txt
Query parameters
url_id = 40f25010bc694f5263b49dde5e290c75
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/remarketings/count?url_id=40f25010bc694f5263b49dde5e290c75&format=plain
Query parameters
url_id = 40f25010bc694f5263b49dde5e290c75
format = plain
Response
3
Required parameters
parameter
description
url_idID
ID of the tracking link to check
Return values
parameter
description
count
the number of linked remakerting pixels
access: [WRITE]
Delete one or more remarketing pixels linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/remarketings/delete?url_id=955cf5c3dc4cef11378c2be57ffe38db
Query parameters
url_id = 955cf5c3dc4cef11378c2be57ffe38db
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/remarketings/delete?url_id=955cf5c3dc4cef11378c2be57ffe38db&format=xml
Query parameters
url_id = 955cf5c3dc4cef11378c2be57ffe38db
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/remarketings/delete?url_id=955cf5c3dc4cef11378c2be57ffe38db&format=txt
Query parameters
url_id = 955cf5c3dc4cef11378c2be57ffe38db
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/remarketings/delete?url_id=955cf5c3dc4cef11378c2be57ffe38db&format=plain
Query parameters
url_id = 955cf5c3dc4cef11378c2be57ffe38db
format = plain
Response
1
Required parameters
parameter
description
url_idID
ID of the tracking link from which to remove one or more remarketing pixels
Optional parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of remarketing pixels to remove, if empty all remarketing pixels will be removed
Return values
parameter
description
deleted
1 on success, 0 otherwise
access: [WRITE]
Edit the list of tracking pixels linked to a tracking link (all previous tracking pixels are removed).
Example 1 (json)
Request
https://joturl.com/a/i1/urls/remarketings/edit?url_id=188280f24d5bfd28b2c8f8892315b8ba&ids=b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
Query parameters
url_id = 188280f24d5bfd28b2c8f8892315b8ba
ids = b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ids" : "b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/remarketings/edit?url_id=188280f24d5bfd28b2c8f8892315b8ba&ids=b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0&format=xml
Query parameters
url_id = 188280f24d5bfd28b2c8f8892315b8ba
ids = b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ids> b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0 </ids>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/remarketings/edit?url_id=188280f24d5bfd28b2c8f8892315b8ba&ids=b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0&format=txt
Query parameters
url_id = 188280f24d5bfd28b2c8f8892315b8ba
ids = b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ids = b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/remarketings/edit?url_id=188280f24d5bfd28b2c8f8892315b8ba&ids=b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0&format=plain
Query parameters
url_id = 188280f24d5bfd28b2c8f8892315b8ba
ids = b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
format = plain
Response
b1614d93037d624999193014a554bdff,4519d8f3b98b5adcb54d2d3218dd7632,beb4908d36863822db3cb0d3fb503c3c,219cfa231d96daddea470d0708b0b9f0
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of remarketing pixels to add (maxmimum number of remarketing pixels: 5)
url_idID
ID of the tracking link to which to add one or more remarketing pixels
Return values
parameter
description
ids
comma-separated list of added remarketing pixels
access: [READ]
This method returns a list of remarketing pixels linked to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/remarketings/list?fields=count,id,name,notes,code_type,code_id&url_id=b9e1f8e481f968f17f4422bddb1fabed
Query parameters
fields = count,id,name,notes,code_type,code_id
url_id = b9e1f8e481f968f17f4422bddb1fabed
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"id" : "5821a3d612e12a9a44442e7162ca8e35" ,
"name" : "remarketing pixel (bing)" ,
"notes" : "" ,
"code_type" : "bing" ,
"code_id" : "1234567890A"
} ,
{
"id" : "79bbd3e91de7ac4a25ce424eff723f6d" ,
"name" : "remarketing pixel (facebook)" ,
"notes" : "remarketing pixel for FB" ,
"code_type" : "facebook" ,
"code_id" : "A0987654321"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/remarketings/list?fields=count,id,name,notes,code_type,code_id&url_id=b9e1f8e481f968f17f4422bddb1fabed&format=xml
Query parameters
fields = count,id,name,notes,code_type,code_id
url_id = b9e1f8e481f968f17f4422bddb1fabed
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<id> 5821a3d612e12a9a44442e7162ca8e35 </id>
<name> remarketing pixel (bing) </name>
<notes> </notes>
<code_type> bing </code_type>
<code_id> 1234567890A </code_id>
</i0>
<i1>
<id> 79bbd3e91de7ac4a25ce424eff723f6d </id>
<name> remarketing pixel (facebook) </name>
<notes> remarketing pixel for FB </notes>
<code_type> facebook </code_type>
<code_id> A0987654321 </code_id>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/remarketings/list?fields=count,id,name,notes,code_type,code_id&url_id=b9e1f8e481f968f17f4422bddb1fabed&format=txt
Query parameters
fields = count,id,name,notes,code_type,code_id
url_id = b9e1f8e481f968f17f4422bddb1fabed
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_id = 5821a3d612e12a9a44442e7162ca8e35
result_data_0_name = remarketing pixel (bing)
result_data_0_notes =
result_data_0_code_type = bing
result_data_0_code_id = 1234567890A
result_data_1_id = 79bbd3e91de7ac4a25ce424eff723f6d
result_data_1_name = remarketing pixel (facebook)
result_data_1_notes = remarketing pixel for FB
result_data_1_code_type = facebook
result_data_1_code_id = A0987654321
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/remarketings/list?fields=count,id,name,notes,code_type,code_id&url_id=b9e1f8e481f968f17f4422bddb1fabed&format=plain
Query parameters
fields = count,id,name,notes,code_type,code_id
url_id = b9e1f8e481f968f17f4422bddb1fabed
format = plain
Response
2
5821a3d612e12a9a44442e7162ca8e35
remarketing pixel (bing)
bing
1234567890A
79bbd3e91de7ac4a25ce424eff723f6d
remarketing pixel (facebook)
remarketing pixel for FB
facebook
A0987654321
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, name, notes, code_type, code_id
url_idID
ID of the liked tracking link
Optional parameters
parameter
description
lengthINTEGER
extracts this number of remarketing pixels (maxmimum allowed: 100)
orderbyARRAY
orders remarketing pixels by field, available fields: id, name, notes, code_type, code_id
searchSTRING
filters remarketing pixels to be extracted by searching them
sortSTRING
sorts remarketing pixels in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract remarketing pixels from this position
Return values
parameter
description
data
array containing information on the remarketing pixels, returned information depends on the fields parameter.
/urls/selfdestruction /urls/selfdestruction/clone
access: [WRITE]
Clone a self destruction configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/selfdestruction/clone?from_url_id=b6bb9f93b1760352bf13fd3882bfa49f&to_url_id=bda96f1345eb4abdc13d9501df419284
Query parameters
from_url_id = b6bb9f93b1760352bf13fd3882bfa49f
to_url_id = bda96f1345eb4abdc13d9501df419284
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/selfdestruction/clone?from_url_id=b6bb9f93b1760352bf13fd3882bfa49f&to_url_id=bda96f1345eb4abdc13d9501df419284&format=xml
Query parameters
from_url_id = b6bb9f93b1760352bf13fd3882bfa49f
to_url_id = bda96f1345eb4abdc13d9501df419284
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/selfdestruction/clone?from_url_id=b6bb9f93b1760352bf13fd3882bfa49f&to_url_id=bda96f1345eb4abdc13d9501df419284&format=txt
Query parameters
from_url_id = b6bb9f93b1760352bf13fd3882bfa49f
to_url_id = bda96f1345eb4abdc13d9501df419284
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/selfdestruction/clone?from_url_id=b6bb9f93b1760352bf13fd3882bfa49f&to_url_id=bda96f1345eb4abdc13d9501df419284&format=plain
Query parameters
from_url_id = b6bb9f93b1760352bf13fd3882bfa49f
to_url_id = bda96f1345eb4abdc13d9501df419284
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy self destruction configuration from
to_url_idID
ID of the tracking link you want to copy self destruction configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/selfdestruction/delete
access: [WRITE]
Delete the self destruction configuration of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/selfdestruction/delete?id=e4710c2dfff751b0ec71d7f792b6195e
Query parameters
id = e4710c2dfff751b0ec71d7f792b6195e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/selfdestruction/delete?id=e4710c2dfff751b0ec71d7f792b6195e&format=xml
Query parameters
id = e4710c2dfff751b0ec71d7f792b6195e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/selfdestruction/delete?id=e4710c2dfff751b0ec71d7f792b6195e&format=txt
Query parameters
id = e4710c2dfff751b0ec71d7f792b6195e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/selfdestruction/delete?id=e4710c2dfff751b0ec71d7f792b6195e&format=plain
Query parameters
id = e4710c2dfff751b0ec71d7f792b6195e
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a self destruction configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/selfdestruction/edit
access: [WRITE]
Given a short URL, defines a self destruction configuration.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/selfdestruction/edit?id=1c85eeda7aa556780bc48f65d26ad3b7&time_offset=1&time_base=years&from_what=creation&condition_var=visits&condition_operand=%3C%3D&condition_value=100
Query parameters
id = 1c85eeda7aa556780bc48f65d26ad3b7
time_offset = 1
time_base = years
from_what = creation
condition_var = visits
condition_operand = <=
condition_value = 100
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"time_offset" : "1" ,
"time_base" : "years" ,
"from_what" : "creation" ,
"condition_var" : "visits" ,
"condition_operand" : "<=" ,
"condition_value" : "100"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/selfdestruction/edit?id=1c85eeda7aa556780bc48f65d26ad3b7&time_offset=1&time_base=years&from_what=creation&condition_var=visits&condition_operand=%3C%3D&condition_value=100&format=xml
Query parameters
id = 1c85eeda7aa556780bc48f65d26ad3b7
time_offset = 1
time_base = years
from_what = creation
condition_var = visits
condition_operand = <=
condition_value = 100
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<time_offset> 1 </time_offset>
<time_base> years </time_base>
<from_what> creation </from_what>
<condition_var> visits </condition_var>
<condition_operand> <= </condition_operand>
<condition_value> 100 </condition_value>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/selfdestruction/edit?id=1c85eeda7aa556780bc48f65d26ad3b7&time_offset=1&time_base=years&from_what=creation&condition_var=visits&condition_operand=%3C%3D&condition_value=100&format=txt
Query parameters
id = 1c85eeda7aa556780bc48f65d26ad3b7
time_offset = 1
time_base = years
from_what = creation
condition_var = visits
condition_operand = <=
condition_value = 100
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_time_offset = 1
result_time_base = years
result_from_what = creation
result_condition_var = visits
result_condition_operand = <=
result_condition_value = 100
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/selfdestruction/edit?id=1c85eeda7aa556780bc48f65d26ad3b7&time_offset=1&time_base=years&from_what=creation&condition_var=visits&condition_operand=%3C%3D&condition_value=100&format=plain
Query parameters
id = 1c85eeda7aa556780bc48f65d26ad3b7
time_offset = 1
time_base = years
from_what = creation
condition_var = visits
condition_operand = <=
condition_value = 100
format = plain
Response
1
years
creation
visits
<=
100
Required parameters
parameter
description
condition_varENUM
the condition to be met in order to delete the tracking link, see notes for a list of available variables
from_whatENUM
time reference, the event from which the time_offset
is evaluated, see notes for a list of available time references
idID
ID of the tracking link
time_baseENUM
time base, see notes for a list of available time bases
time_offsetINTEGER
time offset (integer greater than 0)
Available values for time_base
:
seconds : seconds minutes : minutes hours : hours days : days weeks : weeks months : months years : years Available values for from_what
:
creation : tracking link creation lastvisit : last visit to the tracking link now : the date/time when the option is enabled datetime : custom date/time Available values for condition_var
:
inanycase : delete the tracking link in any case visits : delete the tracking link only if a specific condition is met on visits to the tracking link uniquevisits : delete the tracking link only if a specific condition is met on unique visits to the tracking link qrvisits : delete the tracking link only if a specific condition is met on QR code visits to the tracking link WARNING 1 : the moment at which the condition is evaluated (i.e., the evaluation time ) is obtained with the formula
time_offset [time_base] + from_what
for example if time_offset = 3
, time_base = months
, from_what = creation
and creation = 2024-02-10 12:29:58
, the evaluation time will be 3 months + 2024-02-10 12:29:58
, i.e., 2024-05-10 12:29:58
(all times are in UTC)
WARNING 2 : the evaluation time cannot be in the past with respect to the moment at which the option is enabled.
WARNING 3 : the evaluation time has a tolerance of 30 minutes, there is no guarantee that the deletion will occur exactly at the evaluation time.
WARNING 4 : if from_what = lastvisit
, the first evaluation time will be considered as if it were from_what = creation
, i.e., time_offset [time_base] + creation
, if at the first evaluation time the last visit to the tracking link is not available (i.e., the tracking link has not received any visits), a second evaluation time will be defined equal to time_offset [time_base] + first evaluation time
, after the second evaluation time no further attempts will be made.
WARNING 5 : the condition is evaluated only once at the evaluation time.
Optional parameters
parameter
description
condition_operandENUM
the operand for the condition_var
, see notes for a list of available operands; mandatory if condition_var
is different from inanycase
condition_valueINTEGER
the value to be used with condition_var
(integer greater than or equal to 0), mandatory if condition_var
is different from inanycase
from_dtDATETIME/EMPTY
custom date/time, it cannot be in the past, valid only when time_offset = datetime
, mandatory if from_what = datetime
Return values
parameter
description
condition_operand
echo back of the input parameter condition_operand
condition_value
echo back of the input parameter condition_value
condition_var
echo back of the input parameter condition_var
from_dt
echo back of the input parameter from_dt
from_what
echo back of the input parameter from_what
id
echo back of the input parameter id
time_base
echo back of the input parameter time_base
time_offset
echo back of the input parameter time_offset
/urls/selfdestruction/info
access: [READ]
Returns information on the self destruction configuration.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/selfdestruction/info?id=860299c9d33ad8f354ee4a28be0c6e94
Query parameters
id = 860299c9d33ad8f354ee4a28be0c6e94
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "860299c9d33ad8f354ee4a28be0c6e94" ,
"time_offset" : "1" ,
"time_base" : "years" ,
"from_what" : "creation" ,
"condition_var" : "visits" ,
"condition_operand" : "<=" ,
"condition_value" : "100"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/selfdestruction/info?id=860299c9d33ad8f354ee4a28be0c6e94&format=xml
Query parameters
id = 860299c9d33ad8f354ee4a28be0c6e94
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 860299c9d33ad8f354ee4a28be0c6e94 </id>
<time_offset> 1 </time_offset>
<time_base> years </time_base>
<from_what> creation </from_what>
<condition_var> visits </condition_var>
<condition_operand> <= </condition_operand>
<condition_value> 100 </condition_value>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/selfdestruction/info?id=860299c9d33ad8f354ee4a28be0c6e94&format=txt
Query parameters
id = 860299c9d33ad8f354ee4a28be0c6e94
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 860299c9d33ad8f354ee4a28be0c6e94
result_time_offset = 1
result_time_base = years
result_from_what = creation
result_condition_var = visits
result_condition_operand = <=
result_condition_value = 100
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/selfdestruction/info?id=860299c9d33ad8f354ee4a28be0c6e94&format=plain
Query parameters
id = 860299c9d33ad8f354ee4a28be0c6e94
format = plain
Response
860299c9d33ad8f354ee4a28be0c6e94
1
years
creation
visits
<=
100
Required parameters
parameter
description
idID
ID of the tracking link
Return values
/urls/shorten
access: [WRITE]
Creates a shorten tracking link for a given destination URL.
This method may only be available for some types of accounts, a 404 NOT FOUND
is returned when not available, see errors for details.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=d9cae81a2088c17f5e911498b7ddbf98&project_id=9c03d63563a2508610eca8a5662b92b6&long_url=https%3A%2F%2Fwww.joturl.com%2F
Query parameters
alias = jot
domain_id = d9cae81a2088c17f5e911498b7ddbf98
project_id = 9c03d63563a2508610eca8a5662b92b6
long_url = https://www.joturl.com/
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "75a2bac0c3b76160ad2ddb5cde6a8147" ,
"alias" : "jot" ,
"domain_id" : "d9cae81a2088c17f5e911498b7ddbf98" ,
"domain_host" : "jo.my" ,
"domain_nickname" : "" ,
"project_id" : "9c03d63563a2508610eca8a5662b92b6" ,
"project_name" : "project name" ,
"short_url" : "//jo.my/jot" ,
"long_url" : "https://www.joturl.com/" ,
"template_type" : 1 ,
"notes" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=d9cae81a2088c17f5e911498b7ddbf98&project_id=9c03d63563a2508610eca8a5662b92b6&long_url=https%3A%2F%2Fwww.joturl.com%2F&format=xml
Query parameters
alias = jot
domain_id = d9cae81a2088c17f5e911498b7ddbf98
project_id = 9c03d63563a2508610eca8a5662b92b6
long_url = https://www.joturl.com/
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 75a2bac0c3b76160ad2ddb5cde6a8147 </id>
<alias> jot </alias>
<domain_id> d9cae81a2088c17f5e911498b7ddbf98 </domain_id>
<domain_host> jo.my </domain_host>
<domain_nickname> </domain_nickname>
<project_id> 9c03d63563a2508610eca8a5662b92b6 </project_id>
<project_name> project name </project_name>
<short_url> //jo.my/jot </short_url>
<long_url> https://www.joturl.com/ </long_url>
<template_type> 1 </template_type>
<notes> </notes>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=d9cae81a2088c17f5e911498b7ddbf98&project_id=9c03d63563a2508610eca8a5662b92b6&long_url=https%3A%2F%2Fwww.joturl.com%2F&format=txt
Query parameters
alias = jot
domain_id = d9cae81a2088c17f5e911498b7ddbf98
project_id = 9c03d63563a2508610eca8a5662b92b6
long_url = https://www.joturl.com/
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 75a2bac0c3b76160ad2ddb5cde6a8147
result_alias = jot
result_domain_id = d9cae81a2088c17f5e911498b7ddbf98
result_domain_host = jo.my
result_domain_nickname =
result_project_id = 9c03d63563a2508610eca8a5662b92b6
result_project_name = project name
result_short_url = //jo.my/jot
result_long_url = https://www.joturl.com/
result_template_type = 1
result_notes =
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=d9cae81a2088c17f5e911498b7ddbf98&project_id=9c03d63563a2508610eca8a5662b92b6&long_url=https%3A%2F%2Fwww.joturl.com%2F&format=plain
Query parameters
alias = jot
domain_id = d9cae81a2088c17f5e911498b7ddbf98
project_id = 9c03d63563a2508610eca8a5662b92b6
long_url = https://www.joturl.com/
format = plain
Response
//jo.my/jot
Example 5 (json)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=b4d51a7475d94a1a510a3e9cbb9033fe&project_id=1b49c8a542adada7af8c6c6a09e40be2&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=trying+to+shorten+a+URL+whose+alias+was+already+used
Query parameters
alias = jot
domain_id = b4d51a7475d94a1a510a3e9cbb9033fe
project_id = 1b49c8a542adada7af8c6c6a09e40be2
long_url = https://www.joturl.com/
notes = trying to shorten a URL whose alias was already used
Response
{
"status" : {
"code" : 503 ,
"text" : "GENERIC ERROR" ,
"error" : "The chosen alias is not available." ,
"rate" : 3
} ,
"result" : []
}
Example 6 (xml)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=b4d51a7475d94a1a510a3e9cbb9033fe&project_id=1b49c8a542adada7af8c6c6a09e40be2&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=trying+to+shorten+a+URL+whose+alias+was+already+used&format=xml
Query parameters
alias = jot
domain_id = b4d51a7475d94a1a510a3e9cbb9033fe
project_id = 1b49c8a542adada7af8c6c6a09e40be2
long_url = https://www.joturl.com/
notes = trying to shorten a URL whose alias was already used
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 503 </code>
<text> GENERIC ERROR </text>
<error> The chosen alias is not available. </error>
<rate> 3 </rate>
</status>
<result>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=b4d51a7475d94a1a510a3e9cbb9033fe&project_id=1b49c8a542adada7af8c6c6a09e40be2&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=trying+to+shorten+a+URL+whose+alias+was+already+used&format=txt
Query parameters
alias = jot
domain_id = b4d51a7475d94a1a510a3e9cbb9033fe
project_id = 1b49c8a542adada7af8c6c6a09e40be2
long_url = https://www.joturl.com/
notes = trying to shorten a URL whose alias was already used
format = txt
Response
status_code = 503
status_text = GENERIC ERROR
status_error = The chosen alias is not available.
status_rate = 3
result =
Example 8 (plain)
Request
https://joturl.com/a/i1/urls/shorten?alias=jot&domain_id=b4d51a7475d94a1a510a3e9cbb9033fe&project_id=1b49c8a542adada7af8c6c6a09e40be2&long_url=https%3A%2F%2Fwww.joturl.com%2F¬es=trying+to+shorten+a+URL+whose+alias+was+already+used&format=plain
Query parameters
alias = jot
domain_id = b4d51a7475d94a1a510a3e9cbb9033fe
project_id = 1b49c8a542adada7af8c6c6a09e40be2
long_url = https://www.joturl.com/
notes = trying to shorten a URL whose alias was already used
format = plain
Response
Example 9 (json)
Request
https://joturl.com/a/i1/urls/shorten?domain_id=dcce3baa3d05a6ea93ccf94e05819312&project_id=7f6effd2d21ad0d9865697ab4fcc34ac&bulk=1&info=%5B%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D0%22,%22alias%22%3A%22alias0%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D1%22,%22alias%22%3A%22alias1%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D2%22,%22alias%22%3A%22alias1%22%7D%5D
Query parameters
domain_id = dcce3baa3d05a6ea93ccf94e05819312
project_id = 7f6effd2d21ad0d9865697ab4fcc34ac
bulk = 1
info = [{"url":"https:\/\/www.joturl.com\/?p=0","alias":"alias0"},{"url":"https:\/\/www.joturl.com\/?p=1","alias":"alias1"},{"url":"https:\/\/www.joturl.com\/?p=2","alias":"alias1"}]
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : [
{
"id" : "5fa2cc8c4cf7f640214e428393cc32f7" ,
"alias" : "alias0" ,
"domain_id" : "5c91167eb75d3bef6a4905a49fd0165b" ,
"domain_host" : "my.custom.domain" ,
"domain_nickname" : "" ,
"project_id" : "f3f83ae36358b2dc836844da9192de0e" ,
"project_name" : "project name" ,
"short_url" : "//my.custom.domain/alias0" ,
"long_url" : "https://www.joturl.com/?p=0" ,
"template_type" : 1
} ,
{
"id" : "6394090a222e15443a35ac2f81ef2f01" ,
"alias" : "alias1" ,
"domain_id" : "15eec5e63bfacc22108ed9055f5030d7" ,
"domain_host" : "my.custom.domain" ,
"domain_nickname" : "" ,
"project_id" : "60ccb2b8368d3e0794abcb058505a2dd" ,
"project_name" : "project name" ,
"short_url" : "//my.custom.domain/alias1" ,
"long_url" : "https://www.joturl.com/?p=1" ,
"template_type" : 1
} ,
{
"error" : "FAILED at 2" ,
"details" : "The chosen alias is not available. (alias1)"
}
]
}
Example 10 (xml)
Request
https://joturl.com/a/i1/urls/shorten?domain_id=dcce3baa3d05a6ea93ccf94e05819312&project_id=7f6effd2d21ad0d9865697ab4fcc34ac&bulk=1&info=%5B%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D0%22,%22alias%22%3A%22alias0%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D1%22,%22alias%22%3A%22alias1%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D2%22,%22alias%22%3A%22alias1%22%7D%5D&format=xml
Query parameters
domain_id = dcce3baa3d05a6ea93ccf94e05819312
project_id = 7f6effd2d21ad0d9865697ab4fcc34ac
bulk = 1
info = [{"url":"https:\/\/www.joturl.com\/?p=0","alias":"alias0"},{"url":"https:\/\/www.joturl.com\/?p=1","alias":"alias1"},{"url":"https:\/\/www.joturl.com\/?p=2","alias":"alias1"}]
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<i0>
<id> 5fa2cc8c4cf7f640214e428393cc32f7 </id>
<alias> alias0 </alias>
<domain_id> 5c91167eb75d3bef6a4905a49fd0165b </domain_id>
<domain_host> my.custom.domain </domain_host>
<domain_nickname> </domain_nickname>
<project_id> f3f83ae36358b2dc836844da9192de0e </project_id>
<project_name> project name </project_name>
<short_url> //my.custom.domain/alias0 </short_url>
<long_url> https://www.joturl.com/?p=0 </long_url>
<template_type> 1 </template_type>
</i0>
<i1>
<id> 6394090a222e15443a35ac2f81ef2f01 </id>
<alias> alias1 </alias>
<domain_id> 15eec5e63bfacc22108ed9055f5030d7 </domain_id>
<domain_host> my.custom.domain </domain_host>
<domain_nickname> </domain_nickname>
<project_id> 60ccb2b8368d3e0794abcb058505a2dd </project_id>
<project_name> project name </project_name>
<short_url> //my.custom.domain/alias1 </short_url>
<long_url> https://www.joturl.com/?p=1 </long_url>
<template_type> 1 </template_type>
</i1>
<i2>
<error> FAILED at 2 </error>
<details> The chosen alias is not available. (alias1) </details>
</i2>
</result>
</response>
Example 11 (txt)
Request
https://joturl.com/a/i1/urls/shorten?domain_id=dcce3baa3d05a6ea93ccf94e05819312&project_id=7f6effd2d21ad0d9865697ab4fcc34ac&bulk=1&info=%5B%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D0%22,%22alias%22%3A%22alias0%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D1%22,%22alias%22%3A%22alias1%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D2%22,%22alias%22%3A%22alias1%22%7D%5D&format=txt
Query parameters
domain_id = dcce3baa3d05a6ea93ccf94e05819312
project_id = 7f6effd2d21ad0d9865697ab4fcc34ac
bulk = 1
info = [{"url":"https:\/\/www.joturl.com\/?p=0","alias":"alias0"},{"url":"https:\/\/www.joturl.com\/?p=1","alias":"alias1"},{"url":"https:\/\/www.joturl.com\/?p=2","alias":"alias1"}]
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_0_id = 5fa2cc8c4cf7f640214e428393cc32f7
result_0_alias = alias0
result_0_domain_id = 5c91167eb75d3bef6a4905a49fd0165b
result_0_domain_host = my.custom.domain
result_0_domain_nickname =
result_0_project_id = f3f83ae36358b2dc836844da9192de0e
result_0_project_name = project name
result_0_short_url = //my.custom.domain/alias0
result_0_long_url = https://www.joturl.com/?p=0
result_0_template_type = 1
result_1_id = 6394090a222e15443a35ac2f81ef2f01
result_1_alias = alias1
result_1_domain_id = 15eec5e63bfacc22108ed9055f5030d7
result_1_domain_host = my.custom.domain
result_1_domain_nickname =
result_1_project_id = 60ccb2b8368d3e0794abcb058505a2dd
result_1_project_name = project name
result_1_short_url = //my.custom.domain/alias1
result_1_long_url = https://www.joturl.com/?p=1
result_1_template_type = 1
result_2_error = FAILED at 2
result_2_details = The chosen alias is not available. (alias1)
Example 12 (plain)
Request
https://joturl.com/a/i1/urls/shorten?domain_id=dcce3baa3d05a6ea93ccf94e05819312&project_id=7f6effd2d21ad0d9865697ab4fcc34ac&bulk=1&info=%5B%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D0%22,%22alias%22%3A%22alias0%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D1%22,%22alias%22%3A%22alias1%22%7D,%7B%22url%22%3A%22https%3A%5C%2F%5C%2Fwww.joturl.com%5C%2F%3Fp%3D2%22,%22alias%22%3A%22alias1%22%7D%5D&format=plain
Query parameters
domain_id = dcce3baa3d05a6ea93ccf94e05819312
project_id = 7f6effd2d21ad0d9865697ab4fcc34ac
bulk = 1
info = [{"url":"https:\/\/www.joturl.com\/?p=0","alias":"alias0"},{"url":"https:\/\/www.joturl.com\/?p=1","alias":"alias1"},{"url":"https:\/\/www.joturl.com\/?p=2","alias":"alias1"}]
format = plain
Response
//my.custom.domain/alias0
//my.custom.domain/alias1
FAILED at 2
The chosen alias is not available. (alias1)
Optional parameters
parameter
description
max length
aliasSTRING
available only when bulk = 0
- alias for the tracking link, if not specified a random and unique alias will be generated. The alias must be at least 3 characters among lower-case letters a-z, numbers 0-9, minus -, underscore _
510
bulkBOOLEAN
1 to enable "bulk shorten" mode (default: 0)
domain_idID
ID of the domain for the tracking link(s), if not specified the default domain for the user will be used
embed_codeHTML
embed code for the JotBars
infoJSON
required when bulk = 1
- information for creating tracking links, is a JSON like this [{"url": "destination URL 1", "alias": "alias 1"}, ...]
, a maximum of 100 elements are allowed
long_urlSTRING
required when bulk = 0
- destination URL for the tracking link
4000
notesSTRING
notes for the tracking link
255
project_idID
ID of the project where the tracking link(s) will be put in, if not specified the default project is used
tagsARRAY
comma-separated list of tags for the tracking link
video_durationSTRING
if the embed code contains a video, this parameter can be used to specify the video duration
Since bulk mode is intended to speed up tracking link creation, the following limitations apply when bulk = 1
:
you cannot create tracking links on a shared domain (e.g., jo.my), you must use a custom domain, any default tracking link associated with the project is ignored, any shorten webhooks is ignored. To speed up the shortening we suggest you not pass the parameters embed_code
, video_duration
, notes
, tags
and always pass alias
in info
.
Return values
parameter
description
alias
alias for the tracking link
domain_host
domain used to create the tracking link
domain_id
ID of the domain used to create the tracking link
domain_nickname
nickname of the short url domain
id
ID of the created tracking link
long_url
destination URL for the tracking link
notes
only returned when bulk = 0
- notes for the tracking link
project_id
ID of the project where the tracking link was created
project_name
name of the project where the tracking link was created
short_url
short URL for the tracking link
tags
only returned when bulk = 0
- space-separated list of tags associated to the tracking link
When bulk = 1
an array is returned, each element of this array contains the above fields except tags
and notes
.
If an error occurs during the shortening, the array item contains the fields error
and details
. Returned values in error
:
FAILED at N : an unspecified error occurred during the creation of the tracking link at item N , see details
if available, INVALID alias at N : invalid alias at item N , INVALID url at N : invalid destination URL at item N . Where N is the zero based index of the items in the info
field.
The field details
contains details about the error, it may be empty if no details are available.
/urls/suggest
access: [READ]
Given a domain, suggests a specific number of aliases.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/suggest?number_alias=3&domain_id=ea4c497ce37eaf30734cfe93d6c3a4ef
Query parameters
number_alias = 3
domain_id = ea4c497ce37eaf30734cfe93d6c3a4ef
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
"bee9e82" ,
"d82e9552" ,
"b0b9"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/suggest?number_alias=3&domain_id=ea4c497ce37eaf30734cfe93d6c3a4ef&format=xml
Query parameters
number_alias = 3
domain_id = ea4c497ce37eaf30734cfe93d6c3a4ef
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0> bee9e82 </i0>
<i1> d82e9552 </i1>
<i2> b0b9 </i2>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/suggest?number_alias=3&domain_id=ea4c497ce37eaf30734cfe93d6c3a4ef&format=txt
Query parameters
number_alias = 3
domain_id = ea4c497ce37eaf30734cfe93d6c3a4ef
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0 = bee9e82
result_data_1 = d82e9552
result_data_2 = b0b9
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/suggest?number_alias=3&domain_id=ea4c497ce37eaf30734cfe93d6c3a4ef&format=plain
Query parameters
number_alias = 3
domain_id = ea4c497ce37eaf30734cfe93d6c3a4ef
format = plain
Response
bee9e82
d82e9552
b0b9
Required parameters
parameter
description
domain_idID
ID of the domain where to suggest a new and unique alias
Optional parameters
parameter
description
max length
aliasSTRING
base for the alias to suggest
510
number_aliasSTRING
number of aliases to suggest, default 1, maximum 3
Return values
parameter
description
data
suggested unique aliases
access: [WRITE]
Add a list of tags to a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/tags/add?url_id=f9ccfbb98e87307c36507cd26272ff59&tags=test,tag,api
Query parameters
url_id = f9ccfbb98e87307c36507cd26272ff59
tags = test,tag,api
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"added" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/tags/add?url_id=f9ccfbb98e87307c36507cd26272ff59&tags=test,tag,api&format=xml
Query parameters
url_id = f9ccfbb98e87307c36507cd26272ff59
tags = test,tag,api
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<added> 3 </added>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/tags/add?url_id=f9ccfbb98e87307c36507cd26272ff59&tags=test,tag,api&format=txt
Query parameters
url_id = f9ccfbb98e87307c36507cd26272ff59
tags = test,tag,api
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_added = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/tags/add?url_id=f9ccfbb98e87307c36507cd26272ff59&tags=test,tag,api&format=plain
Query parameters
url_id = f9ccfbb98e87307c36507cd26272ff59
tags = test,tag,api
format = plain
Response
3
Required parameters
parameter
description
tagsARRAY
comma-separated list of tags, these tags will be added to the previous tags
url_idID
ID of the tracking link
Return values
parameter
description
added
numner of added tags, it could be 0 if all passed tags are already associated with the tracking link
access: [WRITE]
Clone tags from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/tags/clone?from_url_id=ba98e0579ab65790dbba754b70766c7b&to_url_id=b54791b0722517650e914bf14db8c42e
Query parameters
from_url_id = ba98e0579ab65790dbba754b70766c7b
to_url_id = b54791b0722517650e914bf14db8c42e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/tags/clone?from_url_id=ba98e0579ab65790dbba754b70766c7b&to_url_id=b54791b0722517650e914bf14db8c42e&format=xml
Query parameters
from_url_id = ba98e0579ab65790dbba754b70766c7b
to_url_id = b54791b0722517650e914bf14db8c42e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/tags/clone?from_url_id=ba98e0579ab65790dbba754b70766c7b&to_url_id=b54791b0722517650e914bf14db8c42e&format=txt
Query parameters
from_url_id = ba98e0579ab65790dbba754b70766c7b
to_url_id = b54791b0722517650e914bf14db8c42e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/tags/clone?from_url_id=ba98e0579ab65790dbba754b70766c7b&to_url_id=b54791b0722517650e914bf14db8c42e&format=plain
Query parameters
from_url_id = ba98e0579ab65790dbba754b70766c7b
to_url_id = b54791b0722517650e914bf14db8c42e
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy tags from
to_url_idID
ID of the tracking link you want to copy tags to
Return values
parameter
description
cloned
1 on success, 0 otherwise
access: [READ]
This method returns the number of tags.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/tags/count?url_id=194945b36da2783e58e06a6b8ae20950
Query parameters
url_id = 194945b36da2783e58e06a6b8ae20950
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/tags/count?url_id=194945b36da2783e58e06a6b8ae20950&format=xml
Query parameters
url_id = 194945b36da2783e58e06a6b8ae20950
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/tags/count?url_id=194945b36da2783e58e06a6b8ae20950&format=txt
Query parameters
url_id = 194945b36da2783e58e06a6b8ae20950
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/tags/count?url_id=194945b36da2783e58e06a6b8ae20950&format=plain
Query parameters
url_id = 194945b36da2783e58e06a6b8ae20950
format = plain
Response
2
Optional parameters
parameter
description
searchSTRING
filters tags to be extracted by searching them
url_idID
ID of the tracking link from which to extract the tags
Return values
parameter
description
count
number of (filtered) tags
access: [WRITE]
This method deletes the relationship between a tag and an url. If the tag has no reference with others url, the tag will be deleted. Return 1 if the operation succeeds or 0 otherwise.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/tags/delete?url_id=c4f27735492df65358ab8a5dc630dcd8&tag=tag
Query parameters
url_id = c4f27735492df65358ab8a5dc630dcd8
tag = tag
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/tags/delete?url_id=c4f27735492df65358ab8a5dc630dcd8&tag=tag&format=xml
Query parameters
url_id = c4f27735492df65358ab8a5dc630dcd8
tag = tag
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/tags/delete?url_id=c4f27735492df65358ab8a5dc630dcd8&tag=tag&format=txt
Query parameters
url_id = c4f27735492df65358ab8a5dc630dcd8
tag = tag
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/tags/delete?url_id=c4f27735492df65358ab8a5dc630dcd8&tag=tag&format=plain
Query parameters
url_id = c4f27735492df65358ab8a5dc630dcd8
tag = tag
format = plain
Response
1
Required parameters
parameter
description
tagSTRING
tag to remove
url_idID
ID of the tracking link from which to remove a tag
Return values
parameter
description
deleted
1 on success, 0 otherwise
access: [WRITE]
Edit tags for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/tags/edit?url_id=6d3aa3e1495ca5325081b2c1e8e795a7&tags=test,tag,api
Query parameters
url_id = 6d3aa3e1495ca5325081b2c1e8e795a7
tags = test,tag,api
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"edited" : 3 ,
"url_id" : "6d3aa3e1495ca5325081b2c1e8e795a7" ,
"tags" : "test,tag,api"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/tags/edit?url_id=6d3aa3e1495ca5325081b2c1e8e795a7&tags=test,tag,api&format=xml
Query parameters
url_id = 6d3aa3e1495ca5325081b2c1e8e795a7
tags = test,tag,api
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<edited> 3 </edited>
<url_id> 6d3aa3e1495ca5325081b2c1e8e795a7 </url_id>
<tags> test,tag,api </tags>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/tags/edit?url_id=6d3aa3e1495ca5325081b2c1e8e795a7&tags=test,tag,api&format=txt
Query parameters
url_id = 6d3aa3e1495ca5325081b2c1e8e795a7
tags = test,tag,api
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_edited = 3
result_url_id = 6d3aa3e1495ca5325081b2c1e8e795a7
result_tags = test,tag,api
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/tags/edit?url_id=6d3aa3e1495ca5325081b2c1e8e795a7&tags=test,tag,api&format=plain
Query parameters
url_id = 6d3aa3e1495ca5325081b2c1e8e795a7
tags = test,tag,api
format = plain
Response
3
6d3aa3e1495ca5325081b2c1e8e795a7
test,tag,api
Required parameters
parameter
description
url_idID
ID of the tracking link
Optional parameters
parameter
description
tagsARRAY
comma-separated list of tags, this list will completely replace previous tags (if empty all tags are removed)
Return values
parameter
description
added
number of added tags
deleted
number of deleted tags
edited
number of operations (add+delete) on tags
tags
comma-separated list of tags
url_id
echo back of parameter url_id
access: [READ]
This method returns a list of tags related to an url, the data returned are specified in a comma separated input called fields.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/tags/list?url_id=7cfad24b2fccb7413945e8ba74d203e2
Query parameters
url_id = 7cfad24b2fccb7413945e8ba74d203e2
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 2 ,
"data" : [
{
"tag" : "tag1"
} ,
{
"tag" : "tag2"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/tags/list?url_id=7cfad24b2fccb7413945e8ba74d203e2&format=xml
Query parameters
url_id = 7cfad24b2fccb7413945e8ba74d203e2
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 2 </count>
<data>
<i0>
<tag> tag1 </tag>
</i0>
<i1>
<tag> tag2 </tag>
</i1>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/tags/list?url_id=7cfad24b2fccb7413945e8ba74d203e2&format=txt
Query parameters
url_id = 7cfad24b2fccb7413945e8ba74d203e2
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 2
result_data_0_tag = tag1
result_data_1_tag = tag2
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/tags/list?url_id=7cfad24b2fccb7413945e8ba74d203e2&format=plain
Query parameters
url_id = 7cfad24b2fccb7413945e8ba74d203e2
format = plain
Response
2
tag1
tag2
Optional parameters
parameter
description
lengthINTEGER
extracts this number of tags (maxmimum allowed: 100)
searchSTRING
filters tags to be extracted by searching them
startINTEGER
starts to extract tags from this position
url_idID
ID of the tracking link from which to extract the tags
Return values
parameter
description
data
array containing information on tags, returned information depends on the fields parameter.
/urls/timing /urls/timing/clone
access: [WRITE]
Clone a timing configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/timing/clone?from_url_id=cfdbea1dbf52d22e27ac5cd1cdf18887&to_url_id=f4ff7fd6656405ae2ed4b58502e15f7e
Query parameters
from_url_id = cfdbea1dbf52d22e27ac5cd1cdf18887
to_url_id = f4ff7fd6656405ae2ed4b58502e15f7e
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/timing/clone?from_url_id=cfdbea1dbf52d22e27ac5cd1cdf18887&to_url_id=f4ff7fd6656405ae2ed4b58502e15f7e&format=xml
Query parameters
from_url_id = cfdbea1dbf52d22e27ac5cd1cdf18887
to_url_id = f4ff7fd6656405ae2ed4b58502e15f7e
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/timing/clone?from_url_id=cfdbea1dbf52d22e27ac5cd1cdf18887&to_url_id=f4ff7fd6656405ae2ed4b58502e15f7e&format=txt
Query parameters
from_url_id = cfdbea1dbf52d22e27ac5cd1cdf18887
to_url_id = f4ff7fd6656405ae2ed4b58502e15f7e
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/timing/clone?from_url_id=cfdbea1dbf52d22e27ac5cd1cdf18887&to_url_id=f4ff7fd6656405ae2ed4b58502e15f7e&format=plain
Query parameters
from_url_id = cfdbea1dbf52d22e27ac5cd1cdf18887
to_url_id = f4ff7fd6656405ae2ed4b58502e15f7e
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy timing configuration from
to_url_idID
ID of the tracking link you want to copy timing configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/timing/delete
access: [WRITE]
Delete the timing configuration of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/timing/delete?id=e6d2cfb4c2f7508092c76d47cf29143a
Query parameters
id = e6d2cfb4c2f7508092c76d47cf29143a
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/timing/delete?id=e6d2cfb4c2f7508092c76d47cf29143a&format=xml
Query parameters
id = e6d2cfb4c2f7508092c76d47cf29143a
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/timing/delete?id=e6d2cfb4c2f7508092c76d47cf29143a&format=txt
Query parameters
id = e6d2cfb4c2f7508092c76d47cf29143a
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/timing/delete?id=e6d2cfb4c2f7508092c76d47cf29143a&format=plain
Query parameters
id = e6d2cfb4c2f7508092c76d47cf29143a
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a timing configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/timing/edit
access: [WRITE]
Given a short URL, defines a validity time range. It is possible to define the start datetime, the expire datetime and the URL to be used after expiration. This method is available only to certain user profiles.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/timing/edit?id=9b4a464529912471af7c8948339f6755&valid_from=2024-01-11+12%3A29%3A58&valid_to=2025-02-09+12%3A29%3A58&valid_after_url=&delete_after_expiration=1
Query parameters
id = 9b4a464529912471af7c8948339f6755
valid_from = 2024-01-11 12:29:58
valid_to = 2025-02-09 12:29:58
valid_after_url =
delete_after_expiration = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"valid_from" : "2024-01-11 12:29:58" ,
"valid_to" : "2025-02-09 12:29:58" ,
"valid_after_url" : "" ,
"delete_after_expiration" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/timing/edit?id=9b4a464529912471af7c8948339f6755&valid_from=2024-01-11+12%3A29%3A58&valid_to=2025-02-09+12%3A29%3A58&valid_after_url=&delete_after_expiration=1&format=xml
Query parameters
id = 9b4a464529912471af7c8948339f6755
valid_from = 2024-01-11 12:29:58
valid_to = 2025-02-09 12:29:58
valid_after_url =
delete_after_expiration = 1
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<valid_from> 2024-01-11 12:29:58 </valid_from>
<valid_to> 2025-02-09 12:29:58 </valid_to>
<valid_after_url> </valid_after_url>
<delete_after_expiration> 1 </delete_after_expiration>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/timing/edit?id=9b4a464529912471af7c8948339f6755&valid_from=2024-01-11+12%3A29%3A58&valid_to=2025-02-09+12%3A29%3A58&valid_after_url=&delete_after_expiration=1&format=txt
Query parameters
id = 9b4a464529912471af7c8948339f6755
valid_from = 2024-01-11 12:29:58
valid_to = 2025-02-09 12:29:58
valid_after_url =
delete_after_expiration = 1
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_valid_from = 2024-01-11 12:29:58
result_valid_to = 2025-02-09 12:29:58
result_valid_after_url =
result_delete_after_expiration = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/timing/edit?id=9b4a464529912471af7c8948339f6755&valid_from=2024-01-11+12%3A29%3A58&valid_to=2025-02-09+12%3A29%3A58&valid_after_url=&delete_after_expiration=1&format=plain
Query parameters
id = 9b4a464529912471af7c8948339f6755
valid_from = 2024-01-11 12:29:58
valid_to = 2025-02-09 12:29:58
valid_after_url =
delete_after_expiration = 1
format = plain
Response
2024-01-11 12:29:58
2025-02-09 12:29:58
1
Required parameters
parameter
description
idID
ID of the tracking link
Optional parameters
parameter
description
max length
delete_after_expirationBOOLEAN
1 to delete the tracking link after valid_to
valid_after_urlURL
URL to be used after valid_to
4000
valid_fromDATETIME/EMPTY
the tracking link is valid from this date/time, before this date/time our engine returns a 404 error if someone tries to navigate to this tracking link; if empty or null
it means "valid from now"
valid_toDATETIME/EMPTY
the tracking link is valid until this date/time, after this date/time our engine returns a 404 error if delete_after_expiration = 1
otherwise redirects to valid_after_url; if empty or null
it means "valid forever"
Parameter valid_after_url is ignored if delete_after_expiration = 1
. Parameter valid_to is mandatory if delete_after_expiration = 1
. Parameters valid_from and valid_to must be in the format yyyy-mm-dd hh:mm (seconds are ignored).
Return values
parameter
description
delete_after_expiration
NA
valid_after_url
NA
valid_from
NA
valid_to
NA
/urls/timing/info
access: [READ]
Returns information on the validity range of a given short URL. This method is available only to certain user profiles.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/timing/info?id=5b4dd63829e9c595d35fc67be2eaccc5
Query parameters
id = 5b4dd63829e9c595d35fc67be2eaccc5
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"valid_from" : "2024-01-11 12:29:58" ,
"valid_to" : "2025-02-09 12:29:58" ,
"valid_after_url" : "" ,
"delete_after_expiration" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/timing/info?id=5b4dd63829e9c595d35fc67be2eaccc5&format=xml
Query parameters
id = 5b4dd63829e9c595d35fc67be2eaccc5
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<valid_from> 2024-01-11 12:29:58 </valid_from>
<valid_to> 2025-02-09 12:29:58 </valid_to>
<valid_after_url> </valid_after_url>
<delete_after_expiration> 1 </delete_after_expiration>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/timing/info?id=5b4dd63829e9c595d35fc67be2eaccc5&format=txt
Query parameters
id = 5b4dd63829e9c595d35fc67be2eaccc5
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_valid_from = 2024-01-11 12:29:58
result_valid_to = 2025-02-09 12:29:58
result_valid_after_url =
result_delete_after_expiration = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/timing/info?id=5b4dd63829e9c595d35fc67be2eaccc5&format=plain
Query parameters
id = 5b4dd63829e9c595d35fc67be2eaccc5
format = plain
Response
2024-01-11 12:29:58
2025-02-09 12:29:58
1
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
delete_after_expiration
1 to delete the tracking link after valid_to
valid_after_url
URL to be used after valid_to
valid_from
the tracking link is valid from this date/time, before this date/time our engine returns a 404 error if someone tries to navigate to this tracking link; if empty or null
it means "valid from now"
valid_to
the tracking link is valid until this date/time, after this date/time our engine returns a 404 error if delete_after_expiration = 1
otherwise redirects to valid_after_url; if empty or null
it means "valid forever"
/urls/watchdogs /urls/watchdogs/alerts /urls/watchdogs/alerts/delete
access: [WRITE]
Reset watchdog's alerts for a given array of URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/delete?count=3&ids=117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
Query parameters
count = 3
ids = 117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3 ,
"ids" : "117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/delete?count=3&ids=117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6&format=xml
Query parameters
count = 3
ids = 117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
<ids> 117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6 </ids>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/delete?count=3&ids=117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6&format=txt
Query parameters
count = 3
ids = 117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
result_ids = 117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/delete?count=3&ids=117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6&format=plain
Query parameters
count = 3
ids = 117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
format = plain
Response
3
117788936e40abccfab1084b3cc2b1f1,db01314547608f35e7d6bd8939eb2bab,1901d4a671fe92710f8ec7c5d35105e6
Required parameters
parameter
description
idsARRAY_OF_IDS
comma-separated list of ID of the tracking links from which to reset watchdog's alerts
Return values
parameter
description
count
number of deleted alerts
ids
echo back of the ids imput parameters
/urls/watchdogs/alerts/info
access: [READ]
Returns watchdog's alerts for a given short URL.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/info?id=cc80669db6b2b6093a9d120464f25e91
Query parameters
id = cc80669db6b2b6093a9d120464f25e91
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : {
"alerts" : [
{
"message" : "URL redirects to ." ,
"occurrencies" : 56 ,
"date" : {
"from" : "2024-01-30 12:29:58" ,
"to" : "2024-02-10 12:29:58"
}
}
] ,
"browsers" : {
"mobile" : [
{
"BrowserName" : "Openwave Mobile Browser 6.2.3.3.c.1.101" ,
"Platform" : "Unix sun" ,
"MobileDevice" : "Samsung"
} ,
"[...]" ,
{
"BrowserName" : "DoCoMo 3.0" ,
"Platform" : "--" ,
"MobileDevice" : "--"
}
] ,
"desktop" : [
{
"BrowserName" : "Google AdSense" ,
"Platform" : "--"
} ,
"[...]" ,
{
"BrowserName" : "Shiretoko Firefox 3.5" ,
"Platform" : "Linux"
}
]
} ,
"long_url" : "https://www.example.com/product/124141255" ,
"last_update" : "2024-01-28 12:29:58"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/info?id=cc80669db6b2b6093a9d120464f25e91&format=xml
Query parameters
id = cc80669db6b2b6093a9d120464f25e91
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<alerts>
<i0>
<message> URL redirects to . </message>
<occurrencies> 56 </occurrencies>
<date>
<from> 2024-01-30 12:29:58 </from>
<to> 2024-02-10 12:29:58 </to>
</date>
</i0>
</alerts>
<browsers>
<mobile>
<i0>
<BrowserName> Openwave Mobile Browser 6.2.3.3.c.1.101 </BrowserName>
<Platform> Unix sun </Platform>
<MobileDevice> Samsung </MobileDevice>
</i0>
<i1> [...] </i1>
<i2>
<BrowserName> DoCoMo 3.0 </BrowserName>
<Platform> -- </Platform>
<MobileDevice> -- </MobileDevice>
</i2>
</mobile>
<desktop>
<i0>
<BrowserName> Google AdSense </BrowserName>
<Platform> -- </Platform>
</i0>
<i1> [...] </i1>
<i2>
<BrowserName> Shiretoko Firefox 3.5 </BrowserName>
<Platform> Linux </Platform>
</i2>
</desktop>
</browsers>
<long_url> https://www.example.com/product/124141255 </long_url>
<last_update> 2024-01-28 12:29:58 </last_update>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/info?id=cc80669db6b2b6093a9d120464f25e91&format=txt
Query parameters
id = cc80669db6b2b6093a9d120464f25e91
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_alerts_0_message = URL redirects to .
result_data_alerts_0_occurrencies = 56
result_data_alerts_0_date_from = 2024-01-30 12:29:58
result_data_alerts_0_date_to = 2024-02-10 12:29:58
result_data_browsers_mobile_0_BrowserName = Openwave Mobile Browser 6.2.3.3.c.1.101
result_data_browsers_mobile_0_Platform = Unix sun
result_data_browsers_mobile_0_MobileDevice = Samsung
result_data_browsers_mobile_1 = [...]
result_data_browsers_mobile_2_BrowserName = DoCoMo 3.0
result_data_browsers_mobile_2_Platform = --
result_data_browsers_mobile_2_MobileDevice = --
result_data_browsers_desktop_0_BrowserName = Google AdSense
result_data_browsers_desktop_0_Platform = --
result_data_browsers_desktop_1 = [...]
result_data_browsers_desktop_2_BrowserName = Shiretoko Firefox 3.5
result_data_browsers_desktop_2_Platform = Linux
result_data_long_url = https://www.example.com/product/124141255
result_data_last_update = 2024-01-28 12:29:58
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/watchdogs/alerts/info?id=cc80669db6b2b6093a9d120464f25e91&format=plain
Query parameters
id = cc80669db6b2b6093a9d120464f25e91
format = plain
Response
URL redirects to .
56
2024-01-30 12:29:58
2024-02-10 12:29:58
Openwave Mobile Browser 6.2.3.3.c.1.101
Unix sun
Samsung
[...]
DoCoMo 3.0
--
--
Google AdSense
--
[...]
Shiretoko Firefox 3.5
Linux
https://www.example.com/product/124141255
2024-01-28 12:29:58
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
data
array containing information for the alerts
Return data contains:
alerts : array containing information about the errors that the watchdog encountered during the tests: message : message from the watchdog occurrencies : number of times the error was found date : the error was found from the date to the date browsers : list of tested browsers: mobile : tested mobile browsers, if available desktop : tested desktop browsers, if available long_url : current destination URL of the tracking link last_update : date the destination URL was last modified
/urls/whatsapps /urls/whatsapps/clone
access: [WRITE]
Clone the whatsapps configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/whatsapps/clone?from_url_id=365cce109737fd46414da6e93a505714&to_url_id=272232c92ec82ad24f962c17a7bbac52
Query parameters
from_url_id = 365cce109737fd46414da6e93a505714
to_url_id = 272232c92ec82ad24f962c17a7bbac52
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/whatsapps/clone?from_url_id=365cce109737fd46414da6e93a505714&to_url_id=272232c92ec82ad24f962c17a7bbac52&format=xml
Query parameters
from_url_id = 365cce109737fd46414da6e93a505714
to_url_id = 272232c92ec82ad24f962c17a7bbac52
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/whatsapps/clone?from_url_id=365cce109737fd46414da6e93a505714&to_url_id=272232c92ec82ad24f962c17a7bbac52&format=txt
Query parameters
from_url_id = 365cce109737fd46414da6e93a505714
to_url_id = 272232c92ec82ad24f962c17a7bbac52
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/whatsapps/clone?from_url_id=365cce109737fd46414da6e93a505714&to_url_id=272232c92ec82ad24f962c17a7bbac52&format=plain
Query parameters
from_url_id = 365cce109737fd46414da6e93a505714
to_url_id = 272232c92ec82ad24f962c17a7bbac52
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy the whatsapps configuration from
to_url_idID
ID of the tracking link you want to the whatsapps configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/urls/whatsapps/delete
access: [WRITE]
Delete a WhatsUrl configuration for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/whatsapps/delete?url_id=f16d3fc26b4831cbda08fa30734d3c3d
Query parameters
url_id = f16d3fc26b4831cbda08fa30734d3c3d
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/whatsapps/delete?url_id=f16d3fc26b4831cbda08fa30734d3c3d&format=xml
Query parameters
url_id = f16d3fc26b4831cbda08fa30734d3c3d
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/whatsapps/delete?url_id=f16d3fc26b4831cbda08fa30734d3c3d&format=txt
Query parameters
url_id = f16d3fc26b4831cbda08fa30734d3c3d
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/whatsapps/delete?url_id=f16d3fc26b4831cbda08fa30734d3c3d&format=plain
Query parameters
url_id = f16d3fc26b4831cbda08fa30734d3c3d
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link from which to remove a WhatsUrl configuration
Return values
parameter
description
deleted
1 on success, 0 otherwise
/urls/whatsapps/edit
access: [WRITE]
Set WhatsApp settings for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/whatsapps/edit?id=dd429ef03e8c98e2c33a337c55aa0c7c&settings=%7B%22whatsapp_phone%22%3A%221234567890123%22,%22whatsapp_message%22%3A%22This+is+a+text+message%22,%22whatsapp_message_html%22%3A%22This+is+a+text+message%22,%22whatsapp_disclaimer%22%3A1%7D
Query parameters
id = dd429ef03e8c98e2c33a337c55aa0c7c
settings = {"whatsapp_phone":"1234567890123","whatsapp_message":"This is a text message","whatsapp_message_html":"This is a text message","whatsapp_disclaimer":1}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/whatsapps/edit?id=dd429ef03e8c98e2c33a337c55aa0c7c&settings=%7B%22whatsapp_phone%22%3A%221234567890123%22,%22whatsapp_message%22%3A%22This+is+a+text+message%22,%22whatsapp_message_html%22%3A%22This+is+a+text+message%22,%22whatsapp_disclaimer%22%3A1%7D&format=xml
Query parameters
id = dd429ef03e8c98e2c33a337c55aa0c7c
settings = {"whatsapp_phone":"1234567890123","whatsapp_message":"This is a text message","whatsapp_message_html":"This is a text message","whatsapp_disclaimer":1}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/whatsapps/edit?id=dd429ef03e8c98e2c33a337c55aa0c7c&settings=%7B%22whatsapp_phone%22%3A%221234567890123%22,%22whatsapp_message%22%3A%22This+is+a+text+message%22,%22whatsapp_message_html%22%3A%22This+is+a+text+message%22,%22whatsapp_disclaimer%22%3A1%7D&format=txt
Query parameters
id = dd429ef03e8c98e2c33a337c55aa0c7c
settings = {"whatsapp_phone":"1234567890123","whatsapp_message":"This is a text message","whatsapp_message_html":"This is a text message","whatsapp_disclaimer":1}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/whatsapps/edit?id=dd429ef03e8c98e2c33a337c55aa0c7c&settings=%7B%22whatsapp_phone%22%3A%221234567890123%22,%22whatsapp_message%22%3A%22This+is+a+text+message%22,%22whatsapp_message_html%22%3A%22This+is+a+text+message%22,%22whatsapp_disclaimer%22%3A1%7D&format=plain
Query parameters
id = dd429ef03e8c98e2c33a337c55aa0c7c
settings = {"whatsapp_phone":"1234567890123","whatsapp_message":"This is a text message","whatsapp_message_html":"This is a text message","whatsapp_disclaimer":1}
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the tracking link
settingsJSON
stringified JSON containing the Whatsapp settings
Return values
parameter
description
enabled
1 on success, 0 otherwise
/urls/whatsapps/info
access: [READ]
Get settings for the WhatsApp option.
Example 1 (json)
Request
https://joturl.com/a/i1/urls/whatsapps/info?id=74e931f1913dd578cc13826d17e3d052
Query parameters
id = 74e931f1913dd578cc13826d17e3d052
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"compatible" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/urls/whatsapps/info?id=74e931f1913dd578cc13826d17e3d052&format=xml
Query parameters
id = 74e931f1913dd578cc13826d17e3d052
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<compatible> 0 </compatible>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/urls/whatsapps/info?id=74e931f1913dd578cc13826d17e3d052&format=txt
Query parameters
id = 74e931f1913dd578cc13826d17e3d052
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_compatible = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/urls/whatsapps/info?id=74e931f1913dd578cc13826d17e3d052&format=plain
Query parameters
id = 74e931f1913dd578cc13826d17e3d052
format = plain
Response
0
Required parameters
parameter
description
idID
ID of the tracking link
Return values
parameter
description
settings
array containing the settings for the WhatsApp option
/users /users/2fa /users/2fa/disable
access: [WRITE]
This method disable the 2-factor authentication for the logged in user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/2fa/disable?code=322384
Query parameters
code = 322384
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/2fa/disable?code=322384&format=xml
Query parameters
code = 322384
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/2fa/disable?code=322384&format=txt
Query parameters
code = 322384
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/2fa/disable?code=322384&format=plain
Query parameters
code = 322384
format = plain
Response
1
Required parameters
parameter
description
max length
codeSTRING
security code given by the authenticator app or one of the backup codes
8
Return values
parameter
description
disabled
1 if the 2-factor authentication deactivation was successful, otherwise an error is returned
/users/2fa/enable
access: [WRITE]
This method enable the 2-factor authentication for the logged in user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/2fa/enable?code=322384
Query parameters
code = 322384
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/2fa/enable?code=322384&format=xml
Query parameters
code = 322384
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/2fa/enable?code=322384&format=txt
Query parameters
code = 322384
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/2fa/enable?code=322384&format=plain
Query parameters
code = 322384
format = plain
Response
1
Required parameters
parameter
description
max length
codeSTRING
security code given by the authenticator app
6
Return values
parameter
description
enabled
1 if the 2-factor authentication activation was successful, otherwise an error is returned
/users/2fa/info
access: [READ]
This method returns info on the 2-factor authentication status of the logged in user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/2fa/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 0 ,
"label" : "JotUrl - my@email.address" ,
"secret" : "2f5cfe00cbe5c15bbeae69812bb9040f" ,
"uri" : "otpauth://totp/JotUrl+-+my%40email.address?secret=2f5cfe00cbe5c15bbeae69812bb9040f"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/2fa/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 0 </enabled>
<label> JotUrl - my@email.address </label>
<secret> 2f5cfe00cbe5c15bbeae69812bb9040f </secret>
<uri> otpauth://totp/JotUrl+-+my%40email.address?secret=2f5cfe00cbe5c15bbeae69812bb9040f </uri>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/2fa/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 0
result_label = JotUrl - my@email.address
result_secret = 2f5cfe00cbe5c15bbeae69812bb9040f
result_uri = otpauth://totp/JotUrl+-+my%40email.address?secret=2f5cfe00cbe5c15bbeae69812bb9040f
Example 4 (plain)
Request
https://joturl.com/a/i1/users/2fa/info?format=plain
Query parameters
format = plain
Response
0
JotUrl - my@email.address
2f5cfe00cbe5c15bbeae69812bb9040f
otpauth://totp/JotUrl+-+my%40email.address?secret=2f5cfe00cbe5c15bbeae69812bb9040f
Optional parameters
parameter
description
max length
codeSTRING
security code given by the authenticator app or one of the backup codes
8
statusBOOLEAN
1 to request only the status without generating/returning 2FA information (default: 0)
Return values
parameter
description
backup
[OPTIONAL] returned only if enabled = 0
or if code
is passed, backup codes for the 2-factor authentication
enabled
1 if the 2-factor authentication is enabled for the logged in user, 0 otherwise
label
[OPTIONAL] returned only if enabled = 0
or if code
is passed, this is the label that will be displayed in the authenticator app
secret
[OPTIONAL] returned only if enabled = 0
or if code
is passed, it is the secret key used by the authenticator app
uri
[OPTIONAL] returned only if enabled = 0
or if code
is passed, it is the provisioning URI to enable 2-factor authentication
/users/blocked_ips /users/blocked_ips/add
access: [WRITE]
Add IPs to the block list.
Example 1 (json)
Request
https://joturl.com/a/i1/users/blocked_ips/add?ips=8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.%2A
Query parameters
ips = 8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.*
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 5
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/blocked_ips/add?ips=8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.%2A&format=xml
Query parameters
ips = 8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.*
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 5 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/blocked_ips/add?ips=8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.%2A&format=txt
Query parameters
ips = 8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.*
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 5
Example 4 (plain)
Request
https://joturl.com/a/i1/users/blocked_ips/add?ips=8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.%2A&format=plain
Query parameters
ips = 8.8.204.0,8.8.212.0,8.8.213.0,8.8.216.0,8.8.109.*
format = plain
Response
5
Required parameters
parameter
description
ipsARRAY
array of IPs to add to the block list
Return values
parameter
description
count
total number of added IPs
/users/blocked_ips/count
access: [READ]
This method returns the number of blocked IPs.
Example 1 (json)
Request
https://joturl.com/a/i1/users/blocked_ips/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/blocked_ips/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/blocked_ips/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/users/blocked_ips/count?format=plain
Query parameters
format = plain
Response
3
Return values
parameter
description
count
total number of blocked IPs
/users/blocked_ips/delete
access: [WRITE]
Delete one or more blocked IPs.
Example 1 (json)
Request
https://joturl.com/a/i1/users/blocked_ips/delete?ips=8.8.55.0,8.8.172.0,8.8.25.%2A
Query parameters
ips = 8.8.55.0,8.8.172.0,8.8.25.*
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 3
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/blocked_ips/delete?ips=8.8.55.0,8.8.172.0,8.8.25.%2A&format=xml
Query parameters
ips = 8.8.55.0,8.8.172.0,8.8.25.*
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 3 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/blocked_ips/delete?ips=8.8.55.0,8.8.172.0,8.8.25.%2A&format=txt
Query parameters
ips = 8.8.55.0,8.8.172.0,8.8.25.*
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 3
Example 4 (plain)
Request
https://joturl.com/a/i1/users/blocked_ips/delete?ips=8.8.55.0,8.8.172.0,8.8.25.%2A&format=plain
Query parameters
ips = 8.8.55.0,8.8.172.0,8.8.25.*
format = plain
Response
3
Required parameters
parameter
description
ipsARRAY
array of blocked IPs to be deleted
Return values
parameter
description
count
total number of blocked IPs that have been deleted
/users/blocked_ips/is_blacklisted
access: [WRITE]
This method checks if the IPs in a list are blocked.
Example 1 (json)
Request
https://joturl.com/a/i1/users/blocked_ips/is_blacklisted?ids=8.8.49.0,8.8.101.0,8.8.75.0
Query parameters
ids = 8.8.49.0,8.8.101.0,8.8.75.0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ips" : {
"8.8.49.0" : {
"blacklisted" : 1
} ,
"8.8.101.0" : {
"blacklisted" : 0
} ,
"8.8.75.0" : {
"blacklisted" : 0
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/blocked_ips/is_blacklisted?ids=8.8.49.0,8.8.101.0,8.8.75.0&format=xml
Query parameters
ids = 8.8.49.0,8.8.101.0,8.8.75.0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ips>
<8.8.49.0>
<blacklisted> 1 </blacklisted>
</8.8.49.0>
<8.8.101.0>
<blacklisted> 0 </blacklisted>
</8.8.101.0>
<8.8.75.0>
<blacklisted> 0 </blacklisted>
</8.8.75.0>
</ips>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/blocked_ips/is_blacklisted?ids=8.8.49.0,8.8.101.0,8.8.75.0&format=txt
Query parameters
ids = 8.8.49.0,8.8.101.0,8.8.75.0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ips_8.8.49.0_blacklisted = 1
result_ips_8.8.101.0_blacklisted = 0
result_ips_8.8.75.0_blacklisted = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/users/blocked_ips/is_blacklisted?ids=8.8.49.0,8.8.101.0,8.8.75.0&format=plain
Query parameters
ids = 8.8.49.0,8.8.101.0,8.8.75.0
format = plain
Response
1
0
0
Required parameters
parameter
description
ipsARRAY
array of IPs to be checked
Return values
parameter
description
ids
JSON object that contains each valid IP in ips
with its check result {"[IP1]":{"blacklisted":"[1|0]"},...,"[IPN]":{"blacklisted":"[1|0]"}}
/users/blocked_ips/list
access: [READ]
This method returns a list of blocked IPs.
Example 1 (json)
Request
https://joturl.com/a/i1/users/blocked_ips/list?fields=ip,count
Query parameters
fields = ip,count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 4 ,
"data" : [
"8.8.150.0" ,
"8.8.188.0" ,
"8.8.107.0" ,
"8.8.123.0" ,
"8.8.34.*"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/blocked_ips/list?fields=ip,count&format=xml
Query parameters
fields = ip,count
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 4 </count>
<data>
<i0> 8.8.150.0 </i0>
<i1> 8.8.188.0 </i1>
<i2> 8.8.107.0 </i2>
<i3> 8.8.123.0 </i3>
<i4> 8.8.34.* </i4>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/blocked_ips/list?fields=ip,count&format=txt
Query parameters
fields = ip,count
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 4
result_data_0 = 8.8.150.0
result_data_1 = 8.8.188.0
result_data_2 = 8.8.107.0
result_data_3 = 8.8.123.0
result_data_4 = 8.8.34.*
Example 4 (plain)
Request
https://joturl.com/a/i1/users/blocked_ips/list?fields=ip,count&format=plain
Query parameters
fields = ip,count
format = plain
Response
4
8.8.150.0
8.8.188.0
8.8.107.0
8.8.123.0
8.8.34.*
Example 5 (json)
Request
https://joturl.com/a/i1/users/blocked_ips/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
"8.8.27.10" ,
"8.8.218.45"
]
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/users/blocked_ips/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0> 8.8.27.10 </i0>
<i1> 8.8.218.45 </i1>
</data>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/users/blocked_ips/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0 = 8.8.27.10
result_data_1 = 8.8.218.45
Example 8 (plain)
Request
https://joturl.com/a/i1/users/blocked_ips/list?format=plain
Query parameters
format = plain
Response
8.8.27.10
8.8.218.45
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: ip, count
Return values
parameter
description
count
[OPTIONAL] total number of blocked IPs, returned only if count
is passed in fields
data
array containing a list of blocked IPs
/users/captcha
access: [WRITE]
This method emits a captcha.
Example 1 (json)
Request
https://joturl.com/a/i1/users/captcha?captcha=20857fdc
Query parameters
captcha = 20857fdc
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"captcha" : "20857fdc" ,
"url" : "/a/i1/users/captcha?captcha=20857fdc"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/captcha?captcha=20857fdc&format=xml
Query parameters
captcha = 20857fdc
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<captcha> 20857fdc </captcha>
<url> /a/i1/users/captcha?captcha=20857fdc </url>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/captcha?captcha=20857fdc&format=txt
Query parameters
captcha = 20857fdc
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_captcha = 20857fdc
result_url = /a/i1/users/captcha?captcha=20857fdc
Example 4 (plain)
Request
https://joturl.com/a/i1/users/captcha?captcha=20857fdc&format=plain
Query parameters
captcha = 20857fdc
format = plain
Response
20857fdc
/a/i1/users/captcha?captcha=20857fdc
Optional parameters
parameter
description
captchaSTRING
ID of the captcha, if it is passed this method returns the corresponding captcha image if valid, otherwise returns an invalid parameter error
Return values
parameter
description
captcha
ID of the captcha
url
URL of the captcha image
The url field should be used to show the captcha to the user. The captcha is invalidated once shown.
/users/confirm
access: [WRITE]
This method executes confirm operations.
Example 1 (json)
Request
https://joturl.com/a/i1/users/confirm?info=d81df69c434dcdc32b13b08844b41cca
Query parameters
info = d81df69c434dcdc32b13b08844b41cca
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ok" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/confirm?info=d81df69c434dcdc32b13b08844b41cca&format=xml
Query parameters
info = d81df69c434dcdc32b13b08844b41cca
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ok> 1 </ok>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/confirm?info=d81df69c434dcdc32b13b08844b41cca&format=txt
Query parameters
info = d81df69c434dcdc32b13b08844b41cca
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ok = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/confirm?info=d81df69c434dcdc32b13b08844b41cca&format=plain
Query parameters
info = d81df69c434dcdc32b13b08844b41cca
format = plain
Response
1
Required parameters
parameter
description
infoSTRING
confirm token sent to the user email
Return values
parameter
description
ok
1 on success, otherwise a generic error is issued
/users/forgot
access: [WRITE]
This method manages the "forgot password" procedure.
Example 1 (json)
Request
https://joturl.com/a/i1/users/forgot?email=my.email%40addess.is.here&code=12345&captcha=bc9d6c14
Query parameters
email = my.email@addess.is.here
code = 12345
captcha = bc9d6c14
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"message" : "An e-mail with your login credentials has been sent to 'my.email@addess.is.here'."
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/forgot?email=my.email%40addess.is.here&code=12345&captcha=bc9d6c14&format=xml
Query parameters
email = my.email@addess.is.here
code = 12345
captcha = bc9d6c14
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<message> An e-mail with your login credentials has been sent to 'my.email@addess.is.here'. </message>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/forgot?email=my.email%40addess.is.here&code=12345&captcha=bc9d6c14&format=txt
Query parameters
email = my.email@addess.is.here
code = 12345
captcha = bc9d6c14
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_message = An e-mail with your login credentials has been sent to 'my.email@addess.is.here'.
Example 4 (plain)
Request
https://joturl.com/a/i1/users/forgot?email=my.email%40addess.is.here&code=12345&captcha=bc9d6c14&format=plain
Query parameters
email = my.email@addess.is.here
code = 12345
captcha = bc9d6c14
format = plain
Response
An e-mail with your login credentials has been sent to 'my.email@addess.is.here'.
Required parameters
parameter
description
max length
captchaSTRING
ID of the captcha, see i1/users/captcha for details
codeSTRING
the code present in the captcha image and that the user has transcribed
emailSTRING
email address of the user that wants to start the "forgot password" procedure
255
Call i1/users/captcha to retrieve the captcha ID and the captcha image URL. Then show the captcha to the user requesting him/her to transcribe the code shown on the captcha in the field code . Both code and captcha must be passed when this method is called.
/users/info
access: [READ]
This method returns info about the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/info
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"actually_subuser" : 0 ,
"company" : "JotUrl" ,
"default_domain_id" : "9a0418f9e8eddceca1dde388525ce728" ,
"email" : "my.email@address.to" ,
"full_name" : "Jon Smith" ,
"gender" : "m" ,
"is_readonly" : 0 ,
"location" : "IT" ,
"login" : "my.email@address.to" ,
"news_offers_consent" : 0 ,
"phone_number" : "+1234567891011" ,
"registration_time" : "2018-06-25 23:18:21" ,
"short_name" : "JS" ,
"spider_email" : "" ,
"spider_email_frequency" : 1 ,
"stats_permanency_days" : 365 ,
"subuser" : 0
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/info?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<actually_subuser> 0 </actually_subuser>
<company> JotUrl </company>
<default_domain_id> 9a0418f9e8eddceca1dde388525ce728 </default_domain_id>
<email> my.email@address.to </email>
<full_name> Jon Smith </full_name>
<gender> m </gender>
<is_readonly> 0 </is_readonly>
<location> IT </location>
<login> my.email@address.to </login>
<news_offers_consent> 0 </news_offers_consent>
<phone_number> +1234567891011 </phone_number>
<registration_time> 2018-06-25 23:18:21 </registration_time>
<short_name> JS </short_name>
<spider_email> </spider_email>
<spider_email_frequency> 1 </spider_email_frequency>
<stats_permanency_days> 365 </stats_permanency_days>
<subuser> 0 </subuser>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/info?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_actually_subuser = 0
result_company = JotUrl
result_default_domain_id = 9a0418f9e8eddceca1dde388525ce728
result_email = my.email@address.to
result_full_name = Jon Smith
result_gender = m
result_is_readonly = 0
result_location = IT
result_login = my.email@address.to
result_news_offers_consent = 0
result_phone_number = +1234567891011
result_registration_time = 2018-06-25 23:18:21
result_short_name = JS
result_spider_email =
result_spider_email_frequency = 1
result_stats_permanency_days = 365
result_subuser = 0
Example 4 (plain)
Request
https://joturl.com/a/i1/users/info?format=plain
Query parameters
format = plain
Response
0
JotUrl
9a0418f9e8eddceca1dde388525ce728
my.email@address.to
Jon Smith
m
0
IT
my.email@address.to
0
+1234567891011
2018-06-25 23:18:21
JS
1
365
0
Optional parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: actually_subuser, company, default_domain_id, email, full_name, gender, is_readonly, location, login, news_offers_consent, phone_number, registration_time, short_name, spider_email, spider_email_frequency, stats_permanency_days, subuser
If fields is not passed or if it is empty, all available fields are returned.
Return values
parameter
description
data
information on the user/subuser
/users/jotbars /users/jotbars/edit
access: [WRITE]
Set a jotbar option for a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/users/jotbars/edit?user_id=39501e7bc67cd6e40f2763295e2faad5&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D
Query parameters
user_id = 39501e7bc67cd6e40f2763295e2faad5
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/jotbars/edit?user_id=39501e7bc67cd6e40f2763295e2faad5&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=xml
Query parameters
user_id = 39501e7bc67cd6e40f2763295e2faad5
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/jotbars/edit?user_id=39501e7bc67cd6e40f2763295e2faad5&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=txt
Query parameters
user_id = 39501e7bc67cd6e40f2763295e2faad5
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/jotbars/edit?user_id=39501e7bc67cd6e40f2763295e2faad5&logo=https%3A%2F%2Fjoturl.com%2Flogo.svg&logo_url=https%3A%2F%2Fjoturl.com%2F&template=right&template_size=big&languages=en,it&default_language=&default_language=en&info=%7B%22en%22%3A%7B%22page_title%22%3A%22English+page+title%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BEN%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BEN%5D+HTML+questions%3C%5C%2Fp%3E%22%7D,%22it%22%3A%7B%22page_title%22%3A%22Titolo+pagina+in+italiano%22,%22description_title%22%3Anull,%22description%22%3A%22%3Cp%3E%5BIT%5D+HTML+description%3C%5C%2Fp%3E%22,%22questions_title%22%3Anull,%22questions%22%3A%22%3Cp%3E%5BIT%5D+HTML+questions%3C%5C%2Fp%3E%22%7D%7D&format=plain
Query parameters
user_id = 39501e7bc67cd6e40f2763295e2faad5
logo = https://joturl.com/logo.svg
logo_url = https://joturl.com/
template = right
template_size = big
languages = en,it
default_language = en
info = {"en":{"page_title":"English page title","description_title":null,"description":"<p>[EN] HTML description<\/p>","questions_title":null,"questions":"<p>[EN] HTML questions<\/p>"},"it":{"page_title":"Titolo pagina in italiano","description_title":null,"description":"<p>[IT] HTML description<\/p>","questions_title":null,"questions":"<p>[IT] HTML questions<\/p>"}}
format = plain
Response
1
Optional parameters
parameter
description
default_languageSTRING
set the account-level default language, see i1/users/languages/set for details
infoJSON
JSON containing page_title, description_title, description, questions_title, questions for each enabled language, see i1/users/languages/set for details
logoSTRING
it can be: the URL of the logo to be shown; empty or null
to disable it
logo_urlSTRING
when logo has an URL, this is the URL to which the user will be redirect when he/she clicks on the logo
show_feedbackSTRING
1 to show feedback, 0 to do not show it
templateSTRING
position of the jotbar, empty or null
to disable the jotbar feature, for available positions see i1/jotbars/property
template_sizeSTRING
dimension of the jotbar, empty or null
to disable the jotbar feature, for available dimensions see i1/jotbars/property
Return values
parameter
description
updated
1 on success, 0 otherwise
/users/jotbars/info
access: [READ]
Get account-level settings for the jotbar.
Example 1 (json)
Request
https://joturl.com/a/i1/users/jotbars/info?user_id=73729fa4772d63db59d0c978bcd9ff51
Query parameters
user_id = 73729fa4772d63db59d0c978bcd9ff51
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"logo" : "https://joturl.com/logo.svg" ,
"logo_url" : "https://joturl.com/" ,
"template" : "right" ,
"template_size" : "big" ,
"show_feedback" : null ,
"default_language" : "en" ,
"info" : {
"en" : {
"page_title" : "English page title" ,
"description_title" : null ,
"description" : "<p>[EN] HTML description</p>" ,
"questions_title" : null ,
"questions" : "<p>[EN] HTML questions</p>"
} ,
"it" : {
"page_title" : "Titolo pagina in italiano" ,
"description_title" : null ,
"description" : "<p>[IT] HTML description</p>" ,
"questions_title" : null ,
"questions" : "<p>[IT] HTML questions</p>"
}
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/jotbars/info?user_id=73729fa4772d63db59d0c978bcd9ff51&format=xml
Query parameters
user_id = 73729fa4772d63db59d0c978bcd9ff51
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<logo> https://joturl.com/logo.svg </logo>
<logo_url> https://joturl.com/ </logo_url>
<template> right </template>
<template_size> big </template_size>
<show_feedback> </show_feedback>
<default_language> en </default_language>
<info>
<en>
<page_title> English page title </page_title>
<description_title> </description_title>
<description> <p>[EN] HTML description</p> </description>
<questions_title> </questions_title>
<questions> <p>[EN] HTML questions</p> </questions>
</en>
<it>
<page_title> Titolo pagina in italiano </page_title>
<description_title> </description_title>
<description> <p>[IT] HTML description</p> </description>
<questions_title> </questions_title>
<questions> <p>[IT] HTML questions</p> </questions>
</it>
</info>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/jotbars/info?user_id=73729fa4772d63db59d0c978bcd9ff51&format=txt
Query parameters
user_id = 73729fa4772d63db59d0c978bcd9ff51
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_logo = https://joturl.com/logo.svg
result_logo_url = https://joturl.com/
result_template = right
result_template_size = big
result_show_feedback =
result_default_language = en
result_info_en_page_title = English page title
result_info_en_description_title =
result_info_en_description = <p>[EN] HTML description</p>
result_info_en_questions_title =
result_info_en_questions = <p>[EN] HTML questions</p>
result_info_it_page_title = Titolo pagina in italiano
result_info_it_description_title =
result_info_it_description = <p>[IT] HTML description</p>
result_info_it_questions_title =
result_info_it_questions = <p>[IT] HTML questions</p>
Example 4 (plain)
Request
https://joturl.com/a/i1/users/jotbars/info?user_id=73729fa4772d63db59d0c978bcd9ff51&format=plain
Query parameters
user_id = 73729fa4772d63db59d0c978bcd9ff51
format = plain
Response
https://joturl.com/logo.svg
https://joturl.com/
right
big
en
English page title
<p>[EN] HTML description</p>
<p>[EN] HTML questions</p>
Titolo pagina in italiano
<p>[IT] HTML description</p>
<p>[IT] HTML questions</p>
Return values
parameter
description
info
for each enabled language, it contains page_title, description_title, description, questions_title, questions, see the following notes for details
user_default_language
account-level default language, see i1/users/languages/list for details
user_logo
the URL of the logo to be shown or empty or null
to disable it
user_logo_url
when user_logo has an URL, this is the URL to which the user will be redirect when clicks on the logo
user_show_feedback
1 to show feedback, 0 to do not show it
user_template
position of the jotbar, empty or null
to disable the jotbar feature, for available positions see i1/jotbars/property
user_template_size
dimension of the jotbar, empty or null
to disable the jotbar feature, for available dimensions see i1/jotbars/property
The jotbar page is divided into 2 parts, the first one is called description , the second is called questions . Each part has a title (description_title, questions_title) and a HTML body (description, questions). Furthermore, it is possible to insert a page title (page_title) for each language, see i1/users/languages/set for details on enabled languages. These are account-level settings and apply to ALL tracking links, regardless of whether the jotbar option is enabled on tracking links.
/users/languages /users/languages/list
access: [READ]
This method returns a list of available languages for specific options (e.g., Masking, jotBar) of a tracking link.
Example 1 (json)
Request
https://joturl.com/a/i1/users/languages/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"languages" : [
{
"name" : "en" ,
"label" : "English"
} ,
{
"name" : "it" ,
"label" : "Italiano"
} ,
{
"name" : "de" ,
"label" : "Deutsch"
} ,
{
"name" : "fr" ,
"label" : "Française"
} ,
{
"name" : "es" ,
"label" : "Español"
} ,
{
"name" : "jp" ,
"label" : "日本"
}
] ,
"selected" : [
"en" ,
"it"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/languages/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<languages>
<i0>
<name> en </name>
<label> English </label>
</i0>
<i1>
<name> it </name>
<label> Italiano </label>
</i1>
<i2>
<name> de </name>
<label> Deutsch </label>
</i2>
<i3>
<name> fr </name>
<label> Française </label>
</i3>
<i4>
<name> es </name>
<label> Español </label>
</i4>
<i5>
<name> jp </name>
<label> 日本 </label>
</i5>
</languages>
<selected>
<i0> en </i0>
<i1> it </i1>
</selected>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/languages/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_languages_0_name = en
result_languages_0_label = English
result_languages_1_name = it
result_languages_1_label = Italiano
result_languages_2_name = de
result_languages_2_label = Deutsch
result_languages_3_name = fr
result_languages_3_label = Française
result_languages_4_name = es
result_languages_4_label = Español
result_languages_5_name = jp
result_languages_5_label = 日本
result_selected_0 = en
result_selected_1 = it
Example 4 (plain)
Request
https://joturl.com/a/i1/users/languages/list?format=plain
Query parameters
format = plain
Response
en
English
it
Italiano
de
Deutsch
fr
Française
es
Español
jp
日本
en
it
Return values
parameter
description
languages
array of available languages (name,label)
selected
array of enabled languages (name)
/users/languages/set
access: [WRITE]
This method enables a list of languages for the current user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/languages/set?langs=en,it
Query parameters
langs = en,it
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/languages/set?langs=en,it&format=xml
Query parameters
langs = en,it
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/languages/set?langs=en,it&format=txt
Query parameters
langs = en,it
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/languages/set?langs=en,it&format=plain
Query parameters
langs = en,it
format = plain
Response
1
Required parameters
parameter
description
langsARRAY
comma-separated list of languages to enable, each language is identified by its name, see i1/users/languages/list for details
Return values
parameter
description
updated
1 in case of success, 0 in case of failure or if there was no change in the list of languages
/users/login
access: [WRITE]
This method allows a user to login into the private area via credentials or through an external provider.
Example 1 (json)
Request
https://joturl.com/a/i1/users/login?username=username%40domain.ext&password=35298924
Query parameters
username = username@domain.ext
password = 35298924
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"session_id" : "b68668b3f56d437e8a1666c354f42ce3"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/login?username=username%40domain.ext&password=35298924&format=xml
Query parameters
username = username@domain.ext
password = 35298924
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<session_id> b68668b3f56d437e8a1666c354f42ce3 </session_id>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/login?username=username%40domain.ext&password=35298924&format=txt
Query parameters
username = username@domain.ext
password = 35298924
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_session_id = b68668b3f56d437e8a1666c354f42ce3
Example 4 (plain)
Request
https://joturl.com/a/i1/users/login?username=username%40domain.ext&password=35298924&format=plain
Query parameters
username = username@domain.ext
password = 35298924
format = plain
Response
b68668b3f56d437e8a1666c354f42ce3
Optional parameters
parameter
description
max length
captchaSTRING
used when signup = 1
, see i1/users/signup for details
codeSTRING
used when signup = 1
, see i1/users/signup for details
news_offers_consentBOOLEAN
used when signup = 1
, see i1/users/signup for details
passwordSTRING
password to use to log in
100
providerSTRING
alternative login provider, available providers: microsoftgraph, amazon, google, facebook, twitter, windowslive, linkedin
100
redirectURL
redirect URL to be used after logged in, only used if parameter provider
is passed
4000
signupBOOLEAN
used when provider
is passed, signup = 1
forces the signup from an alternative login when the user is not already registered, signup = 0
has no effect
tfa_codeSTRING
2-factor authentication code if enabled, see i1/users/2fa/info for details
tokenSTRING
used when signup = 1
, see i1/users/signup for details
tos_pp_consentBOOLEAN
used when signup = 1
, see i1/users/signup for details
usernameSTRING
user name to use to log in
255
Parameter code password ) is mandatory if code username ) is passed, if none of the optional parameters is passed, this method returns the current session ID (if available).
Return values
parameter
description
datetime
server date and time, to be used to synchronize calls
session_id
ID of the login session
/users/logout
access: [WRITE]
This method executes a logout.
Example 1 (json)
Request
https://joturl.com/a/i1/users/logout
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/logout?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/logout?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
Example 4 (plain)
Request
https://joturl.com/a/i1/users/logout?format=plain
Query parameters
format = plain
Response
200
OK
Optional parameters
parameter
description
logout_allBOOLEAN
set to 1 if you want to disconnect from all accounts on all devices
Return values
parameter
description
old_session_id
ID of the login session that was just destroyed
redir_url
URL to redirect the user to
/users/notifications /users/notifications/count
access: [READ]
This method returns the number of new notifications for the user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/notifications/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/notifications/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/notifications/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/notifications/count?format=plain
Query parameters
format = plain
Response
1
Return values
parameter
description
count
number of available notifications
/users/notifications/list
access: [READ]
This method returns a list of notifications for the user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/notifications/list
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"2020-10-24" : [
{
"notification_id" : "91733b1137fae1ecc61da179b4837fe6" ,
"datetime" : "2020-10-24T18:20:39+02:00" ,
"read" : 0 ,
"type" : 0 ,
"type_description" : "deleted" ,
"short_url" : "jo.my/joturl" ,
"who" : "User Name (user@email)" ,
"long_url" : {
"old" : "" ,
"new" : ""
}
} ,
{
"notification_id" : "32937d95758476da2c1d15dd5c49f122" ,
"datetime" : "2020-10-24T18:16:47+02:00" ,
"read" : 1 ,
"type" : 0 ,
"type_description" : "deleted" ,
"short_url" : "jo.my/joturl" ,
"who" : "you" ,
"long_url" : {
"old" : "" ,
"new" : ""
}
}
] ,
"2020-10-20" : [
{
"notification_id" : "8c582d878a299e50668fc668060745bd" ,
"datetime" : "2020-10-20T16:37:32+02:00" ,
"read" : 1 ,
"type" : 1 ,
"type_description" : "long url changed" ,
"short_url" : "jo.my/joturl" ,
"who" : "you" ,
"long_url" : {
"old" : "http://www.joturl.com/" ,
"new" : "https://joturl.com/"
}
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/notifications/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<2020-10-24>
<i0>
<notification_id> 91733b1137fae1ecc61da179b4837fe6 </notification_id>
<datetime> 2020-10-24T18:20:39+02:00 </datetime>
<read> 0 </read>
<type> 0 </type>
<type_description> deleted </type_description>
<short_url> jo.my/joturl </short_url>
<who> User Name (user@email) </who>
<long_url>
<old> </old>
<new> </new>
</long_url>
</i0>
<i1>
<notification_id> 32937d95758476da2c1d15dd5c49f122 </notification_id>
<datetime> 2020-10-24T18:16:47+02:00 </datetime>
<read> 1 </read>
<type> 0 </type>
<type_description> deleted </type_description>
<short_url> jo.my/joturl </short_url>
<who> you </who>
<long_url>
<old> </old>
<new> </new>
</long_url>
</i1>
</2020-10-24>
<2020-10-20>
<i0>
<notification_id> 8c582d878a299e50668fc668060745bd </notification_id>
<datetime> 2020-10-20T16:37:32+02:00 </datetime>
<read> 1 </read>
<type> 1 </type>
<type_description> long url changed </type_description>
<short_url> jo.my/joturl </short_url>
<who> you </who>
<long_url>
<old> http://www.joturl.com/ </old>
<new> https://joturl.com/ </new>
</long_url>
</i0>
</2020-10-20>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/notifications/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_2020-10-24_0_notification_id = 91733b1137fae1ecc61da179b4837fe6
result_2020-10-24_0_datetime = 2020-10-24T18:20:39+02:00
result_2020-10-24_0_read = 0
result_2020-10-24_0_type = 0
result_2020-10-24_0_type_description = deleted
result_2020-10-24_0_short_url = jo.my/joturl
result_2020-10-24_0_who = User Name (user@email)
result_2020-10-24_0_long_url_old =
result_2020-10-24_0_long_url_new =
result_2020-10-24_1_notification_id = 32937d95758476da2c1d15dd5c49f122
result_2020-10-24_1_datetime = 2020-10-24T18:16:47+02:00
result_2020-10-24_1_read = 1
result_2020-10-24_1_type = 0
result_2020-10-24_1_type_description = deleted
result_2020-10-24_1_short_url = jo.my/joturl
result_2020-10-24_1_who = you
result_2020-10-24_1_long_url_old =
result_2020-10-24_1_long_url_new =
result_2020-10-20_0_notification_id = 8c582d878a299e50668fc668060745bd
result_2020-10-20_0_datetime = 2020-10-20T16:37:32+02:00
result_2020-10-20_0_read = 1
result_2020-10-20_0_type = 1
result_2020-10-20_0_type_description = long url changed
result_2020-10-20_0_short_url = jo.my/joturl
result_2020-10-20_0_who = you
result_2020-10-20_0_long_url_old = http://www.joturl.com/
result_2020-10-20_0_long_url_new = https://joturl.com/
Example 4 (plain)
Request
https://joturl.com/a/i1/users/notifications/list?format=plain
Query parameters
format = plain
Response
jo.my/joturl
jo.my/joturl
jo.my/joturl
Optional parameters
parameter
description
lengthINTEGER
extracts this number of notifications (maxmimum allowed: 100)
startINTEGER
starts to extract notifications from this position
Return values
parameter
description
data
array containing information on notifications
The output data
field is in the format {"date":[{INFO}]}, where date
is the date on which the notification was issued, and {INFO}
contains:
notification_id : ID of the notification datetime : date/time (ISO 8601 date/time) of the notification read : 1 if the notification has already been read, 0 otherwise type : (integer) notification type (see below for available types) type_description : notification type description short_url : involved tracking link who : identifier of the user who caused the generation of the notification, special users are you
(i.e., that is, the user himself), admin
(i.e., JotUrl administrator), system
(i.e., the JotUrl engine) long_url : available only if the notification is related to a change of destination URL or the tracking link has been deleted, it is a JSON object containing the fields old
(i.e., the old destination URL) and new
(i.e., the new destination URL) deactivation_in_days : [OPTIONAL] only present when type = 4
, the URL will be disabled upon expiry of the indicated number of days Available types :
0 : the tracking link has been deleted (type_description = deleted
) 1 : the destination URL has been changed (type_description = long url changed
) 2 : the tracking link has been disabled (type_description = url disabled
) 3 : the tracking link has been enabled (type_description = url enabled
) 4 : the URL will be disabled for security reasons (type_description = url will be deactivated
) 5 : the deactivation process was aborted (type_description = deactivation disabled
) 6 : generic/unknow operation (type_description = unknown
)
/users/renew
access: [WRITE]
This method executes renew operations.
Example 1 (json)
Request
https://joturl.com/a/i1/users/renew?info=2697eeb9dd5543e0e81be11db3550c64
Query parameters
info = 2697eeb9dd5543e0e81be11db3550c64
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ok" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/renew?info=2697eeb9dd5543e0e81be11db3550c64&format=xml
Query parameters
info = 2697eeb9dd5543e0e81be11db3550c64
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ok> 1 </ok>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/renew?info=2697eeb9dd5543e0e81be11db3550c64&format=txt
Query parameters
info = 2697eeb9dd5543e0e81be11db3550c64
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ok = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/renew?info=2697eeb9dd5543e0e81be11db3550c64&format=plain
Query parameters
info = 2697eeb9dd5543e0e81be11db3550c64
format = plain
Response
1
Required parameters
parameter
description
infoSTRING
token sent to the user email
/users/reports /users/reports/get
access: [READ]
This method get the configuration for reports.
Example 1 (json)
Request
https://joturl.com/a/i1/users/reports/get
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"enabled" : 1 ,
"position" : "top_left" ,
"id" : "e69f30cf1878adf3c3b1edadcf93da56" ,
"metadata" : {
"name" : "my logo" ,
"creation" : "2024-02-10 12:29:58" ,
"width" : 400 ,
"height" : 300 ,
"size" : 32442 ,
"url" : "https://cdn.endpoint/path/to/resource"
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/reports/get?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<enabled> 1 </enabled>
<position> top_left </position>
<id> e69f30cf1878adf3c3b1edadcf93da56 </id>
<metadata>
<name> my logo </name>
<creation> 2024-02-10 12:29:58 </creation>
<width> 400 </width>
<height> 300 </height>
<size> 32442 </size>
<url> https://cdn.endpoint/path/to/resource </url>
</metadata>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/reports/get?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_enabled = 1
result_position = top_left
result_id = e69f30cf1878adf3c3b1edadcf93da56
result_metadata_name = my logo
result_metadata_creation = 2024-02-10 12:29:58
result_metadata_width = 400
result_metadata_height = 300
result_metadata_size = 32442
result_metadata_url = https://cdn.endpoint/path/to/resource
Example 4 (plain)
Request
https://joturl.com/a/i1/users/reports/get?format=plain
Query parameters
format = plain
Response
1
top_left
e69f30cf1878adf3c3b1edadcf93da56
my logo
2024-02-10 12:29:58
400
300
32442
https://cdn.endpoint/path/to/resource
Return values
parameter
description
enabled
1 when custom logo in reports is enabled, 0 otherwise
id
ID of the CDN resource used as custom logo in reports if enabled = 1
, empty or null
if enabled = 0
metadata
array containing information on the CDN resource
position
position of the custom logo if enabled = 1
, empty or null
if enabled = 0
/users/reports/property
access: [READ]
Returns allowed position for the custom logo in reports.
Example 1 (json)
Request
https://joturl.com/a/i1/users/reports/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"positions" : [
"top_left" ,
"top_center" ,
"top_right"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/reports/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<positions>
<i0> top_left </i0>
<i1> top_center </i1>
<i2> top_right </i2>
</positions>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/reports/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_positions_0 = top_left
result_positions_1 = top_center
result_positions_2 = top_right
Example 4 (plain)
Request
https://joturl.com/a/i1/users/reports/property?format=plain
Query parameters
format = plain
Response
top_left
top_center
top_right
Return values
parameter
description
positions
available position for the custom logo in reports
/users/reports/set
access: [WRITE]
This method sets the configuration for reports.
Example 1 (json)
Request
https://joturl.com/a/i1/users/reports/set?enabled=0
Query parameters
enabled = 0
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/reports/set?enabled=0&format=xml
Query parameters
enabled = 0
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/reports/set?enabled=0&format=txt
Query parameters
enabled = 0
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/reports/set?enabled=0&format=plain
Query parameters
enabled = 0
format = plain
Response
1
Example 5 (json)
Request
https://joturl.com/a/i1/users/reports/set?enabled=1&id=62c9036cb7134a9684627c8a7dfac2c6&position=top_left
Query parameters
enabled = 1
id = 62c9036cb7134a9684627c8a7dfac2c6
position = top_left
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 6 (xml)
Request
https://joturl.com/a/i1/users/reports/set?enabled=1&id=62c9036cb7134a9684627c8a7dfac2c6&position=top_left&format=xml
Query parameters
enabled = 1
id = 62c9036cb7134a9684627c8a7dfac2c6
position = top_left
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 7 (txt)
Request
https://joturl.com/a/i1/users/reports/set?enabled=1&id=62c9036cb7134a9684627c8a7dfac2c6&position=top_left&format=txt
Query parameters
enabled = 1
id = 62c9036cb7134a9684627c8a7dfac2c6
position = top_left
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 8 (plain)
Request
https://joturl.com/a/i1/users/reports/set?enabled=1&id=62c9036cb7134a9684627c8a7dfac2c6&position=top_left&format=plain
Query parameters
enabled = 1
id = 62c9036cb7134a9684627c8a7dfac2c6
position = top_left
format = plain
Response
1
Required parameters
parameter
description
enabledBOOLEAN
1 to enable the custom logo in reports, 0 to disable it
Optional parameters
Return values
parameter
description
deleted
[OPTIONAL] 1 on success, 0 otherwise, only returned when enabled = 0
updated
[OPTIONAL] 1 on success, 0 otherwise, only returned when enabled = 1
/users/set
access: [WRITE]
This method set info about the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/set?old_password=c1ff8f4b258d1ecb179d7bd40ced663f&new_password=0e1c699f78ed19993d7e27d7f3b76ad6&confirm_password=0e1c699f78ed19993d7e27d7f3b76ad6
Query parameters
old_password = c1ff8f4b258d1ecb179d7bd40ced663f
new_password = 0e1c699f78ed19993d7e27d7f3b76ad6
confirm_password = 0e1c699f78ed19993d7e27d7f3b76ad6
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"updated" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/set?old_password=c1ff8f4b258d1ecb179d7bd40ced663f&new_password=0e1c699f78ed19993d7e27d7f3b76ad6&confirm_password=0e1c699f78ed19993d7e27d7f3b76ad6&format=xml
Query parameters
old_password = c1ff8f4b258d1ecb179d7bd40ced663f
new_password = 0e1c699f78ed19993d7e27d7f3b76ad6
confirm_password = 0e1c699f78ed19993d7e27d7f3b76ad6
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/set?old_password=c1ff8f4b258d1ecb179d7bd40ced663f&new_password=0e1c699f78ed19993d7e27d7f3b76ad6&confirm_password=0e1c699f78ed19993d7e27d7f3b76ad6&format=txt
Query parameters
old_password = c1ff8f4b258d1ecb179d7bd40ced663f
new_password = 0e1c699f78ed19993d7e27d7f3b76ad6
confirm_password = 0e1c699f78ed19993d7e27d7f3b76ad6
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_updated = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/set?old_password=c1ff8f4b258d1ecb179d7bd40ced663f&new_password=0e1c699f78ed19993d7e27d7f3b76ad6&confirm_password=0e1c699f78ed19993d7e27d7f3b76ad6&format=plain
Query parameters
old_password = c1ff8f4b258d1ecb179d7bd40ced663f
new_password = 0e1c699f78ed19993d7e27d7f3b76ad6
confirm_password = 0e1c699f78ed19993d7e27d7f3b76ad6
format = plain
Response
1
Optional parameters
parameter
description
codeSTRING
security code sent by email
companySTRING
company of the logged user
default_domain_idSTRING
the default domain for the logged user, this setting will be used as the default setting for endpoints that do not require the domain ID
full_nameSTRING
full name of the logged user
genderSTRING
gender of the logged user [m|f]
locationSTRING
ISO 3166-1 alpha-2 code of the country of the logged user
news_offers_consentSTRING
1 if the logged user has authorized the offers by e-mail, 0 otherwise
phone_numberSTRING
phone number of the logged user
spider_emailSTRING
comma separated list of emails to which content monitor will send security alerts, if not specified, login email will be used, maximum 10 email addresses are allowed
spider_email_frequencySTRING
how often the content monitoring will send alerts, see i1/watchdogs/property for a list of available frequencies
Overview This method allows to set the information of the logged in user and to configure his/her account. You can also change the password used for the login and the email associated with the account.
How to change the password used to log in A password change operation requires parameters old_password
, new_password
and confirm_password
. Parameters new_password
and confirm_password
are mandatory and must be equal. new_password
must be at least 8 characters long.
NOTE: when a password change operation is requested, no other parameter can be changed.
How to change the account email WARNINGS:
changing the account email involves changing the username used to log in and the log out of all user sessions, permissions granted to all your external applications will NOT be revoked, see i1/oauth/granted/revoke , API keys will NOT be reset, see i1/apis/keys . To change the account email follow this flow:
Step 1: call this method by passing parameters email
, old_password
, new_password
, confirm_password
, see above for constraints on old_password
, new_password
, confirm_password
. On success, a security code is sent to email
and security_code_required = 1
is returned, Step 2: call this method by passing parameters code
, email
, old_password
, new_password
, confirm_password
, where code
is the security code that has been sent in the previous step to email
, on success it will return updated = 1
. NOTE: when an email change operation is requested, no other parameter can be changed.
Other constraints Parameter spider_email_frequency
is mandatory when spider_email
is passed (and viceversa). All other parameters do not depend on each other and can be modified separately.
Return values
parameter
description
security_code_required
[OPTIONAL] 1 if the security code is required, it is returned only when an email change is required
updated
1 on success, 0 otherwise
/users/signup
access: [WRITE]
This method executes a signup.
Example 1 (json)
Request
https://joturl.com/a/i1/users/signup?name=Jon+Smith&email=my.smart%40email.address&password=c459119faf5a0194&confirm=c459119faf5a0194
Query parameters
name = Jon Smith
email = my.smart@email.address
password = c459119faf5a0194
confirm = c459119faf5a0194
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"ok" : 1 ,
"need_confirm" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/signup?name=Jon+Smith&email=my.smart%40email.address&password=c459119faf5a0194&confirm=c459119faf5a0194&format=xml
Query parameters
name = Jon Smith
email = my.smart@email.address
password = c459119faf5a0194
confirm = c459119faf5a0194
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<ok> 1 </ok>
<need_confirm> 1 </need_confirm>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/signup?name=Jon+Smith&email=my.smart%40email.address&password=c459119faf5a0194&confirm=c459119faf5a0194&format=txt
Query parameters
name = Jon Smith
email = my.smart@email.address
password = c459119faf5a0194
confirm = c459119faf5a0194
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_ok = 1
result_need_confirm = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/signup?name=Jon+Smith&email=my.smart%40email.address&password=c459119faf5a0194&confirm=c459119faf5a0194&format=plain
Query parameters
name = Jon Smith
email = my.smart@email.address
password = c459119faf5a0194
confirm = c459119faf5a0194
format = plain
Response
1
1
Required parameters
parameter
description
tos_pp_consentBOOLEAN
1 if the user has given consent for the terms of service and the privacy policy, 0 otherwise, it must be 1 to be able to sign up
Optional parameters
parameter
description
max length
captchaSTRING
ID of the captcha, see i1/users/captcha for details, optional to token
codeSTRING
the code present in the captcha image and that the user has transcribed, optional to token
companySTRING
company of the user
255
confirmSTRING
confirmation for the password, must be the same as the password and retrieved from a different input field
100
emailSTRING
email of the user
255
genderSTRING
gender of the user, possible values: [m, f], default: m
1
locationSTRING
2-digit code of the country (ISO Alpha-2) the user is based on (e.g., US), if not passed our engine tries to retrieve location from the browser
50
nameSTRING
full name of the user
255
news_offers_consentBOOLEAN
1 if the user has given consent for the news, 0 otherwise
passwordSTRING
password for the login
100
tokenSTRING
Google reCAPTCHA token, optional to code
and captcha
Return values
parameter
description
need_confirm
1 if the user must confirm his/hers email address by clicking on the email that our engine sent
ok
1 on success, otherwise a generic error is issued
/users/stats /users/stats/details
access: [READ]
This method returns detailed events on the last 30/60/90 days for the logged user.
Example 1 (json)
Request
https://joturl.com/a/i1/users/stats/details
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"aggregate" : [
{
"type" : "[type 1]" ,
"label" : "[label 1]" ,
"event" : "[generates event?]" ,
"count" : 1952
} ,
{
"type" : "[...]" ,
"label" : "[...]" ,
"event" : "[generates event?]" ,
"count" : "[...]"
} ,
{
"type" : "[type N]" ,
"label" : "[label N]" ,
"event" : "[generates event?]" ,
"count" : 5168
}
] ,
"by_date" : {
"2024-01-11" : [
{
"type" : "[type 1]" ,
"label" : "[label 1]" ,
"event" : "[generates event?]" ,
"count" : 1010
} ,
{
"type" : "[...]" ,
"label" : "[...]" ,
"event" : "[generates event?]" ,
"count" : "[...]"
} ,
{
"type" : "[type N]" ,
"label" : "[label N]" ,
"event" : "[generates event?]" ,
"count" : 5159
}
] ,
"[...]" : [
{
"type" : "[type 1]" ,
"label" : "[label 1]" ,
"event" : "[generates event?]" ,
"count" : 4366
} ,
{
"type" : "[...]" ,
"label" : "[...]" ,
"event" : "[generates event?]" ,
"count" : "[...]"
} ,
{
"type" : "[type N]" ,
"label" : "[label N]" ,
"event" : "[generates event?]" ,
"count" : 7533
}
] ,
"2024-02-10" : [
{
"type" : "[type 1]" ,
"label" : "[label 1]" ,
"event" : "[generates event?]" ,
"count" : 1922
} ,
{
"type" : "[...]" ,
"label" : "[...]" ,
"event" : "[generates event?]" ,
"count" : "[...]"
} ,
{
"type" : "[type N]" ,
"label" : "[label N]" ,
"event" : "[generates event?]" ,
"count" : 6816
}
]
}
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/stats/details?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<aggregate>
<i0>
<type> [type 1] </type>
<label> [label 1] </label>
<event> [generates event?] </event>
<count> 1952 </count>
</i0>
<i1>
<type> [...] </type>
<label> [...] </label>
<event> [generates event?] </event>
<count> [...] </count>
</i1>
<i2>
<type> [type N] </type>
<label> [label N] </label>
<event> [generates event?] </event>
<count> 5168 </count>
</i2>
</aggregate>
<by_date>
<2024-01-11>
<i0>
<type> [type 1] </type>
<label> [label 1] </label>
<event> [generates event?] </event>
<count> 1010 </count>
</i0>
<i1>
<type> [...] </type>
<label> [...] </label>
<event> [generates event?] </event>
<count> [...] </count>
</i1>
<i2>
<type> [type N] </type>
<label> [label N] </label>
<event> [generates event?] </event>
<count> 5159 </count>
</i2>
</2024-01-11>
<[...]>
<i0>
<type> [type 1] </type>
<label> [label 1] </label>
<event> [generates event?] </event>
<count> 4366 </count>
</i0>
<i1>
<type> [...] </type>
<label> [...] </label>
<event> [generates event?] </event>
<count> [...] </count>
</i1>
<i2>
<type> [type N] </type>
<label> [label N] </label>
<event> [generates event?] </event>
<count> 7533 </count>
</i2>
</[...]>
<2024-02-10>
<i0>
<type> [type 1] </type>
<label> [label 1] </label>
<event> [generates event?] </event>
<count> 1922 </count>
</i0>
<i1>
<type> [...] </type>
<label> [...] </label>
<event> [generates event?] </event>
<count> [...] </count>
</i1>
<i2>
<type> [type N] </type>
<label> [label N] </label>
<event> [generates event?] </event>
<count> 6816 </count>
</i2>
</2024-02-10>
</by_date>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/stats/details?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_aggregate_0_type = [type 1]
result_aggregate_0_label = [label 1]
result_aggregate_0_event = [generates event?]
result_aggregate_0_count = 1952
result_aggregate_1_type = [...]
result_aggregate_1_label = [...]
result_aggregate_1_event = [generates event?]
result_aggregate_1_count = [...]
result_aggregate_2_type = [type N]
result_aggregate_2_label = [label N]
result_aggregate_2_event = [generates event?]
result_aggregate_2_count = 5168
result_by_date_2024-01-11_0_type = [type 1]
result_by_date_2024-01-11_0_label = [label 1]
result_by_date_2024-01-11_0_event = [generates event?]
result_by_date_2024-01-11_0_count = 1010
result_by_date_2024-01-11_1_type = [...]
result_by_date_2024-01-11_1_label = [...]
result_by_date_2024-01-11_1_event = [generates event?]
result_by_date_2024-01-11_1_count = [...]
result_by_date_2024-01-11_2_type = [type N]
result_by_date_2024-01-11_2_label = [label N]
result_by_date_2024-01-11_2_event = [generates event?]
result_by_date_2024-01-11_2_count = 5159
result_by_date_[...]_0_type = [type 1]
result_by_date_[...]_0_label = [label 1]
result_by_date_[...]_0_event = [generates event?]
result_by_date_[...]_0_count = 4366
result_by_date_[...]_1_type = [...]
result_by_date_[...]_1_label = [...]
result_by_date_[...]_1_event = [generates event?]
result_by_date_[...]_1_count = [...]
result_by_date_[...]_2_type = [type N]
result_by_date_[...]_2_label = [label N]
result_by_date_[...]_2_event = [generates event?]
result_by_date_[...]_2_count = 7533
result_by_date_2024-02-10_0_type = [type 1]
result_by_date_2024-02-10_0_label = [label 1]
result_by_date_2024-02-10_0_event = [generates event?]
result_by_date_2024-02-10_0_count = 1922
result_by_date_2024-02-10_1_type = [...]
result_by_date_2024-02-10_1_label = [...]
result_by_date_2024-02-10_1_event = [generates event?]
result_by_date_2024-02-10_1_count = [...]
result_by_date_2024-02-10_2_type = [type N]
result_by_date_2024-02-10_2_label = [label N]
result_by_date_2024-02-10_2_event = [generates event?]
result_by_date_2024-02-10_2_count = 6816
Example 4 (plain)
Request
https://joturl.com/a/i1/users/stats/details?format=plain
Query parameters
format = plain
Response
[type 1]
[label 1]
[generates event?]
1952
[...]
[...]
[generates event?]
[...]
[type N]
[label N]
[generates event?]
5168
[type 1]
[label 1]
[generates event?]
1010
[...]
[...]
[generates event?]
[...]
[type N]
[label N]
[generates event?]
5159
[type 1]
[label 1]
[generates event?]
4366
[...]
[...]
[generates event?]
[...]
[type N]
[label N]
[generates event?]
7533
[type 1]
[label 1]
[generates event?]
1922
[...]
[...]
[generates event?]
[...]
[type N]
[label N]
[generates event?]
6816
Optional parameters
parameter
description
time_intervalENUM
time interval for information extraction, available values: 30, 60, 90 (default: 30)
Return values
parameter
description
aggregate
aggregate view by type
by_date
view by date
/users/stats/summary
access: [READ]
Account-level summary statistics.
Example 1 (json)
Request
https://joturl.com/a/i1/users/stats/summary?fields=conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc
Query parameters
fields = conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"conversions_clicks" : "9" ,
"conversions_clicks_diff_perc" : "" ,
"conversions_clicks_diff_perc14_7" : "0" ,
"conversions_clicks_diff_perc14_7_min_date" : "" ,
"conversions_clicks_diff_perc7" : "0" ,
"conversions_clicks_diff_perc7_min_date" : "" ,
"ctas_conversions" : "28" ,
"ctas_conversions_diff_perc" : "" ,
"ctas_conversions_diff_perc14_7" : "0" ,
"ctas_conversions_diff_perc14_7_min_date" : "" ,
"ctas_conversions_diff_perc7" : "2" ,
"ctas_conversions_diff_perc7_min_date" : "2020-10-11" ,
"qrcodes_clicks" : "334" ,
"qrcodes_clicks_diff_perc" : 14 ,
"qrcodes_clicks_diff_perc14_7" : "1" ,
"qrcodes_clicks_diff_perc14_7_min_date" : "2020-10-01" ,
"qrcodes_clicks_diff_perc7" : "15" ,
"qrcodes_clicks_diff_perc7_min_date" : "2020-10-12" ,
"unique_visits" : "940783" ,
"unique_visits_diff_perc" : 1.9565 ,
"unique_visits_diff_perc14_7" : "23" ,
"unique_visits_diff_perc14_7_min_date" : "2020-09-30" ,
"unique_visits_diff_perc7" : "68" ,
"unique_visits_diff_perc7_min_date" : "2020-10-06" ,
"visits" : "943328" ,
"visits_diff_perc" : 4.16 ,
"visits_diff_perc14_7" : "25" ,
"visits_diff_perc14_7_min_date" : "2020-09-30" ,
"visits_diff_perc7" : "129" ,
"visits_diff_perc7_min_date" : "2020-10-06"
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/stats/summary?fields=conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc&format=xml
Query parameters
fields = conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<conversions_clicks> 9 </conversions_clicks>
<conversions_clicks_diff_perc> </conversions_clicks_diff_perc>
<conversions_clicks_diff_perc14_7> 0 </conversions_clicks_diff_perc14_7>
<conversions_clicks_diff_perc14_7_min_date> </conversions_clicks_diff_perc14_7_min_date>
<conversions_clicks_diff_perc7> 0 </conversions_clicks_diff_perc7>
<conversions_clicks_diff_perc7_min_date> </conversions_clicks_diff_perc7_min_date>
<ctas_conversions> 28 </ctas_conversions>
<ctas_conversions_diff_perc> </ctas_conversions_diff_perc>
<ctas_conversions_diff_perc14_7> 0 </ctas_conversions_diff_perc14_7>
<ctas_conversions_diff_perc14_7_min_date> </ctas_conversions_diff_perc14_7_min_date>
<ctas_conversions_diff_perc7> 2 </ctas_conversions_diff_perc7>
<ctas_conversions_diff_perc7_min_date> 2020-10-11 </ctas_conversions_diff_perc7_min_date>
<qrcodes_clicks> 334 </qrcodes_clicks>
<qrcodes_clicks_diff_perc> 14 </qrcodes_clicks_diff_perc>
<qrcodes_clicks_diff_perc14_7> 1 </qrcodes_clicks_diff_perc14_7>
<qrcodes_clicks_diff_perc14_7_min_date> 2020-10-01 </qrcodes_clicks_diff_perc14_7_min_date>
<qrcodes_clicks_diff_perc7> 15 </qrcodes_clicks_diff_perc7>
<qrcodes_clicks_diff_perc7_min_date> 2020-10-12 </qrcodes_clicks_diff_perc7_min_date>
<unique_visits> 940783 </unique_visits>
<unique_visits_diff_perc> 1.9565 </unique_visits_diff_perc>
<unique_visits_diff_perc14_7> 23 </unique_visits_diff_perc14_7>
<unique_visits_diff_perc14_7_min_date> 2020-09-30 </unique_visits_diff_perc14_7_min_date>
<unique_visits_diff_perc7> 68 </unique_visits_diff_perc7>
<unique_visits_diff_perc7_min_date> 2020-10-06 </unique_visits_diff_perc7_min_date>
<visits> 943328 </visits>
<visits_diff_perc> 4.16 </visits_diff_perc>
<visits_diff_perc14_7> 25 </visits_diff_perc14_7>
<visits_diff_perc14_7_min_date> 2020-09-30 </visits_diff_perc14_7_min_date>
<visits_diff_perc7> 129 </visits_diff_perc7>
<visits_diff_perc7_min_date> 2020-10-06 </visits_diff_perc7_min_date>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/stats/summary?fields=conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc&format=txt
Query parameters
fields = conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_conversions_clicks = 9
result_data_0_conversions_clicks_diff_perc =
result_data_0_conversions_clicks_diff_perc14_7 = 0
result_data_0_conversions_clicks_diff_perc14_7_min_date =
result_data_0_conversions_clicks_diff_perc7 = 0
result_data_0_conversions_clicks_diff_perc7_min_date =
result_data_0_ctas_conversions = 28
result_data_0_ctas_conversions_diff_perc =
result_data_0_ctas_conversions_diff_perc14_7 = 0
result_data_0_ctas_conversions_diff_perc14_7_min_date =
result_data_0_ctas_conversions_diff_perc7 = 2
result_data_0_ctas_conversions_diff_perc7_min_date = 2020-10-11
result_data_0_qrcodes_clicks = 334
result_data_0_qrcodes_clicks_diff_perc = 14
result_data_0_qrcodes_clicks_diff_perc14_7 = 1
result_data_0_qrcodes_clicks_diff_perc14_7_min_date = 2020-10-01
result_data_0_qrcodes_clicks_diff_perc7 = 15
result_data_0_qrcodes_clicks_diff_perc7_min_date = 2020-10-12
result_data_0_unique_visits = 940783
result_data_0_unique_visits_diff_perc = 1.9565
result_data_0_unique_visits_diff_perc14_7 = 23
result_data_0_unique_visits_diff_perc14_7_min_date = 2020-09-30
result_data_0_unique_visits_diff_perc7 = 68
result_data_0_unique_visits_diff_perc7_min_date = 2020-10-06
result_data_0_visits = 943328
result_data_0_visits_diff_perc = 4.16
result_data_0_visits_diff_perc14_7 = 25
result_data_0_visits_diff_perc14_7_min_date = 2020-09-30
result_data_0_visits_diff_perc7 = 129
result_data_0_visits_diff_perc7_min_date = 2020-10-06
Example 4 (plain)
Request
https://joturl.com/a/i1/users/stats/summary?fields=conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc&format=plain
Query parameters
fields = conversions_clicks,conversions_clicks_diff_perc,ctas_conversions,ctas_conversions_diff_perc,qrcodes_clicks,qrcodes_clicks_diff_perc,unique_visits,unique_visits_diff_perc,visits,visits_diff_perc
format = plain
Response
9
0
0
28
0
2
2020-10-11
334
14
1
2020-10-01
15
2020-10-12
940783
1.9565
23
2020-09-30
68
2020-10-06
943328
4.16
25
2020-09-30
129
2020-10-06
Required parameters
parameter
description
fieldsARRAY
comma separated list of fields to return, available fields: conversions_clicks, conversions_clicks_diff_perc, ctas_conversions, ctas_conversions_diff_perc, ctas_events, ctas_events_diff_perc, ctas_form_clicks, ctas_form_clicks_diff_perc, ctas_redirect_to_destination_clicks, ctas_redirect_to_destination_clicks_diff_perc, ctas_social_connect_clicks, ctas_social_connect_clicks_diff_perc, events, events_diff_perc, events_last_30days, events_last_30days_diff_perc, external_api_clicks, external_api_clicks_diff_perc, internal_api_clicks, internal_api_clicks_diff_perc, qrcodes_clicks, qrcodes_clicks_diff_perc, unique_visits, unique_visits_diff_perc, visits, visits_diff_perc
Optional parameters
parameter
description
project_idID
if passed, statistics are filtered by this project ID
Return values
parameter
description
data
array containing required statistics
Available fields and descriptions:
field desciption conversions_clicks conversions generated by tracking links conversions_clicks_diff_perc percentage increase in conversions in the last 7 days compared to the last 14 days ctas_conversions CTA conversions (of any type) ctas_conversions_diff_perc percentage increase in CTA conversions in the last 7 days compared to the last 14 days ctas_events CTA views (of any type) ctas_events_diff_perc percentage increase in CTA views in the last 7 days compared to the last 14 days ctas_form_clicks CTA form conversions ctas_form_clicks_diff_perc percentage increase in CTA form conversions in the last 7 days compared to the last 14 days ctas_redirect_to_destination_clicks CTA button conversions ctas_redirect_to_destination_clicks_diff_perc percentage increase in CTA button conversions in the last 7 days compared to the last 14 days ctas_social_connect_clicks CTA Social Optin/Optin XL conversions ctas_social_connect_clicks_diff_perc percentage increase in CTA Social Optin/Optin XL conversions in the last 7 days compared to the last 14 days events generated events events_diff_perc percentage increase in events in the last 7 days compared to the last 14 days events_last_30days generated events in the last 30 days external_api_clicks external API calls external_api_clicks_diff_perc percentage increase in external API calls in the last 7 days compared to the last 14 days internal_api_clicks internal API calls internal_api_clicks_diff_perc percentage increase in internal API calls in the last 7 days compared to the last 14 days qrcodes_clicks visits to tracking links coming from QR code scans qrcodes_clicks_diff_perc percentage increase in QR code scans in the last 7 days compared to the last 14 days unique_visits unique visits to tracking links unique_visits_diff_perc percentage increase in unique visits in the last 7 days compared to the last 14 days visits visits to tracking links visits_diff_perc percentage increase in visits in the last 7 days compared to the last 14 days
All ?_diff_perc
fields must be multiplied by 100 to obtain the percentage increase in the last 7 days compared to the last 14 days. An empty string as the value of these fields (which is different from a value of 0) indicates that the increment could not be extracted due to lack of data. In correspondence of each ?_diff_perc
field, the following fields are generated in the output:
?_diff_perc14_7 : occurrencies of the metric (e.g., visits) in the last 14 days ?_diff_perc14_7_min_date : minimum available date for the metric (e.g., visits) in the last 14 days ?_diff_perc7 : occurrencies of the metric (e.g., visits) in the last 7 days ?_diff_perc7_min_date : minimum available date for the metric (e.g., visits) in the last 7 days
/users/watchdogs /users/watchdogs/alerts /users/watchdogs/alerts/count
access: [READ]
This method returns the number of watchdog's alerts, if any.
Example 1 (json)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : "9+"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 9+ </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 9+
Example 4 (plain)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/count?format=plain
Query parameters
format = plain
Response
9+
Return values
parameter
description
count
number of alerts if it is less than 10, 9+ otherwise
/users/watchdogs/alerts/reset_alerts_flag
access: [READ]
This method reset the flag that our engine uses to send emails from the watchdog, by resetting this flag no emails will be sent.
Example 1 (json)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/reset_alerts_flag
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/reset_alerts_flag?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/reset_alerts_flag?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/users/watchdogs/alerts/reset_alerts_flag?format=plain
Query parameters
format = plain
Response
1
Return values
parameter
description
count
1 on success, 0 if the flag was already reset
/utms /utms/add
access: [WRITE]
This method adds a new UTM template.
Example 1 (json)
Request
https://joturl.com/a/i1/utms/add?name=JotUrl+campaign&utm_source=facebook
Query parameters
name = JotUrl campaign
utm_source = facebook
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"name" : "JotUrl campaign" ,
"utm_source" : "facebook" ,
"added" : 1 ,
"id" : "8e12787dd2cd2a460ea3caecddbe6f68" ,
"utm_medium" : "" ,
"utm_campaign" : "" ,
"utm_term" : "" ,
"utm_content" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/utms/add?name=JotUrl+campaign&utm_source=facebook&format=xml
Query parameters
name = JotUrl campaign
utm_source = facebook
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<name> JotUrl campaign </name>
<utm_source> facebook </utm_source>
<added> 1 </added>
<id> 8e12787dd2cd2a460ea3caecddbe6f68 </id>
<utm_medium> </utm_medium>
<utm_campaign> </utm_campaign>
<utm_term> </utm_term>
<utm_content> </utm_content>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/utms/add?name=JotUrl+campaign&utm_source=facebook&format=txt
Query parameters
name = JotUrl campaign
utm_source = facebook
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_name = JotUrl campaign
result_utm_source = facebook
result_added = 1
result_id = 8e12787dd2cd2a460ea3caecddbe6f68
result_utm_medium =
result_utm_campaign =
result_utm_term =
result_utm_content =
Example 4 (plain)
Request
https://joturl.com/a/i1/utms/add?name=JotUrl+campaign&utm_source=facebook&format=plain
Query parameters
name = JotUrl campaign
utm_source = facebook
format = plain
Response
JotUrl campaign
facebook
1
8e12787dd2cd2a460ea3caecddbe6f68
Required parameters
parameter
description
max length
nameSTRING
UTM template name
255
utm_sourceSTRING
utm_source parameter
150
Optional parameters
parameter
description
max length
utm_campaignSTRING
utm_campaign parameter
150
utm_contentSTRING
utm_content parameter
150
utm_mediumSTRING
utm_medium parameter
150
utm_termSTRING
utm_term parameter
150
An empty UTM parameter will not be passed to the target URL of the tracking link, unless it equals "[EMPTY]" (without quotes) in which case it will be passed empty.
Return values
parameter
description
added
1 on success, 0 otherwise
id
ID of the UTM template
name
echo back of the name input parameter
utm_campaign
echo back of the utm_campaign input parameter
utm_content
echo back of the utm_content input parameter
utm_medium
echo back of the utm_medium input parameter
utm_source
echo back of the utm_source input parameter
utm_term
echo back of the utm_term input parameter
/utms/count
access: [READ]
This method returns the number of UTM templates.
Example 1 (json)
Request
https://joturl.com/a/i1/utms/count
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 4
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/utms/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 4 </count>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/utms/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 4
Example 4 (plain)
Request
https://joturl.com/a/i1/utms/count?format=plain
Query parameters
format = plain
Response
4
Optional parameters
parameter
description
searchSTRING
filters UTM templates to be extracted by searching them
Return values
parameter
description
count
the number of UTM templates
/utms/delete
access: [WRITE]
This method deletes a UTM template.
Example 1 (json)
Request
https://joturl.com/a/i1/utms/delete?id=050099a1584633794a4782dfe80995ab
Query parameters
id = 050099a1584633794a4782dfe80995ab
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"deleted" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/utms/delete?id=050099a1584633794a4782dfe80995ab&format=xml
Query parameters
id = 050099a1584633794a4782dfe80995ab
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/utms/delete?id=050099a1584633794a4782dfe80995ab&format=txt
Query parameters
id = 050099a1584633794a4782dfe80995ab
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_deleted = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/utms/delete?id=050099a1584633794a4782dfe80995ab&format=plain
Query parameters
id = 050099a1584633794a4782dfe80995ab
format = plain
Response
1
Required parameters
parameter
description
idID
ID of the UTM templates to delete
Optional parameters
parameter
description
confirmBOOLEAN
If 1 this method deletes the UTM template even if it is linked to a tracking link
Return values
parameter
description
deleted
1 on success, 0 otherwise
/utms/edit
access: [WRITE]
This method edits a UTM template.
Example 1 (json)
Request
https://joturl.com/a/i1/utms/edit?id=39737a850ce5738ee848a5f561595eda&name=JotUrl+campaign&utm_source=facebook
Query parameters
id = 39737a850ce5738ee848a5f561595eda
name = JotUrl campaign
utm_source = facebook
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"id" : "39737a850ce5738ee848a5f561595eda" ,
"name" : "JotUrl campaign" ,
"utm_source" : "facebook" ,
"updated" : 1 ,
"utm_medium" : "" ,
"utm_campaign" : "" ,
"utm_term" : "" ,
"utm_content" : ""
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/utms/edit?id=39737a850ce5738ee848a5f561595eda&name=JotUrl+campaign&utm_source=facebook&format=xml
Query parameters
id = 39737a850ce5738ee848a5f561595eda
name = JotUrl campaign
utm_source = facebook
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<id> 39737a850ce5738ee848a5f561595eda </id>
<name> JotUrl campaign </name>
<utm_source> facebook </utm_source>
<updated> 1 </updated>
<utm_medium> </utm_medium>
<utm_campaign> </utm_campaign>
<utm_term> </utm_term>
<utm_content> </utm_content>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/utms/edit?id=39737a850ce5738ee848a5f561595eda&name=JotUrl+campaign&utm_source=facebook&format=txt
Query parameters
id = 39737a850ce5738ee848a5f561595eda
name = JotUrl campaign
utm_source = facebook
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_id = 39737a850ce5738ee848a5f561595eda
result_name = JotUrl campaign
result_utm_source = facebook
result_updated = 1
result_utm_medium =
result_utm_campaign =
result_utm_term =
result_utm_content =
Example 4 (plain)
Request
https://joturl.com/a/i1/utms/edit?id=39737a850ce5738ee848a5f561595eda&name=JotUrl+campaign&utm_source=facebook&format=plain
Query parameters
id = 39737a850ce5738ee848a5f561595eda
name = JotUrl campaign
utm_source = facebook
format = plain
Response
39737a850ce5738ee848a5f561595eda
JotUrl campaign
facebook
1
Required parameters
parameter
description
idID
ID of the UTM template to edit
Optional parameters
parameter
description
max length
nameSTRING
UTM template name
255
utm_campaignSTRING
utm_campaign parameter
150
utm_contentSTRING
utm_content parameter
150
utm_mediumSTRING
utm_medium parameter
150
utm_sourceSTRING
utm_source parameter
150
utm_termSTRING
utm_term parameter
150
An empty UTM parameter will not be passed to the target URL of the tracking link, unless it equals "[EMPTY]" (without quotes) in which case it will be passed empty.
Return values
parameter
description
id
echo back of the id input parameter
name
echo back of the name input parameter
updated
1 on success, 0 otherwise
utm_campaign
echo back of the utm_campaign input parameter
utm_content
echo back of the utm_content input parameter
utm_medium
echo back of the utm_medium input parameter
utm_source
echo back of the utm_source input parameter
utm_term
echo back of the utm_term input parameter
/utms/info
access: [READ]
This method returns info about a UTM template.
Example 1 (json)
Request
https://joturl.com/a/i1/utms/info?fields=id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&gdpr_id=cfe05b31b8d868f3c460a2ee4f9bf7d7
Query parameters
fields = id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
gdpr_id = cfe05b31b8d868f3c460a2ee4f9bf7d7
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
{
"id" : "cfe05b31b8d868f3c460a2ee4f9bf7d7" ,
"name" : "JotUrl campaign" ,
"utm_source" : "facebook" ,
"utm_medium" : "" ,
"utm_campaign" : "" ,
"utm_term" : "" ,
"utm_content" : ""
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/utms/info?fields=id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&gdpr_id=cfe05b31b8d868f3c460a2ee4f9bf7d7&format=xml
Query parameters
fields = id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
gdpr_id = cfe05b31b8d868f3c460a2ee4f9bf7d7
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0>
<id> cfe05b31b8d868f3c460a2ee4f9bf7d7 </id>
<name> JotUrl campaign </name>
<utm_source> facebook </utm_source>
<utm_medium> </utm_medium>
<utm_campaign> </utm_campaign>
<utm_term> </utm_term>
<utm_content> </utm_content>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/utms/info?fields=id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&gdpr_id=cfe05b31b8d868f3c460a2ee4f9bf7d7&format=txt
Query parameters
fields = id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
gdpr_id = cfe05b31b8d868f3c460a2ee4f9bf7d7
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0_id = cfe05b31b8d868f3c460a2ee4f9bf7d7
result_data_0_name = JotUrl campaign
result_data_0_utm_source = facebook
result_data_0_utm_medium =
result_data_0_utm_campaign =
result_data_0_utm_term =
result_data_0_utm_content =
Example 4 (plain)
Request
https://joturl.com/a/i1/utms/info?fields=id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&gdpr_id=cfe05b31b8d868f3c460a2ee4f9bf7d7&format=plain
Query parameters
fields = id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
gdpr_id = cfe05b31b8d868f3c460a2ee4f9bf7d7
format = plain
Response
cfe05b31b8d868f3c460a2ee4f9bf7d7
JotUrl campaign
facebook
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, name, utm_campaign, utm_content, utm_medium, utm_source, utm_term
idID
ID of the UTM template
Return values
parameter
description
data
array containing information on the UTM templates, returned information depends on the fields input parameter.
/utms/list
access: [READ]
This method returns a list of UTM templates.
Example 1 (json)
Request
https://joturl.com/a/i1/utms/list?fields=count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
Query parameters
fields = count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"count" : 1 ,
"data" : [
{
"id" : "ac74f55284fb10064c5dd4e75dbfd74e" ,
"name" : "JotUrl campaign" ,
"utm_source" : "facebook" ,
"utm_medium" : "" ,
"utm_campaign" : "" ,
"utm_term" : "" ,
"utm_content" : ""
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/utms/list?fields=count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&format=xml
Query parameters
fields = count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<count> 1 </count>
<data>
<i0>
<id> ac74f55284fb10064c5dd4e75dbfd74e </id>
<name> JotUrl campaign </name>
<utm_source> facebook </utm_source>
<utm_medium> </utm_medium>
<utm_campaign> </utm_campaign>
<utm_term> </utm_term>
<utm_content> </utm_content>
</i0>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/utms/list?fields=count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&format=txt
Query parameters
fields = count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_count = 1
result_data_0_id = ac74f55284fb10064c5dd4e75dbfd74e
result_data_0_name = JotUrl campaign
result_data_0_utm_source = facebook
result_data_0_utm_medium =
result_data_0_utm_campaign =
result_data_0_utm_term =
result_data_0_utm_content =
Example 4 (plain)
Request
https://joturl.com/a/i1/utms/list?fields=count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term&format=plain
Query parameters
fields = count,id,name,utm_campaign,utm_content,utm_medium,utm_source,utm_term
format = plain
Response
1
ac74f55284fb10064c5dd4e75dbfd74e
JotUrl campaign
facebook
Required parameters
parameter
description
fieldsARRAY
comma-separated list of fields to return, available fields: count, id, name, utm_campaign, utm_content, utm_medium, utm_source, utm_term
Optional parameters
parameter
description
lengthINTEGER
extracts this number of UTM templates (maxmimum allowed: 100)
orderbyARRAY
orders UTM templates by field, available fields: id, name, utm_campaign, utm_content, utm_medium, utm_source, utm_term
searchSTRING
filters UTM templates to be extracted by searching them
sortSTRING
sorts UTM templates in ascending (ASC) or descending (DESC) order
startINTEGER
starts to extract UTM templates from this position
Return values
parameter
description
count
[OPTIONAL] total number of UTM templates, returned only if count is passed in fields
data
array containing information on the UTM templates, returned information depends on the fields input parameter.
/watchdogs /watchdogs/clone
access: [WRITE]
Clone the qrcodes configuration from a tracking link to another.
Example 1 (json)
Request
https://joturl.com/a/i1/watchdogs/clone?from_url_id=ec2c104547424653d93f34eb10c318ad&to_url_id=aa8db9574aa19e30360e987c23b0eeda
Query parameters
from_url_id = ec2c104547424653d93f34eb10c318ad
to_url_id = aa8db9574aa19e30360e987c23b0eeda
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"cloned" : 1
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/watchdogs/clone?from_url_id=ec2c104547424653d93f34eb10c318ad&to_url_id=aa8db9574aa19e30360e987c23b0eeda&format=xml
Query parameters
from_url_id = ec2c104547424653d93f34eb10c318ad
to_url_id = aa8db9574aa19e30360e987c23b0eeda
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<cloned> 1 </cloned>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/watchdogs/clone?from_url_id=ec2c104547424653d93f34eb10c318ad&to_url_id=aa8db9574aa19e30360e987c23b0eeda&format=txt
Query parameters
from_url_id = ec2c104547424653d93f34eb10c318ad
to_url_id = aa8db9574aa19e30360e987c23b0eeda
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_cloned = 1
Example 4 (plain)
Request
https://joturl.com/a/i1/watchdogs/clone?from_url_id=ec2c104547424653d93f34eb10c318ad&to_url_id=aa8db9574aa19e30360e987c23b0eeda&format=plain
Query parameters
from_url_id = ec2c104547424653d93f34eb10c318ad
to_url_id = aa8db9574aa19e30360e987c23b0eeda
format = plain
Response
1
Required parameters
parameter
description
from_url_idID
ID of the tracking link you want to copy watchdog configuration from
to_url_idID
ID of the tracking link you want to copy watchdog configuration to
Return values
parameter
description
cloned
1 on success, 0 otherwise
/watchdogs/property
access: [READ]
This method returns a list of properties of the watchdog (content monitoring).
Example 1 (json)
Request
https://joturl.com/a/i1/watchdogs/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"watchdogs" : [
{
"type" : "1D" ,
"title" : "1 check per day" ,
"limit" : 1800
}
] ,
"spiders" : [
{
"id" : "DISABLE_ALL" ,
"title" : "Disable all spiders. No check will be performed." ,
"short" : "Disable ALL" ,
"params" : {
"video" : 0 ,
"time" : 0 ,
"texts" : 0 ,
"threshold" : 0
}
} ,
{
"id" : "AUTOMATIC" ,
"title" : "The spider will be automatically selected by the system. In most cases the system will choose the spider PING without any control over videos." ,
"short" : "Automatic" ,
"params" : {
"video" : 0 ,
"time" : 0 ,
"texts" : 0 ,
"threshold" : 0
}
} ,
{
"id" : "HTML_PING" ,
"title" : "Interrupted and redirected URL check (PING.)" ,
"short" : "PING" ,
"params" : {
"video" : 1 ,
"time" : 1 ,
"texts" : 0 ,
"threshold" : 0
}
} ,
{
"id" : "HTML_TITLE_H1" ,
"title" : "Checks for interrupted or redirected URLs and changes in title and/or h1 tag of the page." ,
"short" : "TITLE and H1" ,
"params" : {
"video" : 1 ,
"time" : 1 ,
"texts" : 0 ,
"threshold" : 0
}
} ,
{
"id" : "HTML_TEXTS" ,
"title" : "Checks for interrupted or redirected URLs and changes in the texts of the page (exluding numbers and tags.)" ,
"short" : "TEXT of the PAGE" ,
"params" : {
"video" : 1 ,
"time" : 1 ,
"texts" : 1 ,
"threshold" : 0
}
} ,
{
"id" : "HTML_ALL" ,
"title" : "Checks for interrupted or redirected URLs and changes in the page (including numbers and tags.)" ,
"short" : "WHOLE PAGE" ,
"params" : {
"video" : 1 ,
"time" : 1 ,
"texts" : 1 ,
"threshold" : 0
}
} ,
{
"id" : "HTML_BLOCKS" ,
"title" : "Checks for interrupted or redirected URLs and changes in the blocks of text that are extracted from the page with data mining algorithm." ,
"short" : "DATA MINING" ,
"params" : {
"video" : 1 ,
"time" : 1 ,
"texts" : 0 ,
"threshold" : 1
}
} ,
{
"id" : "HTML_DISABLED" ,
"title" : "Only the video spider will be activated (spider HTML will be disabled.)" ,
"short" : "HTML disabled" ,
"params" : {
"video" : 0 ,
"time" : 0 ,
"texts" : 0 ,
"threshold" : 0
}
}
] ,
"frequencies" : [
{
"label" : "do_not_send" ,
"value" : ""
} ,
{
"label" : "immediately" ,
"value" : 0
} ,
{
"label" : "day" ,
"value" : 1
} ,
{
"label" : "day" ,
"value" : 3
} ,
{
"label" : "day" ,
"value" : 7
} ,
{
"label" : "day" ,
"value" : 15
} ,
{
"label" : "day" ,
"value" : 30
}
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/watchdogs/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<watchdogs>
<i0>
<type> 1D </type>
<title> 1 check per day </title>
<limit> 1800 </limit>
</i0>
</watchdogs>
<spiders>
<i0>
<id> DISABLE_ALL </id>
<title> Disable all spiders. No check will be performed. </title>
<short> Disable ALL </short>
<params>
<video> 0 </video>
<time> 0 </time>
<texts> 0 </texts>
<threshold> 0 </threshold>
</params>
</i0>
<i1>
<id> AUTOMATIC </id>
<title> The spider will be automatically selected by the system. In most cases the system will choose the spider PING without any control over videos. </title>
<short> Automatic </short>
<params>
<video> 0 </video>
<time> 0 </time>
<texts> 0 </texts>
<threshold> 0 </threshold>
</params>
</i1>
<i2>
<id> HTML_PING </id>
<title> Interrupted and redirected URL check (PING.) </title>
<short> PING </short>
<params>
<video> 1 </video>
<time> 1 </time>
<texts> 0 </texts>
<threshold> 0 </threshold>
</params>
</i2>
<i3>
<id> HTML_TITLE_H1 </id>
<title> Checks for interrupted or redirected URLs and changes in title and/or h1 tag of the page. </title>
<short> TITLE and H1 </short>
<params>
<video> 1 </video>
<time> 1 </time>
<texts> 0 </texts>
<threshold> 0 </threshold>
</params>
</i3>
<i4>
<id> HTML_TEXTS </id>
<title> Checks for interrupted or redirected URLs and changes in the texts of the page (exluding numbers and tags.) </title>
<short> TEXT of the PAGE </short>
<params>
<video> 1 </video>
<time> 1 </time>
<texts> 1 </texts>
<threshold> 0 </threshold>
</params>
</i4>
<i5>
<id> HTML_ALL </id>
<title> Checks for interrupted or redirected URLs and changes in the page (including numbers and tags.) </title>
<short> WHOLE PAGE </short>
<params>
<video> 1 </video>
<time> 1 </time>
<texts> 1 </texts>
<threshold> 0 </threshold>
</params>
</i5>
<i6>
<id> HTML_BLOCKS </id>
<title> Checks for interrupted or redirected URLs and changes in the blocks of text that are extracted from the page with data mining algorithm. </title>
<short> DATA MINING </short>
<params>
<video> 1 </video>
<time> 1 </time>
<texts> 0 </texts>
<threshold> 1 </threshold>
</params>
</i6>
<i7>
<id> HTML_DISABLED </id>
<title> Only the video spider will be activated (spider HTML will be disabled.) </title>
<short> HTML disabled </short>
<params>
<video> 0 </video>
<time> 0 </time>
<texts> 0 </texts>
<threshold> 0 </threshold>
</params>
</i7>
</spiders>
<frequencies>
<i0>
<label> do_not_send </label>
<value> </value>
</i0>
<i1>
<label> immediately </label>
<value> 0 </value>
</i1>
<i2>
<label> day </label>
<value> 1 </value>
</i2>
<i3>
<label> day </label>
<value> 3 </value>
</i3>
<i4>
<label> day </label>
<value> 7 </value>
</i4>
<i5>
<label> day </label>
<value> 15 </value>
</i5>
<i6>
<label> day </label>
<value> 30 </value>
</i6>
</frequencies>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/watchdogs/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_watchdogs_0_type = 1D
result_watchdogs_0_title = 1 check per day
result_watchdogs_0_limit = 1800
result_spiders_0_id = DISABLE_ALL
result_spiders_0_title = Disable all spiders. No check will be performed.
result_spiders_0_short = Disable ALL
result_spiders_0_params_video = 0
result_spiders_0_params_time = 0
result_spiders_0_params_texts = 0
result_spiders_0_params_threshold = 0
result_spiders_1_id = AUTOMATIC
result_spiders_1_title = The spider will be automatically selected by the system. In most cases the system will choose the spider PING without any control over videos.
result_spiders_1_short = Automatic
result_spiders_1_params_video = 0
result_spiders_1_params_time = 0
result_spiders_1_params_texts = 0
result_spiders_1_params_threshold = 0
result_spiders_2_id = HTML_PING
result_spiders_2_title = Interrupted and redirected URL check (PING.)
result_spiders_2_short = PING
result_spiders_2_params_video = 1
result_spiders_2_params_time = 1
result_spiders_2_params_texts = 0
result_spiders_2_params_threshold = 0
result_spiders_3_id = HTML_TITLE_H1
result_spiders_3_title = Checks for interrupted or redirected URLs and changes in title and/or h1 tag of the page.
result_spiders_3_short = TITLE and H1
result_spiders_3_params_video = 1
result_spiders_3_params_time = 1
result_spiders_3_params_texts = 0
result_spiders_3_params_threshold = 0
result_spiders_4_id = HTML_TEXTS
result_spiders_4_title = Checks for interrupted or redirected URLs and changes in the texts of the page (exluding numbers and tags.)
result_spiders_4_short = TEXT of the PAGE
result_spiders_4_params_video = 1
result_spiders_4_params_time = 1
result_spiders_4_params_texts = 1
result_spiders_4_params_threshold = 0
result_spiders_5_id = HTML_ALL
result_spiders_5_title = Checks for interrupted or redirected URLs and changes in the page (including numbers and tags.)
result_spiders_5_short = WHOLE PAGE
result_spiders_5_params_video = 1
result_spiders_5_params_time = 1
result_spiders_5_params_texts = 1
result_spiders_5_params_threshold = 0
result_spiders_6_id = HTML_BLOCKS
result_spiders_6_title = Checks for interrupted or redirected URLs and changes in the blocks of text that are extracted from the page with data mining algorithm.
result_spiders_6_short = DATA MINING
result_spiders_6_params_video = 1
result_spiders_6_params_time = 1
result_spiders_6_params_texts = 0
result_spiders_6_params_threshold = 1
result_spiders_7_id = HTML_DISABLED
result_spiders_7_title = Only the video spider will be activated (spider HTML will be disabled.)
result_spiders_7_short = HTML disabled
result_spiders_7_params_video = 0
result_spiders_7_params_time = 0
result_spiders_7_params_texts = 0
result_spiders_7_params_threshold = 0
result_frequencies_0_label = do_not_send
result_frequencies_0_value =
result_frequencies_1_label = immediately
result_frequencies_1_value = 0
result_frequencies_2_label = day
result_frequencies_2_value = 1
result_frequencies_3_label = day
result_frequencies_3_value = 3
result_frequencies_4_label = day
result_frequencies_4_value = 7
result_frequencies_5_label = day
result_frequencies_5_value = 15
result_frequencies_6_label = day
result_frequencies_6_value = 30
Example 4 (plain)
Request
https://joturl.com/a/i1/watchdogs/property?format=plain
Query parameters
format = plain
Response
1D
1 check per day
1800
DISABLE_ALL
Disable all spiders. No check will be performed.
Disable ALL
0
0
0
0
AUTOMATIC
The spider will be automatically selected by the system. In most cases the system will choose the spider PING without any control over videos.
Automatic
0
0
0
0
HTML_PING
Interrupted and redirected URL check (PING.)
PING
1
1
0
0
HTML_TITLE_H1
Checks for interrupted or redirected URLs and changes in title and/or h1 tag of the page.
TITLE and H1
1
1
0
0
HTML_TEXTS
Checks for interrupted or redirected URLs and changes in the texts of the page (exluding numbers and tags.)
TEXT of the PAGE
1
1
1
0
HTML_ALL
Checks for interrupted or redirected URLs and changes in the page (including numbers and tags.)
WHOLE PAGE
1
1
1
0
HTML_BLOCKS
Checks for interrupted or redirected URLs and changes in the blocks of text that are extracted from the page with data mining algorithm.
DATA MINING
1
1
0
1
HTML_DISABLED
Only the video spider will be activated (spider HTML will be disabled.)
HTML disabled
0
0
0
0
do_not_send
immediately
0
day
1
day
3
day
7
day
15
day
30
Return values
parameter
description
frequencies
list of frequencies available to the logged user
spiders
list of spiders available to the logged user
watchdogs
list of watchdogs available to the logged user
API reference (beta)
endpoints and/or documentation in this section may be changed at any time without notice.
/ctas /ctas/add
access: [WRITE]
Add a call to action template for the user logged in.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/add?name=calltoactionname&type=button&brand_id=1234abcde
Query parameters
name = calltoactionname
type = button
brand_id = 1234abcde
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"id" : "65794b5563376a7a354f6c756b42625946636d2f47773d3d" ,
"name" : "name"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/add?format=xml&name=calltoactionname&type=button&brand_id=1234abcde
Query parameters
format = xml
name = calltoactionname
type = button
brand_id = 1234abcde
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<id> 65794b5563376a7a354f6c756b42625946636d2f47773d3d </id>
<name> name </name>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/ctas/add?format=plain&name=calltoactionname&type=button&brand_id=1234abcde
Query parameters
format = plain
name = calltoactionname
type = button
brand_id = 1234abcde
Response
65794b5563376a7a354f6c756b42625946636d2f47773d3d
name
Required parameters
parameter
description
name
name of the call to action
type
type of the call to action, for a complete list of types see the method i1/ctas/property
Optional parameters
parameter
description
brand_id
ID of the desired brand
params
parameters of the call to action, for a complete list of parameters see the method i1/ctas/property
Return values
parameter
description
date
NA
id
ID of the call to action
name
name of the call to action
type
type of the call to action, for a complete list of types see the method i1/ctas/property
/ctas/edit
access: [WRITE]
Edit a call to action template for the user logged in.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/edit?id=1234abc&name=calltoactionname&type=button&brand_id=1234abcde
Query parameters
id = 1234abc
name = calltoactionname
type = button
brand_id = 1234abcde
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"id" : "65794b5563376a7a354f6c756b42625946636d2f47773d3d" ,
"name" : "name"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/edit?id=1234abc&name=calltoactionname&type=button&brand_id=1234abcde
Query parameters
id = 1234abc
name = calltoactionname
type = button
brand_id = 1234abcde
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<id> 65794b5563376a7a354f6c756b42625946636d2f47773d3d </id>
<name> name </name>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/ctas/edit?id=1234abc&name=calltoactionname&type=button&brand_id=1234abcde
Query parameters
id = 1234abc
name = calltoactionname
type = button
brand_id = 1234abcde
Response
65794b5563376a7a354f6c756b42625946636d2f47773d3d
name
Required parameters
parameter
description
id
ID of the call to action
Optional parameters
parameter
description
brand_id
ID of the desired brand
name
name of the call to action
params
parameters of the call to action, for a complete list of parameters see the method i1/ctas/property
type
type of the call to action, for a complete list of types see the method i1/ctas/property
Return values
parameter
description
id
ID of the call to action
name
name of the call to action
/ctas/info
access: [READ]
This method returns information specified in a comma separated input called fields about a cta
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/ctas/info?format=xml&id=123456&fields=name,type
Query parameters
format = xml
id = 123456
fields = name,type
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result> </result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/ctas/info?format=txt&id=123456&fields=name,type
Query parameters
format = txt
id = 123456
fields = name,type
Response
status_code = 200
status_text = OK
result =
Example 3 (plain)
Request
https://joturl.com/a/i1/ctas/info?format=plain&id=123456&fields=name,type
Query parameters
format = plain
id = 123456
fields = name,type
Response
Required parameters
parameter
description
fields
comma separated list of CTA fields [id,type,name,brand_id,params,clicks,conversions]
id
ID of the call to action
Return values
parameter
description
data
NA
/ctas/list
access: [READ]
This method returns a list of user's call to action data, specified in a comma separated input called fields.
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/ctas/list?format=xml&fields=name,id
Query parameters
format = xml
fields = name,id
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<item0>
<id> 1a2b3c4d123456 </id>
<name> conversion name </name>
</item0>
<item1>
<id> 1a2b3c4d123456 </id>
<name> call to action name </name>
</item1>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/ctas/list?format=txt&fields=name,id
Query parameters
format = txt
fields = name,id
Response
status_code = 200
status_text = OK
result_item0_id = 1a2b3c4d123456
result_item0_name = conversion name
result_item1_id = 1a2b3c4d123456
result_item1_name = call to action name
Example 3 (plain)
Request
https://joturl.com/a/i1/ctas/list?format=plain&fields=name,id
Query parameters
format = plain
fields = name,id
Response
1a2b3c4d123456
conversion name
1a2b3c4d123456
call to action name
Required parameters
parameter
description
fields
comma separated list of CTA fields [id,type,name,brand_id,params,clicks,conversions,count,performance]. You can use the special field count to retrieve the number of call to actions
Optional parameters
parameter
description
length
number of items to be extracted
orderby
order items by one field [id,type,name,brand_id,params,clicks,conversions,count,performance]. You can use the special field performance to order call to actions by performance. Use sort for ascending or descending order. Default is orderby = id
search
filter items by searching them
sort
to be used in conjunction with orderby to select the ascending or descending order [ASC|DESC]. Default is sort = ASC
start
index from which the list will be extracted
types
comma separated list of types to be extracted
Return values
parameter
description
data
NA
/ctas/preview
access: [READ]
This method returns an html preview of a cta, using custom parameters or using an existing call to action
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/ctas/preview?format=xml&id=123456
Query parameters
format = xml
id = 123456
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result> <[CDATA[<html><head>[...]</head><body>[...]</body></html>]]> </result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/ctas/preview?format=txt&id=123456
Query parameters
format = txt
id = 123456
Response
status_code = 200
status_text = OK
result = [...][...]
Example 3 (plain)
Request
https://joturl.com/a/i1/ctas/preview?format=plain&id=123456
Query parameters
format = plain
id = 123456
Response
Optional parameters
parameter
description
id
ID of the call to action
params
parameters of the call to action, for a complete list of parameters see the method i1/ctas/property
Return values
parameter
description
html
NA
/ctas/privatekey
access: [READ]
This method returns the user's private key.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/privatekey
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : ""
} ,
"result" : {
"privatekey" : "01234567890123456789"
}
}
Return values
parameter
description
privatekey
NA
/ctas/property
access: [READ]
This method returns a list of property of a call to action with detailed information on them.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : ""
} ,
"result" : {
"label" : "Tipo Call to Action" ,
"types" : {
"appsnip" : {
"label" : "App Snip"
} ,
"banner" : {
"label" : "Banner"
} ,
"button" : {
"label" : "Bottone"
} ,
"form" : {
"label" : "Form"
} ,
"socialconnect" : {
"label" : "Connessione ai Social Network"
} ,
"textlink" : {
"label" : "Text Link"
}
}
}
}
Example 2 (json)
Request
https://joturl.com/a/i1/ctas/property?types=form
Query parameters
types = form
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : ""
} ,
"result" : {
"label" : "Call to Action type" ,
"types" : {
"form" : {
"label" : "Form" ,
"base" : {
"name" : {
"type" : "text" ,
"label" : "Template name"
} ,
"type" : {
"type" : "text" ,
"label" : "Call to action’s type"
} ,
"brand_id" : {
"type" : "text" ,
"label" : "User brand identifier for a call to action"
} ,
"one_time_code_validity" : {
"type" : "select" ,
"label" : "Period of validity of the one-time code" ,
"options" : [
{
"value" : "10" ,
"label" : "10 minutes"
} ,
{
"value" : "20" ,
"label" : "20 minutes"
} ,
{
"value" : "30" ,
"label" : "30 minutes"
}
]
} ,
"one_time_code_private_key" : {
"type" : "label" ,
"label" : "Private key"
}
} ,
"design" : {
"bgcolor" : {
"type" : "selectcolor" ,
"label" : "Background color" ,
"mandatory" : 1
} ,
"txtcolor" : {
"type" : "selectcolor" ,
"label" : "Text color" ,
"mandatory" : 1
} ,
"btncolor" : {
"type" : "selectcolor" ,
"label" : "Button color" ,
"mandatory" : 1
} ,
"lnktxtcolor" : {
"type" : "selectcolor" ,
"label" : "Link text color" ,
"mandatory" : 1
} ,
"position" : {
"type" : "select" ,
"label" : "Position" ,
"mandatory" : 1 ,
"options" : [
{
"value" : "bottom-left" ,
"label" : "Bottom left"
} ,
{
"value" : "bottom-right" ,
"label" : "Bottom right"
}
]
} ,
"shape" : {
"type" : "select" ,
"label" : "Modules appearance" ,
"mandatory" : 1 ,
"options" : [
{
"value" : "social" ,
"label" : "Social"
} ,
{
"value" : "fullwidth" ,
"label" : "Full width"
}
]
}
} ,
"content" : {
"customized_message" : {
"type" : "text" ,
"label" : "Customized message" ,
"mandatory" : 1
} ,
"placeholder_text" : {
"type" : "text" ,
"label" : "Insert a message" ,
"mandatory" : 1
} ,
"destination_url" : {
"type" : "text" ,
"label" : "Destination URL" ,
"mandatory" : 1
}
}
}
}
}
}
Optional parameters
parameter
description
types
comma separated list of possible types. If not specified the method returns accepted types, otherwise it returns detailed information on the requested types. Types can be ALL to get detailed information on all types
Return values
parameter
description
data
NA
/ctas/snip
access: [READ]
This method returns the actual snip for CTAs
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/ctas/snip?format=xml&id=123456
Query parameters
format = xml
id = 123456
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result> <[CDATA[<html><head>[...]</head><body>[...]</body></html>]]> </result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/ctas/snip?format=txt&id=123456
Query parameters
format = txt
id = 123456
Response
status_code = 200
status_text = OK
result = [...][...]
Example 3 (plain)
Request
https://joturl.com/a/i1/ctas/snip?format=plain&id=123456
Query parameters
format = plain
id = 123456
Response
Optional parameters
parameter
description
id
ID of the call to action
params
parameters of the call to action, for a complete list of parameters see the method i1/ctas/property
Return values
parameter
description
html
NA
/ctas/socialapps /ctas/socialapps/property
access: [READ]
Return available providers and their descriptions.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/ctas/socialapps/property
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : "" ,
"rate" : 0
} ,
"result" : {
"data" : [
"google" ,
"facebook" ,
"twitter" ,
"linkedin" ,
"amazon" ,
"microsoftgraph"
]
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/ctas/socialapps/property?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
<error> </error>
<rate> 0 </rate>
</status>
<result>
<data>
<i0> google </i0>
<i1> facebook </i1>
<i2> twitter </i2>
<i3> linkedin </i3>
<i4> amazon </i4>
<i5> microsoftgraph </i5>
</data>
</result>
</response>
Example 3 (txt)
Request
https://joturl.com/a/i1/ctas/socialapps/property?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
status_error =
status_rate = 0
result_data_0 = google
result_data_1 = facebook
result_data_2 = twitter
result_data_3 = linkedin
result_data_4 = amazon
result_data_5 = microsoftgraph
Example 4 (plain)
Request
https://joturl.com/a/i1/ctas/socialapps/property?format=plain
Query parameters
format = plain
Response
google
facebook
twitter
linkedin
amazon
microsoftgraph
Return values
parameter
description
data
NA
/resources /resources/add
access: [WRITE]
This method allows to upload a resource
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/resources/add?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/resources/add?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
Example 3 (plain)
Request
https://joturl.com/a/i1/resources/add?format=plain
Query parameters
format = plain
Response
200
OK
Required parameters
parameter
description
context
context of the upload
input
the name of the form field used to transfer resource's data
upload_type
Type of the upload. Available types: images,ssl
Return values
parameter
description
id
NA
name
name of the resource
type
type of the resource
url
complete URL of the resource
/resources/count
access: [READ]
This method returns number of resources of a specific upload_type in a context
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/resources/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<count> 8311 </count>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/resources/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
result_count = 8311
Example 3 (plain)
Request
https://joturl.com/a/i1/resources/count?format=plain
Query parameters
format = plain
Response
8311
Required parameters
parameter
description
context
context of the upload
upload_type
Type of the upload. Available types: images,ssl
Return values
parameter
description
count
number of resources
/resources/delete
access: [WRITE]
This method deletes a resource
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/resources/delete?format=xml&id=1234567890
Query parameters
format = xml
id = 1234567890
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<count> 1 </count>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/resources/delete?format=txtresource_id=1234567890
Query parameters
format = txtresource_id=1234567890
Response
status_code = 200
status_text = OK
result_count = 1
Example 3 (plain)
Request
https://joturl.com/a/i1/resources/delete?format=plainresource_id=1234567890
Query parameters
format = plainresource_id=1234567890
Response
1
Required parameters
parameter
description
context
context of the upload
ids
IDs of the resources to be deleted
upload_type
Type of the upload. Available types: images,ssl
Return values
parameter
description
count
number of deleted resources
/resources/edit
access: [WRITE]
This method allows to edit a resource
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/resources/edit?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/resources/edit?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
Example 3 (plain)
Request
https://joturl.com/a/i1/resources/edit?format=plain
Query parameters
format = plain
Response
200
OK
Required parameters
parameter
description
context
context of the upload
id
ID of the resource
input
the name of the form field used to transfer resource's data
upload_type
Type of the upload. Available types: images,ssl
Return values
parameter
description
id
NA
name
name of the resource
type
type of the resource
url
complete URL of the resource
/resources/info
access: [READ]
This method returns information specified in a comma separated input called fields about a resource
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/resources/info?format=xml&id=123456&fields=name,url
Query parameters
format = xml
id = 123456
fields = name,url
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/resources/info?format=txt&iresource_id=123456&fields=name,url
Query parameters
format = txt
iresource_id = 123456
fields = name,url
Response
status_code = 200
status_text = OK
result =
Example 3 (plain)
Request
https://joturl.com/a/i1/resources/info?format=plain&id=123456&fields=name,url
Query parameters
format = plain
id = 123456
fields = name,url
Response
Required parameters
parameter
description
context
context of the upload
fields
comma separated list of resources fields [id,name,url,type,context,date]
id
ID of the resource
upload_type
Type of the upload. Available types: images,ssl
Return values
parameter
description
data
parameters specified in fields of the resource
/resources/list
access: [READ]
This method returns a list of resource of a specific upload_type in a context
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/resources/list?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/resources/list?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
Example 3 (plain)
Request
https://joturl.com/a/i1/resources/list?format=plain
Query parameters
format = plain
Response
200
OK
Required parameters
parameter
description
context
context of the upload
fields
comma separated list of resources fields [id,name,url,type,context,date,count]. You can use the special field count to retrieve the number of resources
upload_type
Type of the upload. Available types: images,ssl
Optional parameters
parameter
description
length
number of items to be extracted
start
index from which the list will be extracted
Return values
parameter
description
count
number of resources
data
array (id,name,url,type) of resources
/urls /urls/instaurls /urls/instaurls/edit
access: [WRITE]
Set InstaUrl settings for a tracking link.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/edit?mp_url_id=12345
Query parameters
mp_url_id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Required parameters
parameter
description
id
NA
settings
NA
Return values
parameter
description
enabled
NA
/urls/instaurls/info
access: [READ]
Get settings for the InstaUrl option.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/info?mp_url_id=12345
Query parameters
mp_url_id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Required parameters
parameter
description
id
NA
Return values
parameter
description
settings
NA
/urls/instaurls/preview
access: [READ]
Given parameters, this method returns the HTML of an InstaUrl page.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/preview?mp_url_id=12345
Query parameters
mp_url_id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Optional parameters
parameter
description
settings
NA
Return values
parameter
description
html
NA
/urls/instaurls/property
access: [READ]
Returns the list of available properties for the InstaUrl option.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/instaurls/property?mp_url_id=12345
Query parameters
mp_url_id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Return values
parameter
description
avatar
NA
background
NA
css
NA
fonts
NA
icons
NA
links
NA
max_items
NA
messengers
NA
social_networks
NA
themes
NA
/urls/minipages /urls/minipages/edit
access: [WRITE]
Set a minipage for a tracking link.
incomplete or beta documentation
Required parameters
parameter
description
id
NA
Optional parameters
parameter
description
params
NA
template
NA
template_name
NA
Return values
parameter
description
added
NA
/urls/minipages/info
access: [READ]
Get the minipage linked to a tracking link.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/minipages/info?id=12345
Query parameters
id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Required parameters
parameter
description
id
NA
Return values
parameter
description
data
NA
/urls/minipages/preview
access: [READ]
Given a template and parameters, this method returns the HTML.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/minipages/preview?id=12345
Query parameters
id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Optional parameters
parameter
description
id
NA
params
NA
template
NA
template_name
NA
Return values
parameter
description
html
NA
/urls/minipages/property
access: [READ]
Returns the list of available minipage templates and their properties.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/urls/minipages/property?id=12345
Query parameters
id = 12345
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : []
}
Return values
parameter
description
data
NA
/users /users/brands /users/brands/add
access: [WRITE]
Add a user brand for the user logged in.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/users/brands/adduser_brand_name=brandname&url_home=http://www.joturl.com
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"id" : "65794b5563376a7a354f6c756b42625946636d2f47773d3d" ,
"name" : "name"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/brands/add?format=xml&name=brandname&url_home=http://www.joturl.com
Query parameters
format = xml
name = brandname
url_home = http://www.joturl.com
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<id> 65794b5563376a7a354f6c756b42625946636d2f47773d3d </id>
<name> name </name>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/users/brands/add?format=plain&name=brandname&url_home=http://www.joturl.com
Query parameters
format = plain
name = brandname
url_home = http://www.joturl.com
Response
65794b5563376a7a354f6c756b42625946636d2f47773d3d
name
Required parameters
parameter
description
input
the name of the form field used to transfer brand's logo
Optional parameters
parameter
description
name
name of the brand
url_home
URL of the brand's home
Return values
parameter
description
id
ID of the brand
name
name of the brand
url
complete URL of the logo image
url_home
URL of the brand's home
/users/brands/count
access: [READ]
This method returns the number of user brand's related to the call to actions
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/users/brands/count?format=xml
Query parameters
format = xml
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<count> 5824 </count>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/users/brands/count?format=txt
Query parameters
format = txt
Response
status_code = 200
status_text = OK
result_count = 5824
Example 3 (plain)
Request
https://joturl.com/a/i1/users/brands/count?format=plain
Query parameters
format = plain
Response
5824
Optional parameters
parameter
description
search
filter items by searching them
Return values
parameter
description
count
number of brands
/users/brands/delete
access: [WRITE]
This method deletes a user brand using the ids . Return 1 if the operation succeeds or 0 otherwise
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/users/brands/delete?format=xml&ids=12345abcdef6789,2345abcdef
Query parameters
format = xml
ids = 12345abcdef6789,2345abcdef
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<deleted> 1 </deleted>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/users/brands/delete?format=txt&ids=12345abcdef6789,2345abcdef
Query parameters
format = txt
ids = 12345abcdef6789,2345abcdef
Response
status_code = 200
status_text = OK
result_deleted = 1
Example 3 (plain)
Request
https://joturl.com/a/i1/users/brands/delete?format=plain&ids=12345abcdef6789,2345abcdef
Query parameters
format = plain
ids = 12345abcdef6789,2345abcdef
Response
1
Required parameters
parameter
description
ids
IDs of the brands to be deleted
Return values
parameter
description
deleted
number of deleted brands
/users/brands/edit
access: [WRITE]
Edit fields of a user brand.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/users/brands/edit?id=123456a&name=newname
Query parameters
id = 123456a
name = newname
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"id" : "65794b5563376a7a354f6c756b42625946636d2f47773d3d" ,
"name" : "name"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/users/brands/edit?format=xml&id=123456a&name=newname
Query parameters
format = xml
id = 123456a
name = newname
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<id> 65794b5563376a7a354f6c756b42625946636d2f47773d3d </id>
<name> name </name>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/users/brands/edit?format=plain&id=123456a&name=newname
Query parameters
format = plain
id = 123456a
name = newname
Response
65794b5563376a7a354f6c756b42625946636d2f47773d3d
name
Required parameters
parameter
description
id
ID of the brand
Optional parameters
parameter
description
input
the name of the form field used to transfer brand's logo
name
name of the brand
url_home
URL of the brand's home
Return values
parameter
description
id
ID of the brand
name
name of the brand
url_home
URL of the brand's home
/users/brands/info
access: [READ]
This method returns information specified in a comma separated input called fields about a user brand
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/users/brands/info?format=xml&id=123456&fields=name,url_home
Query parameters
format = xml
id = 123456
fields = name,url_home
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<id> 65794b5563376a7a354f6c756b42625946636d2f47773d3d </id>
<name> name </name>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/users/brands/info?format=txt&id=123456&fields=name,url_home
Query parameters
format = txt
id = 123456
fields = name,url_home
Response
status_code = 200
status_text = OK
result_id = 65794b5563376a7a354f6c756b42625946636d2f47773d3d
result_name = name
Example 3 (plain)
Request
https://joturl.com/a/i1/users/brands/info?format=plain&id=123456&fields=name,url_home
Query parameters
format = plain
id = 123456
fields = name,url_home
Response
65794b5563376a7a354f6c756b42625946636d2f47773d3d
name
Required parameters
parameter
description
fields
comma separated list of fields [id,name,url_home,url,res_id,res_name,context,type,date,count]
Optional parameters
parameter
description
id
ID of the brand
res_id
NA
Return values
parameter
description
data
required fields (id,name,url_home,url,res_id,res_name,context,type,date) of the brand
/users/brands/list
access: [READ]
This method returns a list of user's brands data, specified in a comma separated input called fields.
incomplete or beta documentation
Example 1 (xml)
Request
https://joturl.com/a/i1/users/brands/list?format=xml&fields=name,url_home
Query parameters
format = xml
fields = name,url_home
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<item0>
<id> 1a2b3c4d123456 </id>
<name> brand name </name>
</item0>
<item1>
<id> 1a2b3c4d123456 </id>
<name> brand name </name>
</item1>
</result>
</response>
Example 2 (txt)
Request
https://joturl.com/a/i1/users/brands/list?format=txt&fields=name,url_home
Query parameters
format = txt
fields = name,url_home
Response
status_code = 200
status_text = OK
result_item0_id = 1a2b3c4d123456
result_item0_name = brand name
result_item1_id = 1a2b3c4d123456
result_item1_name = brand name
Example 3 (plain)
Request
https://joturl.com/a/i1/users/brands/list?format=plain&fields=name,url_home
Query parameters
format = plain
fields = name,url_home
Response
1a2b3c4d123456
brand name
1a2b3c4d123456
brand name
Required parameters
parameter
description
fields
comma separated list of fields [id,name,url_home,url,res_id,res_name,context,type,date,count]. You can use the special field count to retrieve the number of resources
Optional parameters
parameter
description
length
number of items to be extracted
orderby
order items by one field [id,name,url_home,url,res_id,res_name,context,type,date,count]. Use sort for ascending or descending order. Default is orderby = id
search
filter items by searching them
sort
to be used in conjunction with orderby to select the ascending or descending order [ASC|DESC]. Default is sort = ASC
start
index from which the list will be extracted
Return values
parameter
description
count
number of brands
data
array (id,name,url_home,url,res_id,res_name,context,type,date) of brands
/watchdogs /watchdogs/add
access: [WRITE]
Given a url identifier, set a watchdog for it.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/watchdogs/add ?&ids=123abcdef&watchdog=1
Query parameters
ids = 123abcdef
watchdog = 1
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"updated" : "1"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/watchdogs/add?&ids=123abcdef&watchdog=1
Query parameters
ids = 123abcdef
watchdog = 1
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<updated> 1 </updated>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/watchdogs/add?&ids=123abcdef&watchdog=1
Query parameters
ids = 123abcdef
watchdog = 1
Response
1
Required parameters
parameter
description
spider_type
NA
watchdog
NA
Optional parameters
parameter
description
ids
NA
project_id
NA
text
NA
text_check
NA
video
NA
watchdog
NA
watchdog_set_as_default
NA
Return values
parameter
description
updated
NA
/watchdogs/delete
access: [WRITE]
Delete a watchdog related to a given short URL or a given project.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/watchdogs/delete?id=123abcdef
Query parameters
id = 123abcdef
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"watchdog" : "0" ,
"spider" : "128" ,
"spider_check" : "0" ,
"spider_check_option" : "70" ,
"spider_only_html" : "1" ,
"spider_time" : "" ,
"watchdog_is_default" : "0"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/watchdogs/delete?format=xml&id=123abcdef
Query parameters
format = xml
id = 123abcdef
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<watchdog> 0 </watchdog>
<spider> 128 </spider>
<spider_check> 0 </spider_check>
<spider_check_option> 70 </spider_check_option>
<spider_only_html> 1 </spider_only_html>
<spider_time> </spider_time>
<watchdog_is_default> 0 </watchdog_is_default>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/watchdogs/delete?format=plain&id=123abcdef
Query parameters
format = plain
id = 123abcdef
Response
0
128
0
70
1
0
Optional parameters
parameter
description
id
NA
project_id
NA
Return values
parameter
description
data
NA
/watchdogs/info
access: [READ]
Returns information on the watchdog related to a given tracking link or a given project.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/watchdogs/info?id=123abcdef
Query parameters
id = 123abcdef
Response
{
"status" : {
"code" : 200 ,
"text" : "OK"
} ,
"result" : {
"watchdog" : "0" ,
"spider" : "128" ,
"spider_check" : "0" ,
"spider_check_option" : "70" ,
"spider_only_html" : "1" ,
"spider_time" : "" ,
"watchdog_is_default" : "0"
}
}
Example 2 (xml)
Request
https://joturl.com/a/i1/watchdogs/info?format=xml&id=123abcdef
Query parameters
format = xml
id = 123abcdef
Response
<?xml version ="1.0" encoding ="UTF-8" ?>
<response>
<status>
<code> 200 </code>
<text> OK </text>
</status>
<result>
<watchdog> 0 </watchdog>
<spider> 128 </spider>
<spider_check> 0 </spider_check>
<spider_check_option> 70 </spider_check_option>
<spider_only_html> 1 </spider_only_html>
<spider_time> </spider_time>
<watchdog_is_default> 0 </watchdog_is_default>
</result>
</response>
Example 3 (plain)
Request
https://joturl.com/a/i1/watchdogs/info?format=plain&id=123abcdef
Query parameters
format = plain
id = 123abcdef
Response
0
128
0
70
1
0
Optional parameters
parameter
description
id
NA
project_id
NA
Return values
parameter
description
data
NA
/watchdogs/stats
access: [READ]
This method returns stats about a watchdog.
incomplete or beta documentation
Example 1 (json)
Request
https://joturl.com/a/i1/watchdogs/stats
Response
{
"status" : {
"code" : 200 ,
"text" : "OK" ,
"error" : ""
} ,
"result" : {
"stats" : "" ,
"spiders" : ""
}
}
Return values
parameter
description
data
NA