Attachments

Create an attachment

Changed on

Create a new attachment.

post/api/v2/attachments

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/attachments
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "attachments",
    "attributes": {
      "name": "design-mockup-v2.png",
      "content_type": "image/png"
    }
  }
}

Response

Single attachment

Example response

{
  "data": {
    "id": "890",
    "type": "attachments",
    "attributes": {
      "name": "design-mockup-v2.png",
      "file_size": 2048000,
      "content_type": "image/png",
      "created_at": "2026-03-10T10:00:00.000+00:00",
      "url": null
    },
    "relationships": {
      "creator": {
        "data": {
          "type": "people",
          "id": "12"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      added the new recording_attachment_invalid enum value to the // response property for the response status

    • warning

      added the new recording_not_uploaded enum value to the // response property for the response status

    • warning

      added the new recording_size_invalid enum value to the // response property for the response status

    • warning

      added the new recording_transcription_refused enum value to the // response property for the response status