Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Delivery

  1. Create a template message with schedule_type = 1 and schedule_date containing the schedule date in UNIX timestamp format.
    Use the following JSON payload as example:
    {
    "campaign_id": "161156",
    "application_id": "103012",
    "sound": "default",
    "name": "Test name",
    "description": "Test description",
    "type": 5,
    "content_type": 1,
    "push_body": "Test message (body)",
    "mobile_overdue_strategy": 1, // or 2 or 3
      "mobile_sendout_strategy": 1, // or 2 or 3
      "local_time": "1425130929"
    }
  2. Trigger the message like a regular template message (such as in direct message). Info available here.

Cancellation

A pending or processing local message can be cancelled using the following API:

Verb

PUT

URI

http://<hostname>/api/v3/message/direct/cancel

Body

{
    "app_id": 1234,
    "message_id": 1234
}
  • No labels