The template object
The read routes return a template with its numbers and its roster.
Fields of a roster entry that an integration is likely to use:
A template can carry other fields that this reference does not list.
List templates
pointed:read. Any credential.
Returns every template in the workspace, newest first, each as a template object with its roster. The route takes no parameters and does not page.
Response: 200 OK
List starters
pointed:read. Any credential.
A starter is a ready-made use case with a title, a goal and an interview length. Pass a starter’s id as starter when you create a template.
Response: 200 OK. The example shows two of the entries.
Errors: the authentication errors.
Example
Create a template
pointed:read and pointed:write. A user-backed credential with the admin or member role.
Body parameters
Values of
interviewChannel:
Response:
201 Created. data is the stored template, without stats, accounts or contacts.
Example
Get a template
pointed:read. Any credential.
Path parameters
Response:
200 OK. data is the template object, with its roster.
Example
Update a template
pointed:read and pointed:write. A user-backed credential with the admin or member role.
Send only the fields you want to change. To change the interview channel, use interview settings.
Path parameters
Body parameters
Response:
200 OK. data is the stored template, without stats, accounts or contacts.
Example
Delete a template
pointed:read and pointed:write. A user-backed credential with the admin or member role.
Deletes the template and its account enrollments. Campaigns that came from the template are kept. They no longer point to a template.
Path parameters
Response:
200 OK
Example
List enrollment options
pointed:read. Any credential.
Returns every account in the workspace with its contacts, and says which are already enrolled in this template. Use it to decide whom to enroll.
Path parameters
Response:
200 OK
Errors
Example
Enroll accounts
pointed:read and pointed:write. A user-backed credential with the admin or member role.
Enrolls one or more accounts in the template. For each account, Pointed creates the account’s campaign if it has none for this template, and prepares an interview link for each selected contact. No email is sent.
Path parameters
Body parameters
Send one selection at the top level of the body, or several in
selections.
Rules for choosing contacts:
- Send
contactIdsorcontactEmails, not both. - Send neither to select every contact on the account.
- Send an empty
contactIdsarray to enroll the account without preparing any link.
200 OK
Enrolling does not return the links. Get them from Create interview links with the account’s campaign ID, or from
contacts[].surveyUrl in Get a template.
Errors
Example
Get an account’s enrollment
pointed:read. Any credential.
Returns one account’s state in one template: the enrollment and the account’s part of the roster.
Path parameters
Response:
200 OK
Errors
Example
Update an account’s enrollment
pointed:read and pointed:write. A user-backed credential with the admin or member role.
Turns automatic links for new contacts on or off for one enrolled account.
Path parameters
Body parameters
Response:
200 OK. data is the enrollment record.
Example
Summarize campaigns without a template
pointed:read. Any credential.
Counts the campaigns in the workspace that do not belong to a story template and can be imported into one. A campaign made with Create a campaign is one of these.
Response: 200 OK
Errors: the authentication errors.
Example
Import campaigns without a template
pointed:read and pointed:write. A user-backed credential with the admin or member role.
Creates one story template for each campaign counted by the summary. The template takes the campaign’s title, opening question and number of rounds, and uses the campaign’s context as its goal. The campaign is attached to the new template and its account is enrolled. No email is sent.
The route takes no body.
Response: 200 OK
Errors
Example