Check content

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",
            "storeId": "98be22e5-4d21-4a6c-a189-d4d51d4940d8"
        }
    ]
}

Checking content of alerts

Parameter RequirementDefaultDescription
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

Parameter Description
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