The Composer APIs are available as part of an early adopter program that requires Conga product management review for inclusion.

The Composer APIs allow you to create documents with Salesforce data and JSON payloads using Microsoft Office templates. You can start the document generation process using Salesforce Apex calls and other Salesforce programmatic methods. Documents created with the Composer API are compatible with a variety of email delivery, eSignature, and cloud storage integrations.

The Conga Composer API adheres to the principles of RESTful web services. The Conga Composer REST API uses standard web technologies such as JSON to expose application logic and data and enable developers to use any language and environment that can connect to the Web.

  • Uses SSL (HTTPS) to ensure all data is secure. Calls made over plain HTTP will fail.
  • Uses API Key to validate API users. API requests without authentication will fail.


At Conga, we value the security of our customers’ data more than anything else. Authenticating for Composer REST APIs requires a Client ID and Client Secret to connect your API solution to Conga Composer API. 

Step 1: Generate the Client ID and Secret

  1. Navigate to the Conga Composer Setup.
  2. Select API Configuration under the Configuration section.

    Currently, this option is only available upon request. If you want to enable this feature, please contact your Account Executive.

  3. Click the Authorize button.
  4. Copy the Client ID and Client Secret.

    Once you leave the API Configuration screen, the Client Secret will no longer be visible. If it is lost, it must be reset and cannot be retrieved.

Step 2: Generate Conga Auth Access Token

The Auth Access Token API call returns the Conga-access-token, which will be used to authorize the Conga Ingress API call and the Conga Status-Service API call.

  • HTTP Method: POST

  • Server URL: 
  • Required Headers: Content-Type: application/x-www-form-urlencoded
  • Post Body:

    grant_type ‘client_credentials’
    client_id Retrieved from the Composer Setup Menu, and set in the code variable congaAuthClientId.
    client_secretRetrieved from the Composer Setup Menu, and set in the code variable congaAuthClientSecret.
  • Sample Response:

        "access_token": "eyJh………… ",
        "expires_in": 3600,
        "token_type": "Bearer",
        "scope": "doc-gen.composer"


Composer APIs use the following as their base URL:


Composer API ensures backward compatibility by properly versioning any changes to the APIs. Any necessary changes to the API structure will occur within a new version.

Content Type

Requests made to the API must be encoded as JSON and contain the header:

Content-Type: application/json


Conga Composer uses standard HTTP response codes to indicate the success or failure of an API request. Below are some example response codes:

200Successful Operation
204No Content
400Invalid Data/ Bad Request
422Validation Error
500Internal Server Error