GET
/
businesses
/
{id}
/
email_blasts
curl --request GET \
  --url https://api.pocketflows.com/businesses/{id}/email_blasts \
  --header 'Authorization: Basic <encoded-value>'
{
  "email_blasts": [
    {
      "id": "<string>",
      "name": "<string>",
      "email_template": "<string>",
      "one_off_email_template": "<string>",
      "subject": "<string>",
      "template_json": "<any>",
      "enrolled_customers": [
        "<string>"
      ],
      "excluded_customers": [
        "<string>"
      ],
      "segment": "<string>",
      "email_address": "<string>",
      "status": "<string>",
      "scheduled_at": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the business

Response

200 - application/json

A dictionary with a email_blasts property which is an array of EmailBlast objects

The response is of type object.