> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.recurrente.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.recurrente.com/_mcp/server.

# Recordar un contrato

POST https://app.recurrente.com/api/contracts/{contract_id}/reminder

Manda ahora el único recordatorio de un contrato que espera firma, en vez
de esperar las 48 horas. En un Sandbox lo registra sin enviar nada.


Reference: https://docs.recurrente.com/referencia-api/api-reference/contracts/remind-contract

## Authentication

- `X-SECRET-KEY` header (required) — Tu clave secreta de API. Una llave de cuenta (`sk_live_...`, `sk_test_...`) opera sobre su propia cuenta y, con `X-ACCOUNT-ID`, sobre sus cuentas conectadas. La llave también fija el ambiente: una `sk_test_` solo lista y resuelve objetos de prueba (`live_mode: false`) y una `sk_live_` solo objetos reales. Un ID del otro ambiente responde `404` (`401` en `/customers`). Una llave de organización (`sk_org_live_...`, `sk_org_test_...`) alcanza todas las cuentas de una organización y solo sirve para leer: saldos, movimientos y reportes. Para operar sobre una cuenta debe nombrarla con `X-ACCOUNT-ID`; omitirlo en una lectura devuelve todas las cuentas de la organización. Cualquier otro endpoint responde `403` con `code: organization_key_unsupported`.

## Request

### Path parameters

- `contract_id` (string, required)

## Response

### 201

Recordatorio enviado

- `id` (string, optional)
- `account_id` (string, optional)
- `template_id` (string, optional)
- `customer` (ContractCustomer, optional)
- `booking_id` (string, optional, nullable) — La cita que lo pidió, si vino de una.
- `checkout_id` (string, optional, nullable) — El cobro que se paga después de firmar.
- `checkout_url` (string, optional, nullable)
- `title` (string, optional)
- `status` (enum, optional)
  - Allowed values: `sent`, `viewed`, `signed`, `declined`, `expired`
- `sent_via` (enum, optional, nullable)
  - Allowed values: `whatsapp`, `email`, `link`
- `signing_url` (string, optional) — La página donde el cliente lee y firma (link firmado).
- `field_values` (ContractFieldValues, optional) — Lo que el cliente llenó al firmar, por `key` del campo.
- `verified_channel` (enum, optional, nullable) — Por dónde confirmó su identidad con un código antes de firmar.
  - Allowed values: `whatsapp`, `email`, `sandbox`
- `body_sha256` (string, optional, nullable) — SHA-256 del texto firmado.
- `pdf_available` (boolean, optional) — Si ya se puede descargar el PDF firmado.
- `viewed_at` (datetime, optional, nullable)
- `signed_at` (datetime, optional, nullable)
- `valid_until` (datetime, optional, nullable)
- `declined_at` (datetime, optional, nullable)
- `decline_reason` (string, optional, nullable)
- `reminder_sent_at` (datetime, optional, nullable)
- `created_at` (datetime, optional)

## Errors

### 422 Unprocessable Entity Error

Ya no espera firma (`not_awaiting_signature`) o ya se recordó (`already_reminded`)

- `message` (string, optional) — Mensaje de error
- `code` (string, optional) — Código estable legible por máquinas, cuando aplica
- `refund_id` (string, optional) — ID del reembolso relacionado cuando aplica
- `endpoint` (string, optional) — Acción de API rechazada, cuando aplica
- `errors` (ErrorErrors, optional) — Detalles de errores por campo

## Types

### ContractCustomer

- `id` (string, optional)
- `name` (string, optional, nullable)
- `email` (string, optional, nullable)
- `phone` (string, optional, nullable)

### ContractFieldValues

Lo que el cliente llenó al firmar, por `key` del campo.

### ErrorErrors

Detalles de errores por campo

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "id": "ctr_9f8e7d6c",
  "account_id": "acc_4567gh89",
  "template_id": "ctpl_ab12cd34",
  "customer": {
    "id": "cus_1234abcd",
    "name": "María López",
    "email": "maria.lopez@example.com",
    "phone": "+502 5555 1234"
  },
  "booking_id": "bk_20240401",
  "checkout_id": "chk_7890efgh",
  "checkout_url": "https://app.recurrente.com/pay/checkout/7890efgh",
  "title": "Contrato de Servicios de Consultoría",
  "status": "sent",
  "sent_via": "whatsapp",
  "signing_url": "https://app.recurrente.com/sign/ctr_9f8e7d6c",
  "field_values": {},
  "verified_channel": "whatsapp",
  "body_sha256": "3a7bd3e2360a3d5f8b9c1e2d4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a",
  "pdf_available": true,
  "viewed_at": "2024-04-10T14:20:00Z",
  "signed_at": "2024-04-11T09:15:00Z",
  "valid_until": "2024-05-11T23:59:59Z",
  "declined_at": null,
  "decline_reason": null,
  "reminder_sent_at": "2024-04-12T08:00:00Z",
  "created_at": "2024-04-01T10:00:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://app.recurrente.com/api/contracts/contract_id/reminder"

payload = {}
headers = {
    "X-SECRET-KEY": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.recurrente.com/api/contracts/contract_id/reminder';
const options = {
  method: 'POST',
  headers: {'X-SECRET-KEY': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://app.recurrente.com/api/contracts/contract_id/reminder"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-SECRET-KEY", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.recurrente.com/api/contracts/contract_id/reminder")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-SECRET-KEY"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://app.recurrente.com/api/contracts/contract_id/reminder")
  .header("X-SECRET-KEY", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://app.recurrente.com/api/contracts/contract_id/reminder', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-SECRET-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.recurrente.com/api/contracts/contract_id/reminder");
var request = new RestRequest(Method.POST);
request.AddHeader("X-SECRET-KEY", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-SECRET-KEY": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://app.recurrente.com/api/contracts/contract_id/reminder")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```