braze-api
Version:
Track users, send messages, export data, and more with Braze API.
19 lines • 647 B
TypeScript
import type { MessagesScheduleCreateObject } from './types';
/**
* Create scheduled messages.
*
* Use this endpoint to send messages directly from the API.
*
* {@link https://www.braze.com/docs/api/endpoints/messaging/schedule_messages/post_schedule_messages/}
*
* @param apiUrl - Braze REST endpoint.
* @param apiKey - Braze API key.
* @param body - Request parameters.
* @returns - Braze response.
*/
export declare function create(apiUrl: string, apiKey: string, body: MessagesScheduleCreateObject): Promise<{
dispatch_id: string;
schedule_id: string;
message: "success" | string;
}>;
//# sourceMappingURL=create.d.ts.map