> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Teamtailor Partner API

> To activate the Teamtailor Partner API or Public + Partner API in StackOne for integrating your Teamtailor Marketplace Integration, please follow the necessary steps.

export const DifferenceBetweenListEndpointAndStaticIdOfPackage = ({providerName, dynamicPackageImageAtProviderUI, staticPackageImageAtProviderUI}) => {
  return <>
            <Accordion title="How is the Package's List Endpoint URL different from a Static Package ID?">
                <Info>
                    The Package's List Endpoint URL allows StackOne to fetch a list of available packages from your system, while the Static Package ID is fixed and available for users to select on the provider's side.
                </Info>

                <b>When you have a Package's List Endpoint URL</b>
                <br />
                A list of packages will be available to select in {providerName}.
                <Frame>
                    <img src={dynamicPackageImageAtProviderUI} alt="Dynamic Package ID" style={{
    maxHeight: '500px',
    width: 'auto'
  }} />
                </Frame>
                <br />

                <b>When you have a Static Package ID</b>
                <br />
                A static package ID will be available to select in {providerName}.
                <Frame>
                    <img src={staticPackageImageAtProviderUI} alt="Static Package ID" style={{
    maxHeight: '500px',
    width: 'auto'
  }} />
                </Frame>
            </Accordion>

            <Note>
                At least one field is necessary for making packages available in the Provider's UI. Preference will be given to the <b>Package's List Endpoint URL</b>, even if both fields are configured.
            </Note>
        </>;
};

export const DifferenceBetweenPublicAndPartnerAPI = ({showPublic = true, showPartner = true, showPublicPartner = true, title = "Difference between Public API & Partner API"}) => {
  return <>
            <Accordion title={title}>
                <ul className="custom-list-accordion">
                    {showPublic && <li><b>Public API:</b> Access to the StackOne Unified APIs, excluding the Assessments and Background Checks Unified API and its features.</li>}

                    {showPartner && <li><b>Partner API:</b> Access to the Assessments and Background Checks Unified API and its features, but not other StackOne Unified APIs. This allows you to integrate your provider's partner app with StackOne.</li>}

                    {showPublicPartner && <li><b>Public + Partner API:</b> Access to all StackOne Unified APIs, including the Assessments and Background Checks Unified API and its features.</li>}
                </ul>
            </Accordion>
        </>;
};

## Overview

StackOne allows you to integrate your Teamtailor integration app with the Assessment and Background Check categories.
This guide covers how you can set up/configure integration at Teamtailor and integrate with StackOne.

## Partnership Requirements

<Warning>
  The partnership with Teamtailor Integration is necessary to proceed with this documentation.
</Warning>

To become a Teamtailor Integration Partner, navigate to [resource partnership](https://www.teamtailor.com/en/resources/partnerships),
then click on `Apply today` which will scroll down to the Integration Partner section that contains a `Find out more` button to
direct you to the [Integrate with Teamtailor](https://teamtailor.notion.site/Integrate-with-Teamtailor-3919690568754aaaa7ffd681afe955f2) page.

<Frame>
  <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_tech_partner_page.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=12abaf74d317582c0e866633e2806012" alt="Integrate with Teamtailor page" width="1092" height="785" data-path="images/teamtailor/assessment-or-background-check/teamtailor_tech_partner_page.png" />
</Frame>

Click on `Apply as Tech Partner!` button to fill out the **Teamtailor - Tech Partner Integration Request Form**.

<Note>
  Once you have obtained the Teamtailor partnership, follow the steps below to create an integration with Teamtailor for the Assessment & Background Check categories.
</Note>

## StackOne approach for Teamtailor Integration

Once you <a href="#provider-side-setup">Create an Integration Partner</a> in Teamtailor, the next step is to enable and configure Teamtailor in StackOne. This process will generate an **External Trigger Token** for users, which acts as a key to activate/enable your integration through the Teamtailor Marketplace.

Users will utilise this **External Trigger Token** to integrate the Assessment/Background Check partner application into their job stage workflow.

<Frame>
  <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/Stackone_approach_on_Teamtailor.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=56ac5e9547969c43db6d377a7a4c4bc9" alt="StackOne approach" width="1818" height="3694" data-path="images/teamtailor/assessment-or-background-check/Stackone_approach_on_Teamtailor.png" />
</Frame>

## Provider Side Setup

<Steps>
  <Step title="Navigate to Integration's hub">
    Log into your Teamtailor account. To access the *Integration Hub*, select the **Settings** option in the top-right corner.

    <Frame>
      <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/0f5ddaa3aceb519d244f1bacd0f03f9b5135bbce4315993a2472e93217def40a-create_a_partner_1.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=7ffd02661876477240a1747f7084004d" alt="navigate to settings" width="290" height="190" data-path="images/teamtailor/assessment-or-background-check/0f5ddaa3aceb519d244f1bacd0f03f9b5135bbce4315993a2472e93217def40a-create_a_partner_1.png" />
    </Frame>
  </Step>

  <Step title="Start creating the Integration Partner">
    To add a new partner, click on the `CREATE A NEW PARTNER` button.

    <Frame>
      <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/0b17226cdb027df25dd9bba9fd0b0ecc97fb2fb60f7a36244a3bc55dc3862c46-create_a_partner_2.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=0b4896d3a137d6ae1d773d08cc119dc8" alt="create a partner" width="601" height="261" data-path="images/teamtailor/assessment-or-background-check/0b17226cdb027df25dd9bba9fd0b0ecc97fb2fb60f7a36244a3bc55dc3862c46-create_a_partner_2.png" />
    </Frame>
  </Step>

  <Step title="Fill out the form to create a partner app">
    Complete the New Partner's form by filling out all the required fields:

    * **Partner's Name** - Enter the name of the integration partner.
    * **Partner Base URL** - Enter the endpoint URL provided by StackOne that will be used to fetch the input field configurations with the list of packages and to send candidate test notifications.

    ```plaintext theme={null}
    https://api.stackone.com/external-trigger/teamtailor
    ```

    <Frame>
      <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/0f7b82b6b6ba2bdba1f15aa0677e6838a9cb8270cc995c0eca95287d277f2490-new_partner.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=b4c4d57099509f56a538989f335dacce" alt="new partner" width="910" height="278" data-path="images/teamtailor/assessment-or-background-check/0f7b82b6b6ba2bdba1f15aa0677e6838a9cb8270cc995c0eca95287d277f2490-new_partner.png" />
    </Frame>

    * **Category in marketplace** - The integration will be categorised and displayed under the chosen category, such as Assessments or Background Checks, on Teamtailor's Marketplace.
    * **Additional options (Activation Form)** - Enter the following JSON into the activation form field:

    <Frame>
      <img src="https://mintcdn.com/stackone-60/OxTKywVIpF11MMVm/images/teamtailor/assessment-or-background-check/0aa6e654318c3dc39fd65964d51609d92b978d7ecc011a9422218d3dea886ebd-activation_form.png?fit=max&auto=format&n=OxTKywVIpF11MMVm&q=85&s=47401b162c6a446575a0d28eda442a91" alt="Activation Form" width="1134" height="535" data-path="images/teamtailor/assessment-or-background-check/0aa6e654318c3dc39fd65964d51609d92b978d7ecc011a9422218d3dea886ebd-activation_form.png" />
    </Frame>

    ```plaintext theme={null}
    {
       "config":{
          "fields":[
             {
                "type":"infobox",
                "content":"<a href='https://hub.stackone.com/integration-configuration-concepts/ats/teamtailor-assessment-or-background-check'>Click</a> here to learn how to use this integration",
                "icon":"info"
             },
             {
                "id":"externalTriggerToken",
                "type":"password",
                "label":"External Trigger Token",
                "required":true,
                "description":"The token to be used to trigger the workflow externally"
             }
          ]
       }
    }
    ```

    <Note>
      This **External Trigger Token** field will be visible to the user when enabling the integration from the Teamtailor Marketplace.
    </Note>

    After saving, the partner integration will be successfully created.
  </Step>
</Steps>

### To obtain the credentials for partner integration

<Steps>
  <Step title="Find your Integration credentials">
    Next to your partner Integration's name on the Grid, you will find the Integration ID.

    <Frame>
      <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/20cbc704994cabb08d5470f3879cf4f835fd930c9486df63a86b1726a3758dab-Integration_hub_grid.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=4f9fa9dcd08a815bfc048d70e1e7015f" alt="Integration hub" style={{ maxHeight: '500px', width: 'auto' }} width="724" height="155" data-path="images/teamtailor/assessment-or-background-check/20cbc704994cabb08d5470f3879cf4f835fd930c9486df63a86b1726a3758dab-Integration_hub_grid.png" />
    </Frame>

    By clicking on `Show Details`, you will be able to access the **API Key**.

    <Frame>
      <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/f762c6a11af0f8a1cc446d8fed106db773eed52dff6aacb7a77e7a58e387434d-show_details.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=271e3e3e57921f2b929ca2f4c78f8a21" alt="Api Key" style={{ maxHeight: '500px', width: 'auto' }} width="630" height="163" data-path="images/teamtailor/assessment-or-background-check/f762c6a11af0f8a1cc446d8fed106db773eed52dff6aacb7a77e7a58e387434d-show_details.png" />
    </Frame>
  </Step>
</Steps>

## StackOne Configuration

<Steps>
  <Step title="Navigate to enable the Teamtailor at StackOne">
    Go to the ATS category on the *Integrations* page and activate Teamtailor

    <Frame>
      <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor-partner-api.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=0cdb35b4430c08bc450ac2394899e621" alt="To Enable Teamtailor" width="961" height="435" data-path="images/teamtailor/assessment-or-background-check/teamtailor-partner-api.png" />
    </Frame>
  </Step>

  <Step title="Enable and Configure Teamtailor in StackOne">
    Fill out the necessary fields in the **Teamtailor - Configuration** modal:

    * **Authentication Type**: Select either `Public + Partner API` or `Partner API` to integrate with Teamtailor (for Assessment/Background Check integration).

    <DifferenceBetweenPublicAndPartnerAPI />

    <Note>
      * If you select `Public + Partner API`, the hiring team's data will be included in the webhook notification.<br />
      * If you select `Partner API`, the hiring team's data will not be included in the webhook notification.
    </Note>

    * **Partner Category**: Select the category that corresponds to your integration on Teamtailor's Marketplace page. For instance, if your integration is listed under the Assessments category, please select **Assessment** from the dropdown menu.
    * **Package's List Endpoint URL** - Implement and provide an endpoint to StackOne that StackOne will use to retrieve the list of packages when the recruiter wants to send a test to a candidate.

    Implement the following POST endpoint:

    ```bash theme={null}
    curl --location 'https://your-domain.com/<route-to-the-post-endpoint>' \
    --header 'Content-Type: application/json' \
    --header 'x-stackone-signature: string' \
    --header 'Authorization: Basic <base64-encoded-api-key>' \
    --data '{
        "job_id": "49201091",
        "account_id": "456551489512493412",
        "provider": "teamtailor"
    }'
    ```

    The expected response of the POST endpoint (list of packages). Refer to:

    * [List Assessments Packages](https://docs.stackone.com/ats/api-reference/assessments/packages/list-assessments-packages)
    * [List Background Check Packages](https://docs.stackone.com/ats/api-reference/background-checks/packages/list-background-check-packages)

    Enter the endpoint into the designated field:

    ```plaintext theme={null}
    https://your-domain.com/<route-to-the-post-endpoint>
    ```

    * **Partner Integration ID**: You can find the Integration ID next to the Integration Name under **Settings > Integrations Hub** in Teamtailor.
    * **Partner Integration API Key**: The API key can be found in the Integration details under **Settings > Integrations Hub** in Teamtailor.

    <Info>
      To get Partner Integration ID & API Key, [check this](#to-obtain-the-credentials-for-partner-integration)
    </Info>

    * **Package ID** - If you do not have the Package's List Endpoint URL, you can specify a particular package ID that will be visible to the recruiter when they wish to send the test to the candidate.

    <DifferenceBetweenListEndpointAndStaticIdOfPackage providerName="Teamtailor" dynamicPackageImageAtProviderUI="/images/teamtailor/assessment-or-background-check/teamtailor_dynamic_package.png" staticPackageImageAtProviderUI="/images/teamtailor/assessment-or-background-check/teamtailor_static_package.png" />

    <Frame>
      <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_configuration_model_new.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=bb7de8091bda20b875bb4aec77c8bcc0" alt="Teamtailor Configuration Model" width="534" height="1208" data-path="images/teamtailor/assessment-or-background-check/teamtailor_configuration_model_new.png" />
    </Frame>

    Click on the `Confirm` or `Save Changes` button to enable your Partner APIs, allowing end-users to link their accounts through the Hub.
  </Step>

  <Step title="Add a Webhook">
    Navigate to the *Webhooks* page, click on `Add webhook` and fill out the form:

    * **Name:** Enter your webhook with a recognisable name.
    * **URL:** Enter the URL where the webhook will send the notification of the enable events.

    <Frame>
      <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_add_webhook_form.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=2009d0c90c21a8d49ad52f66107aa6d6" alt="Add Webhook form" width="532" height="444" data-path="images/teamtailor/assessment-or-background-check/teamtailor_add_webhook_form.png" />
    </Frame>

    Enable webhook events from the `Events` tab for Assessment & Background Check, such as `Assessments Order` & `Background Check Order`.

    <Frame>
      <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_add_webhook.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=fbdfe369658815b34c571e819fba799a" alt="Select webhook events" width="1932" height="995" data-path="images/teamtailor/assessment-or-background-check/teamtailor_add_webhook.png" />
    </Frame>
  </Step>
</Steps>

## ATS User Enablement

Navigate to the *Accounts* page or the StackOne Connector Hub to link your Teamtailor account with StackOne.

<Frame>
  <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link Teamtailor account" src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_add_link_account.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=f2028bf83103c8b76261473430775462" width="1086" height="287" data-path="images/teamtailor/assessment-or-background-check/teamtailor_add_link_account.png" />
</Frame>

Users will get the **External Trigger Token** that is required to enable the integration from the Teamtailor Marketplace.

<Frame>
  <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/teamtailor-custom-view-external-trigger.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=82379ac1951148d5bd9dba952f81c711" alt="Teamtailor User view of External-trigger" width="360" height="266" data-path="images/teamtailor/assessment-or-background-check/teamtailor-custom-view-external-trigger.png" />
</Frame>

<Note>
  Follow the [Teamtailor Assessment or Background Check](https://hub.stackone.com/integration-configuration-concepts/ats/teamtailor-assessment-or-background-check) guide regarding how to enable the Teamtailor integration from the Marketplace.
</Note>

## ATS User Experience

### Send the test to the Candidate from Teamtailor

<Frame caption="Test your integration with StackOne using your Teamtailor Sandbox">
  <video controls className="w-full aspect-video" src="https://cdn.stackone.com/public/teamtailor_assess_bg_check_.mov" />
</Frame>

<Note>
  Follow the [Teamtailor Assessment or Background Check](https://hub.stackone.com/integration-configuration-concepts/ats/teamtailor-assessment-or-background-check) guide regarding how to send the test from Teamtailor.
</Note>

### User will see after test has been sent

When a user sends an assessment or background check to a candidate, they will see a success message in the candidate application pop-up.

<Frame>
  <img src="https://mintcdn.com/stackone-60/bgWXAsVcTJndB7HG/images/teamtailor/assessment-or-background-check/Teamtailor-sent-test-view.png?fit=max&auto=format&n=bgWXAsVcTJndB7HG&q=85&s=b7ebfbaea6e33bbcfada2797a173d3a3" alt="Teamtailor sent test view" width="760" height="205" data-path="images/teamtailor/assessment-or-background-check/Teamtailor-sent-test-view.png" />
</Frame>

## ATS User Experience Customisation

<Steps>
  <Step title="To Update the result via unified api">
    Utilise the following endpoints to update the results:

    * [Assessment Update Result](https://docs.stackone.com/ats/api-reference/assessments/results/update-assessments-result)
    * [Background Check Update Result](https://docs.stackone.com/ats/api-reference/background-checks/results/update-background-check-result)

    Utilise the following endpoint to get metadata to update the result of the assessment or background check:

    * [Connector Meta Information](https://docs.stackone.com/platform/api-reference/connectors/get-connector-meta-information) with the provider key `teamtailor` for model `assessments/results.update` or `background_checks/results.update`

    #### User sees the updated results with different conditions of the assessment/background check in Teamtailor

    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
    | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | When the result status `completed` without any other details    <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_status_completed.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=0dfec21e25a3fce90dbda6e46a3d68af" alt="Update result with result status completed only" width="663" height="90" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_status_completed.png" />                                                                                                                                                                                           |
    | When the result status `failed` without any other details       <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_status_failed.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=8fe3e7dfd442ddec837e608f4dbc24a2" alt="Update result with result status failed only" width="663" height="90" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_status_failed.png" />                                                                                                                                                                                                                      |
    | When the result `completed` with all data except Score          <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_completed_without_score_with_other_details.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=a5173a11fda58d448fa49541a3f32026" alt="completed without score" width="663" height="152" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_completed_without_score_with_other_details.png" /> |
    | When the result `failed` with all data except Score             <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_failed_without_score_with_other_details.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=ea4021f67d5c253246fa28166e8024ff" alt="failed without score" width="663" height="152" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_failed_without_score_with_other_details.png" />                            |
    | When the result `completed` with all details                    <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_completed_with_score.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=39c60dc807913f9efcc835f0373f926f" alt="completed without score" width="663" height="152" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_completed_with_score.png" />                                                                                                                                                                                 |
    | When the result `failed` with all details                       <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_failed_with_score.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=b7e90d352cdd3c4e43f16ebe5625d209" alt="failed without score" width="663" height="152" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_failed_with_score.png" />                                                                                                                                                                                                            |
    | When the result not included Result URL                         <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_without_result_url.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=08df73512ff805892257f9738c7b95ff" alt="without result URL" width="661" height="127" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_without_result_url.png" />                                                                                                                                                                                                      |
    | When the result not included Attachments URL                    <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_without_attachments.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=71a900aded1a790679b18254c8461c73" alt="without attachments URL" width="661" height="116" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_without_attachments.png" />                                                                                                                                                                                         |
    | When the result included multiple Attachments URL               <br /> <img src="https://mintcdn.com/stackone-60/-lDSXRMUHJ7KINR_/images/teamtailor/assessment-or-background-check/teamtailor_result_with_multiple_attachments.png?fit=max&auto=format&n=-lDSXRMUHJ7KINR_&q=85&s=1811603ca41c5ba7a87d69c247bc17ea" alt="multiple attachments URL" width="663" height="150" data-path="images/teamtailor/assessment-or-background-check/teamtailor_result_with_multiple_attachments.png" />                                                                                                                                        |
  </Step>
</Steps>

## Testing Checklist

✅  **Provider Setup:**

* Logged-in with Admin account.
* Valid StackOne URL.
* Integration partner app is published to the Teamtailor's marketplace under your selected category.
* Teamtailor's marketplace activation form of your integration app having an input field to enter `External Trigger Token`.

✅  **StackOne Configuration:**

* Selected `Public + Partner API` or `Partner API` as Authentication Type.
* Package's List Endpoint URL is correct.
* Enable Teamtailor in StackOne Configuration model with the List Packages endpoint.
* Package's List Endpoint response is expected according to the following endpoint's response:
  * [List Assessments Packages](https://docs.stackone.com/ats/api-reference/assessments/packages/list-assessments-packages)
  * [List Background Check Packages](https://docs.stackone.com/ats/api-reference/background-checks/packages/list-background-check-packages)

✅  **ATS User Activation:**

* Enter `External Trigger Token` to the marketplace app to enable the integration partner app.
* Once the app is enabled from the marketplace, the app should be visible in the Integration list under the Candidate's application; navigate to `More` (the three-dot menu).

✅  **Create a Webhook:**

* Added a webhook for Teamtailor and enabled it with the events such as: `Assessment Order` or `Background Check Order`
* Valid webhook URL to receive assessment/background check notifications.

✅  **ATS User Experience:**

* The integration app is visible in the Integration list under the candidate’s application; navigate to `More` (the three-dot menu).
* A list of packages is visible in the dropdown field on the prompt when you click the integration from the list.
* Select a package and send the webhook. A green check will appear if the notification has been sent, or an error will appear if not.

✅  **Update Result:**

* Success response from the update result endpoint.
* Updated result details to Teamtailor's UI.

## Troubleshooting

<div className="troubleshooting-table">
  | Symptom                                                                                                | Likely cause                                                                                                                                                                                                                             | Fix                                                                                                                                                                                                                                                                                                                      |
  | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Unable to add new Integration partner app.                                                             | **•** Teamtailor Partnership is not active. <br /><br /> **•** Logged-in account is not an Admin account.                                                                                                                                | **•** Contact Teamtailor support for partnership status. <br /><br /> **•** Log in with an Admin account.                                                                                                                                                                                                                |
  | Integration partner app not visible in Teamtailor Marketplace.                                         | Partnership app might be published but not approved                                                                                                                                                                                      | Contact Teamtailor support for partnership status.                                                                                                                                                                                                                                                                       |
  | Getting `Failed to fetch config from partner: Unable to fetch the partner config` error on the pop-up. | **•** Package's List Endpoint URL or Static Package ID is missing from StackOne Configuration. <br /><br /> **•** Invalid response getting from the Package's List Endpoint URL. <br /><br /> **•** Invalid Package's List Endpoint URL. | **•** Add Static Package ID if you don't have Package's List Endpoint URL. <br /><br /> **•** Response format should be expected as mentioned in the [StackOne Configuration](#stackone-configuration). <br /><br /> **•** Check Package's List Endpoint URL implementation at your end. <br /><br /> **•** Verify CORS. |
  | External Trigger Token field is not visible at StackOne Connector Hub.                                 | **•** Selected Authentication Type is incorrect.                                                                                                                                                                                         | Select Authentication Type `Public + Partner API` or `Partner API` instead.                                                                                                                                                                                                                                              |
  | User unable to activate integration app.                                                               | Invalid External Trigger Token.                                                                                                                                                                                                          | Ensure to copy & add valid External Trigger Token                                                                                                                                                                                                                                                                        |
  | Test notification is not received.                                                                     | **•** Invalid webhook URL. <br /><br /> **•** Incorrect webhook events are enabled.                                                                                                                                                      | **•** Verify webhook URL. <br /><br /> **•** Enable expected events as mentioned in the [StackOne Configuration](#stackone-configuration).                                                                                                                                                                               |
  | Test notification not included the job's hiring team.                                                  | Different Authentication Type instead of `Public + Partner API`.                                                                                                                                                                         | Select Authentication Type `Public + Partner API` instead.                                                                                                                                                                                                                                                               |
  | Unable to update result.                                                                               | Invalid payload format.                                                                                                                                                                                                                  | Check [Connector Meta API](https://docs.stackone.com/platform/api-reference/connectors/get-connector-meta-information) endpoint for payload format.                                                                                                                                                                      |
  | Result URL or Attachment's URL showing error when opened.                                              | Added result URL can be expired or is private.                                                                                                                                                                                           | Ensure to add public or signed URLs; verify CORS and expiry.                                                                                                                                                                                                                                                             |
</div>

For persistent issues, contact StackOne support with detailed error logs and configuration information.
