post__email_feedback

POST /email/feedback

Send Feedback Email

Send feedback email to Flashback support with optional file attachments.

This endpoint allows users to submit feedback, bug reports, feature requests, or support inquiries directly to the Flashback team. The system supports file attachments for screenshots, logs, or other relevant documents.

File Upload Limits:

  • Maximum 10 files per request

  • Maximum 10MB per individual file

  • Maximum 25MB total upload size

  • All file types are accepted

Use Cases:

  • Bug reports with screenshots

  • Feature requests with mockups

  • Support requests with log files

  • General feedback and suggestions

Security:

  • Files are scanned for basic validation

  • Attachments are stored securely

  • Email is sent to support team with user context

Parameters

Name
In
Type
Required
Description

body

body

object

true

none

» email

body

string(email)

true

Contact email for follow-up

» subject

body

string

true

Email subject line

» message

body

string

true

Detailed feedback message

» files

body

[string]

false

Optional file attachments (max 10 files, 10MB each)

TypeScript Client Library

// Using the Flashback TypeScript client
import { FlashbackClient } from '@flashback/client';

const client = new FlashbackClient({ accessToken: 'your-access-token' });

// Send feedback with optional attachments
try {
  const result = await client.other.sendFeedback({
    email: '[email protected]',
    subject: 'Bug Report: Upload Issue',
    message: "I'm experiencing problems with file uploads when...",
    files: ['screenshot.png', 'error.log']
  });
  console.log('Feedback sent:', result);
} catch (error) {
  console.error('Failed to send feedback:', error);
}

Code Samples

# You can also use wget
curl -X POST https://backend.flashback.tech/email/feedback \
  -H 'Content-Type: multipart/form-data' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example Usage:

curl -X POST https://backend.flashback.tech/email/feedback \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -F "[email protected]" \
  -F "subject=Bug Report: Upload Issue" \
  -F "message=I'm experiencing problems with file uploads..." \
  -F "[email protected]" \
  -F "[email protected]"

Body parameter

email: [email protected]
subject: "Bug Report: Upload Issue"
message: I'm experiencing problems with file uploads when...
files:
  - string

Example responses

200 Response

{
  "success": true,
  "message": "Email sent successfully",
  "uploadedFiles": 2
}

Responses

Status
Meaning
Description
Schema

200

Email sent successfully

Inline

400

Missing required fields

Inline

413

File size too large

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» message

string

false

none

none

» uploadedFiles

integer

false

none

Number of files successfully uploaded

Status Code 400

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» message

string

false

none

none

Status Code 413

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» message

string

false

none

none

Last updated

Was this helpful?