in EasySendy Pro API

Campaign Management API

Our Campaign Management API lets you create, update , pause and unpause the campaigns accordingly.

CAMPAIGNS
A campaign requires a title to be created. In order to send or schedule the campaign, you will be required to provide a campaign name, from name, subject, api key, content (we suggest both html and plain text) and at least one list or segment ID.

 

CREATE A CAMPAIGN 

REQUEST
http://api.easysendy.com/ver1/campaigns – create campaign to list

Description:  Add and campaign email to campaign list
Method: POST

Params:

  • campaignName- Name of campaign,
  • fromName- Name from campaign,
  • fromEmail- email from campaign,
  • subject- campaign subject,
  • segmentUID- segment Uid,
  • listUID- list Uid,
  • api_key- App API public key,
  • content- content file must be in html/zip,
  • replyTo- reply to email,
  • xmlFeed- feed xml to campaign,
  • req_type- create,
  • send_at – YYYY-MM-DD hh:mm:ss

RETURN:
Status(success/errors)

NOTE: –

  • XML_FEED should be YES/NO.
  • Segment UID is optional.
  • Put date related fields in yyyy-mm-dd
  • Date-time related fields in yyyy-mm—dd HH:mm:ss (time in 24 hour format)

 

UPDATE CAMPAIGN FROM LIST

REQUEST
http://api.easysendy.com/ver1/campaigns – update campaign from list

Description: Add and campaign email to campaign list
Method: POST

Params:

  • campaignName- Name of campaign,
  • fromName- Name from campaign,
  • fromEmail- email from campaign,
  • subject- campaign subject,
  • segmentUID- segment Uid,
  • listUID- list Uid,
  • campaignUID-campaign Uid,
  • api_key- App API public key,
  • content- content file must be in html/zip,
  • replyTo- reply to email,
  • xmlFeed- feed xml to campaign,
  • req_type- update,
  • send_at – YYYY-MM-DD hh:mm:ss

RETURN:
Status(success/errors)

NOTE:

  • XML_FEED should be YES/NO.
  • Segment UID is optional.
  • Put date related fields in yyyy-mm-dd
  • Date-time related fields in yyyy-mm—dd HH:mm:ss (time in 24 hour format)

PAUSE/UNPAUSE CAMPAIGN

REQUEST
http://api.easysendy.com/ver1/campaigns – campaign from list

Description: Add and campaign email to campaign list
Method: POST

Params:

  • campaignUID-campaign Uid,
  • api_key- App API public key,
  • req_type- pauseUnpause

RETURN:
Status(success/errors)

Comments are closed.
Get Started with Hybrid Emails
Signup an EasySendy Pro Account Now!
Thanks! Please check your email inbox for the verification email!
Get Started with Hybrid Emails
Signup an EasySendy Pro Account Now!
Your Information will never be shared with any third party.