---
agentTools:
  projectIndex: https://docs.privakey.com/llms.txt
---

# Get Request

Returns information about a particular request.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "2.4"
  },
  "servers": [
    {
      "url": "https://cloud.privakey.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/api/request/getRequest": {
      "get": {
        "summary": "Get Request",
        "description": "Returns information about a particular request.",
        "operationId": "get-request",
        "parameters": [
          {
            "name": "requestGuid",
            "in": "query",
            "description": "The guid of the request to get",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Either Basic or HMAC, depending on how the Request Origin is configured.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Basic <basic creds>"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": \"M5X\",\n  \"created\": \"2019-01-07T20:11:29.000Z\",\n  \"lastModified\": \"2019-01-07T20:11:37.000Z\",\n  \"expiration\": \"2019-01-07T20:16:29.000Z\",\n  \"originIP\": \"18.215.153.200, 172.32.34.49\",\n  \"requestStatusId\": 2,\n  \"content\": \"<html><body>Please confirm that you would like to login to Winston with Alexa for 10 minutes.</body></html>\",\n  \"responseContent\": \"<html><body>Please confirm that you would like to login to Winston with Alexa for 10 minutes.</body></html>\",\n  \"buttons\": [\n    {\n      \"title\": \"Confirm\",\n      \"strongAuth\": true,\n      \"style\": \"{\\\"type\\\":\\\"button\\\",\\\"color\\\":\\\"#40AA4B\\\"}\"\n    },\n    {\n      \"title\": \"Deny\",\n      \"strongAuth\": false,\n      \"style\": \"{\\\"type\\\":\\\"button\\\",\\\"color\\\":\\\"#40AA4B\\\"}\"\n    }\n  ],\n  \"buttonSelected\": 0,\n  \"privakeyId\": \"efc27e30-1147-4a30-9bac-8c40adcf1c45\",\n  \"requestOriginId\": 6,\n  \"additionalInfo\": \"{\\\"viewType\\\":\\\"html\\\",\\\"format\\\":\\\"standard\\\",\\\"type\\\":\\\"Winston Speak Authentication\\\",\\\"duration\\\":{\\\"weeks\\\":0,\\\"years\\\":0,\\\"months\\\":0,\\\"days\\\":0,\\\"hours\\\":0,\\\"minutes\\\":10,\\\"seconds\\\":0},\\\"alexaUserId\\\":\\\"amzn1.ask.account.AFD7PUBSDBR2RYEXIAVOGUSKZJYXBZXY5YYZNXAFY43TAVABRNQMQRPOXNG73ZXSE7TFVXIQJKWUBPNMHBWVQDM2HARTAGLKH5YBYGKCWC3SA7RGSWCNTATJREAVK5ACJK3JCZMVOYATHOPV6DB267MZPDAFT66WGWI26PZVQHF7HOOZK2YJDWF7KJNRIPY63OFCXDUQVJNBZGY\\\",\\\"showNotification\\\":true}\",\n  \"showCode\": 0,\n  \"callback\": \"https://ordvav5e79.execute-api.us-east-1.amazonaws.com/development\",\n  \"notificationBody\": \"Authentication Request\",\n  \"notificationTitle\": \"Winston Authentication Request\",\n  \"guid\": \"02825531-8641-4379-9fd7-791806d6fbc7\",\n  \"showNotification\": 1\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "M5X"
                    },
                    "created": {
                      "type": "string",
                      "example": "2019-01-07T20:11:29.000Z"
                    },
                    "lastModified": {
                      "type": "string",
                      "example": "2019-01-07T20:11:37.000Z"
                    },
                    "expiration": {
                      "type": "string",
                      "example": "2019-01-07T20:16:29.000Z"
                    },
                    "originIP": {
                      "type": "string",
                      "example": "18.215.153.200, 172.32.34.49"
                    },
                    "requestStatusId": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "content": {
                      "type": "string",
                      "example": "<html><body>Please confirm that you would like to login to Winston with Alexa for 10 minutes.</body></html>"
                    },
                    "responseContent": {
                      "type": "string",
                      "example": "<html><body>Please confirm that you would like to login to Winston with Alexa for 10 minutes.</body></html>"
                    },
                    "buttons": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string",
                            "example": "Confirm"
                          },
                          "strongAuth": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "style": {
                            "type": "string",
                            "example": "{\"type\":\"button\",\"color\":\"#40AA4B\"}"
                          }
                        }
                      }
                    },
                    "buttonSelected": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "privakeyId": {
                      "type": "string",
                      "example": "efc27e30-1147-4a30-9bac-8c40adcf1c45"
                    },
                    "requestOriginId": {
                      "type": "integer",
                      "example": 6,
                      "default": 0
                    },
                    "additionalInfo": {
                      "type": "string",
                      "example": "{\"viewType\":\"html\",\"format\":\"standard\",\"type\":\"Winston Speak Authentication\",\"duration\":{\"weeks\":0,\"years\":0,\"months\":0,\"days\":0,\"hours\":0,\"minutes\":10,\"seconds\":0},\"alexaUserId\":\"amzn1.ask.account.AFD7PUBSDBR2RYEXIAVOGUSKZJYXBZXY5YYZNXAFY43TAVABRNQMQRPOXNG73ZXSE7TFVXIQJKWUBPNMHBWVQDM2HARTAGLKH5YBYGKCWC3SA7RGSWCNTATJREAVK5ACJK3JCZMVOYATHOPV6DB267MZPDAFT66WGWI26PZVQHF7HOOZK2YJDWF7KJNRIPY63OFCXDUQVJNBZGY\",\"showNotification\":true}"
                    },
                    "showCode": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "callback": {
                      "type": "string",
                      "example": "https://ordvav5e79.execute-api.us-east-1.amazonaws.com/development"
                    },
                    "notificationBody": {
                      "type": "string",
                      "example": "Authentication Request"
                    },
                    "notificationTitle": {
                      "type": "string",
                      "example": "Winston Authentication Request"
                    },
                    "guid": {
                      "type": "string",
                      "example": "02825531-8641-4379-9fd7-791806d6fbc7"
                    },
                    "showNotification": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": [],
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --location --request GET \"https://cloud.privakey.com/api/request/getRequest?requestGuid=02825531-8641-4379-9fd7-791806d6fbc7\" --header \"Authorization: Basic <basic creds>\""
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "660d684fcb33080067214619:660d684fcb33080067214633"
}
```