Skip to main content
GET
/
quickbooks-desktop
/
templates
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'sk_conductor_...',
});

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": "2025-01-01T12:34:56+00:00",
      "updatedAt": "2025-02-01T12:34:56+00: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.

objectType
string
required

The type of object. This value is always "list".

Allowed value: "list"
Example:

"list"

url
string
required

The endpoint URL where this list can be accessed.

Example:

"/v1/quickbooks-desktop/templates"

data
The Template object · object[]
required

The array of templates.

nextCursor
string | null
required

The nextCursor is a pagination token returned in the response when you use the limit parameter in your request. To retrieve subsequent pages of results, include this token as the value of the cursor request parameter in your following API calls.

NOTE: The nextCursor value remains constant throughout the pagination process for a specific list instance; continue to use the same nextCursor token in each request to fetch additional pages.

Example:

"12345678-abcd-abcd-example-1234567890ab"

remainingCount
number | null
required

The number of objects remaining to be fetched.

Example:

10

hasMore
boolean
required

Indicates whether there are more objects to be fetched.