Using Webhooks with Composer API
- Import your JSON file into postman.
- Select your imported file and go to Authorization.
- Click the Get New Access Token to generate the Usertrust token.
- This will prompt the Conga for Advantage Platform login screen, select your IDP and input your login credentials.
- Logging in will prompt the notification to open Postman in browser. Click Open.
- The screen will display Authenticated.
- Open the Postman program. Click the Use Token Button to add it in the collection.
- After completing authentication click on IngressIbis Merge request.
HIT POST endpoint: {{BASE_URL}}/api/ingress/v1/Merge?MergeEngine=PlatformComposer
You will receive a Correlation ID. For example, Correlation ID: 2cfe5f9d3bbc4fbe87265779f872cd44_DatasetJson
With the correlation ID, you can see preview and merge status. Hit GET API: GET: {{BASE_URL}}/api/ingress/v1/status/{{CORRELATION_ID}}?showDetails=trueTo check preview, click Preview URL API with the correlation Id, which displays mergedFileUri-merged file type. GET: {{BASE_URL}}/api/ingress/v1/Merge/Preview/{{CORRELATION_ID}}?showDetails=true
You can use the Ctrl+Click keyboard shortcut on previewFileUri it will download the file to your local machine. You can Ctrl+Click on mergedFileUri to download the merged file.
