Submit a captured thread for review
Accepts a capture from the browser extension and returns the pending review item, building a proposed project mapping from it. Deduplicated on (team, source, external_id): a repeat capture of the same thread returns the existing item with 200 rather than creating another, so the extension can retry safely.
Accepts a capture from the browser extension and returns the pending review item, building a proposed project mapping from it. Deduplicated on (team, source, external_id): a repeat capture of the same thread returns the existing item with 200 rather than creating another, so the extension can retry safely.
Authorization
apiKey In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/public/v1/extension/imports" \ -H "Content-Type: application/json" \ -d '{ "captured_at": "2019-08-24T14:15:22Z", "extension_version": "string", "external_id": "string", "page_text": "string", "participant": { "name": "string" }, "source": "linkedin", "thread_url": "http://example.com" }'{ "dedup": "new", "id": "string", "project_id": "string", "proposed": { "attachments": [ { "content_type": "string", "filename": "string", "size": 0 } ], "contact": { "create": { "email": "user@example.com", "first_name": "string", "last_name": "string" }, "match": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "score": 0 } }, "description_excerpt": "string", "from": { "email": "string", "name": "string" }, "organization": { "create": { "name": "string" }, "match": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "score": 0 }, "suggested_role": "recruiter" }, "title": "string" }, "status": "pending"}{ "dedup": "new", "id": "string", "project_id": "string", "proposed": { "attachments": [ { "content_type": "string", "filename": "string", "size": 0 } ], "contact": { "create": { "email": "user@example.com", "first_name": "string", "last_name": "string" }, "match": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "score": 0 } }, "description_excerpt": "string", "from": { "email": "string", "name": "string" }, "organization": { "create": { "name": "string" }, "match": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "score": 0 }, "suggested_role": "recruiter" }, "title": "string" }, "status": "pending"}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}