Skip to content

Get engagement documents by engagement ID

Request

🔐 Required role: API_ADMIN

📖 Data dictionary: Engagement document

Retrieve documents associated with a specific engagement

Returns all engagement documents linked to the given engagement ID, including the document type name for each record.

Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
Path
engagementIdinteger, >= 1required

Unique identifier of the engagement

Example:34567
curl -i -X GET \
  https://api.sandbox.aiwyn.app/gql/v1/engagement_documents/by_engagement/34567 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'

Responses

Engagement documents retrieved successfully

Bodyapplication/json
engagementDocumentsArray of objectsrequired
Response
{ "engagementDocuments": [ { … }, { … } ] }