Notifications Count

Brief description:

  • Count notification (friend requests, messages, notifications).

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
guid Yes integer A user guid you wanted to count notification for
types No string A type of notification seperated by comma 'typedef', 'typeabc' (this will not effect total friend requests, messages)

Example Response

{
    "merchant": "Open Source Social Network",
    "url": "http:\/\/www.mywebsite.com\/",
    "time_token": 1569332866,
    "payload": {
        "notifications": "1",
        "messages": "1",
        "friends": 4
    },
    "code": "100",
    "message": "Request successfully executed"
}

Services View All