---
title: "Collect development data"
method: POST
path: "/dev-data-collection"
tags: ["Development"]
---

# Collect development data

`POST /dev-data-collection`

Collects form data and generated letters for development analysis (development environment only)

## Request body

- DevDataCollectionRequest
  - `formData` LetterRequest, required
    - `initialQuestions` InitialQuestions, required
      - `contentLocationType` 'url' | 'description', required
      - `contentUrl` string — Required when contentLocationType is 'url'
      - `contentDescription` string — Required when contentLocationType is 'description'
      - `contentType` 'intimate' | 'personal' | 'private' | 'other', required
      - `contentContext` 'hacked' | 'impersonation' | 'relationship' | 'unknown' | 'other', required
      - `imageUploadDate` string, required
      - `imageTakenDate` string, required
      - `ownershipEvidence` string, required
      - `impactStatement` string, required
      - `imageIdentification` string, required
    - `platformInfo` PlatformInfo, required
      - `platformId` 'facebook' | 'instagram' | 'tiktok' | 'onlyfans' | 'pornhub' | 'other', required
      - `platformName` string, required
      - `isCustom` boolean, required
      - `customName` string — Required when isCustom is true
    - `reportingDetails` ReportingDetails
      - `standardProcessDetails` string
      - `escalatedProcessDetails` string
      - `responseReceived` string
      - `additionalStepsTaken` string
    - `followUp` object — Follow-up question answers as key-value pairs
  - `generatedLetter` GeneratedLetter, required
    - `subject` string, required — Email subject line
    - `body` string, required — Letter body content with \n for newlines
    - `nextSteps` string[] — Recommended next steps for the user
  - `sessionId` string
  - `completionTimeSeconds` number

## Response `200`

Data collected successfully

- object
  - `success` boolean

## Other responses

- `400` — Invalid request data
- `403` — Not available in production
- `500` — Internal server error

---

[API](https://skmtc.dev/chaynhq/apis/chayn-tools-api.md) · [All operations](https://skmtc.dev/chaynhq/apis/chayn-tools-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaynhq/chayn-tools-api/revisions/f835a1636ca2/schema)
