{
  "opencollection": "1.0.0",
  "info": {
    "name": "Messaging API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Message Threads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Message Threads",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/message_threads/",
            "params": [
              {
                "name": "document_date__gt",
                "value": "",
                "type": "query"
              },
              {
                "name": "document_date__gte",
                "value": "",
                "type": "query"
              },
              {
                "name": "document_date__lt",
                "value": "",
                "type": "query"
              },
              {
                "name": "document_date__lte",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Message Threads"
        },
        {
          "info": {
            "name": "Create Message Thread",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.elationemr.com/api/2.0/message_threads/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Message Thread"
        },
        {
          "info": {
            "name": "Retrieve Message Thread",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/message_threads/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve Message Thread"
        },
        {
          "info": {
            "name": "Update Message Thread",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox.elationemr.com/api/2.0/message_threads/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Message Thread"
        },
        {
          "info": {
            "name": "Partially Update Message Thread",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.elationemr.com/api/2.0/message_threads/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Partially Update Message Thread"
        },
        {
          "info": {
            "name": "Delete Message Thread",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.elationemr.com/api/2.0/message_threads/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Message Thread"
        }
      ]
    },
    {
      "info": {
        "name": "Thread Members",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Thread Members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_members/",
            "params": [
              {
                "name": "ack_time",
                "value": "",
                "type": "query"
              },
              {
                "name": "group",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "thread",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "user",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Thread Members"
        },
        {
          "info": {
            "name": "Create Thread Member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_members/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Thread Member"
        },
        {
          "info": {
            "name": "Retrieve Thread Member",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_members/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve Thread Member"
        },
        {
          "info": {
            "name": "Update Thread Member",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_members/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update Thread Member"
        },
        {
          "info": {
            "name": "Partially Update Thread Member",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_members/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Partially Update Thread Member"
        },
        {
          "info": {
            "name": "Delete Thread Member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_members/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Thread Member"
        }
      ]
    },
    {
      "info": {
        "name": "Thread Messages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Thread Messages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_messages/",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "patient",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "practice",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "sender",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              },
              {
                "name": "thread",
                "value": "",
                "type": "query",
                "description": "Multiple values may be separated by commas."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List Thread Messages"
        },
        {
          "info": {
            "name": "Create Thread Message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_messages/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create Thread Message"
        },
        {
          "info": {
            "name": "Retrieve Thread Message",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_messages/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve Thread Message"
        },
        {
          "info": {
            "name": "Delete Thread Message",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.elationemr.com/api/2.0/thread_messages/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "/api/2.0/oauth2/token/",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete Thread Message"
        }
      ]
    }
  ],
  "bundled": true
}