im.kayac.com

Simple instant message (IM) posting API

im.kayac.com provide simple IM post api. Once register IM account, you can easily send messages to the account via HTTP.

Usage:

POST /api/post/username HTTP/1.0
Host: im.kayac.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 22

message=Hello%20World!

See documentation for more detail.


Signup now!

API Documentation

Request

Message should be POSTed to following URL: http://im.kayac.com/api/post/{username}

POST Parameters

Secret segnature is SHA-1 hex digest of {message}+{secretkey}. For example, message is "Hello" and secret key is "SecretKey":
sig=3e287020daaa2771e73ceda2e798c2d576882f22  // sha1_hex( "HelloSecretKey" );

Response

Response is a JSON format like below:
{
  "id": null,
  "error", "",
  "result", "posted"
}

response parameters are:

Our services