Submit files and/or URLs for compliance review
Step 2 of submission. Provide file_ids (registered via POST /v1/files), urls (web links), or both — at least one is required. Workflow: (1) Ask the user if they have supporting documents (scripts, briefs, disclaimers). If yes, register each with register_file using purpose: supporting_doc and include the file_ids in supporting_doc_file_ids. (1a) If supporting documents were attached, ask whether the assets should be checked against one of them for discrepancies. If yes, set run_discrepancy_analysis: true (and discrepancy_doc_file_id when more than one document is attached). (2) Call get_options to get allowed values for product_lines, business_units, company_departments, distribution_selection, and custom_trigger_fields — present them to the user as a list for multi-selection. (3) Submit the bundle. Submissions with values not in the allowed lists are rejected with 422.
Request
- Base URL: https://api.blee.com
- URL: https://api.blee.com/v1/bundles
- Auth: HTTP bearer
Request body
Example request
{
"external_ref": "MRF-12345",
"subject": {
"email": "user@company.com"
},
"file_ids": [
"uuid-1",
"uuid-2"
],
"urls": [
"https://www.example.com/ad-landing-page",
"https://docs.google.com/document/d/..."
],
"supporting_doc_file_ids": [
"uuid-3"
],
"run_discrepancy_analysis": true,
"discrepancy_doc_file_id": "uuid-3",
"metadata": {
"due_date": "2026-06-01T00:00:00Z",
"expiration_date": "2026-12-31T00:00:00Z",
"distribution_selection": [
"SOCIAL_MEDIA",
"EMAIL"
]
}
}Response
Bundle accepted. files and urls list accepted assets; failed_files and failed_urls list any assets that could not be submitted (empty when all assets succeeded).
Changes
No recorded changes to this operation across all 1 revision of this API.