{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spark Hire Account Interviews API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Interviews",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List interviews",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sparkhire.com/v1.0/interviews",
            "params": [
              {
                "name": "range",
                "value": "",
                "type": "query",
                "description": "Pagination range, e.g. 1-20 or 10-30."
              },
              {
                "name": "orderby",
                "value": "",
                "type": "query",
                "description": "Sort order, e.g. title_asc or updated_desc."
              },
              {
                "name": "status[]",
                "value": "",
                "type": "query",
                "description": "Filter by one or more statuses."
              },
              {
                "name": "type[]",
                "value": "",
                "type": "query",
                "description": "Filter by one or more types."
              }
            ]
          },
          "docs": "List interviews"
        },
        {
          "info": {
            "name": "Create an interview",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.sparkhire.com/v1.0/interviews",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a one-way or live interview for a candidate, tied to a job. Triggers the InterviewCreated webhook event."
        },
        {
          "info": {
            "name": "Get an interview",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sparkhire.com/v1.0/interviews/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ]
          },
          "docs": "Get an interview"
        },
        {
          "info": {
            "name": "Update an interview",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.sparkhire.com/v1.0/interviews/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an interview"
        },
        {
          "info": {
            "name": "Delete an interview",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.sparkhire.com/v1.0/interviews/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the resource."
              }
            ]
          },
          "docs": "Delete an interview"
        }
      ]
    }
  ],
  "bundled": true
}