REST / Tags / Get

URI

GET /wp-json/gh/v3/tags
	

Method

This endpoint supports the GET method.

Request

You can pass the search string to get SMS with that string.

PARAM TYPE REQUIRED DESCRIPTION
search string no String to search in tags.
q string no String to search in tags.
select bool no Returns select formate data.
select2 bool no Returns select formate data.

Example

Here is the full example of the URI with the query string. If a query string is not present in the URI it will return all the tags.

http://yoursite.com/wp-json/gh/v3/tags?q=administrator

Response

If the tag is found you will receive a 200 OK response with the tag details. An example response is below.

{
    "tags": [
        {
            "tag_id": "1",
            "tag_slug": "administrator",
            "tag_name": "Administrator",
            "tag_description": "",
            "contact_count": "2"
        }
    ],
    "status": "success"
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us