SHIFT API

Attachments

API routes for managing attachments.

API Reference

POST
/v1/attachments

Creates a new attachment and returns the attachment URL. The file to upload should be sent in the file upload field named file.

Example 1

Upload a file

Upload attachment success route

Request Body:

{
  "alternate_emails": [
    {
      "address": "zebra@grapheffect.com"
    }
  ],
  "primary_email": {
    "address": "chicago@grapheffect.com"
  }
}

JSON response body:

{
  "alternate_emails": [
    {
      "address": "zebra@grapheffect.com"
    }
  ],
  "primary_email": {
    "address": "chicago@grapheffect.com"
  }
}