Create a Tag

You can create a tag by adding tag name and API token.

Sample Code / Result:
Language
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.weberr.com/CreateTag", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array ( 'api_token' => 'NjY1YTF8UzE2MDMzNTU4MzQxZDgw', 'name' => 'FBTag', ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
{ "status": "success", "message": "Tag created successfully." }

Create Tag attributes

Key R/O Description
api_token required Token generated by weberr.
integer
name required Name of the tag.
string

Update a Tag

You can update a tag by using tag name, code and API token.

Sample Code / Result:
Language
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.weberr.com/UpdateTag", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array ( 'api_token' => 'NjY1YTF8UzE2MDMzNTU4MzQxZDgw', 'code' => 'T5f9183d8081ec', 'name' => 'InstaTag' )); $response = curl_exec($curl); curl_close($curl); echo $response;
{ "status": "success", "message": "Tag Updated Successfully." }

Update Tag attributes

Key R/O Description
name required Name of the Tag
string
code required Id of the created tag based on token.
string(with api method)
api_token required Token generated by weberr.
integer
Sample Code / Result

Show One Tag

You can show a single tag by using parameters like API token and code provided by weberr.

Language
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.weberr.com/ShowOneTag", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array( 'api_token' => 'NjY1YTF8UzE2MDMzNTU4MzQxZDgw', 'code' => 'T5f9183d8081ec'), )); $response = curl_exec($curl); curl_close($curl); echo $response;
{ "status": "success", "data": [ { "tagid": "T5f92684a87e67", "name": "InstaTag", "created": "2020-10-23 10:51:14" } ] }

Show One Tag attribute

Key R/O Description
api_token required Token generated by weberr.
integer
code required Id of the created tag based on token.
string

Show All Tags

You can show all tags by using API token provided by weberr.

Sample Code / Result:
Language
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.weberr.com/ShowAllTags", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array( 'api_token' => 'NjY1YTF8UzE2MDMzNTU4MzQxZDgw'), )); $response = curl_exec($curl); curl_close($curl); echo $response;
{ "status": "success", "data": [ { "tagid": "T5f92684a87e67", "name": "InstaTag", "created": "2020-10-23 10:51:14" } ] }

Show All Tag attribute

Key R/O Description
api_token required Token generated by weberr.
integer

Assign Tag To Contact

You can assign a tag to contact by using contact code, tag name and APi token provided by weberr.

Sample Code / Result:
Language
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.weberr.com/AssignTagToContact", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array ( 'api_token' => 'NjY1YTF8UzE2MDMzNTU4MzQxZDgw', 'tagName' => 'InstaTag','contactCode' => 'C1603365398'), )); $response = curl_exec($curl); curl_close($curl); echo $response;
{ "status": "success", "message": "Tag Added Successfully" }

Assign Tag To Contact attribute

Key R/O Description
api_token required Token generated by weberr.
integer
contactCode required Id of the created contact based on token.
string
tagName required Tag name.
string

Delete a Tag

You can delete a single tag by using the unique identifier (code), API token.

Sample Code / Result:
Language
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.weberr.com/DeleteTag", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => array ( 'api_token' => 'NjY1YTF8UzE2MDMzNTU4MzQxZDgw', 'code' => 'T5f9183d8081ec' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
{ "status": "success", "message": "Tag Deleted Successfully." }

Delete Tag attribute

Key R/O Description
api_token required Token generated by weberr.
integer
code required Id of the created tag based on token.
string
Coppied successfully.