# Endpoint API changes?

**URL:** <https://discuss.elastic.co/t/endpoint-api-changes/230651>\
**Category:** Endpoint Security\
**Created:** [May 1, 2020, 12:59am UTC](https://discuss.elastic.co/t/endpoint-api-changes/230651 "2020-05-01T00:59:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boss6](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@boss6](https://discuss.elastic.co/u/boss6)\
**Post date:** [May 1, 2020, 12:59am UTC](https://discuss.elastic.co/t/endpoint-api-changes/230651/1 "2020-05-01T00:59:04Z")

</div>

Hi,

I had been importing endpoints via the api and until yesterday the job was working fine, but now it appears that transaction\_id is required? If so, how is it passed? I've tried a bunch and it never works.

I had been accessing this endpoint: `url="https://bark.endgameone.com/api/v1/endpoints?page=1&raw=true&per_page=999999"`

The doc says the transaction\_id is a Uuid. Is that any string that I want, or some identifier that gets generated within the endgame app?

---

<div class="post-metadata">

**Author:** ![James\_B](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_b/32/67643_2.png) [@James\_B](https://discuss.elastic.co/u/James_B)\
**Post date:** [May 4, 2020, 1:25pm UTC](https://discuss.elastic.co/t/endpoint-api-changes/230651/2 "2020-05-04T13:25:39Z")

</div>

Hey Scott - We now require a transaction\_id for retrieving the raw data.

You can get a transaction\_id by issuing a GET `https://bark.endgameone.com/api/v1/endpoints` in the response to that request you'll be able to parse out a `transaction_id` by accessing `metadata` and then `transaction_id` keys.

A mocked out data response:

```auto
sample_data_response = { 'data': {...json...}, 'metadata': {'transaction_id': '<uuid>', ...other keys...}}
response_transaction_id = sample_data_response['metadata']['transaction_id']

```

You'll be able to add it to your request like this

```auto
url="https://bark.endgameone.com/api/v1/endpoints?page=1&raw=true&per_page=999999&transaction_id=response_transaction_id"

```

Let me know if you have other issues or questions!

James

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 1, 2020, 1:25pm UTC](https://discuss.elastic.co/t/endpoint-api-changes/230651/3 "2020-06-01T13:25:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
