Thanks to visit codestin.com
Credit goes to docs.sim.ai

Thrive

Usage Instructions

Integrate Thrive Learning into the workflow. Manage user lifecycle, audiences and their members and managers, content assignments and enrolments, learning completions, content and activity records, CPD, tags, and skills.

Actions

thrive_create_user

Create a new user in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
refstringYesYour organisation's unique identifier for this individual
firstNamestringYesThe given name of the individual
lastNamestringYesThe family name of the individual
emailstringNoThe email address for the user (required unless loginMethod is 'ref')
loginMethodstringNoHow the user logs in: 'email' or 'ref' (defaults to 'email')
rolestringNoRole assigned: 'administrator', 'learneradmin', or 'learner' (defaults to 'learner')
jobTitlestringNoName of this individual's role in your organisation
managerRefstringNoYour organisation's unique identifier for this individual's line manager
startDatestringNoDate this individual started with your organisation (ISO 8601)
endDatestringNoDate this individual left your organisation (ISO 8601)
timeZonestringNoThe user's preferred timezone (tenant default if omitted)
languageCodestringNoThe user's preferred language (e.g. 'en-gb')
ssobooleanNoWhether the account is managed by an authentication provider
domainstringNoDomain this individual is associated with
additionalFieldsstringNoJSON object of custom field key-value pairs. Example: {"department":"Sales"}

Output

ParameterTypeDescription
userobjectThe created user
idstringThe user ID
loginMethodstringHow the user logs in
refstringYour organisation's unique identifier for the user
emailstringThe email address for the user
firstNamestringThe given name of the individual
lastNamestringThe family name of the individual
rolestringRole assigned to this individual
jobTitlestringName of this individual's role
managerRefstringThe line manager's ref
startDatestringDate started with the organisation
endDatestringDate left the organisation
timeZonestringThe user's preferred timezone
languageCodestringThe user's preferred language
activebooleanWhether the account is active or suspended
createdAtstringDate/time the user was created
updatedAtstringDate/time the user was last modified
ssobooleanWhether the account is managed by an auth provider
domainstringDomain this individual is associated with
additionalFieldsjsonCustom field values for this user

thrive_update_user

Update an existing user in Thrive by ref. Only the fields provided are changed.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
refstringYesThe user ref to update
firstNamestringNoThe given name of the individual
lastNamestringNoThe family name of the individual
emailstringNoThe email address for the user
loginMethodstringNoHow the user logs in: 'email' or 'ref'
rolestringNoRole assigned: 'administrator', 'learneradmin', or 'learner'
jobTitlestringNoName of this individual's role in your organisation
managerRefstringNoYour organisation's unique identifier for this individual's line manager
startDatestringNoDate this individual started with your organisation (ISO 8601)
endDatestringNoDate this individual left your organisation (ISO 8601)
timeZonestringNoThe user's preferred timezone
languageCodestringNoThe user's preferred language (e.g. 'en-gb')
ssobooleanNoWhether the account is managed by an authentication provider
domainstringNoDomain this individual is associated with
additionalFieldsstringNoJSON object of custom field key-value pairs. Example: {"department":"Sales"}

Output

ParameterTypeDescription
userobjectThe updated user
idstringThe user ID
loginMethodstringHow the user logs in
refstringYour organisation's unique identifier for the user
emailstringThe email address for the user
firstNamestringThe given name of the individual
lastNamestringThe family name of the individual
rolestringRole assigned to this individual
jobTitlestringName of this individual's role
managerRefstringThe line manager's ref
startDatestringDate started with the organisation
endDatestringDate left the organisation
timeZonestringThe user's preferred timezone
languageCodestringThe user's preferred language
activebooleanWhether the account is active or suspended
createdAtstringDate/time the user was created
updatedAtstringDate/time the user was last modified
ssobooleanWhether the account is managed by an auth provider
domainstringDomain this individual is associated with
additionalFieldsjsonCustom field values for this user

thrive_delete_user

Permanently delete (obfuscate) a user in Thrive by ref while retaining training history.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
refstringYesThe user ref to delete

Output

ParameterTypeDescription
successbooleanWhether the user was deleted

thrive_suspend_user

Suspend a user in Thrive by ref, marking the account inactive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
refstringYesThe user ref to suspend
endDatestringNoThe date this individual left your organisation (ISO 8601)

Output

ParameterTypeDescription
userobjectThe suspended user
idstringThe user ID
loginMethodstringHow the user logs in
refstringYour organisation's unique identifier for the user
emailstringThe email address for the user
firstNamestringThe given name of the individual
lastNamestringThe family name of the individual
rolestringRole assigned to this individual
jobTitlestringName of this individual's role
managerRefstringThe line manager's ref
startDatestringDate started with the organisation
endDatestringDate left the organisation
timeZonestringThe user's preferred timezone
languageCodestringThe user's preferred language
activebooleanWhether the account is active or suspended
createdAtstringDate/time the user was created
updatedAtstringDate/time the user was last modified
ssobooleanWhether the account is managed by an auth provider
domainstringDomain this individual is associated with
additionalFieldsjsonCustom field values for this user

thrive_search_users

Search users in Thrive and return basic user information with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)
updatedSincestringNoReturn only users updated on or after this date/time (ISO 8601)
statusesstringNoComma-separated statuses to include: active, inactive, expired, new
omitStatusesstringNoComma-separated statuses to exclude: active, inactive, expired, new
statusstringNoFilter by a single status: active, inactive, expired, or new

Output

ParameterTypeDescription
resultsarrayThe matching users
idstringThe user's ID
refstringThe user's ref
firstNamestringThe user's first name
lastNamestringThe user's last name
emailstringThe user's email
rolestringThe user's role
statusstringThe user's status
positionsarrayThe user's positions
additionalFieldsjsonCustom field values
languageCodestringThe user's language code
deletedbooleanWhether the user has been deleted
compliancenumberThe user's compliance score
levelnumberThe user's level
firstLoginstringFirst login timestamp (ISO 8601)
lastLoginstringLast login timestamp (ISO 8601)
tagsjsonTag membership (e.g. skills)
usersFollowingarrayIDs of users this user follows
tagsFollowingarrayTags this user follows
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)
hasPicturebooleanWhether the user has a profile picture
timeZonestringThe user's time zone
summarystringThe user's summary
relevancynumberThe user's relevancy score
rankjsonThe user's rank details
agreedTermsbooleanWhether the user agreed to the terms
onboardedbooleanWhether the user has been onboarded
audiencesarrayAudience IDs the user belongs to
singleSignOnbooleanWhether the user uses single sign-on
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_get_user_by_id

Get a single user in Thrive by their ID and return basic user information.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
idstringYesThe user ID

Output

ParameterTypeDescription
userobjectThe user
idstringThe user's ID
refstringThe user's ref
firstNamestringThe user's first name
lastNamestringThe user's last name
emailstringThe user's email
rolestringThe user's role
statusstringThe user's status
positionsarrayThe user's positions
additionalFieldsjsonCustom field values
languageCodestringThe user's language code
deletedbooleanWhether the user has been deleted
compliancenumberThe user's compliance score
levelnumberThe user's level
firstLoginstringFirst login timestamp (ISO 8601)
lastLoginstringLast login timestamp (ISO 8601)
tagsjsonTag membership (e.g. skills)
usersFollowingarrayIDs of users this user follows
tagsFollowingarrayTags this user follows
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)
hasPicturebooleanWhether the user has a profile picture
timeZonestringThe user's time zone
summarystringThe user's summary
relevancynumberThe user's relevancy score
rankjsonThe user's rank details
agreedTermsbooleanWhether the user agreed to the terms
onboardedbooleanWhether the user has been onboarded
audiencesarrayAudience IDs the user belongs to
singleSignOnbooleanWhether the user uses single sign-on

thrive_get_user_by_ref

Get a single user in Thrive by their ref and return basic user information.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
refstringYesThe user ref

Output

ParameterTypeDescription
userobjectThe user (basic information)
idstringThe user's ID
refstringThe user's ref
firstNamestringThe user's first name
lastNamestringThe user's last name
emailstringThe user's email
rolestringThe user's role
statusstringThe user's status
positionsarrayThe user's positions
additionalFieldsjsonCustom field values
languageCodestringThe user's language code

thrive_list_audiences

List audiences and structures in Thrive with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
apiControlledbooleanNoFilter to only return audiences which are / are not API controlled
updatedSincestringNoReturn only audiences updated on or after this date/time (ISO 8601)
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)

Output

ParameterTypeDescription
resultsarrayThe matching audiences
idstringThe id of the audience
namestringThe name of the audience
referencestringThe external reference for the audience
apiControlledbooleanWhether the audience is API controlled
categorystringEither "audience" or "structure"
typestringEither "manual" or "smart"
parentobjectParent audience/structure information
namestringThe name of the parent audience
referencestringThe external reference for the parent
idstringThe id of the parent audience/structure
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_create_audience

Create a new audience or structure in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
namestringNoThe name of the audience (max 100 characters)
referencestringNoThe external reference for the audience (max 100 characters)
parentIdstringNoThe id or reference of the parent audience/structure; leave blank for a parent audience/structure
categorystringNoThe audience category: 'audience' or 'structure'

Output

ParameterTypeDescription
audienceobjectThe created audience
idstringThe id of the audience
namestringThe name of the audience
referencestringThe external reference for the audience
apiControlledbooleanWhether the audience is API controlled
categorystringEither "audience" or "structure"
typestringEither "manual" or "smart"
parentobjectParent audience/structure information
namestringThe name of the parent audience
referencestringThe external reference for the parent
idstringThe id of the parent audience/structure
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_get_audience

Get a single audience or structure in Thrive by id or reference.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference

Output

ParameterTypeDescription
audienceobjectThe audience
idstringThe id of the audience
namestringThe name of the audience
referencestringThe external reference for the audience
apiControlledbooleanWhether the audience is API controlled
categorystringEither "audience" or "structure"
typestringEither "manual" or "smart"
parentobjectParent audience/structure information
namestringThe name of the parent audience
referencestringThe external reference for the parent
idstringThe id of the parent audience/structure
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_update_audience

Update an audience in Thrive, optionally moving it to a new parent.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
namestringNoThe name of the audience (max 100 characters)
referencestringNoThe external reference for the audience (max 100 characters)
parentIdstringNoThe id of the parent audience/structure to move the audience to

Output

ParameterTypeDescription
audienceobjectThe updated audience
idstringThe id of the audience
namestringThe name of the audience
referencestringThe external reference for the audience
apiControlledbooleanWhether the audience is API controlled
categorystringEither "audience" or "structure"
typestringEither "manual" or "smart"
parentobjectParent audience/structure information
namestringThe name of the parent audience
referencestringThe external reference for the parent
idstringThe id of the parent audience/structure
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_delete_audience

Delete an audience in Thrive (only if it has no child audiences).

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference

Output

ParameterTypeDescription
successbooleanWhether the audience was deleted

thrive_list_audience_members

List the members of a Thrive audience with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)

Output

ParameterTypeDescription
resultsarrayThe audience members
userIdstringThe user's id
referencestringThe user's reference
emailstringThe user's email
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_add_audience_members

Add members to a Thrive audience by email, ref, or id.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
usersstringYesJSON array of user emails/refs/ids to add (1-100). Example: ["[email protected]"]

Output

ParameterTypeDescription
resultobjectThe add/replace result, with successfully and unsuccessfully processed entities
successobjectSuccessfully processed entities
countnumberNumber of successfully processed entities
entitiesarrayThe successfully processed entities
referencestringThe entity reference
failureobjectUnsuccessfully processed entities
countnumberNumber of unsuccessfully processed entities
entitiesarrayThe unsuccessfully processed entities
reasonstringThe reason for the failure
referencestringThe entity reference

thrive_replace_audience_members

Replace a Thrive audience's entire members list with the given users (does not support an empty array).

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
usersstringYesJSON array of user emails/refs/ids that replaces the whole members list (1-100, no empty array). Example: ["[email protected]"]

Output

ParameterTypeDescription
resultobjectThe add/replace result, with successfully and unsuccessfully processed entities
successobjectSuccessfully processed entities
countnumberNumber of successfully processed entities
entitiesarrayThe successfully processed entities
referencestringThe entity reference
failureobjectUnsuccessfully processed entities
countnumberNumber of unsuccessfully processed entities
entitiesarrayThe unsuccessfully processed entities
reasonstringThe reason for the failure
referencestringThe entity reference

thrive_remove_audience_member

Remove a single member from a Thrive audience.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
userRefstringYesThe user email, ref, or id to remove

Output

ParameterTypeDescription
successbooleanWhether the audience member was removed

thrive_list_audience_managers

List the managers of a Thrive audience.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference

Output

ParameterTypeDescription
managersarrayThe audience managers
userIdstringThe user's id
referencestringThe user's reference
emailstringThe user's email
permissionsobjectThe manager permissions
audienceManagerjsonAudience manager permissions
peopleManagerjsonPeople manager permissions
administratorjsonAdministrator permissions (structures only)

thrive_add_audience_managers

Add managers to a Thrive audience with their permissions.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
managersstringYesJSON array of manager objects (1-100). Each: {"reference":"[email protected]","permissions":{"audienceManager":{"manageContent":true,"assignments":true},"peopleManager":{"canViewLearnPage":true,"insights":false,"manage":false},"administrator":{"canAddAudienceManagers":false}}}

Output

ParameterTypeDescription
resultobjectThe add/replace result, with successfully and unsuccessfully processed entities
successobjectSuccessfully processed entities
countnumberNumber of successfully processed entities
entitiesarrayThe successfully processed entities
referencestringThe entity reference
failureobjectUnsuccessfully processed entities
countnumberNumber of unsuccessfully processed entities
entitiesarrayThe unsuccessfully processed entities
reasonstringThe reason for the failure
referencestringThe entity reference

thrive_replace_audience_managers

Replace a Thrive audience's entire manager list with the given managers (does not support an empty array).

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
managersstringYesJSON array of manager objects that replaces the whole manager list (1-100, no empty array). Each: {"reference":"[email protected]","permissions":{"audienceManager":{"manageContent":true,"assignments":true},"peopleManager":{"canViewLearnPage":true,"insights":false,"manage":false},"administrator":{"canAddAudienceManagers":false}}}

Output

ParameterTypeDescription
resultobjectThe add/replace result, with successfully and unsuccessfully processed entities
successobjectSuccessfully processed entities
countnumberNumber of successfully processed entities
entitiesarrayThe successfully processed entities
referencestringThe entity reference
failureobjectUnsuccessfully processed entities
countnumberNumber of unsuccessfully processed entities
entitiesarrayThe unsuccessfully processed entities
reasonstringThe reason for the failure
referencestringThe entity reference

thrive_remove_audience_manager

Remove a single manager from a Thrive audience.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience id or audience reference
userIdstringYesThe user email, ref, or id to remove as a manager

Output

ParameterTypeDescription
successbooleanWhether the audience manager was removed

thrive_list_assignments

List compliance assignments in Thrive, optionally filtered by audience.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringNoFilter by audience ID or audience reference
updatedSincestringNoReturn only items updated on or after this date/time (ISO 8601)
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-100, default 100)

Output

ParameterTypeDescription
assignmentsarrayThe matching assignments
idstringThe assignment ID
audienceIdstringThe audience ID
primaryContentIdstringThe content ID for the primary content
alternativeContentIdsarrayContent IDs that can also complete the assignment
hideAlternativeContentbooleanWhether to hide the alternative content
completionPeriodnumberNumber of days required to complete the assignment
recurrencenumberNumber of days until the assignment reoccurs
isActivebooleanWhether the assignment is active
isDeletedbooleanWhether the assignment is deleted
createdAtstringCreation timestamp (ISO 8601)
deletedAtstringDeletion timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_create_assignment

Create a compliance assignment in Thrive for an audience and content item.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceIdstringYesThe audience ID
contentIdstringYesThe content ID for the primary content
alternativeContentIdsstringNoJSON array of content IDs that can also complete the assignment
hideAlternativeContentbooleanNoWhether to hide the alternative content
completionPeriodnumberNoThe number of days required to complete the assignment (default 30)
recurrencenumberNoThe number of days until the assignment will reoccur

Output

ParameterTypeDescription
assignmentobjectThe created assignment
idstringThe assignment ID
audienceIdstringThe audience ID
primaryContentIdstringThe content ID for the primary content
alternativeContentIdsarrayContent IDs that can also complete the assignment
hideAlternativeContentbooleanWhether to hide the alternative content
completionPeriodnumberNumber of days required to complete the assignment
recurrencenumberNumber of days until the assignment reoccurs
isActivebooleanWhether the assignment is active
isDeletedbooleanWhether the assignment is deleted
createdAtstringCreation timestamp (ISO 8601)
deletedAtstringDeletion timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_get_assignment

Get a single compliance assignment in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
assignmentIdstringYesThe assignment ID

Output

ParameterTypeDescription
assignmentobjectThe assignment
idstringThe assignment ID
audienceIdstringThe audience ID
primaryContentIdstringThe content ID for the primary content
alternativeContentIdsarrayContent IDs that can also complete the assignment
hideAlternativeContentbooleanWhether to hide the alternative content
completionPeriodnumberNumber of days required to complete the assignment
recurrencenumberNumber of days until the assignment reoccurs
isActivebooleanWhether the assignment is active
isDeletedbooleanWhether the assignment is deleted
createdAtstringCreation timestamp (ISO 8601)
deletedAtstringDeletion timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_update_assignment

Update a compliance assignment in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
assignmentIdstringYesThe assignment ID
audienceIdstringYesThe audience ID
contentIdstringNoThe content ID for the primary content
completionPeriodnumberNoThe number of days required to complete the assignment
recurrencenumberNoThe number of days until the assignment will reoccur
alternativeContentIdsstringNoJSON array of content IDs that can also complete the assignment

Output

ParameterTypeDescription
assignmentobjectThe updated assignment
idstringThe assignment ID
audienceIdstringThe audience ID
primaryContentIdstringThe content ID for the primary content
alternativeContentIdsarrayContent IDs that can also complete the assignment
hideAlternativeContentbooleanWhether to hide the alternative content
completionPeriodnumberNumber of days required to complete the assignment
recurrencenumberNumber of days until the assignment reoccurs
isActivebooleanWhether the assignment is active
isDeletedbooleanWhether the assignment is deleted
createdAtstringCreation timestamp (ISO 8601)
deletedAtstringDeletion timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_delete_assignment

Delete a compliance assignment in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
assignmentIdstringYesThe assignment ID
audienceIdstringYesThe audience ID

Output

ParameterTypeDescription
successbooleanWhether the assignment was deleted

thrive_list_enrolments

List enrolments for a compliance assignment in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
assignmentIdstringYesThe assignment ID
updatedAtFromstringNoStart date to filter enrolments from (ISO 8601)
updatedAtTostringNoDate to filter enrolments up to (ISO 8601). Requires updatedAtFrom.
statusstringNoFilter by enrolment status: archived, complete, open, overdue, scheduled, or unassigned
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-100, default 100)

Output

ParameterTypeDescription
enrolmentsarrayThe matching enrolments
idstringThe enrolment ID
userIdstringThe assignee user ID
assignmentIdstringThe assignment ID
audienceIdstringThe audience ID
primaryContentIdstringThe assigned content ID
statusstringEnrolment status
availableDatestringDate a scheduled enrolment becomes open
dueDatestringDate after which a scheduled enrolment is overdue
lastCompletedAtstringDate a scheduled enrolment was last completed
historyarrayEvent-log history entries
typestringThe type of the logged event
completionIdstringThe completion ID
previousStatusstringThe previous enrolment status
nextStatusstringThe next enrolment status
createdAtstringDate the event was logged
updatedAtstringDate the event was last modified
updatedAtstringDate the enrolment was last updated

thrive_get_enrolment

Get a single enrolment for a compliance assignment in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
assignmentIdstringYesThe assignment ID
enrolmentIdstringYesThe enrolment ID

Output

ParameterTypeDescription
enrolmentobjectThe enrolment
idstringThe enrolment ID
userIdstringThe assignee user ID
assignmentIdstringThe assignment ID
audienceIdstringThe audience ID
primaryContentIdstringThe assigned content ID
statusstringEnrolment status
availableDatestringDate a scheduled enrolment becomes open
dueDatestringDate after which a scheduled enrolment is overdue
lastCompletedAtstringDate a scheduled enrolment was last completed
historyarrayEvent-log history entries
typestringThe type of the logged event
completionIdstringThe completion ID
previousStatusstringThe previous enrolment status
nextStatusstringThe next enrolment status
createdAtstringDate the event was logged
updatedAtstringDate the event was last modified
updatedAtstringDate the enrolment was last updated

thrive_list_completions

List learning completion records in Thrive, optionally filtered by user or content.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
contentIdstringNoFilter by content
isRPLbooleanNoFilter by completions imported via Recognition of Prior Learning (RPL)
userIdstringNoFilter by user
completedDateRangeStartstringNoFilter by completedDate (completedDate >= this date/date-time)
completedDateRangeEndstringNoFilter by completedDate (completedDate <= this date/date-time)
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 1000)

Output

ParameterTypeDescription
completionsarrayThe matching completion records
idstringThe completion ID
userIdstringThe user ID
contentIdstringThe content ID for the content completed
contentVersionnumberThe version of the content
skillsarrayThe skills acquired by completing this content
completionTypestringThe type of completion record
hadDueDatebooleanWhether the completion had a due date
isRPLbooleanWhether the completion was imported via RPL
completedAtstringTimestamp when the completion occurred (ISO 8601)
activeUntilstringTimestamp the completion is valid until (ISO 8601)

thrive_get_completion

Get a single learning completion record in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
idstringYesThe completion ID

Output

ParameterTypeDescription
completionobjectThe completion record
idstringThe completion ID
userIdstringThe user ID
contentIdstringThe content ID for the content completed
contentVersionnumberThe version of the content
skillsarrayThe skills acquired by completing this content
completionTypestringThe type of completion record
hadDueDatebooleanWhether the completion had a due date
isRPLbooleanWhether the completion was imported via RPL
completedAtstringTimestamp when the completion occurred (ISO 8601)
activeUntilstringTimestamp the completion is valid until (ISO 8601)

thrive_create_completion

Record a learning completion in Thrive for a user and content item.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
userIdstringYesThe user ID
contentIdstringYesThe content ID for the content completed
completedAtstringYesISO8601 timestamp when the completion occurred

Output

ParameterTypeDescription
statementIdstringThe completion statement ID

thrive_get_content

Get a single content record in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
idstringYesUnique identifier of the content item

Output

ParameterTypeDescription
contentobjectThe content record
idstringUnique identifier for the content
titlestringTitle of the content
descriptionstringDetailed description (may contain HTML)
tagsarrayTags associated with this content
typestringThe kind of artifact associated with this content
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)
authorstringUser ID who authored the content
isOfficialbooleanWhether the content is recognised as official
durationobjectExpected time to complete the content
valuenumberDuration value
unitstringThe unit of the duration (always 'minutes')
contentHistoryarrayChronological history of actions on this content

thrive_query_content

Query content records in Thrive with pagination and filtering options.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 20)
typesstringNoComma-separated content types (article, assessment, broadcast, cmi5, elearning, event, file, pathway, question, quiz, scorm, url, video, mixed). If both set, omitTypes is ignored.
omitTypesstringNoComma-separated content types (article, assessment, broadcast, cmi5, elearning, event, file, pathway, question, quiz, scorm, url, video, mixed). If both set, omitTypes is ignored.
updatedSincestringNoReturn only items updated on or after this date/time (ISO 8601)

Output

ParameterTypeDescription
resultsarrayThe matching content records
idstringUnique identifier for the content
titlestringTitle of the content
descriptionstringDetailed description (may contain HTML)
tagsarrayTags associated with this content
typestringThe kind of artifact associated with this content
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)
authorstringUser ID who authored the content
isOfficialbooleanWhether the content is recognised as official
durationobjectExpected time to complete the content
valuenumberDuration value
unitstringThe unit of the duration (always 'minutes')
contentHistoryarrayChronological history of actions on this content
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_get_activity

Get a single activity record in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
idstringYesUnique identifier of the activity

Output

ParameterTypeDescription
activityobjectThe activity record
typestringThe activity action type
namestringThe name of the activity
idstringUnique ID for this activity record
userstringUser ID who triggered the activity
datestringTimestamp when the activity occurred (ISO 8601)
contextIdstringIdentifier for the context item
contextTypestringWhat this activity was in relation to
datajsonUnstructured activity data; shape varies by type
withjsonAdditional context information

thrive_query_activities

Query activity records in Thrive with pagination and filtering options.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 20)
actionsstringNocomma-separated activity types e.g. viewed,completed
omitActionsstringNocomma-separated activity types e.g. viewed,completed
contentIdsstringNocomma-separated content IDs
contentTypestringNoFilter by content type
timestampFromstringNoformat YYYY-MM-DD hh:mm:ss
timestampTostringNoformat YYYY-MM-DD hh:mm:ss

Output

ParameterTypeDescription
resultsarrayThe matching activity records
typestringThe activity action type
namestringThe name of the activity
idstringUnique ID for this activity record
userstringUser ID who triggered the activity
datestringTimestamp when the activity occurred (ISO 8601)
contextIdstringIdentifier for the context item
contextTypestringWhat this activity was in relation to
datajsonUnstructured activity data; shape varies by type
withjsonAdditional context information
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_get_cpd_category

Get a single CPD category in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
categoryIdstringYesThe CPD category ID

Output

ParameterTypeDescription
categoryobjectThe CPD category
categoryIdstringUnique ID for this category record
namestringName of the category of CPD activity

thrive_query_cpd_categories

Query CPD categories in Thrive and return results with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)
updatedSincestringNoReturn only items updated on or after this date/time (ISO 8601)

Output

ParameterTypeDescription
resultsarrayThe matching CPD categories
categoryIdstringUnique ID for this category record
namestringName of the category of CPD activity
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_get_cpd_entry

Get a single CPD log entry in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
logEntryIdstringYesThe CPD log entry ID

Output

ParameterTypeDescription
entryobjectThe CPD entry
logEntryIdstringUnique ID for this activity record
userIdstringUser ID who triggered this activity record
activityobjectThe content item associated with the CPD log entry
typestringThe type of content (e.g. file, article, video)
namestringThe name of the content item
categoryobjectThe CPD category
categoryIdstringUnique ID for this category record
namestringName of the category of CPD activity
entryDatestringThe date and time the CPD entry was logged (ISO 8601)
durationMinutesnumberMinutes logged as CPD from this activity
descriptionstringSummary or reflective statement
isVerifiedbooleanWhether the activity was generated from verified system activity

thrive_query_cpd_entries

Query CPD log entries in Thrive and return results with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)
entryDateFromstringNoFilter entries after this date (format YYYY-MM-DD hh:mm:ss)
entryDateTostringNoFilter entries before this date (format YYYY-MM-DD hh:mm:ss)

Output

ParameterTypeDescription
resultsarrayThe matching CPD entries
logEntryIdstringUnique ID for this activity record
userIdstringUser ID who triggered this activity record
activityobjectThe content item associated with the CPD log entry
typestringThe type of content (e.g. file, article, video)
namestringThe name of the content item
categoryobjectThe CPD category
categoryIdstringUnique ID for this category record
namestringName of the category of CPD activity
entryDatestringThe date and time the CPD entry was logged (ISO 8601)
durationMinutesnumberMinutes logged as CPD from this activity
descriptionstringSummary or reflective statement
isVerifiedbooleanWhether the activity was generated from verified system activity
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_get_cpd_requirement

Get a single CPD requirement summary in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
audienceRequirementIdstringYesThe CPD requirement ID

Output

ParameterTypeDescription
requirementobjectThe CPD requirement
audienceRequirementIdstringUnique ID for this requirement record
audienceIdstringID of the audience this requirement applies to
requiredMinutesnumberNumber of minutes required for CPD completion
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)

thrive_query_cpd_requirements

Query CPD requirement summaries in Thrive and return results with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)
updatedSincestringNoReturn only items updated on or after this date/time (ISO 8601)

Output

ParameterTypeDescription
resultsarrayThe matching CPD requirements
audienceRequirementIdstringUnique ID for this requirement record
audienceIdstringID of the audience this requirement applies to
requiredMinutesnumberNumber of minutes required for CPD completion
createdAtstringCreation timestamp (ISO 8601)
updatedAtstringLast-update timestamp (ISO 8601)
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_query_cpd_user_summaries

Query CPD user log summaries in Thrive and return results with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
entryDateFromstringYesFilter entries after this date (format YYYY-MM-DDThh:mm:ss)
entryDateTostringYesFilter entries before this date (format YYYY-MM-DDThh:mm:ss)
userIdsstringNoComma-separated user IDs to filter by
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)

Output

ParameterTypeDescription
resultsarrayThe matching CPD user summaries
userIdstringID of the user this summary is for
durationMinutesnumberTotal CPD minutes logged by the user in the period
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_list_tags

List tags in Thrive and return tag information with pagination.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
pagenumberNoPage number for pagination (default 1)
perPagenumberNoNumber of results per page (1-1000, default 100)
updatedSincestringNoReturn only tags updated on or after this date/time (ISO 8601)

Output

ParameterTypeDescription
resultsarrayThe tags
tagstringThe name of the tag
idstringThe ID of the tag
contentsarrayIDs of contents using this tag
campaignsarrayIDs of campaigns using this tag
interestsarrayIDs of users interested in this tag
skillsarrayIDs of users skilled in this tag
paginationobjectPagination details
totalResultsnumberTotal number of results matching the query
totalPagesnumberTotal number of pages available
pagenumberCurrent page number
perPagenumberNumber of results per page

thrive_get_tag

Get a single tag in Thrive by its ID.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
tagIdstringYesThe tag ID

Output

ParameterTypeDescription
tagobjectThe tag
tagstringThe name of the tag
idstringThe ID of the tag
contentsarrayIDs of contents using this tag
campaignsarrayIDs of campaigns using this tag
interestsarrayIDs of users interested in this tag
skillsarrayIDs of users skilled in this tag

thrive_add_user_tags

Add one or more tags to a learner in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
userIdstringYesThe learner ID
tagsstringYesJSON array of tag names to add (1-100). Example: ["leadership"]

Output

ParameterTypeDescription
statusnumberThe HTTP status code of the operation
messagestringA human-readable result message

thrive_remove_user_tags

Remove one or more tags from a learner in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
userIdstringYesThe learner ID
tagsstringYesJSON array of tag names to remove (1-100). Example: ["leadership"]

Output

ParameterTypeDescription
statusnumberThe HTTP status code of the operation
messagestringA human-readable result message

thrive_update_user_skills

Update skills and levels for a learner in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host
userIdstringYesThe learner ID
skillsstringYesJSON array of skill objects (1-100). Each: {"tagName":"leadership","level":1,"targetLevel":3}. level/targetLevel optional (min -1).

Output

ParameterTypeDescription
statusnumberThe HTTP status code of the operation
messagestringA human-readable result message

thrive_get_skill_levels

Get the available skill levels configured in Thrive.

Input

ParameterTypeRequiredDescription
tenantIdstringYesThrive Tenant ID (used as the Basic auth username)
apiKeystringYesThrive API key (used as the Basic auth password)
hoststringNoRegion-specific API host

Output

ParameterTypeDescription
levelsarrayThe available skill levels
namestringThe name of the skill level
isEnabledbooleanWhether the skill level is enabled
valuenumberThe numeric value of the skill level

On this page

Usage Instructions
Actions
thrive_create_user
Input
Output
thrive_update_user
Input
Output
thrive_delete_user
Input
Output
thrive_suspend_user
Input
Output
thrive_search_users
Input
Output
thrive_get_user_by_id
Input
Output
thrive_get_user_by_ref
Input
Output
thrive_list_audiences
Input
Output
thrive_create_audience
Input
Output
thrive_get_audience
Input
Output
thrive_update_audience
Input
Output
thrive_delete_audience
Input
Output
thrive_list_audience_members
Input
Output
thrive_add_audience_members
Input
Output
thrive_replace_audience_members
Input
Output
thrive_remove_audience_member
Input
Output
thrive_list_audience_managers
Input
Output
thrive_add_audience_managers
Input
Output
thrive_replace_audience_managers
Input
Output
thrive_remove_audience_manager
Input
Output
thrive_list_assignments
Input
Output
thrive_create_assignment
Input
Output
thrive_get_assignment
Input
Output
thrive_update_assignment
Input
Output
thrive_delete_assignment
Input
Output
thrive_list_enrolments
Input
Output
thrive_get_enrolment
Input
Output
thrive_list_completions
Input
Output
thrive_get_completion
Input
Output
thrive_create_completion
Input
Output
thrive_get_content
Input
Output
thrive_query_content
Input
Output
thrive_get_activity
Input
Output
thrive_query_activities
Input
Output
thrive_get_cpd_category
Input
Output
thrive_query_cpd_categories
Input
Output
thrive_get_cpd_entry
Input
Output
thrive_query_cpd_entries
Input
Output
thrive_get_cpd_requirement
Input
Output
thrive_query_cpd_requirements
Input
Output
thrive_query_cpd_user_summaries
Input
Output
thrive_list_tags
Input
Output
thrive_get_tag
Input
Output
thrive_add_user_tags
Input
Output
thrive_remove_user_tags
Input
Output
thrive_update_user_skills
Input
Output
thrive_get_skill_levels
Input
Output