---
title: "Get a contract's activity log"
method: GET
path: "/contract/logs"
tags: ["Contracts"]
---

# Get a contract's activity log

`GET /contract/logs`

## Request

- Base URL: `https://apisign.io/api`
- URL: `https://apisign.io/api/contract/logs`
- Auth: API key in header `x-api-key`

Activity log entries for a contract, newest first. `action` is one of created, updated, sent, resent, signed, declined, completed, cancelled.

## Query parameters

- `contract_id` string, required

## Response `200`

Log entries

- object
  - `success` boolean
  - `logs` ContractLog[]
    - `id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `org_id` string
    - `contract_id` string
    - `action` 'created' | 'updated' | 'sent' | 'resent' | 'signed' | 'declined' | 'completed' | 'cancelled'
    - `user_id` string: User ID, `api-key:<id>`, or empty
    - `signer_id` string: Signer ID, or empty
    - `test_mode` boolean

## Other responses

- `400`: Invalid request, or the action is not allowed in the resource's current state
- `401`: Missing, invalid, expired or deleted API key. Body: `{ "error": "Unauthorized" }`
- `404`: Resource not found in this organization
- `500`: Internal server error (also returned for a request body that is not valid JSON)

---

[API](https://skmtc.dev/apisign/apis/api-sign-api.md) · [All operations](https://skmtc.dev/apisign/apis/api-sign-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apisign/apis/api-sign-api/revisions/fa21d8adbc69?raw)
