Create Scheduled Messages

POST https://{{instance_url}}/messages/schedule/create

Use this endpoint to send messages directly from the API.

The create schedule endpoint allows you to schedule a Campaign, Canvas, or other message to be sent at a designated time (up to 90 days in the future) and provides you with an identifier to reference that message for updates. If you are targeting a segment, a record of your request will be stored in the Developer Console after all scheduled messages have been sent.

Request Parameters

ParameterRequiredData TypeDescription
broadcastOptionalBooleanSee broadcast -- defaults to false on 8/31/17, must be set to true if recipients object is omitted
external_user_idsOptionalArray of stringsSee external user identifier
user_aliasesOptionalArray of user alias objectsSee user alias object
audienceOptionalConnected audience objectSee connected audience
segment_idOptionalStringSee segment identifier
campaign_idRequiredStringSee campaign identifier
recipientsOptionalArray of recipient objectsSee recipients object
send_idOptionalStringSee send identifier
override_messaging_limitsOptionalBooleanIgnore global rate limits for campaigns, defaults to false
recipient_subscription_stateOptionalStringUse this to send messages to only users who have opted in ('opted_in'), only users who have subscribed or are opted in ('subscribed') or to all users, including unsubscribed users ('all'), the latter being useful for transactional email messaging. Defaults to 'subscribed'
scheduleRequiredSchedule objectSee schedule object
messagesOptionalMessaging objectSee messaging object

Request Components

Available Messaging Objects