Imports

Create a new import by uploading a file

post/imports

Request

  • Base URL
    https://api.buttondown.com/v1
  • URL
    https://api.buttondown.com/v1/imports
  • Auth
    API key in header Authorization

Request body multipart/form-data

filestring binary required
metadatastring nullable

Response

Created

idstring required

A unique TypeID associated with the object.

creation_datestring date-time required

The date and time at which the object was first created.

type'subscriber_import' required

An enumeration.

status'failed' | 'in_progress' | 'no_op' | 'not_started' | 'succeeded' | 'validating' required

An enumeration.

source'bare' | 'beehiiv' | 'buttondown' | 'custom' | 'flodesk' | 'ghost' | 'google' | 'mailchimp' | 'mailerlite' | 'memberful' | 'pencilbooth' | 'sender_dot_net' | 'sendy' | 'shopify' | 'sparkloop' | 'squarespace' | 'standard' | 'substack' | 'tinyletter' required

An enumeration.

labelstring nullable

An optional label for the import.

metadataobject

Metadata about the import, such as detected column mappings.

Changes

    • warning

      added the new no_op enum value to the response property for the response status

    • warning

      added the new beehiiv enum value to the response property for the response status

    • warning

      added the new pencilbooth enum value to the response property for the response status

    • info

      added the non-success response with the status