{
  "opencollection": "1.0.0",
  "info": {
    "name": "Thinkific Admin Bundles Users API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.thinkific.com/api/public/v1/users",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page within the collection to fetch"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of items to be returned"
              },
              {
                "name": "query[email]",
                "value": "",
                "type": "query",
                "description": "Search Users by email."
              },
              {
                "name": "query[role]",
                "value": "",
                "type": "query",
                "description": "Search Users by role."
              },
              {
                "name": "query[external_source]",
                "value": "",
                "type": "query",
                "description": "Search Users by external source."
              },
              {
                "name": "query[custom_profile_field_label]",
                "value": "",
                "type": "query",
                "description": "Search by custom profile field label (must be combined with custom_profile_field_value)"
              },
              {
                "name": "query[custom_profile_field_value]",
                "value": "",
                "type": "query",
                "description": "Search by custom profile field value (must be combined with custom_profile_field_label)"
              },
              {
                "name": "query[group_id]",
                "value": "",
                "type": "query",
                "description": "Search by group id."
              }
            ]
          },
          "docs": "Retrieve a list of users"
        },
        {
          "info": {
            "name": "Create user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.thinkific.com/api/public/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new user"
        },
        {
          "info": {
            "name": "List Users by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.thinkific.com/api/public/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Accepts a Thinkific generated ID (in the form of an integer), or an External ID (as a string) when accompanied by the \"provider\" parameter."
              },
              {
                "name": "provider",
                "value": "",
                "type": "query",
                "description": "Provider from which the user's External Id is associated (Required if using External Id as id parameter)"
              }
            ]
          },
          "docs": "Retrieves a User identified by the provided id"
        },
        {
          "info": {
            "name": "Update user by ID",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.thinkific.com/api/public/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Accepts a Thinkific generated ID (in the form of an integer), or an External ID (as a string) when accompanied by the \"provider\" parameter."
              },
              {
                "name": "provider",
                "value": "",
                "type": "query",
                "description": "Provider from which the user's External Id is associated (Required if using External Id as id parameter)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the user specified by the provided id"
        },
        {
          "info": {
            "name": "Delete user by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.thinkific.com/api/public/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Accepts a Thinkific generated ID (in the form of an integer), or an External ID (as a string) when accompanied by the \"provider\" parameter."
              },
              {
                "name": "provider",
                "value": "",
                "type": "query",
                "description": "Provider from which the user's External Id is associated (Required if using External Id as id parameter)"
              }
            ]
          },
          "docs": "Deletes a User identified by the provided id"
        },
        {
          "info": {
            "name": "Get User Auth data by ID and Provider",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.thinkific.com/api/public/v1/users/:id/authentications/:provider",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Accepts a Thinkific generated ID (in the form of an integer)"
              },
              {
                "name": "provider",
                "value": "",
                "type": "path",
                "description": "Provider from which the user's External Id is associated"
              }
            ]
          },
          "docs": "Retrieves a User authentication data identified by the id and provider"
        }
      ]
    }
  ],
  "bundled": true
}