Message

Catalog


POST Push message

Request path:

https://stargate.aiursoft.com/Message/PushMessage

Request example:

https://stargate.aiursoft.com/Message/PushMessage?AccessToken=yourAccessToken&ChannelId=0&MessageContent=yourMessageContent

Request content type:

application/x-www-form-urlencoded

Form content example:

AccessToken=yourAccessToken&ChannelId=0&MessageContent=yourMessageContent 

Request form:

Name Required Type
AccessToken Required Text
ChannelId Required Number
MessageContent Not required Text

Possible Response:

{
  "code": -1,
  "message": "Some error."
}

Possible Response:

{
  "items": [
    "Some item is invalid!"
  ],
  "code": -10,
  "message": "Your input contains several errors!"
}