Send Messages (Sticker)

    Makes a message bot send a sticker message.

    For more information on stamps and sticker IDs of LINE, refer to Sticker list.

    API Type

    Server API

    Request URL

    https://apis.worksmobile.com/r/{API ID}/message/v1/bot/{botNo}/message/push

    HTTP Method

    POST(Content-Type: application/json; charset=UTF-8)

    Request Content

    Parameter Type Required Description
    type string Y Set this parameter to "sticker."
    packageId string Y Package ID. For more information on package IDs, refer to Sticker list.
    stickerId string Y Sticker ID. For more information on sticker IDs, refer to Sticker list.

    Request Example

    
    {
      "accountId": "admin@example.com",
      "content": {
        "type": "sticker",
        "packageId": "1",
        "stickerId": "2"
      }
    }
    

    Response

    It returns HTTP status 200 with no response if successful.

    Error Code

    If the API call fails, it returns an error code and message.
    For error codes, refer to Message Bot REST API Error Codes.