---
title: Vehicle RC Number to PDF
slug: api-marketplace/vehicle-rc-number-to-pdf
description: Find vehicle registration and owner details quickly and easily with our service. Log in, pass the access token, and enter the registration number to access a wealth of information. This document includes sample curl commands and a table of input parameter
createdAt: 2022-10-03T11:02:14.000Z
---

## Introduction

This service is used for retrieving the details on vehicle registration number in an PDF format.

## How to call the API

You will need to login before sending the request. You are required to pass the access token received from the login call as the authorization header in the request.

## API Input Guidelines

- Vehicle Number is the Mandatory Parameter to be passed. It can be passed in lower or upper case.

### Sample Curl

:::CodeblockTabs
Preproduction

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/vehicle/RctoPDF' \
--header 'Authorization: <Auth Token>' \
--header 'Content-Type: application/json' \
--data '{
    "vehicleNumber": "XY12XY1234"
}'
```

Production

```curl
curl --location 'https://api.signzy.app/api/v3/vehicle/RctoPDF' \
--header 'Authorization: <Auth Token>' \
--header 'Content-Type: application/json' \
--data '{
    "vehicleNumber": "XY12XY1234"
}'
```
:::

### Input Parameters

| Parameter     | Description                                    | Required |
| ------------- | ---------------------------------------------- | -------- |
| vehicleNumber | The vehicle registration number to be searched | Yes      |
| Authorization | Authorization token for API access             | Yes      |
| Content-Type  | Format of the data being sent                  | Yes      |

### Sample Response

:::CodeblockTabs
200

```json
{
    "result": {
        "status": "success",
        "message": "PDF generated successfully",
        "pdfUrl": "https://persist.signzy.tech/api/files/ew56w54366534/download/588756f4aa2f42c9b28e3b361dee806474f4fff2eecc46b0845697c07175a212.pdf"
    }
}
```

400

```json
{
    "error": {
        "name": "error",
        "message": "\"vehicleNumber\" is required",
        "status": 400,
        "reason": "VALIDATION_ERROR",
        "type": "Bad Request",
        "statusCode": 400
    }
}
```

404

```json
{
    "error": {
        "name": "error",
        "message": "The vehicle details for the provided number are not found.",
        "status": 404,
        "reason": "Vehicle details not found",
        "type": "Not Found",
        "statusCode": 404
    }
}
```

409

```json
{
    "error": {
        "name": "error",
        "message": "Error in getting data from Upstream",
        "status": 409,
        "reason": "Error",
        "type": "Conflict",
        "statusCode": 409
    }
}
```
:::

### Response Parameters



| **PARAMETER NAME** | **REQUIRED/OPTIONAL** | **DATA TYPE** | **DESCRIPTION**                  |
| ------------------ | --------------------- | ------------- | -------------------------------- |
| status             | Yes                   | string        | Status of the request generated. |
| message            | Yes                   | string        | Description of the request       |
| pdfUrl             | Yes                   | string        | URL link for the PDF.            |

### Status Codes

|  CODE | MESSAGE                                      |
| ----- | -------------------------------------------- |
| 404   | Vehicle data not found                       |
| 400   | Invalid vehicle number                       |
| 406   | Vehicle record found in more than one office |
| 409   | Error in fetching data from upstream         |

::google-sheets{url="https://docs.google.com/spreadsheets/d/1QA37V189POzaTuQlZ5GSNR6EiGk0fk3Vu6CBnFJ7LIk/edit#gid=1629568453"}

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

