{
  "info": {
    "_postman_id": "d2b5add4-b757-5885-91dd-f1994b438b46",
    "name": "Net Hub External API",
    "description": "Read-only API for Net Hub organisations: your organisation, groups, members and events.\n\n## Getting started\n1. In the Net Hub management dashboard (admin.mynethub.com) go to **Integrations > API** and create an API key. Choose the modules and fields it may read, and optionally an allowed IP range.\n2. In this collection's **Variables** tab, paste the key into `apiKey`.\n3. Send any request.\n\n## Rules\n- **Auth:** header `x-api-token: <your key>` (set for you at collection level).\n- **Read-only:** every endpoint is `GET`. Nothing in Net Hub can be changed through the API.\n- **Rate limit:** 10 requests per key every 2 minutes, then `429 Too many requests` until the window resets.\n- **Fields:** each response holds only the fields chosen on the key for that module. A chosen field with no value is `null` (event `shortUrlLink` and `virtualUrl` can also be an empty string).\n- **IP range:** if the key has an allowed IP range (IPv4 CIDR, e.g. `203.0.113.0/24`), calls from other addresses get `403`.\n\nFull guide and webhook reference: https://support.mynethub.com/articles/developer-api/",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-token",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://extapi.mynethub.com",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "Your API key from Integrations > API."
    },
    {
      "key": "networkDirectoryId",
      "value": "",
      "type": "string",
      "description": "A group ID, for Get one group / List members."
    }
  ],
  "item": [
    {
      "name": "Get organisation",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/organisations",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "organisations"
          ]
        },
        "description": "Returns your organisation record as a single object.\n\n**Key module:** Organisation (`organizations`).\n\n**Fields available:** name, country, region, phoneNumber, addressLine1, addressLine2, city, postCode, avatar, owner.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
      },
      "response": [
        {
          "name": "200 OK",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/organisations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "organisations"
              ]
            },
            "description": "Returns your organisation record as a single object.\n\n**Key module:** Organisation (`organizations`).\n\n**Fields available:** name, country, region, phoneNumber, addressLine1, addressLine2, city, postCode, avatar, owner.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"name\": \"Northgate Business Network\",\n  \"country\": \"United Kingdom\",\n  \"region\": \"North West\",\n  \"phoneNumber\": \"441615550123\",\n  \"addressLine1\": \"1 Example Street\",\n  \"addressLine2\": \"Sale\",\n  \"city\": \"Manchester\",\n  \"avatar\": \"https://d221v57tbgo903.cloudfront.net/organization/abc123-logo.png\",\n  \"owner\": \"Alex Morgan\",\n  \"postCode\": null\n}"
        },
        {
          "name": "403 Missing or unknown key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/organisations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "organisations"
              ]
            },
            "description": "Returns your organisation record as a single object.\n\n**Key module:** Organisation (`organizations`).\n\n**Fields available:** name, country, region, phoneNumber, addressLine1, addressLine2, city, postCode, avatar, owner.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Forbidden\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "403 Module not on this key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/organisations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "organisations"
              ]
            },
            "description": "Returns your organisation record as a single object.\n\n**Key module:** Organisation (`organizations`).\n\n**Fields available:** name, country, region, phoneNumber, addressLine1, addressLine2, city, postCode, avatar, owner.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Not allowed\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "429 Rate limit",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/organisations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "organisations"
              ]
            },
            "description": "Returns your organisation record as a single object.\n\n**Key module:** Organisation (`organizations`).\n\n**Fields available:** name, country, region, phoneNumber, addressLine1, addressLine2, city, postCode, avatar, owner.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Too Many Requests",
          "code": 429,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Too many requests\",\n  \"error\": \"Too many requests\",\n  \"statusCode\": 429\n}"
        }
      ]
    },
    {
      "name": "List groups",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/networkdirectories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "networkdirectories"
          ]
        },
        "description": "Returns every group (network directory) that belongs to your organisation, as an array.\n\n**Key module:** Groups (`networkdirectories`).\n\n**Every key gets:** groupId (pass it as `networkDirectory` on List members).\n\n**Fields available:** isPrivate, status (active or pending), avatar, coverImage, name, description, subscription (plan name), region, country, phone, email, website, frequency, socialChannels, organization (your organisation's name).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
      },
      "response": [
        {
          "name": "200 OK",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories"
              ]
            },
            "description": "Returns every group (network directory) that belongs to your organisation, as an array.\n\n**Key module:** Groups (`networkdirectories`).\n\n**Every key gets:** groupId (pass it as `networkDirectory` on List members).\n\n**Fields available:** isPrivate, status (active or pending), avatar, coverImage, name, description, subscription (plan name), region, country, phone, email, website, frequency, socialChannels, organization (your organisation's name).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "[\n  {\n    \"groupId\": \"69b43b04c76f8e0012251447\",\n    \"website\": \"https://www.example.com\",\n    \"status\": \"active\",\n    \"organization\": \"Northgate Business Network\",\n    \"frequency\": \"monthly\",\n    \"socialChannels\": {\n      \"facebook\": \"https://www.facebook.com/example\",\n      \"twitter\": \"https://x.com/example\",\n      \"linkedIn\": \"https://www.linkedin.com/company/example\"\n    },\n    \"name\": \"Northgate Breakfast Club\",\n    \"email\": \"breakfast@example.com\",\n    \"phone\": \"441615550124\",\n    \"description\": \"Monthly breakfast networking for local business owners.\",\n    \"region\": \"North West\",\n    \"country\": \"United Kingdom\",\n    \"subscription\": \"Annual Contract\",\n    \"avatar\": \"https://d221v57tbgo903.cloudfront.net/network-directory/def456-avatar.png\",\n    \"coverImage\": \"https://d221v57tbgo903.cloudfront.net/network-directory/ghi789-cover.png\",\n    \"isPrivate\": true\n  },\n  {\n    \"groupId\": \"69b43b04c76f8e0012251452\",\n    \"isPrivate\": false,\n    \"status\": \"pending\",\n    \"avatar\": null,\n    \"coverImage\": null,\n    \"name\": \"Northgate Young Professionals\",\n    \"description\": \"Evening meet-ups for early-career members.\",\n    \"subscription\": \"Free\",\n    \"region\": \"North West\",\n    \"country\": \"United Kingdom\",\n    \"phone\": \"+441615550125\",\n    \"email\": \"yp@example.com\",\n    \"frequency\": \"quarterly\",\n    \"organization\": \"Northgate Business Network\",\n    \"website\": null,\n    \"socialChannels\": null\n  }\n]"
        },
        {
          "name": "403 Missing or unknown key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories"
              ]
            },
            "description": "Returns every group (network directory) that belongs to your organisation, as an array.\n\n**Key module:** Groups (`networkdirectories`).\n\n**Every key gets:** groupId (pass it as `networkDirectory` on List members).\n\n**Fields available:** isPrivate, status (active or pending), avatar, coverImage, name, description, subscription (plan name), region, country, phone, email, website, frequency, socialChannels, organization (your organisation's name).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Forbidden\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "403 Module not on this key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories"
              ]
            },
            "description": "Returns every group (network directory) that belongs to your organisation, as an array.\n\n**Key module:** Groups (`networkdirectories`).\n\n**Every key gets:** groupId (pass it as `networkDirectory` on List members).\n\n**Fields available:** isPrivate, status (active or pending), avatar, coverImage, name, description, subscription (plan name), region, country, phone, email, website, frequency, socialChannels, organization (your organisation's name).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Not allowed\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "429 Rate limit",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories"
              ]
            },
            "description": "Returns every group (network directory) that belongs to your organisation, as an array.\n\n**Key module:** Groups (`networkdirectories`).\n\n**Every key gets:** groupId (pass it as `networkDirectory` on List members).\n\n**Fields available:** isPrivate, status (active or pending), avatar, coverImage, name, description, subscription (plan name), region, country, phone, email, website, frequency, socialChannels, organization (your organisation's name).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Too Many Requests",
          "code": 429,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Too many requests\",\n  \"error\": \"Too many requests\",\n  \"statusCode\": 429\n}"
        }
      ]
    },
    {
      "name": "Get one group",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/networkdirectories/:networkDirectoryId",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "networkdirectories",
            ":networkDirectoryId"
          ],
          "variable": [
            {
              "key": "networkDirectoryId",
              "value": "{{networkDirectoryId}}",
              "description": "The group's ID (24-character hex): the groupId from List groups."
            }
          ]
        },
        "description": "Returns one group as an object. Same module and fields as **List groups**.\n\n- `400 Invalid network directory ID` if the ID is not a 24-character hex ID.\n- `404 Network Directory could not be found!` if it does not exist or belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
      },
      "response": [
        {
          "name": "200 OK",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories/:networkDirectoryId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories",
                ":networkDirectoryId"
              ],
              "variable": [
                {
                  "key": "networkDirectoryId",
                  "value": "{{networkDirectoryId}}",
                  "description": "The group's ID (24-character hex): the groupId from List groups."
                }
              ]
            },
            "description": "Returns one group as an object. Same module and fields as **List groups**.\n\n- `400 Invalid network directory ID` if the ID is not a 24-character hex ID.\n- `404 Network Directory could not be found!` if it does not exist or belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"groupId\": \"69b43b04c76f8e0012251447\",\n  \"website\": \"https://www.example.com\",\n  \"status\": \"active\",\n  \"organization\": \"Northgate Business Network\",\n  \"frequency\": \"monthly\",\n  \"socialChannels\": {\n    \"facebook\": \"https://www.facebook.com/example\",\n    \"twitter\": \"https://x.com/example\",\n    \"linkedIn\": \"https://www.linkedin.com/company/example\"\n  },\n  \"name\": \"Northgate Breakfast Club\",\n  \"email\": \"breakfast@example.com\",\n  \"phone\": \"441615550124\",\n  \"description\": \"Monthly breakfast networking for local business owners.\",\n  \"region\": \"North West\",\n  \"country\": \"United Kingdom\",\n  \"subscription\": \"Annual Contract\",\n  \"avatar\": \"https://d221v57tbgo903.cloudfront.net/network-directory/def456-avatar.png\",\n  \"coverImage\": \"https://d221v57tbgo903.cloudfront.net/network-directory/ghi789-cover.png\",\n  \"isPrivate\": true\n}"
        },
        {
          "name": "403 Missing or unknown key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories/:networkDirectoryId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories",
                ":networkDirectoryId"
              ],
              "variable": [
                {
                  "key": "networkDirectoryId",
                  "value": "{{networkDirectoryId}}",
                  "description": "The group's ID (24-character hex): the groupId from List groups."
                }
              ]
            },
            "description": "Returns one group as an object. Same module and fields as **List groups**.\n\n- `400 Invalid network directory ID` if the ID is not a 24-character hex ID.\n- `404 Network Directory could not be found!` if it does not exist or belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Forbidden\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "403 Module not on this key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories/:networkDirectoryId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories",
                ":networkDirectoryId"
              ],
              "variable": [
                {
                  "key": "networkDirectoryId",
                  "value": "{{networkDirectoryId}}",
                  "description": "The group's ID (24-character hex): the groupId from List groups."
                }
              ]
            },
            "description": "Returns one group as an object. Same module and fields as **List groups**.\n\n- `400 Invalid network directory ID` if the ID is not a 24-character hex ID.\n- `404 Network Directory could not be found!` if it does not exist or belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Not allowed\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "429 Rate limit",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/networkdirectories/:networkDirectoryId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "networkdirectories",
                ":networkDirectoryId"
              ],
              "variable": [
                {
                  "key": "networkDirectoryId",
                  "value": "{{networkDirectoryId}}",
                  "description": "The group's ID (24-character hex): the groupId from List groups."
                }
              ]
            },
            "description": "Returns one group as an object. Same module and fields as **List groups**.\n\n- `400 Invalid network directory ID` if the ID is not a 24-character hex ID.\n- `404 Network Directory could not be found!` if it does not exist or belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Too Many Requests",
          "code": 429,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Too many requests\",\n  \"error\": \"Too many requests\",\n  \"statusCode\": 429\n}"
        }
      ]
    },
    {
      "name": "List members",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/members",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "members"
          ],
          "query": [
            {
              "key": "networkDirectory",
              "value": "{{networkDirectoryId}}",
              "disabled": true,
              "description": "Optional. A groupId from List groups: return only that group's members. Leave off for members of every group."
            }
          ]
        },
        "description": "Returns group memberships across all your groups, or one group when `networkDirectory` is set. Each record is one person in one group: someone in two groups comes back twice, with the same userId and a different memberId, groupId and groupName. Merge on userId for one record per person. Prospects (people who have applied but have no account yet) are included, with the name, email, phone and business name they gave at sign-up, and have no userId.\n\n**Key module:** Members (`members`).\n\n**Every key gets:** memberId (this membership), userId (the person; null for prospects), groupId, groupName, membershipStatus (joined, invited, requested, rejected, prospect, exmember), subscriptionStatus (active, pending, expired, renewal, paused, ended, or null when they have no subscription in that group; with several subscriptions in one group the most current wins: active, renewal, paused, pending, expired, ended).\n\n**Fields available:** hasAppDownloaded, role, ratingStatus, allowSharePrivateInfo, isOrgOwner, status (account status: active, inactive, or prospect for applicants with no account), username, email, businessName, lastName, firstName, phone, country, region.\n\n- `400 Invalid network directory ID` if networkDirectory is not a 24-character hex ID.\n- `404 That network directory couldn't be found` if the group does not exist.\n- `403 You do not have access to this network directory` if it belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
      },
      "response": [
        {
          "name": "200 OK",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/members",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "members"
              ],
              "query": [
                {
                  "key": "networkDirectory",
                  "value": "{{networkDirectoryId}}",
                  "disabled": true,
                  "description": "Optional. A groupId from List groups: return only that group's members. Leave off for members of every group."
                }
              ]
            },
            "description": "Returns group memberships across all your groups, or one group when `networkDirectory` is set. Each record is one person in one group: someone in two groups comes back twice, with the same userId and a different memberId, groupId and groupName. Merge on userId for one record per person. Prospects (people who have applied but have no account yet) are included, with the name, email, phone and business name they gave at sign-up, and have no userId.\n\n**Key module:** Members (`members`).\n\n**Every key gets:** memberId (this membership), userId (the person; null for prospects), groupId, groupName, membershipStatus (joined, invited, requested, rejected, prospect, exmember), subscriptionStatus (active, pending, expired, renewal, paused, ended, or null when they have no subscription in that group; with several subscriptions in one group the most current wins: active, renewal, paused, pending, expired, ended).\n\n**Fields available:** hasAppDownloaded, role, ratingStatus, allowSharePrivateInfo, isOrgOwner, status (account status: active, inactive, or prospect for applicants with no account), username, email, businessName, lastName, firstName, phone, country, region.\n\n- `400 Invalid network directory ID` if networkDirectory is not a 24-character hex ID.\n- `404 That network directory couldn't be found` if the group does not exist.\n- `403 You do not have access to this network directory` if it belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "[\n  {\n    \"memberId\": \"6790a1c2d3e4f5a6b7c8d9e0\",\n    \"userId\": \"65f0a1b2c3d4e5f6a7b8c9d0\",\n    \"groupId\": \"69b43b04c76f8e0012251447\",\n    \"groupName\": \"Northgate Breakfast Club\",\n    \"membershipStatus\": \"joined\",\n    \"subscriptionStatus\": \"active\",\n    \"status\": \"active\",\n    \"hasAppDownloaded\": true,\n    \"role\": \"USER\",\n    \"ratingStatus\": false,\n    \"allowSharePrivateInfo\": false,\n    \"isOrgOwner\": false,\n    \"email\": \"jane.smith@example.com\",\n    \"phone\": \"07700900123\",\n    \"businessName\": \"Smith Accountancy\",\n    \"country\": \"United Kingdom\",\n    \"region\": \"North West\",\n    \"firstName\": \"Jane\",\n    \"lastName\": \"Smith\",\n    \"username\": \"Jane Smith\"\n  },\n  {\n    \"memberId\": \"6790a1c2d3e4f5a6b7c8d9e1\",\n    \"userId\": \"65f0a1b2c3d4e5f6a7b8c9d0\",\n    \"groupId\": \"69b43b04c76f8e0012251452\",\n    \"groupName\": \"Northgate Young Professionals\",\n    \"membershipStatus\": \"joined\",\n    \"subscriptionStatus\": null,\n    \"status\": \"active\",\n    \"hasAppDownloaded\": true,\n    \"role\": \"USER\",\n    \"ratingStatus\": false,\n    \"allowSharePrivateInfo\": false,\n    \"isOrgOwner\": false,\n    \"email\": \"jane.smith@example.com\",\n    \"phone\": \"07700900123\",\n    \"businessName\": \"Smith Accountancy\",\n    \"country\": \"United Kingdom\",\n    \"region\": \"North West\",\n    \"firstName\": \"Jane\",\n    \"lastName\": \"Smith\",\n    \"username\": \"Jane Smith\"\n  },\n  {\n    \"memberId\": \"6790a1c2d3e4f5a6b7c8d9e2\",\n    \"userId\": null,\n    \"groupId\": \"69b43b04c76f8e0012251447\",\n    \"groupName\": \"Northgate Breakfast Club\",\n    \"membershipStatus\": \"prospect\",\n    \"subscriptionStatus\": null,\n    \"status\": \"prospect\",\n    \"email\": \"sam.patel@example.com\",\n    \"firstName\": \"Sam\",\n    \"lastName\": \"Patel\",\n    \"businessName\": \"\",\n    \"phone\": \"\",\n    \"hasAppDownloaded\": null,\n    \"role\": null,\n    \"ratingStatus\": null,\n    \"allowSharePrivateInfo\": null,\n    \"isOrgOwner\": null,\n    \"username\": null,\n    \"country\": null,\n    \"region\": null\n  }\n]"
        },
        {
          "name": "403 Missing or unknown key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/members",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "members"
              ],
              "query": [
                {
                  "key": "networkDirectory",
                  "value": "{{networkDirectoryId}}",
                  "disabled": true,
                  "description": "Optional. A groupId from List groups: return only that group's members. Leave off for members of every group."
                }
              ]
            },
            "description": "Returns group memberships across all your groups, or one group when `networkDirectory` is set. Each record is one person in one group: someone in two groups comes back twice, with the same userId and a different memberId, groupId and groupName. Merge on userId for one record per person. Prospects (people who have applied but have no account yet) are included, with the name, email, phone and business name they gave at sign-up, and have no userId.\n\n**Key module:** Members (`members`).\n\n**Every key gets:** memberId (this membership), userId (the person; null for prospects), groupId, groupName, membershipStatus (joined, invited, requested, rejected, prospect, exmember), subscriptionStatus (active, pending, expired, renewal, paused, ended, or null when they have no subscription in that group; with several subscriptions in one group the most current wins: active, renewal, paused, pending, expired, ended).\n\n**Fields available:** hasAppDownloaded, role, ratingStatus, allowSharePrivateInfo, isOrgOwner, status (account status: active, inactive, or prospect for applicants with no account), username, email, businessName, lastName, firstName, phone, country, region.\n\n- `400 Invalid network directory ID` if networkDirectory is not a 24-character hex ID.\n- `404 That network directory couldn't be found` if the group does not exist.\n- `403 You do not have access to this network directory` if it belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Forbidden\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "403 Module not on this key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/members",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "members"
              ],
              "query": [
                {
                  "key": "networkDirectory",
                  "value": "{{networkDirectoryId}}",
                  "disabled": true,
                  "description": "Optional. A groupId from List groups: return only that group's members. Leave off for members of every group."
                }
              ]
            },
            "description": "Returns group memberships across all your groups, or one group when `networkDirectory` is set. Each record is one person in one group: someone in two groups comes back twice, with the same userId and a different memberId, groupId and groupName. Merge on userId for one record per person. Prospects (people who have applied but have no account yet) are included, with the name, email, phone and business name they gave at sign-up, and have no userId.\n\n**Key module:** Members (`members`).\n\n**Every key gets:** memberId (this membership), userId (the person; null for prospects), groupId, groupName, membershipStatus (joined, invited, requested, rejected, prospect, exmember), subscriptionStatus (active, pending, expired, renewal, paused, ended, or null when they have no subscription in that group; with several subscriptions in one group the most current wins: active, renewal, paused, pending, expired, ended).\n\n**Fields available:** hasAppDownloaded, role, ratingStatus, allowSharePrivateInfo, isOrgOwner, status (account status: active, inactive, or prospect for applicants with no account), username, email, businessName, lastName, firstName, phone, country, region.\n\n- `400 Invalid network directory ID` if networkDirectory is not a 24-character hex ID.\n- `404 That network directory couldn't be found` if the group does not exist.\n- `403 You do not have access to this network directory` if it belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Not allowed\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "429 Rate limit",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/members",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "members"
              ],
              "query": [
                {
                  "key": "networkDirectory",
                  "value": "{{networkDirectoryId}}",
                  "disabled": true,
                  "description": "Optional. A groupId from List groups: return only that group's members. Leave off for members of every group."
                }
              ]
            },
            "description": "Returns group memberships across all your groups, or one group when `networkDirectory` is set. Each record is one person in one group: someone in two groups comes back twice, with the same userId and a different memberId, groupId and groupName. Merge on userId for one record per person. Prospects (people who have applied but have no account yet) are included, with the name, email, phone and business name they gave at sign-up, and have no userId.\n\n**Key module:** Members (`members`).\n\n**Every key gets:** memberId (this membership), userId (the person; null for prospects), groupId, groupName, membershipStatus (joined, invited, requested, rejected, prospect, exmember), subscriptionStatus (active, pending, expired, renewal, paused, ended, or null when they have no subscription in that group; with several subscriptions in one group the most current wins: active, renewal, paused, pending, expired, ended).\n\n**Fields available:** hasAppDownloaded, role, ratingStatus, allowSharePrivateInfo, isOrgOwner, status (account status: active, inactive, or prospect for applicants with no account), username, email, businessName, lastName, firstName, phone, country, region.\n\n- `400 Invalid network directory ID` if networkDirectory is not a 24-character hex ID.\n- `404 That network directory couldn't be found` if the group does not exist.\n- `403 You do not have access to this network directory` if it belongs to another organisation.\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Too Many Requests",
          "code": 429,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Too many requests\",\n  \"error\": \"Too many requests\",\n  \"statusCode\": 429\n}"
        }
      ]
    },
    {
      "name": "List events",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/v1/events",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "events"
          ]
        },
        "description": "Returns the live events created by your organisation and by its groups, soonest first, as an array. Only published events that are not cancelled are returned: drafts never leave Net Hub, and an event that is cancelled or unpublished drops out of the list, so remove events that are no longer returned.\n\n**Key module:** Events (`events`).\n\n**Fields available:** eventId (match events between syncs), name, description, details (HTML), address, postcode, startDate, endDate (e.g. `15 December 2026`), startTime, endTime (e.g. `7:30 am`), contactName, contactTel, contactEmail, shortUrlLink, virtualUrl (both can be an empty string when unset), bannerImage (full-size banner URL), bannerImageSmall (smaller social-preview copy), organisedBy (group name, or your organisation's for organisation-level events), isPublished, isCancelled (always true / false), createdAt, updatedAt (ISO 8601 UTC).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
      },
      "response": [
        {
          "name": "200 OK",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "events"
              ]
            },
            "description": "Returns the live events created by your organisation and by its groups, soonest first, as an array. Only published events that are not cancelled are returned: drafts never leave Net Hub, and an event that is cancelled or unpublished drops out of the list, so remove events that are no longer returned.\n\n**Key module:** Events (`events`).\n\n**Fields available:** eventId (match events between syncs), name, description, details (HTML), address, postcode, startDate, endDate (e.g. `15 December 2026`), startTime, endTime (e.g. `7:30 am`), contactName, contactTel, contactEmail, shortUrlLink, virtualUrl (both can be an empty string when unset), bannerImage (full-size banner URL), bannerImageSmall (smaller social-preview copy), organisedBy (group name, or your organisation's for organisation-level events), isPublished, isCancelled (always true / false), createdAt, updatedAt (ISO 8601 UTC).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "OK",
          "code": 200,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "[\n  {\n    \"eventId\": \"6787e81b7634b0001105fda7\",\n    \"name\": \"Northgate Breakfast - December\",\n    \"description\": \"Monthly breakfast networking for local business owners.\",\n    \"details\": \"<p>Join us for breakfast, a short talk and open networking. Guests welcome.</p>\",\n    \"address\": \"The Example Hotel, 4 Example Road, Manchester\",\n    \"postcode\": \"M1 1AA\",\n    \"startDate\": \"15 December 2026\",\n    \"startTime\": \"7:30 am\",\n    \"endDate\": \"15 December 2026\",\n    \"endTime\": \"9:30 am\",\n    \"contactName\": \"Alex Morgan\",\n    \"contactTel\": \"0161 496 0000\",\n    \"contactEmail\": \"events@example.com\",\n    \"shortUrlLink\": \"https://vnts.site/Ab12Cd\",\n    \"virtualUrl\": \"\",\n    \"bannerImage\": \"https://events.mynethub.com/public/media/6787cd48588064f4dc4eed71/86ed5f5f4633e3ae0b8040529cfa9ed5f1caae9b.jpeg\",\n    \"bannerImageSmall\": \"https://events.mynethub.com/public/media/6787cd48588064f4dc4eed70/7c7aa928cc20a2d19f28043f7e94bd52c2dcc3c7.jpeg\",\n    \"organisedBy\": \"Northgate Breakfast Club\",\n    \"isPublished\": true,\n    \"isCancelled\": false,\n    \"createdAt\": \"2026-10-02T09:14:07.195Z\",\n    \"updatedAt\": \"2026-11-20T16:34:00.921Z\"\n  },\n  {\n    \"eventId\": \"6aff195f04b4c8380ef52ac9\",\n    \"name\": \"Members' Online Masterclass\",\n    \"description\": \"A one-hour online session on winning referrals.\",\n    \"details\": \"<p>Live on Zoom. The link is sent with your ticket.</p>\",\n    \"address\": null,\n    \"postcode\": null,\n    \"startDate\": \"14 January 2027\",\n    \"startTime\": \"12:00 pm\",\n    \"endDate\": \"14 January 2027\",\n    \"endTime\": \"1:00 pm\",\n    \"contactName\": null,\n    \"contactTel\": null,\n    \"contactEmail\": null,\n    \"shortUrlLink\": null,\n    \"virtualUrl\": \"https://zoom.us/j/0000000000\",\n    \"bannerImage\": null,\n    \"bannerImageSmall\": null,\n    \"organisedBy\": \"Northgate Business Network\",\n    \"isPublished\": true,\n    \"isCancelled\": false,\n    \"createdAt\": \"2026-11-05T11:02:44.010Z\",\n    \"updatedAt\": \"2026-11-05T11:02:44.010Z\"\n  }\n]"
        },
        {
          "name": "403 Missing or unknown key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "events"
              ]
            },
            "description": "Returns the live events created by your organisation and by its groups, soonest first, as an array. Only published events that are not cancelled are returned: drafts never leave Net Hub, and an event that is cancelled or unpublished drops out of the list, so remove events that are no longer returned.\n\n**Key module:** Events (`events`).\n\n**Fields available:** eventId (match events between syncs), name, description, details (HTML), address, postcode, startDate, endDate (e.g. `15 December 2026`), startTime, endTime (e.g. `7:30 am`), contactName, contactTel, contactEmail, shortUrlLink, virtualUrl (both can be an empty string when unset), bannerImage (full-size banner URL), bannerImageSmall (smaller social-preview copy), organisedBy (group name, or your organisation's for organisation-level events), isPublished, isCancelled (always true / false), createdAt, updatedAt (ISO 8601 UTC).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Forbidden\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "403 Module not on this key",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "events"
              ]
            },
            "description": "Returns the live events created by your organisation and by its groups, soonest first, as an array. Only published events that are not cancelled are returned: drafts never leave Net Hub, and an event that is cancelled or unpublished drops out of the list, so remove events that are no longer returned.\n\n**Key module:** Events (`events`).\n\n**Fields available:** eventId (match events between syncs), name, description, details (HTML), address, postcode, startDate, endDate (e.g. `15 December 2026`), startTime, endTime (e.g. `7:30 am`), contactName, contactTel, contactEmail, shortUrlLink, virtualUrl (both can be an empty string when unset), bannerImage (full-size banner URL), bannerImageSmall (smaller social-preview copy), organisedBy (group name, or your organisation's for organisation-level events), isPublished, isCancelled (always true / false), createdAt, updatedAt (ISO 8601 UTC).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Forbidden",
          "code": 403,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Not allowed\",\n  \"error\": \"Forbidden\",\n  \"statusCode\": 403\n}"
        },
        {
          "name": "429 Rate limit",
          "originalRequest": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "events"
              ]
            },
            "description": "Returns the live events created by your organisation and by its groups, soonest first, as an array. Only published events that are not cancelled are returned: drafts never leave Net Hub, and an event that is cancelled or unpublished drops out of the list, so remove events that are no longer returned.\n\n**Key module:** Events (`events`).\n\n**Fields available:** eventId (match events between syncs), name, description, details (HTML), address, postcode, startDate, endDate (e.g. `15 December 2026`), startTime, endTime (e.g. `7:30 am`), contactName, contactTel, contactEmail, shortUrlLink, virtualUrl (both can be an empty string when unset), bannerImage (full-size banner URL), bannerImageSmall (smaller social-preview copy), organisedBy (group name, or your organisation's for organisation-level events), isPublished, isCancelled (always true / false), createdAt, updatedAt (ISO 8601 UTC).\n\nSend your API key in the `x-api-token` header. Responses contain only the fields selected on the key for this module; a selected field with no value comes back as `null`."
          },
          "status": "Too Many Requests",
          "code": 429,
          "_postman_previewlanguage": "json",
          "header": [
            {
              "key": "Content-Type",
              "value": "application/json; charset=utf-8"
            }
          ],
          "body": "{\n  \"message\": \"Too many requests\",\n  \"error\": \"Too many requests\",\n  \"statusCode\": 429\n}"
        }
      ]
    }
  ]
}