Now I am puzzled…
Can you send the output from the request in the postman console on the right hand side there should be a show raw log
. Before you send it make sure you remove the Bearer Token
Below is my personal tenant and I get correct results there too…
GET /beta/notification-templates?filters=medium%20eq%20%22EMAIL%22&count=true HTTP/1.1
User-Agent: PostmanRuntime/7.36.3
Accept: */*
Postman-Token: 514be9c5-56c4-4d64-9658-4d04d2721fcb
Host: devrel-ga-9116.api.identitynow-demo.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
HTTP/1.1 200 OK
Date: Thu, 14 Mar 2024 15:03:31 GMT
Content-Type: application/json;charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Server: nginx
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Total-Count: 2
Cache-Control: no-cache, no-store, must-revalidate
SLPT-Request-ID: 03ffd2d1fd2a48738de45125a4e225d5
Access-Control-Expose-Headers: Retry-After,Connection,X-Total-Count,SLPT-Request-ID,Content-Length,Date,X-Zuul-ServiceId,Content-Type
X-Robots-Tag: none
X-Robots-Tag: noindex
[{"id":"706415cf-2c7d-4c0a-8b75-6120ec503b80","created":"2024-03-14T13:49:09.133Z","modified":"2024-03-14T13:49:09.147Z","medium":"EMAIL","key":"cloud_manual_work_item_summary","name":"Pending Task Daily Digest","description":"If enabled sent to users daily when they have incomplete tasks in their Task Manager.","locale":"en","subject":"#set($numberOfPendingTasks \u003d $__numberTool.integer($numberOfPendingTasks))#set($taskTasks \u003d \"#if($numberOfPendingTasks \u003d\u003d 1)task#{else}tasks#end\")\nYou have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.","header":null,"body":"Dear $__recipient.name,\u003cbr /\u003e\u003cbr /\u003e#set($numberOfPendingTasks \u0026#61; $__numberTool.integer($numberOfPendingTasks))\n#set($isAre \u0026#61; \u0026#34;#if( $numberOfPendingTasks \u0026#61;\u0026#61; 1)is#{else}are#end\u0026#34;)\n#set($taskTasks \u0026#61; \u0026#34;#if( $numberOfPendingTasks \u0026#61;\u0026#61; 1)task#{else}tasks#end\u0026#34;)\n#set($url \u0026#61; \u0026#34;${__global.productUrl}/ui/main#launch:tasks\u0026#34;)\n\nThere $isAre $numberOfPendingTasks $taskTasks waiting for you in your $__global.productName Task Manager.\u003cbr /\u003e Use each task\u0026#39;s details to finish it on the source, then mark it as complete in ${__global.productName}. To do this work, go to the task manager \u003ca href\u003d\"$url\"\u003ehere\u003c/a\u003e, or copy and paste this link into your browser: $url\u003cbr /\u003e\u003cbr /\u003eThanks,\u003cbr /\u003e The $__global.productName Team\u003cbr /\u003e","footer":null,"from":"$__global.emailFromAddress","replyTo":"$__global.emailFromAddress","slackTemplate":null,"teamsTemplate":null},{"id":"01a0778e-89b4-450c-9485-b6b8600e0dbf","created":"2024-03-14T13:40:58.403Z","modified":"2024-03-14T13:40:58.426Z","medium":"EMAIL","key":"non_employee_request_created","name":"Non-Employee Request Created","description":"Sent to a non-employee account manager to confirm that their request for a new account for a non-employee was submitted.","locale":"en","subject":"You’ve requested a non-employee account for ${data.firstName} ${data.lastName}","header":null,"body":"Dear $__recipient.name,\u003cbr /\u003e\u003cbr /\u003e#set($_sourceName \u0026#61; $data.nonEmployeeSource.name)\n#set($_approverIds \u0026#61; $__util.getObjectByJsonPath($__contentJson, \u0026#39;$.data.approvalItems[*].approver.id\u0026#39;))\n\n\u003cp\u003eYour request for a non-employee account for $data.accountName on the source $_sourceName was successfully submitted.\u003c/p\u003e\n#if($_approverIds.size() \u0026gt; 0)\n #if($_approverIds.size() \u0026#61;\u0026#61; 1)\n \u003cp\u003e$__util.getUser($_approverIds[0]).name must approve this account request before it can be added to the source.\u003c/p\u003e\n #elseif($_approverIds.size() \u0026gt; 1)\n \u003cp\u003eThe following reviewers must approve this account request before it can be added to the source:\u003c/p\u003e\n \u003cul\u003e\u003cli\u003e\n #foreach($_approverId in $_approverIds)\n \u003c/li\u003e\u003cli\u003e$__util.getUser($_approverId).name\u003c/li\u003e\u003cli\u003e\n #end\n \u003c/li\u003e\u003c/ul\u003e\n #end\n\u003cp\u003eYou will be notified when a decision is made about this account request. You can check the status of your request by clicking Manage Non-Employees on the dashboard and viewing the $_sourceName source.\u003c/p\u003e\n#{else}\n\u003cp\u003e\n This account will be added to $_sourceName shortly. You can check its status by clicking Manage Non-Employees on the dashboard and viewing the $_sourceName source.\n\u003c/p\u003e\n#end\n\u003cbr /\u003eThanks,\u003cbr /\u003e The $__global.productName Team\u003cbr /\u003e","footer":null,"from":"$__global.emailFromAddress","replyTo":"$__global.emailFromAddress","slackTemplate":null,"teamsTemplate":null}]