# Get a single Entity by ID through API

**URL:** <https://community.fibery.io/t/get-a-single-entity-by-id-through-api/5092>\
**Category:** Get Help\
**Created:** [September 6, 2023, 6:09pm UTC](https://community.fibery.io/t/get-a-single-entity-by-id-through-api/5092 "2023-09-06T18:09:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dukevannori](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Post date:** [September 6, 2023, 6:09pm UTC](https://community.fibery.io/t/get-a-single-entity-by-id-through-api/5092/1 "2023-09-06T18:09:50Z")

</div>

HI,

I am trying to get all fields from an entity that triggers a webhook.

so now i get the Id from the entity, but i hit a wall … i always get schema field not found and dont know what to do

this is the query json i send via curl … the UUID i get from the webhook trigger data

```auto
[
         {
           "command": "fibery.entity/query",
           "args": {
             "query": {
               "q/from": "CMS/Contact",
               "q/select": [
                  "CMS/First Name",
                  "CMS/Last Name"
                ],
               "q/where": ["=", ["fibery/id"], " ****UUID****" ]
             }
           }
         }
       ]

```

thanks for any hint

---

<div class="post-metadata">

**Author:** ![dukevannori](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Post date:** [September 6, 2023, 6:40pm UTC](https://community.fibery.io/t/get-a-single-entity-by-id-through-api/5092/2 "2023-09-06T18:40:18Z")

</div>

i made the mistake to think i can get the data directly into the “where”, but it needs to be a parameter:

```auto
[
         {
           "command": "fibery.entity/query",
           "args": {
             "query": {
               "q/from": "CMS/Contact",
               "q/select": [
                 "fibery/id",
"CMS/Name"

               ],
               "q/where": ["=", ["fibery/id"], "$id"],
               "q/limit": 1
             },
             "params": { "$id": " ****UUID*****" }
           }
         }
      ]

```
