{"id":4410,"date":"2025-02-26T14:08:49","date_gmt":"2025-02-26T12:08:49","guid":{"rendered":"https:\/\/modulus.help\/kb\/?post_type=docs&#038;p=4410"},"modified":"2025-02-26T14:14:27","modified_gmt":"2025-02-26T12:14:27","slug":"api-entity-list","status":"publish","type":"docs","link":"https:\/\/modulus.help\/kb\/docs\/documentation\/contacts-apis-v1\/api-entity-list\/","title":{"rendered":"API: Entity List"},"content":{"rendered":"\n<p>The purpose of this API is to List entities.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Request<\/h4>\n\n\n<table>\n<tbody>\n<tr>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"2\">URL<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"3\">https:\/\/your_account.modulus.biz\/api\/cnt\/entity?token=YOUR_TOKEN<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"4\">API Name<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"5\">entity<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"6\">Method<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"7\">GET<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"8\">Source<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"9\">Third Party Server<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"10\">Recipient<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"11\">modulus\u00ae Server<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"12\">Content Type<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"13\">application\/json<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n\n<h4 class=\"wp-block-heading\">Query String Parameters<\/h4>\n\n\n<table>\n<tbody>\n<tr>\n<th class=\"has-text-align-center wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Header cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"26\">Parameter<\/div>\n<\/th>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Header cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"27\">Required<\/div>\n<\/th>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Header cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"28\">Type<\/div>\n<\/th>\n<th class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Header cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"29\">Description<\/div>\n<\/th>\n<\/tr>\n<tr>\n<td class=\"has-text-align-center wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"30\"><strong>token<\/strong><\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"31\">Yes<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"32\">Text<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"33\">Your authentication token.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-center wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"34\"><strong>page_number<\/strong><\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"35\">No<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"36\">Number<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"37\">Which page to list default value is 1.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-center wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"38\"><strong>page_size<\/strong><\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"39\">No<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"40\">Number<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"41\">Number of records per page value must be from 10 to 100 (if less than 10 use 10, if greater than 100 use 100) default value is 10.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td class=\"has-text-align-center wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"42\">\n<div>\n<div><strong>load_options<\/strong><\/div>\n<\/div>\n<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"43\">No<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"44\">Array<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"45\">Possible values: address, contact.<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"has-text-align-center wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"46\">\n<div>\n<div>filter<\/div>\n<\/div>\n<\/div>\n<\/th>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"47\">No<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div class=\"block-editor-rich-text__editable rich-text\" role=\"textbox\" contenteditable=\"true\" aria-multiline=\"true\" aria-label=\"Body cell text\" aria-readonly=\"false\" data-wp-block-attribute-key=\"48\">Object<\/div>\n<\/td>\n<td class=\"wp-block-table__cell-content\">\n<div>\n<div>Possible values: codes, type, tags<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th class=\"has-text-align-center wp-block-table__cell-content\">\u00a0<\/th>\n<td class=\"wp-block-table__cell-content\">\u00a0<\/td>\n<td class=\"wp-block-table__cell-content\">\u00a0<\/td>\n<td class=\"wp-block-table__cell-content\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n<h4>Responses<\/h4>\n\n<table>\n<tbody>\n<tr>\n<th>HTTP Status<\/th>\n<th>result<\/th>\n<th>title<\/th>\n<th>message<\/th>\n<th>object<\/th>\n<\/tr>\n<tr>\n<th>Success Responses<\/th>\n<th>\u00a0<\/th>\n<th>\u00a0<\/th>\n<th>\u00a0<\/th>\n<th>\u00a0<\/th>\n<\/tr>\n<tr>\n<td>200 OK<\/td>\n<td>true<\/td>\n<td>Success<\/td>\n<td>Vacancies listed successfully.<\/td>\n<td>\n<pre><code class=\"json\">{\n  \"meta_data\": {\n    \"record_count\": 1,\n    \"page_count\": 1,\n    \"page_size\": 1,\n    \"page_number\": 1,\n  }\n  \"data\": [{\n    \"entity\": [<br \/>         \"code\": ,<br \/>         \"name\": ,<br \/>         \"type\":  <br \/>    ],\n    \"tags\": [],\n    \"addresses\": [<br \/>      [ <br \/>        \"label\" : ,<br \/>        \"country_code\" :,<br \/>        \"city\" : ,<br \/>        \"address\" : ,<br \/>        \"address_line_2\" : ,<br \/>      ]<br \/>    ],\n    \"contacts\": [<br \/>   [ <br \/>      \"type\" : ,<br \/>      \"label\" :,<br \/>      \"value\" : <br \/>    ] <br \/>   ]\n  }] \n}<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<th>Failure Responses<\/th>\n<th>\u00a0<\/th>\n<th>\u00a0<\/th>\n<th>\u00a0<\/th>\n<th>\u00a0<\/th>\n<\/tr>\n<tr>\n<td>500 Internal Server Error<\/td>\n<td>false<\/td>\n<td>Error<\/td>\n<td>Error message describe the problem.<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\n<h4>Example<\/h4>\n\n<table>\n<tbody>\n<tr>\n<th>Request<\/th>\n<td>\n<pre><code class=\"json\">curl --request GET 'https:\/\/your_account.modulus.biz\/api\/cnt\/entity?token=YOUR_TOKEN&amp;page_size=30&amp;page_number=1'\n<\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<th>200 OK<\/th>\n<td>\n<pre><code class=\"json\">{<br \/>\"result\": true,<br \/>\"title\": \"Success\",<br \/>\"message\": \"Entities retrieved successfully.\",<br \/>\"object\": {<br \/>\"meta_data\": {<br \/>\"page_number\": 1,<br \/>\"page_size\": 100,<br \/>\"page_count\": 3,<br \/>\"record_count\": 300<br \/>},<br \/>\"data\": [<br \/>{<br \/>\"entity\": {<br \/>\"code\": \"01\",<br \/>\"name\": \"Mohamed Gamal\",<br \/>\"type\": \"Individual\"<br \/>},<br \/>\"tags\": [<br \/>\"Employee\",<br \/>\"Customer\",<br \/>\"Supplier\",<br \/>\"Organization\",<br \/>\"Lead\"<br \/>]<br \/>},<br \/>{<br \/>\"entity\": {<br \/>\"code\": \"1\",<br \/>\"name\": \"apientity553\",<br \/>\"type\": \"Individual\"<br \/>},<br \/>\"tags\": [<br \/>\"Customer\",<br \/>\"Lead\"<br \/>]<br \/>},<br \/>{<br \/>\"entity\": {<br \/>\"code\": \"10\",<br \/>\"name\": \"mo\",<br \/>\"type\": \"Individual\"<br \/>},<br \/>\"tags\": [<br \/>\"Customer\",<br \/>\"Supplier\",<br \/>\"Lead\"<br \/>]<br \/>},<br \/>{<br \/>\"entity\": {<br \/>\"code\": \"100\",<br \/>\"name\": \"Contract Company 3\",<br \/>\"type\": \"Organization\"<br \/>},<br \/>\"tags\": [<br \/>\"Customer\",<br \/>\"Supplier\"<br \/>]<br \/>},<br \/>{<br \/>\"entity\": {<br \/>\"code\": \"1001\",<br \/>\"name\": \"\u0627\u0628\u0631\u0627\u0647\u064a\u0645 \u063a\u0632\u0644\u0627\u0646\u064a\",<br \/>\"type\": \"Individual\"<br \/>},<br \/>\"tags\": [<br \/>\"Customer\"<br \/>]<br \/>}<br \/>]<br \/>}<br \/>}<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","protected":false},"featured_media":0,"parent":4335,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"comment_count":0,"_links":{"self":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4410"}],"collection":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/comments?post=4410"}],"version-history":[{"count":8,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4410\/revisions"}],"predecessor-version":[{"id":4421,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4410\/revisions\/4421"}],"up":[{"embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/docs\/4335"}],"wp:attachment":[{"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/media?parent=4410"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/modulus.help\/kb\/wp-json\/wp\/v2\/doc_tag?post=4410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}