Skip to main content
POST
/
attachments
Error
A valid request URL is required to generate request examples
{
  "id": "<string>",
  "name": "<string>",
  "content": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.phishy.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Attachment details and data

file
file

File content of the attachment

metadata
object

Response

Attachment created successfully

id
string

Unique identifier for the attachment

name
string

Name of the attachment

content
string

Content of the attachment, base64 encoded