Upload a support config CSV
POST/v1/checkin/support-configs/upload
Uploads a CSV file (multipart/form-data, part file) describing the required support documents per provider product code. The provider is resolved from the authenticated token (provider_slug), never from the multipart request or from the CSV content. The file is validated synchronously (MIME type text/csv and required header columns) before anything is written to storage or the database; a validation failure returns 400 without any side effect. On success, the CSV is stored in S3, a SupportConfigUploadProcess record is persisted with status PENDING, and a message is published to pre-attendance-worker for asynchronous parsing/validation/upsert. Returns 202 with the process_id to poll via GET /process/{processId}. Maximum file size: 25MB.
Request
Responses
- 202
- 400
- 401
- 413
- 502
Upload accepted for asynchronous processing
Bad Request: missing file, unsupported MIME type (must be text/csv), or missing required CSV header columns
Unauthorized: missing or invalid Bearer token
Uploaded file exceeds the maximum allowed size (25MB)
Bad Gateway: rcm-api or the document storage service is unavailable