Check Content API

https://api.alert.alertinghub.co.uk/api/json/checkcontent

When you store content you get a store ID. Using the checkcontent API allows you to check the status of the stored item.

Json sample

{
    "version": "latest",
    "apiKey": "abcdefghijklmnopqrstuvwxyz",
    "content": [
        {
            "tag": "t1",
            "storeDetails" : {
                "storeName" : "myPreviouslyStoredAlert"
            }
        }
    ]
}

Checking content of alerts

ParameterRequirementDefaultDescription
versionMandatoryNoneSee API guide
apiKeyMandatoryNoneSee API guide
contentMandatoryArray of items to be checked
storeDetailsMandatoryNoneContains either a 'storeId' value or a 'storeName' value denoting the existing store to check.
tagMandatoryNoneClient defined tag - freeform, used in the response

Response

ParameterDescription
successOne of “true”, “false”. If false then failureReason should also be returned
contentArray of stored items pro
successOne of “true”, “false”. If false then failureReason should also be returned
storeIdThe unique id of the stored content
storeNameThe client defined name for the stored item
contentTypeType of content
tagClient defined tag as per api call
expiresUnlessUsedExpiry for the stored content