GET
/
quickbooks-desktop
/
templates
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'My API Key',
});

const templates = await conductor.qbd.templates.list({ conductorEndUserId: 'end_usr_1234567abcdefg' });

console.log(templates.data);
{
  "objectType": "list",
  "url": "/v1/quickbooks-desktop/templates",
  "data": [
    {
      "id": "80000001-1234567890",
      "objectType": "qbd_template",
      "createdAt": "2021-10-01T12:34:56-05:00",
      "updatedAt": "2021-10-01T15:45:30-05:00",
      "revisionNumber": "1721172183",
      "name": "Professional Invoice",
      "isActive": true,
      "templateType": "invoice"
    }
  ],
  "nextCursor": "12345678-abcd-abcd-example-1234567890ab",
  "remainingCount": 10,
  "hasMore": true
}

Authorizations

Authorization
string
header
required

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Example:

"end_usr_1234567abcdefg"

Response

200 - application/json

Returns a list of templates.

The response is of type object.