> For the complete documentation index, see [llms.txt](https://docs.bloqifi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bloqifi.com/reference/retrieval/transaction-id.md).

# Transaction ID

Get transaction ids from object id

## Retrieve Transaction IDs

<mark style="color:green;">`POST`</mark> `https://api.bloqifi.com/v0/txid`

#### Headers

| Name                                           | Type   | Description      |
| ---------------------------------------------- | ------ | ---------------- |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json |

#### Request Body

| Name                                       | Type  | Description     |
| ------------------------------------------ | ----- | --------------- |
| objectid<mark style="color:red;">\*</mark> | Array | \['123', '321'] |

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

```javascript
{
  objectid: '635c2f05d709a3fdc833a786',
  txids: ['123', '321'],
  createdAt: '2022-10-28T21:07:25.214Z'
}
```

{% endtab %}
{% endtabs %}

Take a look at how you might call this method:

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

```javascript
fetch('https://api.bloqifi.com/v0/txid', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    objectid: [ '123', '321' ]
  })
})
.then(response => response.json())
.then(data => {
  console.log(data);
})
.catch(error => {
  console.log(error);
});
```

{% endtab %}
{% endtabs %}
