---
title: "Renew a per-service rental"
method: POST
path: "/per-service/renew"
tags: ["Per-Service Numbers"]
---

# Renew a per-service rental

`POST /per-service/renew`

## Request

- Base URL: `https://api.quackr.io`
- URL: `https://api.quackr.io/per-service/renew`
- Auth: API key in header `x-api-key`

Extend the rental period for an existing per-service number. The new duration is added to the current expiry date. Cost is deducted from your account balance.

## Request body

- object
  - `rentId` string, required: The rental ID returned from the purchase endpoint
  - `duration` 'oneWeek' | 'oneMonth' | 'sixMonths' | 'twelveMonths', required

## Response `200`

Successfully renewed rental

- object
  - `success` boolean
  - `orderId` string: The renewal's order number. Each renewal is its own order, in the same format as a purchase.
  - `rental` object
    - `rentId` string
    - `phoneNumber` string
    - `service` string
    - `serviceName` string
    - `locale` string
    - `rentalEndDate` number: Updated expiry timestamp (milliseconds)

## Other responses

- `400`: Invalid request or insufficient balance
- `401`: Unauthorized - Invalid API key
- `404`: Rental not found

---

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