---
title: "Get logs"
method: GET
path: "/request-logs"
---

# Get logs

`GET /request-logs`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/request-logs`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/request-logs/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to retrieve request logs for all of the user's active applications.

## Response `200`

Successful response. Returns the request logs.

- object
  - `data` object[]: Request logs of the user's active applications.
    - `error` boolean: `true` if the request returned an error.
    - `created` number: Unix timestamp of the request, with milliseconds.
    - `request` object: Details of the request.
      - `ip` string: IP address the request was sent from.
      - `uri` string: Path of the request.
      - `body` string: Body of the request, as a JSON-encoded string. Sensitive values are masked.
      - `host` string: Host the request was sent to.
      - `query` string: Query parameters of the request, as a JSON-encoded string.
      - `method` string: HTTP method of the request.
      - `source` string: Client that sent the request, from the `User-Agent` header.
      - `headers` string: Headers of the request, as a JSON-encoded string. Sensitive values are masked.
    - `user_id` string: ID of the user who made the request. Empty if the request was not made on behalf of a user.
    - `response` object: Details of the response.
      - `body` string: Body of the response, as a JSON-encoded string. Sensitive values are masked.
      - `code` integer: HTTP status code of the response.
      - `time` string: Time the request took to process, in seconds, as a string.
      - `headers` string: Headers of the response, as a JSON-encoded string.
    - `request_id` string: ID of the request log.
    - `api_version` string: API version of the request, for example `legacy` or `v2`.
    - `application_id` string: ID of the application that made the request.
    - `application_name` string: Name of the application that made the request.
    - `application_owner_email` string: Email address of the application owner.
  - `meta` object: Pagination details.
    - `pagination` object: Pagination details.
      - `count` integer: Number of items on the current page.
      - `links` object: Links to the adjacent pages. An empty array if there are no other pages.
        - `next` string: URL of the next page. Returned only if there is a next page.
        - `previous` string: URL of the previous page. Returned only if there is a previous page.
      - `total` integer: Total number of items.
      - `per_page` integer: Maximum number of items per page.
      - `total_pages` integer: Total number of pages.
      - `current_page` integer: Number of the current page.

## Other responses

- `400`: Wrong, expired, or missing token.
- `403`: The user doesn't have an active API subscription.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
