GET Method

GET method used to get list of tags form the Groundhogg. Users can retrieve all available tags by making GET request to following URL.

http://yoursite.com/wp-json/gh/v2/tags?key=[API key]&token=[API token]

you can also retrieve specific tag by passing tag_id argument while making request. Following  request returns detail about tag with tag_id=1.

http://yoursite.com/wp-json/gh/v2/tags?key=[API key]&token=[API token]&tag_id=1
{
    "tags": {
        "tag_id": "1",
        "tag_slug": "administrator",
        "tag_name": "Administrator",
        "tag_description": "",
        "contact_count": "2"
    }
}
Was this article helpful to you? Yes No

How can we help?