{"info":{"_postman_id":"fb197ad2-71d5-48ed-9974-d9aee3ceed53","name":"Deeper Signals API Documentation","description":"<html><head></head><body><h1 id=\"welcome-to-deeper-signals-api-documentation\">Welcome to Deeper Signals API Documentation!</h1>\n<p>In this documentation, we provide you all necessary information on how to Access and Use our Public API and other useful tools our application can provide to our customers.</p>\n<p>We hope you find this information helpful!</p>\n<p>Fell free to contact our team if you have any question lest after reading this documentation.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Welcome to Deeper Signals API Documentation!","slug":"welcome-to-deeper-signals-api-documentation"}],"owner":"15401776","collectionId":"fb197ad2-71d5-48ed-9974-d9aee3ceed53","publishedId":"2s83mjFgG6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF005c"},"publishDate":"2022-10-04T19:40:41.000Z"},"item":[{"name":"SSO","item":[{"name":"SSO Authentication URL","id":"aea98a5f-7491-4669-abf0-45ecadcfcac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://app.deepersignals.com/sso/:jwt-token","description":"<h2 id=\"the-deeper-signals-sso-url\">The Deeper Signals SSO URL</h2>\n<p>The Deeper Signals SSO URL is the URL that you redirect to after a user has successfully authenticated in your system.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"4cd3d5c1-da3a-4937-a97f-2cb2b9951b2f","id":"4cd3d5c1-da3a-4937-a97f-2cb2b9951b2f","name":"SSO","type":"folder"}},"urlObject":{"protocol":"https","path":["sso",":jwt-token"],"host":["app","deepersignals","com"],"query":[{"disabled":true,"description":{"content":"<p>This is the url that you want the user to be redirected to in the case of an error. This is OPTIONAL.\nIf the error_url is NOT provided, the user will be redirected to a generic Deeper Signals error page.</p>\n","type":"text/plain"},"key":"error_url","value":"https://redirecturl.com"}],"variable":[{"description":{"content":"<p> The JWT payload that you construct and signed (read above)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"jwt-token"}]}},"response":[{"id":"17c600d2-1657-458a-b665-3f28ccd6efc6","name":"SSO Authentication URL","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"iat\": 1620212314,\n    \"exp\": 1620215914,\n    \"client_id\": \"6hUsd268\",\n    \"email\": \"user@deepersignals.com\",\n    \"first_name\": \"deeper\",\n    \"last_name\": \"Signals\",\n    \"ds_id\":1,\n    \"locale\": \"en\",\n    \"identity\": \"USHdUHi6\"\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.deepersignals.com/sso/:jwt-token?error_url=https://redirecturl.com","protocol":"https","host":["app","deepersignals","com"],"path":["sso",":jwt-token"],"query":[{"key":"error_url","value":"https://redirecturl.com","description":"This is the url that you want the user to be redirected to in the case of an error. This is OPTIONAL.\nIf the error_url is NOT provided, the user will be redirected to a generic Deeper Signals error page."}],"variable":[{"key":"jwt-token","value":"{{jwt-token}}","description":" The JWT payload that you construct and signed (read above)"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"aea98a5f-7491-4669-abf0-45ecadcfcac3"}],"id":"4cd3d5c1-da3a-4937-a97f-2cb2b9951b2f","description":"<h2 id=\"how-it-works\">How It Works</h2>\n<p>First a user will sign into your external site. Once they have been authenticated, your application will construct a token (JWT) and redirect to the Deeper Signals SSO URL with this token as a query string parameter. Deeper Signals deconstructs this payload and either finds the user and signs them in, or if they don't already have an account on your Deeper Signals site, creates an account and signs them in.</p>\n<h2 id=\"the-jwt-payload\">The JWT Payload</h2>\n<p>Your application must construct the JWT payload and sign it using your Deeper Signals API key.</p>\n<p>The key can be found under the API section of your Deeper Signals admin dashboard. If you don't see API options in your admin dashboard, request API permissions from your Deeper Signals account administrator.</p>\n<p>The best practice for security is to generate the JWT token on a server and then retrieve it from the client side, rather than exposing the JWT shared secret in the client-side JavaScript.</p>\n<blockquote>\n<p><em><strong>NOTE:</strong></em> Do not base 64 encode your API key when signing your JWT token. Our application expects the API key as-is when verifying your JWT token. </p>\n</blockquote>\n<p>The JWT payload is typically constructed as a hash.</p>\n<p>The following attributes are supported:</p>\n<ul>\n<li><code>iat</code> (<strong>required</strong>) - Must be the number of seconds since UNIX epoch. This is essentially the time that the JWT payload was issued.</li>\n<li><code>exp</code> (<strong>required</strong>) - UNIX epoch timestamp modified to represent the expiry time NOTE: The maximum token validity period is 15 minutes but this parameter can be used to shorten that period.</li>\n<li><code>client_id</code> (<strong>required</strong>) - When generating your api token you will be supplied with a corresponding client id which must be supplied in the JWT claims.</li>\n<li><code>email</code> (<strong>required</strong>) - The email of the authenticated user. If <code>ds_id</code> is not provide, email will be used as the unique identifier to find a user.</li>\n<li><code>first_name</code> (<strong>required</strong>)- The first name of the authenticated user.</li>\n<li><code>last_name</code> (<strong>required</strong>)- The last name of the authenticated user.</li>\n<li><code>ds_id</code> (optional) - The id of the user in the Deeper Signals system. You will get supplied with this parameter when a user gets created through our webhook or the callback url.</li>\n<li><code>locale</code> (optional) - the two letter code of a users language. The default is <code>en</code> and if the language provided is not supported the fallback will be English.</li>\n<li><code>identity</code> (optional) - this is the playbook identity which should be used after the user is registered/logged in to assign the user assessments, associate him with groups and/or projects.</li>\n</ul>\n<p>See example in the request below.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"87b0eb17-de40-49ef-b3bd-cbe67f9ad837","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1558f622-7c4f-42f7-a8c0-8331c112f842","type":"text/javascript","exec":[""]}}],"_postman_id":"4cd3d5c1-da3a-4937-a97f-2cb2b9951b2f"},{"name":"Webhooks","item":[{"name":"User Created","id":"b77351a9-d641-4863-a73c-3deebb2007f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://yourwebhookurl.com/path/to/webhook/calback","description":"<p>Our application will call your Webhook URL and send POST request with event data. See example for event data.</p>\n","urlObject":{"host":["https://yourwebhookurl.com/path/to/webhook/calback"],"query":[],"variable":[]}},"response":[{"id":"b1fd3b4f-3bfc-449c-8727-eb8ce75632be","name":"User Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": 1,\n  \"email\": \"user-email@example.com\",\n  \"first_name\": \"first_name\",\n  \"last_name\": \"last_name\",\n  \"created_at\": \"2022-10-01 14:42:42\",\n  \"account\": {\n    \"name\": \"Deeper Signals\",\n    \"index_name\": \"deepersignals\"\n  },\n  \"event\": \"UserCreated\"\n}","options":{"raw":{"language":"json"}}},"url":"https://yourwebhookurl.com/path/to/webhook/calback"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b77351a9-d641-4863-a73c-3deebb2007f1"},{"name":"User Deleted","id":"e59c174a-0dcb-4229-873a-f84886f4b346","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://yourwebhookurl.com/path/to/webhook/calback","description":"<p>Our application will call your Webhook URL and send POST request with event data. See example for event data.</p>\n","urlObject":{"host":["https://yourwebhookurl.com/path/to/webhook/calback"],"query":[],"variable":[]}},"response":[{"id":"997ef940-006f-46a2-b557-0c17293c5986","name":"User Deleted","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": 1,\n  \"email\": \"user-email@example.com\",\n  \"first_name\": \"first_name\",\n  \"last_name\": \"last_name\",\n  \"created_at\": \"2022-10-01 14:42:42\",\n  \"account\": {\n    \"name\": \"Deeper Signals\",\n    \"index_name\": \"deepersignals\"\n  },\n  \"event\": \"UserDeleted\"\n}","options":{"raw":{"language":"json"}}},"url":"https://yourwebhookurl.com/path/to/webhook/calback"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e59c174a-0dcb-4229-873a-f84886f4b346"},{"name":"Assigned Assessment Finished","id":"59cd5c0e-72d6-42cf-b28c-7332663ffa1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://yourwebhookurl.com/path/to/webhook/calback","description":"<p>Our application will call your Webhook URL and send POST request with event data. See example for event data.</p>\n<blockquote>\n<p><strong><em>NOTE</em></strong> Scales might be different on different kinds of assessments. This is an example for the Core Drivers Pro assessment.</p>\n</blockquote>\n","urlObject":{"host":["https://yourwebhookurl.com/path/to/webhook/calback"],"query":[],"variable":[]}},"response":[{"id":"726f7089-9d45-4318-a0d9-65ebf064d87d","name":"Assessment Finished","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"scales\": {\n    \"Drive\": 74.83,\n    \"Drive//Leading\": 72.54,\n    \"Drive//Confident\": 79.94,\n    \"Drive//Proactive\": 46.38,\n    \"Drive//Competitive\": 66.04,\n    \"Drive//Goal-oriented\": 73.3,\n    \"Openness\": 38.26,\n    \"Openness//Artistic\": 30.44,\n    \"Openness//Expressive\": 83.38,\n    \"Openness//Imaginative\": 74.67,\n    \"Openness//Inquisitive\": 12.01,\n    \"Openness//Experimental\": 1.47,\n    \"Stability\": 43.06,\n    \"Stability//Calm\": 23.03,\n    \"Stability//Composed\": 58.19,\n    \"Stability//Positive\": 47.38,\n    \"Stability//Resilient\": 72.77,\n    \"Stability//Inattentive\": 36.79,\n    \"Extraversion\": 36.8,\n    \"Extraversion//Upbeat\": 18.34,\n    \"Extraversion//Colorful\": 72.57,\n    \"Extraversion//Friendly\": 42.44,\n    \"Extraversion//Sociable\": 29.56,\n    \"Extraversion//Thrill-seeking\": 27.15,\n    \"Agreeableness\": 34.86,\n    \"Agreeableness//Moral\": 27.33,\n    \"Agreeableness//Helpful\": 35.28,\n    \"Agreeableness//Trusting\": 93.08,\n    \"Agreeableness//Empathetic\": 16.15,\n    \"Agreeableness//Cooperative\": 14.49,\n    \"Conscientiousness\": 11.43,\n    \"Conscientiousness//Dutiful\": 24.93,\n    \"Conscientiousness//Cautious\": 40.08,\n    \"Conscientiousness//Organized\": 2.29,\n    \"Conscientiousness//Perfectionist\": 9.96,\n    \"Conscientiousness//Self-disciplined\": 59.32,\n    \"Candid\": 65.14,\n    \"Driven\": 74.83,\n    \"Stable\": 43.06,\n    \"Curious\": 38.26,\n    \"Flexible\": 88.57,\n    \"Outgoing\": 36.8,\n    \"Reserved\": 63.2,\n    \"Laid-back\": 25.17,\n    \"Pragmatic\": 61.74,\n    \"Passionate\": 56.94,\n    \"Considerate\": 34.86,\n    \"Disciplined\": 11.43\n  },\n  \"assessment\": {\n    \"name\": \"Core Drivers\",\n    \"id\": 49344,\n    \"assessment_library_id\": 24,\n    \"score_type\": \"core_drivers_leadership\",\n    \"user_reports\": [\n      {\n        \"assigned_user_report\": {\n          \"id\": 33005,\n          \"userReportName\": \"Core Drivers Pro\"\n        }\n      }\n    ]\n  },\n  \"account\": {\n    \"name\": \"account_name\",\n    \"indexName\": \"index_name\"\n  },\n  \"id\": 28663,\n  \"full_name\": \"first_name last_name\",\n  \"email\": \"email\",\n  \"groups\": [\n    \"group_name\"\n  ],\n  \"company\": \"N/A\",\n  \"country\": \"N/A\",\n  \"ethnicity\": \"Prefer not to say\",\n  \"locale\": \"en\",\n  \"age\": \"N/A\",\n  \"gender\": \"N/A\",\n  \"event\": \"AssignedAssessmentFinished\"\n}","options":{"raw":{"language":"json"}}},"url":"https://yourwebhookurl.com/path/to/webhook/calback"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"59cd5c0e-72d6-42cf-b28c-7332663ffa1f"}],"id":"7d8108c1-c0f9-4be8-bca4-7e2f96bcf7cf","description":"<p>The webhook is registered in your account settings on the Deeper Signals App. From the webhook url you can get a few type of events which you can see listed in the table below with their json payloads. Webhook settings are not enabled by default. Contact your Deeper Signals administrator to have these settings enabled.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"4a1e9ea0-dc65-4161-8d40-e4bb68df72b5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ebc70b28-5379-4bcc-9c44-8827ec671e7d","type":"text/javascript","exec":[""]}}],"_postman_id":"7d8108c1-c0f9-4be8-bca4-7e2f96bcf7cf"},{"name":"API","item":[{"name":"Playbooks","item":[{"name":"Create Playbook","id":"90621ccb-3817-497f-b7b8-a1c1d0f70b25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/playbook/create","description":"<p>When a playbook gets created a unique identifier is created for the specific playbook. You can send that identifier as a part of the SSO JWT token payload under the <em>identity</em> key.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","name":"Playbooks","type":"folder"}},"urlObject":{"path":["api","external","playbook","create"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"5ed624e3-04d4-49a7-94cd-fb77d3b5c9a3","name":"Create Playbook","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"[string]\",\r\n  \"groups\": [\r\n    {\r\n      \"name\": \"[GroupName]\"\r\n    }\r\n  ],\r\n  \"projects\": [\r\n    42\r\n  ],\r\n  \"assessment_libraries\": [\r\n    42\r\n  ],\r\n  \"user_report_libraries\": [\r\n    42\r\n  ],\r\n  \"default_for_login\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/playbook/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 May 2021 08:06:00 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Content-Security-Policy","value":"default-src * 'none' ; script-src 'self' 'unsafe-inline' *.hotjar.com *.zopim.com *.brazenx.com *.deepersignals.com *.google.com *.googleapis.com *.typeform.com *.facebook.net *.facebook.com *.gstatic.com *.google-analytics.com *.googletagmanager.com *.zdassets.com privacypolicies.com *.iubenda.com *.q-tests.com *.inspectlet.com 'nonce-RcK9WZrUnQ6HGKFUn33ACRGMuI97ZKWYW2HozREZVdhg2JAMMN0/jkj34ZpGeXLM' 'nonce-YUhhP7LLyCLlmLk74qXvWvtpDa8eH/p9ZwUT/G96C+XJdpPsAyacixat+37a0Toi' 127.0.0.1:*;connect-src * data: blob: 'unsafe-inline'; object-src 'none';frame-ancestors 'self';font-src 'self' https://fonts.gstatic.com/ *.hotjar.com;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/ *.gstatic.com;media-src *.zdassets.com 'self';img-src * data: blob: 'unsafe-inline';base-uri 'self';frame-src * data: blob:;worker-src 'self' blob:;report-uri https://451641028b7b69a27c159a2cf650a459.report-uri.com/r/d/csp/enforce;"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"dec430"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/dec430"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"517"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"assessments\": [\n        {\n            \"id\": 230,\n            \"form_id\": \"LDKXFvaWTq\",\n            \"name\": \"Core Drivers Pro\"\n        }\n    ],\n    \"groups\": [\n        {\n            \"id\": 135,\n            \"name\": \"SomeGroup\"\n        }\n    ],\n    \"projects\": [\n        {\n            \"id\": 1,\n            \"name\": \"SomeProject\"\n        }\n    ],\n    \"name\": \"Playbook\",\n    \"identity\": \"60ae0168f2eb7\",\n    \"account\": {\n        \"id\": 1,\n        \"name\": \"Deeper Signals\",\n        \"index_name\": \"deepersignals\"\n    }\n}"}],"_postman_id":"90621ccb-3817-497f-b7b8-a1c1d0f70b25"},{"name":"Get All Playbooks","id":"1d1eb5af-5d48-49b4-aa7c-1196af8e512e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/playbook","description":"<h3 id=\"get-playbook-information\">Get Playbook Information</h3>\n<p>This endpoint retrieves playbook information from an external API.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: <code>{{url}}/api/external/playbook</code></p>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will include an array of playbook objects.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","name":"Playbooks","type":"folder"}},"urlObject":{"path":["api","external","playbook"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"32f3e09f-ea62-414a-97fd-245e77ee17d8","name":"Get All Playbooks","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/external/playbook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 May 2021 12:17:29 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Content-Security-Policy","value":"default-src * 'none' ; script-src 'self' 'unsafe-inline' *.hotjar.com *.zopim.com *.brazenx.com *.deepersignals.com *.google.com *.googleapis.com *.typeform.com *.facebook.net *.facebook.com *.gstatic.com *.google-analytics.com *.googletagmanager.com *.zdassets.com privacypolicies.com *.iubenda.com *.q-tests.com *.inspectlet.com 'nonce-RcK9WZrUnQ6HGKFUn33ACRGMuI97ZKWYW2HozREZVdhg2JAMMN0/jkj34ZpGeXLM' 'nonce-YUhhP7LLyCLlmLk74qXvWvtpDa8eH/p9ZwUT/G96C+XJdpPsAyacixat+37a0Toi' 127.0.0.1:*;connect-src * data: blob: 'unsafe-inline'; object-src 'none';frame-ancestors 'self';font-src 'self' https://fonts.gstatic.com/ *.hotjar.com;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/ *.gstatic.com;media-src *.zdassets.com 'self';img-src * data: blob: 'unsafe-inline';base-uri 'self';frame-src * data: blob:;worker-src 'self' blob:;report-uri https://451641028b7b69a27c159a2cf650a459.report-uri.com/r/d/csp/enforce;"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"6e0578"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/6e0578"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"1172"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"id\": 0,\n    \"assessment_libraries\": [\n      {\n        \"id\": 0,\n        \"name\": \"string\"\n      }\n    ],\n    \"user_report_libraries\": [\n      {\n        \"id\": 0,\n        \"name\": \"string\"\n      }\n    ],\n    \"usergroups\": [\n      {\n        \"id\": 0,\n        \"name\": \"string\"\n      }\n    ],\n    \"projects\": [\n      {\n        \"id\": 0,\n        \"name\": \"string\"\n      }\n    ],\n    \"name\": \"string\",\n    \"identity\": \"string\",\n    \"account\": {\n      \"id\": 0,\n      \"name\": \"string\",\n      \"index_name\": \"pAqpdGcE3tDMLAbwREJYX3orzviQFBOWtakG\"\n    },\n    \"default_for_login\": true\n  }\n]"}],"_postman_id":"1d1eb5af-5d48-49b4-aa7c-1196af8e512e"},{"name":"Update Playbook","id":"0c180f85-af34-491a-b69a-e728c6d4a2e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/playbook/:playbook_id","description":"<p>The endpoint makes an HTTP PUT request to update a specific playbook using the provided playbook ID.</p>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request can be documented as a JSON schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"object\",\n    \"properties\": {\n        \"id\": {\n            \"type\": \"integer\"\n        },\n        \"assessments\": {\n            \"type\": \"array\",\n            \"items\": {\n                \"type\": \"object\",\n                \"properties\": {\n                    \"id\": {\n                        \"type\": \"integer\"\n                    },\n                    \"form_id\": {\n                        \"type\": \"string\"\n                    },\n                    \"name\": {\n                        \"type\": \"string\"\n                    }\n                }\n            }\n        },\n        \"groups\": {\n            \"type\": \"array\",\n            \"items\": {\n                \"type\": \"object\",\n                \"properties\": {\n                    \"id\": {\n                        \"type\": \"integer\"\n                    },\n                    \"name\": {\n                        \"type\": \"string\"\n                    }\n                }\n            }\n        },\n        \"projects\": {\n            \"type\": \"array\",\n            \"items\": {\n                \"type\": \"object\",\n                \"properties\": {\n                    \"id\": {\n                        \"type\": \"integer\"\n                    },\n                    \"name\": {\n                        \"type\": \"string\"\n                    }\n                }\n            }\n        },\n        \"name\": {\n            \"type\": \"string\"\n        },\n        \"identity\": {\n            \"type\": \"string\"\n        },\n        \"account\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"id\": {\n                    \"type\": \"integer\"\n                },\n                \"name\": {\n                    \"type\": \"string\"\n                },\n                \"index_name\": {\n                    \"type\": \"string\"\n                }\n            }\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","name":"Playbooks","type":"folder"}},"urlObject":{"path":["api","external","playbook",":playbook_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Playbook ID</p>\n","type":"text/plain"},"type":"any","value":null,"key":"playbook_id"}]}},"response":[{"id":"46d0a04a-ab47-40aa-98c8-f46061ce1155","name":"Update Playbook","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"TestPlaybook3\",\r\n    \"assessments\":[230],\r\n    \"projects\":[1],\r\n    \"groups\":[\"TestGroup\"]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/external/playbook/:playbook_id","host":["{{url}}"],"path":["api","external","playbook",":playbook_id"],"variable":[{"key":"playbook_id","value":"1","description":"Playbook ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 26 May 2021 08:38:21 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Content-Security-Policy","value":"default-src * 'none' ; script-src 'self' 'unsafe-inline' *.hotjar.com *.zopim.com *.brazenx.com *.deepersignals.com *.google.com *.googleapis.com *.typeform.com *.facebook.net *.facebook.com *.gstatic.com *.google-analytics.com *.googletagmanager.com *.zdassets.com privacypolicies.com *.iubenda.com *.q-tests.com *.inspectlet.com 'nonce-RcK9WZrUnQ6HGKFUn33ACRGMuI97ZKWYW2HozREZVdhg2JAMMN0/jkj34ZpGeXLM' 'nonce-YUhhP7LLyCLlmLk74qXvWvtpDa8eH/p9ZwUT/G96C+XJdpPsAyacixat+37a0Toi' 127.0.0.1:*;connect-src * data: blob: 'unsafe-inline'; object-src 'none';frame-ancestors 'self';font-src 'self' https://fonts.gstatic.com/ *.hotjar.com;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/ *.gstatic.com;media-src *.zdassets.com 'self';img-src * data: blob: 'unsafe-inline';base-uri 'self';frame-src * data: blob:;worker-src 'self' blob:;report-uri https://451641028b7b69a27c159a2cf650a459.report-uri.com/r/d/csp/enforce;"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"c6d9cc"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/c6d9cc"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"517"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"assessments\": [\n        {\n            \"id\": 230,\n            \"form_id\": \"LDKXFvaWTq\",\n            \"name\": \"Core Drivers Pro\"\n        }\n    ],\n    \"groups\": [\n        {\n            \"id\": 135,\n            \"name\": \"TestGroup\"\n        }\n    ],\n    \"projects\": [\n        {\n            \"id\": 1,\n            \"name\": \"TestProject\"\n        }\n    ],\n    \"name\": \"TestPlaybook3\",\n    \"identity\": \"609bb25b0e9c9\",\n    \"account\": {\n        \"id\": 1,\n        \"name\": \"Deeper Signals\",\n        \"index_name\": \"deepersignals\"\n    }\n}"}],"_postman_id":"0c180f85-af34-491a-b69a-e728c6d4a2e1"},{"name":"Delete Playbook","id":"01edb655-b519-4701-b222-55b1bf0659af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/external/playbook/:playbook_id","description":"<h3 id=\"delete-playbook\">Delete Playbook</h3>\n<p>This endpoint is used to delete a specific playbook identified by the <code>playbook_id</code>.</p>\n<h4 id=\"request-parameters\">Request Parameters</h4>\n<ul>\n<li><code>playbook_id</code> (path parameter): The unique identifier of the playbook to be deleted.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is <code>null</code>, indicating that the playbook has been successfully deleted.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","name":"Playbooks","type":"folder"}},"urlObject":{"path":["api","external","playbook",":playbook_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Playbook ID</p>\n","type":"text/plain"},"type":"any","value":null,"key":"playbook_id"}]}},"response":[{"id":"19b4ce44-49ad-4bb9-b26b-0212f68fd6f4","name":"Delete Playbook","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/api/external/playbook/:playbook_id","host":["{{url}}"],"path":["api","external","playbook",":playbook_id"],"variable":[{"key":"playbook_id","value":"1","description":"Playbook ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Wed, 26 May 2021 08:38:47 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Content-Security-Policy","value":"default-src * 'none' ; script-src 'self' 'unsafe-inline' *.hotjar.com *.zopim.com *.brazenx.com *.deepersignals.com *.google.com *.googleapis.com *.typeform.com *.facebook.net *.facebook.com *.gstatic.com *.google-analytics.com *.googletagmanager.com *.zdassets.com privacypolicies.com *.iubenda.com *.q-tests.com *.inspectlet.com 'nonce-RcK9WZrUnQ6HGKFUn33ACRGMuI97ZKWYW2HozREZVdhg2JAMMN0/jkj34ZpGeXLM' 'nonce-YUhhP7LLyCLlmLk74qXvWvtpDa8eH/p9ZwUT/G96C+XJdpPsAyacixat+37a0Toi' 127.0.0.1:*;connect-src * data: blob: 'unsafe-inline'; object-src 'none';frame-ancestors 'self';font-src 'self' https://fonts.gstatic.com/ *.hotjar.com;style-src 'self' 'unsafe-inline' https://fonts.googleapis.com/ *.gstatic.com;media-src *.zdassets.com 'self';img-src * data: blob: 'unsafe-inline';base-uri 'self';frame-src * data: blob:;worker-src 'self' blob:;report-uri https://451641028b7b69a27c159a2cf650a459.report-uri.com/r/d/csp/enforce;"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"d3579a"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/d3579a"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"01edb655-b519-4701-b222-55b1bf0659af"}],"id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4","description":"<p>The playbook is created via API and is used to define actions which should happen after a user is logged in or registered with an SSO link. Using the playbook you can define a couple of options like which assessments should be assigned to a user, which projects the user should join, which groups the user should be assigned.</p>\n<p>This concept is used to minimize the number of API calls for creating a user. You create a playbook once and you use it multiple times. In that way you have no API calls when creating a user, you just use the identity of the playbook, sign the JWT token, redirect the user to our sso url and you are all set. The user is created and their assessments are assigned.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"c12a902a-866c-4a56-bbec-016cfab9c4e9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"56f25e3d-ee92-40fb-aee3-879be2e54944","type":"text/javascript","exec":[""]}}],"_postman_id":"d8b9264e-69fb-4296-9b95-8c7d1ef80bb4"},{"name":"Users","item":[{"name":"Create User","id":"6d82f390-1a26-4515-a0ef-c7a2a1056b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/user","description":"<p>The endpoint makes an HTTP POST request to create a new user in an external system. The response for this request can be documented as a JSON schema as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": { \"type\": \"integer\" },\n    \"email\": { \"type\": \"string\" },\n    \"roles\": {\n      \"type\": \"array\",\n      \"items\": { \"type\": \"string\" }\n    },\n    \"first_name\": { \"type\": \"string\" },\n    \"last_name\": { \"type\": \"string\" },\n    \"active\": { \"type\": \"boolean\" },\n    \"created_at\": { \"type\": \"string\" },\n    \"profile\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"id\": { \"type\": \"integer\" },\n        \"company\": { \"type\": \"string\" },\n        \"gender\": { \"type\": \"string\" },\n        \"age\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": { \"type\": \"integer\" },\n            \"name\": { \"type\": \"string\" }\n          }\n        },\n        \"ethnicity\": { \"type\": [\"string\", \"null\"] },\n        \"country\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": { \"type\": \"integer\" },\n            \"name\": { \"type\": \"string\" },\n            \"code\": { \"type\": \"string\" }\n          }\n        },\n        \"state\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": { \"type\": \"integer\" },\n            \"name\": { \"type\": \"string\" }\n          }\n        },\n        \"education\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": { \"type\": \"integer\" },\n            \"name\": { \"type\": \"string\" }\n          }\n        },\n        \"income\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": { \"type\": \"integer\" },\n            \"name\": { \"type\": \"string\" }\n          }\n        },\n        \"job_level\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"id\": { \"type\": \"integer\" },\n            \"name\": { \"type\": \"string\" }\n          }\n        },\n        \"image_path\": { \"type\": [\"string\", \"null\"] }\n      }\n    },\n    \"account\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"id\": { \"type\": \"integer\" },\n        \"name\": { \"type\": \"string\" },\n        \"index_name\": { \"type\": \"string\" },\n        \"whitelabel\": { \"type\": \"boolean\" },\n        \"created_at\": { \"type\": \"string\" },\n        \"updated_at\": { \"type\": \"string\" }\n      }\n    },\n    \"updated_at\": { \"type\": \"string\" },\n    \"info\": {\n      \"type\": \"array\",\n      \"items\": {}\n    },\n    \"status\": { \"type\": \"string\" },\n    \"emailVerified\": { \"type\": \"boolean\" },\n    \"locale\": { \"type\": \"string\" }\n  }\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","user"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"c65c31f1-2c9b-4843-b66c-3152f653a383","name":"Create User Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"first_name\": \"John\",\r\n    \"last_name\": \"Smith\",\r\n    \"locale\": \"en\",\r\n    \"email\":\"john77@mail.com\",\r\n    \"groups\": [\"test\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Jul 2021 08:43:34 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"4f1692"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/4f1692"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"1227"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15768,\n    \"email\": \"john77@mail.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"first_name\": \"John\",\n    \"last_name\": \"Smith\",\n    \"active\": true,\n    \"created_at\": \"2021-07-08 10:43:34\",\n    \"profile\": {\n        \"id\": 15448,\n        \"company\": \"N/A\",\n        \"gender\": \"N/A\",\n        \"age\": {\n            \"id\": 7,\n            \"name\": \"N/A\"\n        },\n        \"ethnicity\": null,\n        \"country\": {\n            \"id\": 235,\n            \"name\": \"N/A\",\n            \"code\": \"N/A\"\n        },\n        \"state\": {\n            \"id\": 3923,\n            \"name\": \"N/A\"\n        },\n        \"education\": {\n            \"id\": 6,\n            \"name\": \"N/A\"\n        },\n        \"income\": {\n            \"id\": 5,\n            \"name\": \"N/A\"\n        },\n        \"job_level\": {\n            \"id\": 5,\n            \"name\": \"N/A\"\n        },\n        \"image_path\": null\n    },\n    \"account\": {\n        \"id\": 1,\n        \"name\": \"Deeper Signals\",\n        \"index_name\": \"deepersignals\",\n        \"whitelabel\": true,\n        \"created_at\": \"2019-04-30 12:05:48\",\n        \"updated_at\": \"2021-05-12 09:58:15\"\n    },\n    \"updated_at\": \"2021-07-08 10:43:34\",\n    \"info\": [],\n    \"status\": \"NORMAL\",\n    \"emailVerified\": false,\n    \"locale\": \"en\"\n}"}],"_postman_id":"6d82f390-1a26-4515-a0ef-c7a2a1056b68"},{"name":"Get User By Email","id":"a22d6ac8-8540-4f06-8b09-d83cb116b55c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/external/user/email/:user_email","description":"<h3 id=\"retrieve-user-by-email\">Retrieve User by Email</h3>\n<p>This endpoint retrieves user information based on the provided email address.</p>\n<h4 id=\"request\">Request</h4>\n<ul>\n<li><p>Method: <code>GET</code></p>\n</li>\n<li><p>URL: <code>{{url}}/api/external/user/email/:user_email</code></p>\n</li>\n<li><p>Path Parameters:</p>\n<ul>\n<li><code>user_email</code>: The email address of the user to retrieve.</li>\n</ul>\n</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response will include the user's information such as name, email, and other relevant details.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","user","email",":user_email"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>User's email address</p>\n","type":"text/plain"},"type":"any","value":null,"key":"user_email"}]}},"response":[{"id":"a390917f-abe3-411a-afaa-216b96eefb49","name":"Get User By Email","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api/external/user/email/:user_email","host":["{{url}}"],"path":["api","external","user","email",":user_email"],"variable":[{"key":"user_email","value":"user-email@domain.com","description":"User's email address"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Jul 2021 11:59:48 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"470f72"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/470f72"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"173"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 15768,\n    \"email\": \"user-email@domain.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"first_name\": \"deeper\",\n    \"last_name\": \"Signals\",\n    \"active\": true,\n    \"created_at\": \"2021-07-08 10:43:34\",\n    \"profile\": {\n        \"id\": 15448,\n        \"company\": \"N/A\",\n        \"gender\": \"N/A\",\n        \"age\": {\n            \"id\": 7,\n            \"name\": \"N/A\"\n        },\n        \"ethnicity\": null,\n        \"country\": {\n            \"id\": 235,\n            \"name\": \"N/A\",\n            \"code\": \"N/A\"\n        },\n        \"state\": {\n            \"id\": 3923,\n            \"name\": \"N/A\"\n        },\n        \"education\": {\n            \"id\": 6,\n            \"name\": \"N/A\"\n        },\n        \"income\": {\n            \"id\": 5,\n            \"name\": \"N/A\"\n        },\n        \"job_level\": {\n            \"id\": 5,\n            \"name\": \"N/A\"\n        },\n        \"image_path\": null\n    },\n    \"account\": {\n        \"id\": 1,\n        \"name\": \"Deeper Signals\",\n        \"index_name\": \"deepersignals\",\n        \"whitelabel\": true,\n        \"created_at\": \"2019-04-30 12:05:48\",\n        \"updated_at\": \"2021-05-12 09:58:15\"\n    },\n    \"updated_at\": \"2021-07-08 10:43:34\",\n    \"info\": [],\n    \"status\": \"NORMAL\",\n    \"emailVerified\": false,\n    \"locale\": \"en\"\n}"}],"_postman_id":"a22d6ac8-8540-4f06-8b09-d83cb116b55c"},{"name":"Get User By Employee Id","id":"1c41577d-ab3d-487b-a1c7-fb0b9f3a931f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/external/user/employee-id/:employee_id","description":"<p>Retrieves the user's information using their employee_id, if available.  </p>\n<p>The employee_id is included as part of the user's data when queried.</p>\n","urlObject":{"path":["api","external","user","employee-id",":employee_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Employee id</p>\n","type":"text/plain"},"type":"any","value":"","key":"employee_id"}]}},"response":[{"id":"621c7ce0-86a6-429c-a160-c5ce0fb17589","name":"Get User By Employee Id","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/external/user/employee-id/testid0001"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"employee_id\": \"testid0001\",\n    \"id\": 500000,\n    \"email\": \"johndoe@deepersignals.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"active\": true,\n    \"created_at\": \"2025-01-17 11:45:09\",\n    \"updated_at\": \"2025-01-17 11:45:09\",\n    \"account\": {\n        \"id\": 999,\n        \"name\": \"My Account\",\n        \"index_name\": \"myaccount\",\n        \"whitelabel\": false,\n        \"created_at\": \"2024-10-22 09:41:26\",\n        \"updated_at\": \"2024-11-04 19:02:15\"\n    },\n    \"info\": null,\n    \"status\": \"NORMAL\",\n    \"emailVerified\": false,\n    \"last_login_at\": null,\n    \"locale\": null,\n    \"display_status\": \"Active User\",\n    \"profile\": {\n        \"id\": 500000,\n        \"company\": \"N/A\",\n        \"gender\": \"N/A\",\n        \"age\": {\n            \"id\": 7,\n            \"name\": \"N/A\"\n        },\n        \"ethnicity\": {\n            \"id\": 8,\n            \"name\": \"Prefer not to say\"\n        },\n        \"country\": {\n            \"id\": 235,\n            \"name\": \"N/A\",\n            \"code\": \"N/A\"\n        },\n        \"state\": {\n            \"id\": 3923,\n            \"name\": \"N/A\"\n        },\n        \"education\": {\n            \"id\": 6,\n            \"name\": \"N/A\"\n        },\n        \"income\": {\n            \"id\": 5,\n            \"name\": \"N/A\"\n        },\n        \"job_level\": {\n            \"id\": 5,\n            \"name\": \"N/A\"\n        },\n        \"occupation\": null,\n        \"industry\": null,\n        \"job_title\": null\n    },\n    \"groups\": []\n}"}],"_postman_id":"1c41577d-ab3d-487b-a1c7-fb0b9f3a931f"},{"name":"Get User Details","id":"b6612174-c222-4508-848d-479571db6232","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/external/users/:user_id","description":"<h1 id=\"external-user-details\">External User Details</h1>\n<p>This endpoint retrieves the details of a specific user from an external API.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"path-parameters\">Path Parameters</h3>\n<ul>\n<li><code>user_id</code> (integer) - The unique identifier of the user.</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<p>The response body follows the JSON schema below:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": 0,\n  \"email\": \"\",\n  \"roles\": [\"\"],\n  \"first_name\": \"\",\n  \"last_name\": \"\",\n  \"active\": true,\n  \"created_at\": \"\",\n  \"profile\": {\n    \"id\": 0,\n    \"company\": \"\",\n    \"gender\": \"\",\n    \"age\": {\n      \"id\": 0,\n      \"name\": \"\"\n    },\n    \"country\": {\n      \"id\": 0,\n      \"name\": \"\",\n      \"code\": \"\"\n    },\n    \"state\": {\n      \"id\": 0,\n      \"name\": \"\"\n    },\n    \"education\": {\n      \"id\": 0,\n      \"name\": \"\"\n    },\n    \"income\": {\n      \"id\": 0,\n      \"name\": \"\"\n    },\n    \"job_level\": {\n      \"id\": 0,\n      \"name\": \"\"\n    },\n    \"image_path\": null\n  },\n  \"account\": {\n    \"id\": 0,\n    \"name\": \"\",\n    \"index_name\": \"\",\n    \"whitelabel\": true,\n    \"created_at\": \"\",\n    \"updated_at\": \"\"\n  },\n  \"updated_at\": \"\",\n  \"info\": [],\n  \"status\": \"\",\n  \"emailVerified\": true,\n  \"MFA\": true,\n  \"last_login_at\": \"\",\n  \"locale\": \"\",\n  \"groups\": [\"\"]\n}\n\n</code></pre>\n<p>The response includes various details about the user, such as their email, roles, profile information, account details, and other attributes.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users",":user_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>User ID</p>\n","type":"text/plain"},"type":"any","value":null,"key":"user_id"}]}},"response":[{"id":"4c0326f9-25f1-4b23-9af3-28f417fa4496","name":"Get User Details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api/external/users/:user_id","host":["{{url}}"],"path":["api","external","users",":user_id"],"variable":[{"key":"user_id","value":"3210","description":"User ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 May 2021 12:28:20 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":""},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"content-type, *"},{"key":"X-Debug-Token","value":"ab8df0"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/ab8df0"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"1480"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"email\": \"user@deepersignals.com\",\n    \"roles\": [\n        \"ROLE_USER\"\n    ],\n    \"first_name\": \"deeper\",\n    \"last_name\": \"signals\",\n    \"active\": true,\n    \"created_at\": \"2019-01-10 11:02:55\",\n    \"profile\": {\n        \"id\": 1,\n        \"company\": \"Deepersignals\",\n        \"gender\": \"M\",\n        \"age\": {\n            \"id\": 1,\n            \"name\": \"Between 18 and 25\"\n        },\n        \"country\": {\n            \"id\": 3,\n            \"name\": \"United States\",\n            \"code\": \"US\"\n        },\n        \"state\": {\n            \"id\": 45,\n            \"name\": \"California\"\n        },\n        \"education\": {\n            \"id\": 1,\n            \"name\": \"High School\"\n        },\n        \"income\": {\n            \"id\": 1,\n            \"name\": \"Under $23,000\"\n        },\n        \"job_level\": {\n            \"id\": 1,\n            \"name\": \"Student\"\n        },\n        \"image_path\": null\n    },\n    \"account\": {\n        \"id\": 1,\n        \"name\": \"Deeper Signals\",\n        \"index_name\": \"deepersignals\",\n        \"whitelabel\": true,\n        \"created_at\": \"2019-04-30 12:05:48\",\n        \"updated_at\": \"2021-04-26 16:31:43\"\n    },\n    \"updated_at\": \"2021-04-30 16:22:02\",\n    \"info\": [],\n    \"status\": \"NORMAL\",\n    \"emailVerified\": true,\n    \"MFA\": false,\n    \"last_login_at\": \"2021-04-21T08:44:58+02:00\",\n    \"locale\": \"it\",\n    \"groups\": [\n        \"DeeperSignals\"\n    ]\n}"}],"_postman_id":"b6612174-c222-4508-848d-479571db6232"},{"name":"Get User Competency Score","id":"df8f4845-ac05-47c9-9555-643ca391cdd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/external/users/:user_id/competency-score","description":"<h1 id=\"competency-score-for-user\">Competency Score for User</h1>\n<p>This endpoint retrieves the competency score for a specific user.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><code>user_id</code> (path parameter) : The unique identifier of the user for whom the competency score is being retrieved.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response for this request is a JSON object representing the competency score for the user. You can use the following JSON schema to validate the response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"user_id\": {\n      \"type\": \"string\"\n    },\n    \"competency_score\": {\n      \"type\": \"number\"\n    }\n  },\n  \"required\": [\"user_id\", \"competency_score\"]\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users",":user_id","competency-score"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Users ID</p>\n","type":"text/plain"},"type":"any","value":null,"key":"user_id"}]}},"response":[{"id":"7c00af7f-0943-4577-b6f1-708a8661cfda","name":"Get User Competency Score","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api//external/users/:user_id/competency-score","host":["{{url}}"],"path":["api","","external","users",":user_id","competency-score"],"variable":[{"key":"user_id","value":"3210","description":"User ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"competency\": {\n        \"delivers_results_61e8459077af8\": 44.58,\n        \"open_to_feedback_61e86e8e4679b\": 51.76,\n        \"drives_innovation_61e86d86bb5ba\": 56.93,\n        \"acts_with_integrity_61e86f480bb1e\": 57.57,\n        \"displays_resilience_61e86e038b052\": 55.61,\n        \"entrepreneurial_mindset_61e84652b9078\": 64.48,\n        \"collaborates_effectively_61e86fc3bc57a\": 40.4\n    }\n}"}],"_postman_id":"df8f4845-ac05-47c9-9555-643ca391cdd3"},{"name":"Get User With Results","id":"e28ef811-de4d-4bf8-af9a-0598de888197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/external/users/:user_id/results","description":"<h2 id=\"get-user-results\">Get User Results</h2>\n<p>This endpoint retrieves the results for a specific user identified by the <code>user_id</code>.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>This request does not require a request body.</p>\n<h3 id=\"response-body\">Response Body</h3>\n<ul>\n<li><p><code>user</code>: An object containing details about the user, such as <code>user_id</code>, <code>first_name</code>, <code>last_name</code>, <code>email</code>, <code>gender</code>, <code>company</code>, <code>groups</code>, <code>projects</code>, <code>status</code>, <code>locale</code>, <code>country</code>, <code>state</code>, <code>education</code>, <code>income</code>, <code>job_level</code>, <code>age</code>, and <code>ethnicity</code>.</p>\n</li>\n<li><p><code>userAssignedAssessments</code>: An array of objects containing <code>assessment</code> details and <code>scales</code> for the user.</p>\n</li>\n</ul>\n<p>The <code>assessment</code> object includes <code>name</code>, <code>id</code>, <code>assessment_library_id</code>, <code>score_type</code>, and <code>reports</code>. Each <code>report</code> includes <code>assigned_user_report</code> details with <code>id</code> and <code>userReportName</code>.</p>\n<p>The <code>scales</code> object includes various personality traits with corresponding scores.</p>\n<p>Example response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"user\": {\n    \"user_id\": 0,\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"email\": \"\",\n    \"gender\": \"\",\n    \"company\": \"\",\n    \"groups\": [\"\"],\n    \"projects\": [],\n    \"status\": \"\",\n    \"locale\": \"\",\n    \"country\": {\"country_id\": 0, \"country\": \"\"},\n    \"state\": {\"state_id\": 0, \"state\": \"\"},\n    \"education\": {\"education_id\": 0, \"education\": \"\"},\n    \"income\": {\"income_id\": 0, \"income\": \"\"},\n    \"job_level\": {\"job_level_id\": 0, \"job_level\": \"\"},\n    \"age\": {\"age_id\": 0, \"age\": \"\"},\n    \"ethnicity\": {\"ethnicity_id\": 0, \"ethnicity\": \"\"}\n  },\n  \"userAssignedAssessments\": [\n    {\n      \"assessment\": {\n        \"name\": \"\",\n        \"id\": 0,\n        \"assessment_library_id\": 0,\n        \"score_type\": \"\",\n        \"reports\": [\n          {\n            \"assigned_user_report\": {\n              \"id\": 0,\n              \"userReportName\": \"\"\n            }\n          }\n        ]\n      },\n      \"scales\": {\n        \"Drive\": 0,\n        \"Openness\": 0,\n        \"Stability\": 0,\n        \"Extraversion\": 0,\n        \"Agreeableness\": 0,\n        \"Conscientiousness\": 0,\n        \"Candid\": 0,\n        \"Driven\": 0,\n        \"Stable\": 0,\n        \"Curious\": 0,\n        \"Flexible\": 0,\n        \"Outgoing\": 0,\n        \"Reserved\": 0,\n        \"Laid-back\": 0,\n        \"Pragmatic\": 0,\n        \"Passionate\": 0,\n        \"Considerate\": 0,\n        \"Disciplined\": 0\n      }\n    }\n  ]\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users",":user_id","results"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>User ID</p>\n","type":"text/plain"},"type":"any","value":null,"key":"user_id"}]}},"response":[{"id":"37fc4574-a0c6-4111-9941-f471ed640aab","name":"Get User With Results","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/api/external/users/:user_id/results","host":["{{url}}"],"path":["api","external","users",":user_id","results"],"variable":[{"key":"user_id","value":"3210","description":"User ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 May 2021 12:24:44 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":""},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Headers","value":"content-type, *"},{"key":"X-Debug-Token","value":"cd6ba3"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/cd6ba3"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Content-Length","value":"6578"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"user_id\": 28663,\n        \"first_name\": \"[first name]\",\n        \"last_name\": \"[last name]\",\n        \"email\": \"[email]\",\n        \"gender\": \"[gender]\",\n        \"company\": \"[comapny name]\",\n        \"groups\": [\n            \"test\"\n        ],\n        \"projects\": [],\n        \"status\": \"NORMAL\",\n        \"locale\": \"en\",\n        \"country\": {\n            \"country_id\": 89,\n            \"country\": \"Croatia\"\n        },\n        \"state\": {\n            \"state_id\": 3923,\n            \"state\": \"N/A\"\n        },\n        \"education\": {\n            \"education_id\": 6,\n            \"education\": \"N/A\"\n        },\n        \"income\": {\n            \"income_id\": 5,\n            \"income\": \"N/A\"\n        },\n        \"job_level\": {\n            \"job_level_id\": 5,\n            \"job_level\": \"N/A\"\n        },\n        \"age\": {\n            \"age_id\": 2,\n            \"age\": \"Between 26 and 30\"\n        },\n        \"ethnicity\": {\n            \"ethnicity_id\": 7,\n            \"ethnicity\": \"Other\"\n        }\n    },\n    \"userAssignedAssessments\": [\n        {\n            \"assessment\": {\n                \"name\": \"Core Drivers\",\n                \"id\": 49344,\n                \"assessment_library_id\": 24,\n                \"score_type\": \"core_drivers_leadership\",\n                \"reports\": [\n                    {\n                        \"assigned_user_report\": {\n                            \"id\": 33005,\n                            \"userReportName\": \"Core Drivers Pro\"\n                        }\n                    }\n                ]\n            },\n            \"scales\": {\n                \"Drive\": 74.83,\n                \"Drive//Leading\": 72.54,\n                \"Drive//Confident\": 79.94,\n                \"Drive//Proactive\": 46.38,\n                \"Drive//Competitive\": 66.04,\n                \"Drive//Goal-oriented\": 73.3,\n                \"Openness\": 38.26,\n                \"Openness//Artistic\": 30.44,\n                \"Openness//Expressive\": 83.38,\n                \"Openness//Imaginative\": 74.67,\n                \"Openness//Inquisitive\": 12.01,\n                \"Openness//Experimental\": 1.47,\n                \"Stability\": 43.06,\n                \"Stability//Calm\": 23.03,\n                \"Stability//Composed\": 58.19,\n                \"Stability//Positive\": 47.38,\n                \"Stability//Resilient\": 72.77,\n                \"Stability//Inattentive\": 36.79,\n                \"Extraversion\": 36.8,\n                \"Extraversion//Upbeat\": 18.34,\n                \"Extraversion//Colorful\": 72.57,\n                \"Extraversion//Friendly\": 42.44,\n                \"Extraversion//Sociable\": 29.56,\n                \"Extraversion//Thrill-seeking\": 27.15,\n                \"Agreeableness\": 34.86,\n                \"Agreeableness//Moral\": 27.33,\n                \"Agreeableness//Helpful\": 35.28,\n                \"Agreeableness//Trusting\": 93.08,\n                \"Agreeableness//Empathetic\": 16.15,\n                \"Agreeableness//Cooperative\": 14.49,\n                \"Conscientiousness\": 11.43,\n                \"Conscientiousness//Dutiful\": 24.93,\n                \"Conscientiousness//Cautious\": 40.08,\n                \"Conscientiousness//Organized\": 2.29,\n                \"Conscientiousness//Perfectionist\": 9.96,\n                \"Conscientiousness//Self-disciplined\": 59.32,\n                \"Candid\": 65.14,\n                \"Driven\": 74.83,\n                \"Stable\": 43.06,\n                \"Curious\": 38.26,\n                \"Flexible\": 88.57,\n                \"Outgoing\": 36.8,\n                \"Reserved\": 63.2,\n                \"Laid-back\": 25.17,\n                \"Pragmatic\": 61.74,\n                \"Passionate\": 56.94,\n                \"Considerate\": 34.86,\n                \"Disciplined\": 11.43\n            }\n        }\n    ]\n}"}],"_postman_id":"e28ef811-de4d-4bf8-af9a-0598de888197"},{"name":"Delete User","id":"0b811379-007d-4ca8-95ee-9d280fec758a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/external/users/:user_id","description":"<h3 id=\"delete-user\">Delete User</h3>\n<p>This endpoint is used to delete a specific user identified by the <code>user_id</code>.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<p>This request does not require a request body.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response for this request is null, indicating that the user with the specified <code>user_id</code> has been successfully deleted.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users",":user_id"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>User ID</p>\n","type":"text/plain"},"type":"any","value":null,"key":"user_id"}]}},"response":[{"id":"2e15fba0-15d2-4e2b-8d79-ab297c564fc5","name":"Delete User","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/api/external/users/:user_id","host":["{{url}}"],"path":["api","external","users",":user_id"],"variable":[{"key":"user_id","value":"15764","description":"User ID"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Mon, 31 May 2021 09:55:50 GMT"},{"key":"Server","value":"Apache/2.4.41 (Ubuntu)"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-Debug-Token","value":"7ba325"},{"key":"X-Debug-Token-Link","value":"http://localhost/_profiler/7ba325"},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0b811379-007d-4ca8-95ee-9d280fec758a"},{"name":"Import Users","id":"91fec311-3cfe-4d34-891a-4302304975bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"type":"file","key":"users","description":"<p>CSV File with Users Data</p>\n","value":null}]},"url":"{{url}}/api/external/users/upload","description":"<p>Using this endpoint you can Add and Update users to your account using a CSV data file.<br />You can provide 3 types of data in one file:</p>\n<ul>\n<li><p>User Data</p>\n</li>\n<li><p>User and Team Data</p>\n</li>\n<li><p>User, Teamm and HRIS Data</p>\n</li>\n</ul>\n<h2 id=\"file-format-requirements\">File format requirements</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Option</th>\n<th>Requirement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Type</strong></td>\n<td>CSV (Comma-separated values)</td>\n</tr>\n<tr>\n<td><strong>Filenames format</strong></td>\n<td>[A-Za-z0-9_-].csv</td>\n</tr>\n<tr>\n<td><strong>Encoding</strong></td>\n<td><code>UTF8</code></td>\n</tr>\n<tr>\n<td><strong>Extension</strong></td>\n<td><code>.csv</code></td>\n</tr>\n<tr>\n<td><strong>Delimiter</strong></td>\n<td><code>,</code> (Comma)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"user-data\">User Data</h2>\n<p>User Data is minimum required data.<br />It should have at least 3 columns:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>user</strong></td>\n<td>User's valid email address, String</td>\n</tr>\n<tr>\n<td><strong>first_name</strong></td>\n<td>User's First Name, String</td>\n</tr>\n<tr>\n<td><strong>last_name</strong></td>\n<td>User's Last Name, String</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"template-sample-file-example\">Template (Sample) File Example</h3>\n<img src=\"https://content.pstmn.io/4970a6b4-7e6b-4086-9b12-da4bc9a269f5/dXNlcl9kYXRhX2ltcG9ydF9maWxlX2V4YW1wbGUuanBn\" />\n\n<h2 id=\"user-team-data\">User Team Data</h2>\n<p>Additionally to User's Data you can provide their Team Data.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Comment</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>manager</strong></td>\n<td>Manager's valid email address, String</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"template-sample-file-example-1\">Template (Sample) File Example</h3>\n<img src=\"https://content.pstmn.io/b12bb208-f0e0-46e9-8538-3d2b284dc3c0/dXNlcl90ZWFtX2RhdGFfaW1wb3J0X2ZpbGVfZXhhbXBsZS5qcGc=\" />\n\n<h2 id=\"hris-data\">HRIS Data</h2>\n<p>Additionally to User's Data and Team Data you can provide their HRIS Data.</p>\n<p><strong>IMPORTANT!</strong><br />Read carefully about <a href=\"#99c5bc84-20ef-4458-ad80-f0f4effe0783\">HRIS Data Import</a> in section below of this documentation.</p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users","upload"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"37061338-7a8e-471a-8fc4-e9db0a723b7f","name":"Import Users","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"type":"file","key":"users","description":"CSV File with Users Data","value":null}]},"url":"{{url}}/api/external/users/upload"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Your users will be imported as soon as possible\"\n}"}],"_postman_id":"91fec311-3cfe-4d34-891a-4302304975bf"},{"name":"Get Columns","id":"8087770c-cdd7-442f-ba6a-694f52ff50bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/external/users/columns","description":"<h3 id=\"get-columns\">Get Columns</h3>\n<p>Returns a list of all available columns and predefined table views (All Users, Core Drivers, Core Values, Competencies) that can be used to build custom queries. This endpoint helps understand which fields are queryable so we can construct requests to /api/external/users/tables for retrieving specific user data.</p>\n<p>Use this to fetch the list of column keys, then reference those keys in the columns, filters, and sort fields of your payload in /api/external/users/tables.</p>\n<p><strong>Request</strong></p>\n<ul>\n<li>No request body is required for this request.</li>\n</ul>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users","columns"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ff06077a-76a4-4926-8b93-a9e713b8b589","name":"Get Columns","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/external/users/columns"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"table_views\": [\n        {\n            \"name\": \"All users\",\n            \"payload\": {\n                \"columns\": [\n                    \"users.email\",\n                    \"users.first_name\",\n                    \"users.last_name\",\n                    \"users.display_status\",\n                    \"users.usergroups.name\"\n                ],\n                \"filters\": []\n            }\n        }\n    ]\n    \"columns\": {\n        \"users.id\": {\n            \"name\": \"User id\",\n            \"type\": \"numeric\",\n            \"key\": \"users.id\"\n        },\n        \"users.account_id\": {\n            \"name\": \"Account Id\",\n            \"type\": \"numeric\",\n            \"key\": \"users.account_id\"\n        },\n        \"users.email\": {\n            \"name\": \"Email\",\n            \"type\": \"keyword\",\n            \"key\": \"users.email\"\n        },\n        \"users.first_name\": {\n            \"name\": \"First Name\",\n            \"type\": \"keyword\",\n            \"key\": \"users.first_name\"\n        },\n        \"users.last_name\": {\n            \"name\": \"Last Name\",\n            \"type\": \"keyword\",\n            \"key\": \"users.last_name\"\n        },\n        \"users.roles\": {\n            \"name\": \"User / Admin\",\n            \"type\": \"json_array\",\n            \"key\": \"users.roles\"\n        },\n        \"users.active\": {\n            \"name\": \"Active\",\n            \"type\": \"boolean\",\n            \"key\": \"users.active\"\n        },\n        \"users.created_at\": {\n            \"name\": \"Created Date\",\n            \"type\": \"datetime\",\n            \"key\": \"users.created_at\"\n        },\n        \"users.candidate\": {\n            \"name\": \"Candidate\",\n            \"type\": \"boolean\",\n            \"key\": \"users.candidate\"\n        },\n        \"users.display_status\": {\n            \"name\": \"Status\",\n            \"type\": \"keyword_camel_case\",\n            \"key\": \"users.display_status\"\n        },\n        \"users.two_factor_enabled\": {\n            \"name\": \"Two Factor Enabled\",\n            \"type\": \"boolean\",\n            \"key\": \"users.two_factor_enabled\"\n        },\n        \"users.last_login_at\": {\n            \"name\": \"Last Login Date\",\n            \"type\": \"datetime\",\n            \"key\": \"users.last_login_at\"\n        },\n        \"users.locale\": {\n            \"name\": \"Locale\",\n            \"type\": \"keyword\",\n            \"key\": \"users.locale\"\n        },\n        \"users.abac_role.id\": {\n            \"name\": \"ABAC Role ID\",\n            \"type\": \"numeric\",\n            \"key\": \"users.abac_role.id\"\n        },\n        \"users.abac_role.name\": {\n            \"name\": \"Admin Role\",\n            \"type\": \"keyword\",\n            \"key\": \"users.abac_role.name\"\n        }\n    } \n}    "}],"_postman_id":"8087770c-cdd7-442f-ba6a-694f52ff50bc"},{"name":"Query User Table","id":"3e97e200-f506-4656-af67-fe7b9fb69f3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{url}}/api/external/users/table","description":"<p>Allows to query user data by specifying which columns to retrieve, applying filters, sorting, and pagination. The columns used in this request should be selected from the list returned by /api/external/users/columns.</p>\n<p>Use this endpoint to retrieve tailored user data based on your needs for reporting, analysis, or integration.</p>\n<p><strong>Request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"columns\": [\n    \"users.id\",\n    \"users.first_name\",\n    \"users.last_name\",\n    \"users.created_at\"\n  ],\n  \"filters\": [\n    {\n      \"field\": \"users.created_at\",\n      \"type\": \"between\",\n      \"value\": [\n        \"2024-10-12 00:00:00\",\n        \"2025-03-10 23:59:59\"\n      ]\n    }\n  ],\n  \"sort\": {\n    \"users.created_at\": \"desc\"\n  },\n  \"pagination\": {\n    \"limit\": 25,\n    \"page\": 1\n  },\n  \"q\": \"admin@deepersignals.com\"\n}\n\n</code></pre>\n<p><strong>Request Limitations</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Limit</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>columns</td>\n<td>Max: 100</td>\n</tr>\n<tr>\n<td>filters (optional)</td>\n<td>Max: 5</td>\n</tr>\n<tr>\n<td>sort (optional)</td>\n<td>Max: 1</td>\n</tr>\n<tr>\n<td>pagination (optional)</td>\n<td>Limit: 100</td>\n</tr>\n<tr>\n<td>q (optional)</td>\n<td>Search term (either first name, last name or email address)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","id":"b02378d9-29a7-4911-934c-f146cd4404e2","name":"Users","type":"folder"}},"urlObject":{"path":["api","external","users","table"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"d91e3002-72c9-4ee7-925a-3f8af83fd8d1","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"columns\": [\n    \"users.id\",\n    \"users.first_name\",\n    \"users.last_name\",\n    \"users.created_at\"\n  ],\n  \"filters\": [\n    {\n      \"field\": \"users.created_at\",\n      \"type\": \"between\",\n      \"value\": [\n        \"2024-10-12 00:00:00\",\n        \"2025-03-10 23:59:59\"\n      ]\n    }\n  ],\n  \"sort\": {\n    \"users.created_at\": \"desc\"\n  },\n  \"pagination\": {\n    \"limit\": 25,\n    \"page\": 1\n  },\n  \"q\": \"developer@deepersignals.com\"\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/users/columns"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"users.id\": 523108,\n            \"users.first_name\": \"John\",\n            \"users.last_name\": \"Doe\",\n            \"users.created_at\": \"2024-10-16 08:41:47\"\n        },\n        {\n            \"users.id\": 522782,\n            \"users.first_name\": \"Tom\",\n            \"users.last_name\": \"Smith\",\n            \"users.created_at\": \"2024-10-15 09:43:46\"\n        },\n        {\n            \"users.id\": 559512,\n            \"users.first_name\": \"Richard\",\n            \"users.last_name\": \"Roe\",\n            \"users.created_at\": \"2024-11-21 12:15:26\"\n        },\n        {\n            \"users.id\": 522801,\n            \"users.first_name\": \"Jim\",\n            \"users.last_name\": \"Citizen\",\n            \"users.created_at\": \"2024-10-15 11:18:39\"\n        }\n    ],\n    \"total\": 4,\n    \"pages\": 1\n}"}],"_postman_id":"3e97e200-f506-4656-af67-fe7b9fb69f3c"}],"id":"b02378d9-29a7-4911-934c-f146cd4404e2","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"3ecf48b1-252a-44fd-8fb3-181e1f10c0bb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5e380e40-6226-44f1-b253-feeb0124e7f5","type":"text/javascript","exec":[""]}}],"_postman_id":"b02378d9-29a7-4911-934c-f146cd4404e2","description":""},{"name":"Teams","item":[{"name":"Get Team List","id":"8f38f075-c48f-4f80-a2b9-c10891121868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"columns\": [],\n  \"filters\": [\n    {\n      \"field\": \"\",\n      \"type\": \"\",\n      \"value\": []\n    }\n  ],\n  \"sort\": {},\n  \"pagination\": {\n    \"limit\": 10,\n    \"page\": 1\n  },\n  \"q\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/team/table","description":"<p>Retreives a list of available teams</p>\n","urlObject":{"path":["api","external","team","table"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f657836e-aa61-4fc3-943b-a409a6315a00","name":"Get Team List","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"columns\": [],\n  \"filters\": [\n    {\n      \"field\": \"\",\n      \"type\": \"\",\n      \"value\": []\n    }\n  ],\n  \"sort\": {},\n  \"pagination\": {\n    \"limit\": 10,\n    \"page\": 1\n  },\n  \"q\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/team/table"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"team_coaching.id\": 336,\n            \"team_coaching.name\": \"Finance\",\n            \"team_coaching.users.full_name\": \"Olivia Garcia\",\n            \"team_coaching.team_members.count\": 2\n        },\n        {\n            \"team_coaching.id\": 337,\n            \"team_coaching.name\": \"Marketing\",\n            \"team_coaching.users.full_name\": \"Maria Doe\",\n            \"team_coaching.team_members.count\": 2\n        }\n    ],\n    \"total\": 2,\n    \"pages\": 1\n}"}],"_postman_id":"8f38f075-c48f-4f80-a2b9-c10891121868"},{"name":"Get Available Columns for team list","id":"c9e12c79-224d-411b-babb-c8248c2af247","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}//api/external/team/columns","description":"<p>Gets a list of available columns to query</p>\n","urlObject":{"path":["","api","external","team","columns"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"775dbfea-f12e-4630-9c1a-a6678a8fbe55","name":"Get Available Columns for team list","originalRequest":{"method":"GET","header":[],"url":"{{url}}//api/external/team/columns"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"columns\": {\n        \"team_coaching.id\": {\n            \"type\": \"numeric\",\n            \"col_display_name\": \"Team id\",\n            \"default\": false,\n            \"display\": false,\n            \"sticky\": false\n        },\n        \"team_coaching.account_id\": {\n            \"type\": \"numeric\",\n            \"col_display_name\": \"Account id\",\n            \"default\": false,\n            \"display\": false,\n            \"sticky\": false\n        },\n    }\n}"}],"_postman_id":"c9e12c79-224d-411b-babb-c8248c2af247"},{"name":"Get Team Members","id":"c0a1d4b5-4630-4ebf-9f7c-9e274b598dcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"columns\": [],\n  \"filters\": [\n    {\n      \"field\": \"\",\n      \"type\": \"\",\n      \"value\": []\n    }\n  ],\n  \"sort\": {},\n  \"pagination\": {\n    \"limit\": 10,\n    \"page\": 1\n  },\n  \"q\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/team/555/members/table","description":"<p>Gets a list of available team members and their info from a specific team</p>\n","urlObject":{"path":["api","external","team","555","members","table"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ef990cff-5674-4eda-b5ea-a3f2ac76a957","name":"Get Team Members","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"columns\": [],\n  \"filters\": [\n    {\n      \"field\": \"\",\n      \"type\": \"\",\n      \"value\": []\n    }\n  ],\n  \"sort\": {},\n  \"pagination\": {\n    \"limit\": 10,\n    \"page\": 1\n  },\n  \"q\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/api/external/team/:team/members/table","host":["{{url}}"],"path":["api","external","team",":team","members","table"],"variable":[{"key":"team","value":""}]}},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"users.id\": 500000,\n            \"users.account_id\": 1,\n            \"users.email\": \"johndoe@deepersignals.com\",\n            \"users.first_name\": \"John\",\n            \"users.last_name\": \"Doe\",\n            \"users.active\": 1,\n            \"users.created_at\": \"2025-05-14 13:12:21\",\n            \"users.candidate\": 0,\n            \"users.display_status\": \"Active Admin\",\n            \"users.usergroups.id\": null,\n            \"users.usergroups.name\": null,\n            \"users.team_coaching_user.team_id\": \"555\",\n            \"users.team_coaching_user.team_manager\": 0,\n            \"users.team_assessment.completed\": \"Core Drivers\"\n        },\n        {\n            \"users.id\": 500001,\n            \"users.account_id\": 1,\n            \"users.email\": \"janedoe@deepersignals.com\",\n            \"users.first_name\": \"Jane\",\n            \"users.last_name\": \"Doe\",\n            \"users.active\": 1,\n            \"users.created_at\": \"2025-05-09 15:33:51\",\n            \"users.candidate\": 0,\n            \"users.display_status\": \"Active Admin\",\n            \"users.usergroups.id\": \"200\",\n            \"users.usergroups.name\": \"ADMIN\",\n            \"users.team_coaching_user.team_id\": \"555\",\n            \"users.team_coaching_user.team_manager\": 1,\n            \"users.team_assessment.completed\": null\n        }\n    ],\n    \"total\": 2,\n    \"pages\": 1\n}"}],"_postman_id":"c0a1d4b5-4630-4ebf-9f7c-9e274b598dcb"},{"name":"Create Team","id":"d38b0cef-3787-47c4-beb2-9459e9cfdf26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Team name\",\n    \"manager\": \"user_id\",\n    \"members\": [\n        \"user_id\"\n    ],\n    \"visible_to_member\": false,\n    \"visible_to_manager\": false,\n    \"show_results\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/team","description":"<p>Creates a new team.</p>\n","urlObject":{"path":["api","external","team"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"6966dd5e-45de-4204-b7e6-33531325e1ed","name":"Create a Team","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d38b0cef-3787-47c4-beb2-9459e9cfdf26"},{"name":"Update Team","id":"3c0e9205-1362-4d13-97c7-4c0ee3ebd5ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Team name\",\n    \"manager\": \"user_id\",\n    \"members\": [\n        \"user_id\"\n    ],\n    \"visible_to_member\": false,\n    \"visible_to_manager\": false,\n    \"show_results\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/team/:team","description":"<p>Updates an existing team.</p>\n","urlObject":{"path":["api","external","team",":team"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Team id</p>\n","type":"text/plain"},"type":"any","value":"","key":"team"}]}},"response":[{"id":"55c0527d-74db-460c-9150-09768e5142d2","name":"Update Team","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"My New Team Updated\",\n    \"manager\": 500001,\n    \"members\": [\n        500002\n    ],\n    \"visible_to_member\": false,\n    \"visible_to_manager\": false,\n    \"show_results\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/external/team/555"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 555,\n    \"name\": \"My New Team Updated\",\n    \"manager\": {\n        \"image_file_name\": null,\n        \"id\": 500001,\n        \"email\": \"janedoe@deepersignals.com\",\n        \"first_name\": \"Jane\",\n        \"last_name\": \"Doe\",\n        \"billed_team_user\": false\n    },\n    \"members\": [\n        {\n            \"image_file_name\": null,\n            \"id\": 500002,\n            \"email\": \"richardwright@deepersignals.com\",\n            \"first_name\": \"Richard\",\n            \"last_name\": \"Wright\",\n            \"billed_team_user\": false\n        }\n    ],\n    \"visible_to_manager\": false,\n    \"visible_to_member\": false,\n    \"show_results\": false\n}"}],"_postman_id":"3c0e9205-1362-4d13-97c7-4c0ee3ebd5ae"},{"name":"Delete Team","id":"2921aef4-d35b-46b2-914c-d1b724bcf486","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/api/external/team/:team","description":"<p>Deletes a team.</p>\n","urlObject":{"path":["api","external","team",":team"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Team id</p>\n","type":"text/plain"},"type":"any","value":"","key":"team"}]}},"response":[{"id":"dca77fe5-fd1d-410d-bce0-8c7139134b6e","name":"Delete Team","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/api/external/team/:team","host":["{{url}}"],"path":["api","external","team",":team"],"variable":[{"key":"team","value":"","description":"Team id"}]}},"code":204,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"Status code: 204"}],"_postman_id":"2921aef4-d35b-46b2-914c-d1b724bcf486"},{"name":"Get Team's Score","id":"85f0cec4-2dc0-4d25-96cc-5c9f086fe65a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/external/team/:team/scores","description":"<p>Gets a team with a list of team scores</p>\n","urlObject":{"path":["api","external","team",":team","scores"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Team id</p>\n","type":"text/plain"},"type":"any","value":"","key":"team"}]}},"response":[{"id":"4afa9c0f-74d9-4661-a475-0ca18976f453","name":"Get Team's Score","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/external/team/555/scores"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n\t\t\t\"team_name\": \"My New Team\",\n\t\t\t\"manager\": \"janedoe@deepersignals.com\",\n\t\t\t\"team_drive\": 81.39,\n\t\t\t\"team_openness\": 90.86,\n\t\t\t\"team_stability\": 13.55,\n\t\t\t\"team_extraversion\": 81.68,\n\t\t\t\"team_agreeableness\": 40.96,\n\t\t\t\"team_conscientiousness\": 10.69,\n\t\t\t\"manager_and_team_drive\": 76.85,\n\t\t\t\"manager_and_team_openness\": 82.45,\n\t\t\t\"manager_and_team_stability\": 26.65,\n\t\t\t\"manager_and_team_extraversion\": 74.56,\n\t\t\t\"manager_and_team_agreeableness\": 38.92,\n\t\t\t\"manager_and_team_conscientiousness\": 24.91\n}"}],"_postman_id":"85f0cec4-2dc0-4d25-96cc-5c9f086fe65a"},{"name":"Get Team's Report PDF","id":"97ed588e-4ca6-4179-86de-c27b6679f181","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/external/pdf/team/:team/report/:reportType/locale/:locale/download","description":"<p>Downloads team's report PDF.</p>\n","urlObject":{"path":["api","external","pdf","team",":team","report",":reportType","locale",":locale","download"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Team id</p>\n","type":"text/plain"},"type":"any","value":"","key":"team"},{"type":"any","value":"report | competency_report","key":"reportType"},{"description":{"content":"<p>Language key</p>\n","type":"text/plain"},"type":"any","value":"","key":"locale"}]}},"response":[{"id":"bdc945a9-98d7-4bde-8448-638b35f2d0b1","name":"Get Team Report PDF","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/external/pdf/team/555/report/competency_report/locale/en/download"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"97ed588e-4ca6-4179-86de-c27b6679f181"},{"name":"Get Team's Shared Token","id":"df5a8e60-d597-45fc-b031-5832e27b5fb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/external/share/token/team/:team/report/:reportType/locale/:locale","description":"<p>Retreives team's shared token.</p>\n","urlObject":{"path":["api","external","share","token","team",":team","report",":reportType","locale",":locale"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Team id</p>\n","type":"text/plain"},"type":"any","value":"","key":"team"},{"type":"any","value":"report | competency_report","key":"reportType"},{"description":{"content":"<p>Language key</p>\n","type":"text/plain"},"type":"any","value":"","key":"locale"}]}},"response":[{"id":"909dfef0-7c9f-46ea-84ca-4f2494568d9a","name":"Get Team's Shared Token","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/external/share/token/team/555/report/report/locale/en"},"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"token\": \"2a2f051747b45969d399cb7eb24f00b4c1b9e672\"\n}"}],"_postman_id":"df5a8e60-d597-45fc-b031-5832e27b5fb3"}],"id":"87bdadf1-8938-4c38-bd7b-3b72f8dcd6f9","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1113d92e-9c95-421a-965d-cdf57482443d","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"9969adf2-1002-4992-84d6-428a08a556e8","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"87bdadf1-8938-4c38-bd7b-3b72f8dcd6f9","description":""},{"name":"Assessments","item":[{"name":"Create User Assessment Report Share Token","id":"8d98b7d5-4226-4e56-8ba1-160193818f5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user\": {userId}\n    \"assessment_library\": {assessmentLibraryId}\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/external/share/v2/token/user/assessment-report/:locale","description":"<p>Use this endpoint to generate a token and create public link to access usesr's assessment report.</p>\n<p>Insert token you recive from response to this link tamplate:</p>\n<p><code>https://app.deepersignals.com/deepersignals/share/{token}</code></p>\n","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","name":"Assessments","type":"folder"}},"urlObject":{"path":["external","share","v2","token","user","assessment-report",":locale"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>Language code</p>\n","type":"text/plain"},"type":"any","value":"","key":"locale"}]}},"response":[{"id":"4f0b6fde-6e87-44b5-b753-c6eab3c82f4f","name":"Required params only","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"user\": {userId}\n    \"assessment_library\": {assessmentLibraryId}\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/external/share/v2/token/user/assessment-report/:locale","host":["{{url}}"],"path":["external","share","v2","token","user","assessment-report",":locale"],"variable":[{"key":"locale","value":"bg","description":"Bulgarian language code"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"676e6f35cfc173f73fea9fe27699cf8185397f0c\"\n}"}],"_postman_id":"8d98b7d5-4226-4e56-8ba1-160193818f5b"},{"name":"Download PDF","id":"0e7b488f-9e20-43d9-85eb-d32455a6e54d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/external/pdf/v2/user/:user/:assessmentLibrary/download/:locale","description":"<h2 id=\"available-locales\">Available locales</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Locale</th>\n<th>Language name</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>en</td>\n<td>English</td>\n</tr>\n<tr>\n<td>it</td>\n<td>Italian</td>\n</tr>\n<tr>\n<td>bg</td>\n<td>Bulgarian</td>\n</tr>\n<tr>\n<td>pt-BR</td>\n<td>Portuguese</td>\n</tr>\n<tr>\n<td>es-ES</td>\n<td>Spanish</td>\n</tr>\n<tr>\n<td>de</td>\n<td>German</td>\n</tr>\n<tr>\n<td>fr</td>\n<td>French</td>\n</tr>\n<tr>\n<td>es-419</td>\n<td>Spanish, Latam</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","name":"Assessments","type":"folder"}},"urlObject":{"path":["api","external","pdf","v2","user",":user",":assessmentLibrary","download",":locale"],"host":["{{url}}"],"query":[],"variable":[{"description":{"content":"<p>User id</p>\n","type":"text/plain"},"type":"any","value":"","key":"user"},{"description":{"content":"<p>Assessment library id</p>\n","type":"text/plain"},"type":"any","value":"","key":"assessmentLibrary"},{"description":{"content":"<p>Language code</p>\n","type":"text/plain"},"type":"any","value":"","key":"locale"}]}},"response":[{"id":"f7aacd03-befb-4207-b166-03534a9b1734","name":"Downlaod PDF","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/external/pdf/v2/user/:user/:assessmentLibrary/download/:locale","host":["{{url}}"],"path":["external","pdf","v2","user",":user",":assessmentLibrary","download",":locale"],"variable":[{"key":"user","value":"{user}","description":"Here goes user's id"},{"key":"assessmentLibrary","value":"{assessmentLibrary}","description":"Here goes assessment library id"},{"key":"locale","value":"bg","description":"Bulgarian language code"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0e7b488f-9e20-43d9-85eb-d32455a6e54d"},{"name":"Download PDF - assignedUserReport","id":"94b6cbb9-e3f2-48ae-9c78-9fc08b111f96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/external/pdf/v2/user-report/:assignedUserReport/download/:locale","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","name":"Assessments","type":"folder"}},"urlObject":{"path":["api","external","pdf","v2","user-report",":assignedUserReport","download",":locale"],"query":[],"variable":[{"description":{"content":"<p>Assigned user report id</p>\n","type":"text/plain"},"type":"any","value":"","key":"assignedUserReport"},{"description":{"content":"<p>Language Code</p>\n","type":"text/plain"},"type":"any","value":"","key":"locale"}]}},"response":[],"_postman_id":"94b6cbb9-e3f2-48ae-9c78-9fc08b111f96"},{"name":"GetAssessmentLibraries","id":"b4887f9c-a4de-45b6-a902-947e6e96f397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/api/external/assessment_libraries","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","name":"Assessments","type":"folder"}},"urlObject":{"path":["api","external","assessment_libraries"],"query":[],"variable":[]}},"response":[{"id":"d8341667-8b26-4e37-8d27-e46df3409033","name":"New Request","originalRequest":{"method":"GET","header":[]},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 21,\n        \"name\": \"Core Values\",\n        \"scoring_service\": \"beliefs\",\n        \"user_report_libraries\": [\n            {\n                \"id\": 27,\n                \"name\": \"Core Values\"\n            }\n        ]\n    },\n    {\n        \"id\": 24,\n        \"name\": \"Core Drivers\",\n        \"scoring_service\": \"core_drivers_leadership\",\n        \"user_report_libraries\": [\n            {\n                \"id\": 6,\n                \"name\": \"Core Drivers Pro\"\n            }\n        ]\n    }\n]"}],"_postman_id":"b4887f9c-a4de-45b6-a902-947e6e96f397"}],"id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"70ea1c10-b157-49c7-924d-a95acc4b964b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d8381a3e-c2ff-41cb-a0e6-d6baf30acdcb","type":"text/javascript","exec":[""]}}],"_postman_id":"c1e1c5e2-24a4-4d8f-8c32-51c2016d8929","description":""}],"id":"42cfdf6e-b765-4d07-8d31-1abe599e344c","description":"<h3 id=\"api-authentication\">API Authentication</h3>\n<p>The api authentication works through the api token which is sent with every authenticated request in the <code>X-TOKEN</code> header.</p>\n<p>The api token will be provided by Deeper Signals to you, and is state less. In addition when requesting an api token valid redirect domains need to be provided in order for the SSO error url functionality to work.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{X-Token}}","key":"<key>"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"a004a191-620c-4286-a2eb-61d02b238a71","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"12777ba9-9453-4470-a250-766f4c472c6b","type":"text/javascript","exec":[""]}}],"_postman_id":"42cfdf6e-b765-4d07-8d31-1abe599e344c"},{"name":"SAML","item":[],"id":"6b830462-d232-4473-a047-64f3d7a7030f","description":"<p>Accessing the Deeper Signals platform via SAML SSO authentication allows seamless login flows for your organization with supported ‘deeplinked’ content access in the form of the Playbooks.</p>\n<h2 id=\"what-is-saml\">What is SAML?</h2>\n<blockquote>\n<p>Security Assertion Markup Language (SAML) is an open standard that allows identity providers (IdP) to pass authorization credentials to service providers (SP). </p>\n</blockquote>\n<p>This means configuration for SAML must be done in two places: on the side of the Identity Provider (IdP) and at the Service Provider’s end (SP).</p>\n<p>Following are the steps needed to setup SAML between your IdP and the Deeper Signals platform, acting as an SP.</p>\n<h3 id=\"1-setting-up-with-your-identity-provider-idp\">1. Setting up with your Identity Provider (IdP)</h3>\n<blockquote>\n<p><em><strong>NOTE</strong></em> An identity provider performs the authentication that the end user is who they say they are and sends that data to the service provider along with the user's access rights for the service. </p>\n</blockquote>\n<p>Check your organization’s IdP which is typically a third party cloud service provider such as Azure AD, Microsoft AD, AWS IAM.</p>\n<p>With appropriate admin credentials you can access the section to capture SAML parameters and configure with your Service Provider ( Deeper Signals platform).</p>\n<p>* Issuer URL - This is a unique identifier of your IdP formatted as URL.<br />* SSO URL - This is your SSO login page configured with IdP, the starting point of user authentication.<br />* Authentication certificate - An X.509 digital certificate which is a standard in establishing security between two digital parties.</p>\n<p>Make sure that your nameId option is configured to user the users email address as a unique identifier and your NameIDFormat follows this structure:</p>\n<img src=\"https://content.pstmn.io/6e5fcd4b-89da-4431-86d5-7809ec89c523/c2FtbF8xLmpwZw==\" />\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-plaintext\">urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\n\n</code></pre>\n<p>You should also configure additional attributes to be passed with the SAML request, mainly the user's first and last name. These attributes should be linked to the following keys:</p>\n<ol>\n<li><p>First Name → first_name</p>\n</li>\n<li><p>Last Name → last_name</p>\n</li>\n</ol>\n<p>Example from Deeper Signals SAML manual setup flow, Step1:</p>\n<img src=\"https://content.pstmn.io/4bcd12fb-fa10-4b30-ba73-713911c4d1bd/c2FtbF9kc18xLnBuZw==\" />\n\n<h3 id=\"2-setting-up-with-your-service-provider\">2. Setting up with your Service Provider</h3>\n<blockquote>\n<p><em><strong>NOTE</strong></em> A service provider (SP) is a system entity that receives and accepts authentication assertions in conjunction with a single sign-on (SSO) profile of the Security Assertion Markup Language (SAML) </p>\n</blockquote>\n<p>In this SSO scheme Deeper Signals is the Service Provider.</p>\n<p>On submitting IdP data in Step 1, fields in Step 2 will be auto populated from where you can then copy URL parameters and paste them back with your IdP’s SAML configuration settings page.</p>\n<p>* Audience/Entity ID - globally unique name for the SP, in this case a unique URL format.<br />* ACS Endpoint (URL) - the URL location where the SAML assertion, i.e. authentication response from IdP is sent and user is redirected to.</p>\n<p>Example from Deeper Signals SAML manual setup flow, Step 2:</p>\n<img src=\"https://content.pstmn.io/3f94b970-7b04-4ea6-b676-03fca3afd034/c2FtbF9kc18yLnBuZw==\" />\n\n<p>Note: ACS validator field needs to be populated when SP initiated SSO is performed.</p>\n<p>Here are guide videos on setting up SAML SSO for Google Workspace and Microsoft Azure:</p>\n<p><video src=\"https://youtube.com/embed/r0LHs9-QTBw\" width=\"340\"></video></p>\n<p><video src=\"https://youtube.com/embed/SIwhDKBqG2s\" width=\"340\"></video></p>\n<h3 id=\"3-setting-up-playbooks\">3. Setting up Playbooks</h3>\n<p>Optionally, as a final step, you can create Playbooks which allow you to set up authenticated users into custom groups and projects as well as assign them assessments in one step.</p>\n<p>You can read more about playbooks 👉 <a href=\"#d8b9264e-69fb-4296-9b95-8c7d1ef80bb4\">here</a>.</p>\n<p>Once a Playbook is created another 2 parameters will be generated to facilitate the authentication process.</p>\n<p>Relay State (IdP initiated)<br />a unique parameter functioning as a ‘deep link’<br />You should set this code as the relay state in you IdP configuration if you want all users using the IdP initiated SSO authentication flow to be put through the playbook you chose</p>\n<p>Playbook URL (SP initiated)<br />Used to start an SP initiated SSO authentication flow<br />If you don’t want all users using the SAML authentication to be associated with the same playbook you should distribute the Playbook URLs to the specific users as you see fit</p>\n<p>As a general rule we recommend setting up a playbook relay state code in your IdP configuration, as users should always have an assessment assigned to them. There are exceptions to this but that can be determined on a case by case basis.</p>\n<p>Here is a quick video guide on how to do it:</p>\n<p><video src=\"https://youtube.com/embed/BdX7OG_bt40\" width=\"340\"></video></p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"13573302-dc15-49ba-b933-49035ea0ca10","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"8d7db1d9-436a-42a3-8f65-2e50b4a14491","type":"text/javascript","exec":[""]}}],"_postman_id":"6b830462-d232-4473-a047-64f3d7a7030f"},{"name":"HRIS Data Import","item":[],"id":"99c5bc84-20ef-4458-ad80-f0f4effe0783","description":"<p>The purpose of the HRIS data import file is to add user-data to your Deeper Signals account and continuously update it. The import file can be created and uploaded to a client-side SFTP server and the Deeper Signals application will pull and upload the new latest file at pre-determined intervals. DS will always pull the most recent file and ignore the previous ones. This file is used only when API access cannot be provided by the client.</p>\n<h2 id=\"file-format-requirements\">File format requirements</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Option</th>\n<th>Requirement</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Type</strong></td>\n<td>CSV (Comma-separated values)</td>\n</tr>\n<tr>\n<td><strong>Filenames format</strong></td>\n<td>hris_yyy-mm-dd.csv</td>\n</tr>\n<tr>\n<td><strong>Encoding</strong></td>\n<td><code>UTF8</code></td>\n</tr>\n<tr>\n<td><strong>Extension</strong></td>\n<td><code>.csv</code></td>\n</tr>\n<tr>\n<td><strong>Delimiter</strong></td>\n<td><code>,</code> (Comma)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"file-content-requirements\">File Content requirements</h2>\n<ul>\n<li>The first column of the file should contain the user email which is the uniqueID for the user across the application.</li>\n<li>The second and third column should contain user first_name and last_name.</li>\n<li>The first row of the file should be the name of the variable. This name will be used across the app in analytics and filtering sections. For example, if you are sending business unit, name the column Business Unit or whatever you want to display in filter fields, charts and tables for that data.</li>\n<li>The second row should describe the data type. There are five types of data: keyword, date, numeric, name, email.</li>\n<li>If including hierarchy in the file, there must be a column with the manager’s email address. The column name should be: manager and type should be email.</li>\n<li>There is always one row per user.</li>\n<li>When providing numeric values, the values must be numeric or a decimal.</li>\n</ul>\n<h2 id=\"template-sample-file\">Template (Sample) File</h2>\n<p>Download sample file 👉 <a href=\"https://eu.staging.api.deepersignals.com/apidocs/samples/Users_Teams_And_HRIS_Import_File_Sample.csv\">here</a>.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"62b805ea-9ef2-4095-829a-3e4bce4a9b33","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bc650acf-03fa-4f43-aa19-60fc49c7181e","type":"text/javascript","exec":[""]}}],"_postman_id":"99c5bc84-20ef-4458-ad80-f0f4effe0783"},{"name":"SCIM","item":[],"id":"1454f86d-1e80-4ffb-9ebc-7a14776f54e5","description":"<p>Integrating Deeper Signals with your IdP via SCIM simplifies user management by automatically provisioning, updating, and deprovisioning users, ensuring secure and efficient access control.</p>\n<h4 id=\"what-is-scim\"><strong>What is SCIM?</strong></h4>\n<p><strong>SCIM (System for Cross-domain Identity Management)</strong> is an open standard protocol used for automating the exchange of user identity information between identity providers (IdPs) and service providers (SPs). It enables organizations to efficiently manage user provisioning, deprovisioning, and updates across multiple systems, ensuring consistency, security, and compliance in identity management.</p>\n<h4 id=\"how-to-set-up-scim\">How to set up SCIM?</h4>\n<p>Check your organization’s IdP which is typically a third party cloud service provider such as Azure AD, Google Workspace, AWS IAM.</p>\n<p>With appropriate admin credentials you will be able to access integrations in Deeper Signals' platform and create API Key.</p>\n<p>Once you have obtained API Key, you can use it for setting up SCIM integration in your's IdP.</p>\n<p><strong>Deeper Signals SCIM URL:</strong></p>\n<p><code>https://api.deepersignals.com/api/scim/v2</code></p>\n<p><strong>Required attributes:</strong></p>\n<ul>\n<li><p>userName (user's primary email address)</p>\n</li>\n<li><p>first name</p>\n</li>\n<li><p>last name</p>\n</li>\n<li><p>externalId (employee id)</p>\n</li>\n<li><p>active status</p>\n</li>\n</ul>\n<p>e.g. map of attributes for Microsoft Azure SCIM provisioning:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Target Attribute</strong></th>\n<th><strong>Source Attribute</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>externalId</td>\n<td>objectId</td>\n</tr>\n<tr>\n<td>active</td>\n<td>Switch([IsSoftDeleted], , \"False\", \"True\", \"True\", \"False\")</td>\n</tr>\n<tr>\n<td>userName</td>\n<td>IIF(IsNullOrEmpty([mail]), [userPrincipalName], [mail])</td>\n</tr>\n<tr>\n<td>name.givenName</td>\n<td>givenName</td>\n</tr>\n<tr>\n<td>name.familyName</td>\n<td>surname</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p>NOTE: We support user provisioning via SCIM; group provisioning is not supported at this time. </p>\n</blockquote>\n<p>For a clearer understanding, watch the video below for a step-by-step walkthrough of the process.</p>\n<p><video src=\"https://youtube.com/embed/ZgVzW7hCsKw\" width=\"340\"></video></p>\n","_postman_id":"1454f86d-1e80-4ffb-9ebc-7a14776f54e5"}],"event":[{"listen":"prerequest","script":{"id":"184ee455-55fe-4423-a481-336734e1727f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"62813869-8fe2-445b-80a9-3817b87935f0","type":"text/javascript","exec":[""]}}],"variable":[{"key":"webhookUrlExample","value":"https://yourwebhookurl.com/path/to/webhook/calback"}]}