braze-api
Version:
Track users, send messages, export data, and more with Braze API.
18 lines • 659 B
TypeScript
import type { CampaignsTriggerSendObject } from './types';
/**
* Sending campaign messages via API-triggered delivery.
*
* The send endpoint allows you to send immediate, ad-hoc messages to designated users.
*
* {@link https://www.braze.com/docs/api/endpoints/messaging/send_messages/post_send_triggered_campaigns/}
*
* @param apiUrl - Braze REST endpoint.
* @param apiKey - Braze API key.
* @param body - Request parameters.
* @returns - Braze response.
*/
export declare function send(apiUrl: string, apiKey: string, body: CampaignsTriggerSendObject): Promise<{
dispatch_id: string;
message: string;
}>;
//# sourceMappingURL=send.d.ts.map