> For the complete documentation index, see [llms.txt](https://docs-tron.en.tronify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-tron.en.tronify.io/flash-unstake-api/upload-authorization-signature-information.md).

# Upload Authorization Signature Information

### Endpoint usage

<mark style="color:green;">`POST`</mark> `https://open.tronify.io/api/tronRent/uploadApproveData`&#x20;

The fields with \* are required, and the fields without \* are optional

#### Request Body

| Name                                         | Type   | Description                                                   |
| -------------------------------------------- | ------ | ------------------------------------------------------------- |
| orderId<mark style="color:red;">\*</mark>    | String | The `orderId` returned by the order placement API             |
| signedData<mark style="color:red;">\*</mark> | String | The signed transaction object (not broadcast by the frontend) |

{% tabs %}
{% tab title="200: OK " %}

```javascript
 {
    "resCode": 100,
    "resMsg": "Success",
    "data": {}
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### code example

{% tabs %}
{% tab title="JavaScript" %}

```
// example
const params = {
     "orderId": "n0tfxxxxxxxxxxxxxxxxxxxxxxx",
    "signedData": {
        "raw_data": {
            "ref_block_bytes": "0c6d",
            "ref_block_hash": "6ffexxxxxxxxxxxxx",
            "expiration": 1792565193000,
            "contract": [
                {
                    "parameter": {
                        "value": {
                            "owner_address": "4163d48bxxxxxxxxxxxxxxxxxxxxx",
                            "owner": {
                                "permission_name": "owner",
                                "threshold": 1,
                                "keys": [
                                    {
                                        "address": "41b29xxxxxxxxxxxxxxxxxxxxxxx57963d3",
                                        "weight": 1
                                    }
                                ]
                            },
                            "actives": [
                                {
                                    "type": "Active",
                                    "id": 2,
                                    "permission_name": "tronify-active",
                                    "threshold": 1,
                                    "operations": "7xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000000",
                                    "keys": [
                                        {
                                            "address": "41b2922xxxxxxxxxxxxxxxxxxxx3d3",
                                            "weight": 1
                                        }
                                    ]
                                }
                            ]
                        },
                        "type_url": "type.googleapis.com/protocol.AccountPermissionUpdateContract"
                    },
                    "type": "AccountPermissionUpdateContract"
                }
            ],
            "timestamp": 1792564536541
        },
        "raw_data_hex": "0a0xxxxxxxxxxxxxxxxxxxxxxxxxx",
        "txID": "ce9cexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "visible": false,
        "signature": [
            "fdcdf36xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        ]
    },
    "sourceFlag": "tronify",
    "invitationCode": "",
    "utmSource": "",
    "connectWalletType": "TronLink"
}
 const res = await axios.post('https://open.tronify.io/api/tronRent/uploadApproveData',params)
 console.log(res)
 if(res.resCode === '100'){
   //...  
 }
```

{% endtab %}
{% endtabs %}

### Postman example

<figure><img src="https://3188465811-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fnv0Qbx2yTtH3TKQFd528%2Fuploads%2FJRQLZSE6pq5c9ivdWIPC%2Fimage.png?alt=media&amp;token=a8ed4aac-c83d-415d-ae9a-c70a92d17baf" alt=""><figcaption></figcaption></figure>
