GET :version/annotation-types

Returns a list of annotation type objects

Query parameters

Name Description Values Required
page_size Number of results to return integer False
"https://ca-eu.conversocial.com/api/1/annotation-types?page_size=1"

{
  "annotationtypes": [
    {
      "format": "short",
      "id": "564b5d709bd56c14074805ec",
      "is_active": true,
      "name": "Email"
    }
  ],
  "paging": {
    "next_page": "https://ca-eu.conversocial.com/api/1/annotation-types?page_token=564b5d709bd56c14074805ed&page_size=1"
  }
}

Examples

# python
import requests

base_url = "https://ca-eu.conversocial.com/api"

response = requests.get(
    "https://ca-eu.conversocial.com/api/1/annotation-types",
    auth=("iamausername", "iamapassword"))

print response.status_code
> 200
# bash
curl -u "iamausername:iamapassword"
"https://ca-eu.conversocial.com/api/1/annotation-types"