# API & Programming

**URL:** https://community.fibery.io/c/api-programming/10.md?page=2

[Latest](https://community.fibery.io/latest.md) · [Categories](https://community.fibery.io/categories.md) · [Tags](https://community.fibery.io/tags.md)

**Page:** 3

---

## [\[SOLVED\] API entity update status](https://community.fibery.io/t/solved-api-entity-update-status/2778)

<div class="topic-metadata">

**Author:** [@alex\_qi](https://community.fibery.io/u/alex_qi)\
**Replies:** 6\
**Last updated:** [April 17, 2024, 6:25am UTC](https://community.fibery.io/t/solved-api-entity-update-status/2778 "2024-04-17T06:25:46Z")

</div>

Hello, I fell a little lost in trying to change the workflow status of an entity. The workflow is the “default” fibery workflow with Open, In Progress, Done. With the query below I changed the Name \[enum/name\] of the w…

---

## [Never successful making an HTTP request](https://community.fibery.io/t/never-successful-making-an-http-request/6081)

<div class="topic-metadata">

**Author:** [@Adam\_Stinson](https://community.fibery.io/u/Adam_Stinson)\
**Replies:** 5\
**Last updated:** [April 15, 2024, 8:50am UTC](https://community.fibery.io/t/never-successful-making-an-http-request/6081 "2024-04-15T08:50:51Z")

</div>

Multiple times I’ve tried to use the http service in an automation script, and I’ve never been able to get past unresolved promise error. My script is just trying to create a lead in a outreach automation tool when the …

---

## [How can I create a Muli Select using the API?](https://community.fibery.io/t/how-can-i-create-a-muli-select-using-the-api/6067)

<div class="topic-metadata">

**Author:** [@Anthony\_Dupre](https://community.fibery.io/u/Anthony_Dupre)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 5:45am UTC](https://community.fibery.io/t/how-can-i-create-a-muli-select-using-the-api/6067 "2024-04-11T05:45:16Z")

</div>

I am using the rest api (through “fibery-unofficial”) and I am struggling to create a Multi Select. What is the proper way to do this? Thank you!

---

## [Querying entities for all user created DBs](https://community.fibery.io/t/querying-entities-for-all-user-created-dbs/6061)

<div class="topic-metadata">

**Author:** [@Inbar\_Assaf](https://community.fibery.io/u/Inbar_Assaf)\
**Replies:** 12\
**Last updated:** [April 10, 2024, 10:55am UTC](https://community.fibery.io/t/querying-entities-for-all-user-created-dbs/6061 "2024-04-10T10:55:10Z")

</div>

I would like to query all entities in my fibery account dynamically (without providing the DB names, but rather extracting them from the schema). For this, I need to understand from the schema which types are user genera…

---

## [Post new Entity to speciffic Database](https://community.fibery.io/t/post-new-entity-to-speciffic-database/6064)

<div class="topic-metadata">

**Author:** [@humanKev](https://community.fibery.io/u/humanKev)\
**Replies:** 8\
**Last updated:** [April 9, 2024, 5:14pm UTC](https://community.fibery.io/t/post-new-entity-to-speciffic-database/6064 "2024-04-09T17:14:42Z")

</div>

I’m using postman to try and set up a request that posts new entries to a speciffic db. So I’m using the fibery.io/api/commands with this command object: \`\[ { “command”: “fibery.entity/create”, “args”: { “type”: “Ke…

---

## [GraphQL API: Upsert (add or update) operation? updateBatch?](https://community.fibery.io/t/graphql-api-upsert-add-or-update-operation-updatebatch/3250)

<div class="topic-metadata">

**Author:** [@Dimitri\_S](https://community.fibery.io/u/Dimitri_S)\
**Replies:** 9\
**Last updated:** [April 7, 2024, 1:13pm UTC](https://community.fibery.io/t/graphql-api-upsert-add-or-update-operation-updatebatch/3250 "2024-04-07T13:13:45Z")

</div>

Looking for an equivalent of an upsert mutation so I can perform add or update operations based on whether a particular ID exists in the database. For example, lets say have a dynamic data source that looks something li…

---

## [Timezone offset calculation](https://community.fibery.io/t/timezone-offset-calculation/3239)

<div class="topic-metadata">

**Author:** [@cannibalflea](https://community.fibery.io/u/cannibalflea)\
**Replies:** 9\
**Last updated:** [April 3, 2024, 3:08pm UTC](https://community.fibery.io/t/timezone-offset-calculation/3239 "2024-04-03T15:08:01Z")

</div>

I’ve been struggling with setting date and times through automations. Since buttons and automations run on the server which works using UTC time, this creates problem if you are trying to set a date field based on some t…

---

## [Best way of displaying the time from a date range with time](https://community.fibery.io/t/best-way-of-displaying-the-time-from-a-date-range-with-time/6027)

<div class="topic-metadata">

**Author:** [@tomvb](https://community.fibery.io/u/tomvb)\
**Replies:** 3\
**Last updated:** [March 29, 2024, 9:24am UTC](https://community.fibery.io/t/best-way-of-displaying-the-time-from-a-date-range-with-time/6027 "2024-03-29T09:24:32Z")

</div>

I have a date range with time field that I want to use in a formula inside Fibery. I’m running into formatting issue’s. I succeeded in displaying the time like I want to, but it feels like a complicated workaround. The …

---

## [How to get data from Comments like author](https://community.fibery.io/t/how-to-get-data-from-comments-like-author/5957)

<div class="topic-metadata">

**Author:** [@Yuri\_BC](https://community.fibery.io/u/Yuri_BC)\
**Replies:** 1\
**Last updated:** [March 10, 2024, 6:20pm UTC](https://community.fibery.io/t/how-to-get-data-from-comments-like-author/5957 "2024-03-10T18:20:51Z")

</div>

In the following script, I tried a method to get the comment author, but it does not work. What is the right way to get data of a comment? const fibery = context.getService('fibery'); const threadsDb = 'Threads/Channel…

---

## [Full Rich text retrieval](https://community.fibery.io/t/full-rich-text-retrieval/5937)

<div class="topic-metadata">

**Author:** [@Giuse](https://community.fibery.io/u/Giuse)\
**Replies:** 1\
**Last updated:** [March 5, 2024, 7:30am UTC](https://community.fibery.io/t/full-rich-text-retrieval/5937 "2024-03-05T07:30:11Z")

</div>

Hi, I know that getDocument function with format “md” allows to retrieve markdown content of a document (like a rich text description of a task), but some formats are not retrieved, those not compatibile with markdown, l…

---

## [Laravel (php) Fibery APIs implementation (beta)](https://community.fibery.io/t/laravel-php-fibery-apis-implementation-beta/5904)

<div class="topic-metadata">

**Author:** [@mvnrsa](https://community.fibery.io/u/mvnrsa)\
**Replies:** 2\
**Last updated:** [February 24, 2024, 4:48pm UTC](https://community.fibery.io/t/laravel-php-fibery-apis-implementation-beta/5904 "2024-02-24T16:48:44Z")

</div>

Hi guys, I have published my beta (very beta) implementation of the Fibery APIs for Laravel on github. https://github.com/mvnrsa/FiberyAPIs It provides a FiberyClient class for the REST API and for managing webhooks a…

---

## [Prototype: Chrome extension to facilitate viewer context](https://community.fibery.io/t/prototype-chrome-extension-to-facilitate-viewer-context/5816)

<div class="topic-metadata">

**Author:** [@Yuri\_BC](https://community.fibery.io/u/Yuri_BC)\
**Replies:** 2\
**Last updated:** [February 17, 2024, 8:37am UTC](https://community.fibery.io/t/prototype-chrome-extension-to-facilitate-viewer-context/5816 "2024-02-17T08:37:54Z")

</div>

Challenge Automations are unaware of viewer context (user viewing, entity being viewed), apart from ‘user who clicked button’ or ‘user who triggered rule’. Even when the user is identified, the currently viewed entity is…

---

## [401 Unauthorized response while using PHP to access the API](https://community.fibery.io/t/401-unauthorized-response-while-using-php-to-access-the-api/5803)

<div class="topic-metadata">

**Author:** [@tomvb](https://community.fibery.io/u/tomvb)\
**Replies:** 2\
**Last updated:** [February 5, 2024, 6:36pm UTC](https://community.fibery.io/t/401-unauthorized-response-while-using-php-to-access-the-api/5803 "2024-02-05T18:36:53Z")

</div>

I’m trying to access the Fibery API via PHP using the Leaf PHP 3.0 framework. I’ve first tested the API call I’m trying to make in Postman and got that working. Now I’m converting to php and running into an 401 Unauthor…

---

## [How to use executeAction and executeSingleCommand Fibery service workspace functions](https://community.fibery.io/t/how-to-use-executeaction-and-executesinglecommand-fibery-service-workspace-functions/5750)

<div class="topic-metadata">

**Author:** [@bsweileh](https://community.fibery.io/u/bsweileh)\
**Replies:** 2\
**Last updated:** [January 25, 2024, 7:01am UTC](https://community.fibery.io/t/how-to-use-executeaction-and-executesinglecommand-fibery-service-workspace-functions/5750 "2024-01-25T07:01:52Z")

</div>

Hi. Are there any code examples for using the following Fibery service workspace functions? executeAction(action: string, type: string, args: \[object\]) executeSingleCommand(command: FiberyCommand) Found here: https:…

---

## [OpenAPI specification](https://community.fibery.io/t/openapi-specification/1045)

<div class="topic-metadata">

**Author:** [@jerome](https://community.fibery.io/u/jerome)\
**Replies:** 2\
**Last updated:** [January 13, 2024, 11:14am UTC](https://community.fibery.io/t/openapi-specification/1045 "2024-01-13T11:14:59Z")

</div>

Hi there! We have requirements to build more integrations with Fibery. I know that there is already some documentation on the API, and wonder if we could have access to a OpenAPI spec to generate a client on our backend…

---

## [Upload file to Fibery in Action button](https://community.fibery.io/t/upload-file-to-fibery-in-action-button/1664)

<div class="topic-metadata">

**Author:** [@Sylvain\_Vuilliot](https://community.fibery.io/u/Sylvain_Vuilliot)\
**Replies:** 36\
**Last updated:** [January 10, 2024, 6:47am UTC](https://community.fibery.io/t/upload-file-to-fibery-in-action-button/1664 "2024-01-10T06:47:51Z")

</div>

I’m on the way to create an action button script for generating a pdf of my invoice entity. So the steps are : get invoice lines related to the currentEntity \> ok post an http request to pdfMonkey with the data \> ok g…

---

## [Integration API: Records Deleted Using Edit Fields to Sync](https://community.fibery.io/t/integration-api-records-deleted-using-edit-fields-to-sync/5620)

<div class="topic-metadata">

**Author:** [@rothnic](https://community.fibery.io/u/rothnic)\
**Replies:** 2\
**Last updated:** [January 3, 2024, 10:31pm UTC](https://community.fibery.io/t/integration-api-records-deleted-using-edit-fields-to-sync/5620 "2024-01-03T22:31:30Z")

</div>

I’m not sure if I’m not doing something correctly with the Integration API, but wanted to describe this situation that could possibly result in someone losing data unexpectedly. Setup Setup an integration that can syn…

---

## [graphQL queries cannot filter on a Single Select field?](https://community.fibery.io/t/graphql-queries-cannot-filter-on-a-single-select-field/5477)

<div class="topic-metadata">

**Author:** [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Replies:** 1\
**Last updated:** [November 30, 2023, 10:13am UTC](https://community.fibery.io/t/graphql-queries-cannot-filter-on-a-single-select-field/5477 "2023-11-30T10:13:36Z")

</div>

In a graphQL query, I want to filter entities by a Single Select field, but the syntax apparently will not allow this.

---

## [Integrations API - General Questions, File Upload, Webhook](https://community.fibery.io/t/integrations-api-general-questions-file-upload-webhook/5417)

<div class="topic-metadata">

**Author:** [@rothnic](https://community.fibery.io/u/rothnic)\
**Replies:** 7\
**Last updated:** [November 22, 2023, 6:22am UTC](https://community.fibery.io/t/integrations-api-general-questions-file-upload-webhook/5417 "2023-11-22T06:22:49Z")

</div>

I’m currently working on a Fibery integration via the Integrations API with DatoCMS. I am pretty close to dynamically supporting most of the fields and relationships, rather than hard-coding a schema mapping. Questions: …

---

## [Names vs IDs reasoning](https://community.fibery.io/t/names-vs-ids-reasoning/5001)

<div class="topic-metadata">

**Author:** [@carson](https://community.fibery.io/u/carson)\
**Replies:** 6\
**Last updated:** [November 14, 2023, 9:12pm UTC](https://community.fibery.io/t/names-vs-ids-reasoning/5001 "2023-11-14T21:12:21Z")

</div>

What’s the reasoning behind using Space names, field names, etc in Fibery URLs and within the API? That was a new experience for me, and it means that we need to be dead set on our space and field names before we put any…

---

## [API new entity and rich text description update](https://community.fibery.io/t/api-new-entity-and-rich-text-description-update/4939)

<div class="topic-metadata">

**Author:** [@dukevannori](https://community.fibery.io/u/dukevannori)\
**Replies:** 5\
**Last updated:** [November 14, 2023, 6:00pm UTC](https://community.fibery.io/t/api-new-entity-and-rich-text-description-update/4939 "2023-11-14T18:00:51Z")

</div>

Hi, I made huge progress creating new entities through API from n8n. i get a positive response from the creation of the entity. including the fiberyID of the rich text field. now i want to update/add the rich text mark…

---

## [Batch Operations: Reference Sibling Operation Results](https://community.fibery.io/t/batch-operations-reference-sibling-operation-results/5286)

<div class="topic-metadata">

**Author:** [@carson](https://community.fibery.io/u/carson)\
**Replies:** 3\
**Last updated:** [October 21, 2023, 5:41pm UTC](https://community.fibery.io/t/batch-operations-reference-sibling-operation-results/5286 "2023-10-21T17:41:57Z")

</div>

I can see that the Fibery API allows you to run batches of commands, which is really cool. Is there some way to run a series of commands like this?: (Pardon my psuedoJSON - I know this isn’t the correct syntax/schema f…

---

## [Uncaught Error Error: Error: Error while executing command 'fibery.entity/create': Cannot parse value for Name field in 'namespace/database' database](https://community.fibery.io/t/uncaught-error-error-error-error-while-executing-command-fibery-entity-create-cannot-parse-value-for-name-field-in-namespace-database-database/4947)

<div class="topic-metadata">

**Author:** [@Ooker](https://community.fibery.io/u/Ooker)\
**Replies:** 10\
**Last updated:** [September 16, 2023, 1:04pm UTC](https://community.fibery.io/t/uncaught-error-error-error-error-while-executing-command-fibery-entity-create-cannot-parse-value-for-name-field-in-namespace-database-database/4947 "2023-09-16T13:04:54Z")

</div>

import Fibery from 'fibery-unofficial'; const fibery = new Fibery({ host: "XXX.fibery.io", token: 'YYY' }); await fibery.entity.createBatch(\[ { 'type': 'test/Database 1', 'entity': { 'Name': 'Curtl…

---

## [Entity reference should contain fibery/id key](https://community.fibery.io/t/entity-reference-should-contain-fibery-id-key/5157)

<div class="topic-metadata">

**Author:** [@Ooker](https://community.fibery.io/u/Ooker)\
**Replies:** 4\
**Last updated:** [September 16, 2023, 8:51am UTC](https://community.fibery.io/t/entity-reference-should-contain-fibery-id-key/5157 "2023-09-16T08:51:19Z")

</div>

I have this entity object: { "Source/Name": "Chef Nic đây on TikTok - TikTok", "Source/Số tiền": null, "Source/Mạng xã hội": "tiktok", "Source/Loại mạng xã hội": "Video" } I want to create an entity with this o…

---

## [Q: What did you do with Fibery GraphQL API? 👂](https://community.fibery.io/t/q-what-did-you-do-with-fibery-graphql-api/3099)

<div class="topic-metadata">

**Author:** [@mdubakov](https://community.fibery.io/u/mdubakov)\
**Replies:** 8\
**Last updated:** [September 5, 2023, 12:46pm UTC](https://community.fibery.io/t/q-what-did-you-do-with-fibery-graphql-api/3099 "2023-09-05T12:46:42Z")

</div>

We released GraphQL API last week and are curious to learn what you did with it. Please share your use cases and code samples!

---

## [GraphQL API: Filter by entity description field?](https://community.fibery.io/t/graphql-api-filter-by-entity-description-field/5072)

<div class="topic-metadata">

**Author:** [@Dimitri\_S](https://community.fibery.io/u/Dimitri_S)\
**Replies:** 1\
**Last updated:** [September 5, 2023, 7:10am UTC](https://community.fibery.io/t/graphql-api-filter-by-entity-description-field/5072 "2023-09-05T07:10:29Z")

</div>

I’m struggling to filter entities based on the ‘description’ field with the GraphQL API. The ‘description’ is not appearing as a selectable field in the GraphQL API explorer, but it does auto-complete, which is confusing…

---

## [Can you use fibery to trigger scripts](https://community.fibery.io/t/can-you-use-fibery-to-trigger-scripts/5043)

<div class="topic-metadata">

**Author:** [@bear](https://community.fibery.io/u/bear)\
**Replies:** 4\
**Last updated:** [August 31, 2023, 7:50am UTC](https://community.fibery.io/t/can-you-use-fibery-to-trigger-scripts/5043 "2023-08-31T07:50:20Z")

</div>

a fellow freelancer for the same client wonders if we can use fibery to manually configure and trigger some scripts. i don’t know the details but let’s say you have some scripts on a server connected to the web that pro…

---

## [What's the best way in GraphQL to get the entity URL in the output](https://community.fibery.io/t/whats-the-best-way-in-graphql-to-get-the-entity-url-in-the-output/4987)

<div class="topic-metadata">

**Author:** [@YvetteLans](https://community.fibery.io/u/YvetteLans)\
**Replies:** 4\
**Last updated:** [August 21, 2023, 11:52am UTC](https://community.fibery.io/t/whats-the-best-way-in-graphql-to-get-the-entity-url-in-the-output/4987 "2023-08-21T11:52:23Z")

</div>

Hi guys, What’s the best way in GraphQL to get the entity URL in the output? :arrow\_up: so in this output :slight\_smile: Thanks!

---

## [Idea: Crowd-outsourcing API development for no-tech Fibery users](https://community.fibery.io/t/idea-crowd-outsourcing-api-development-for-no-tech-fibery-users/3774)

<div class="topic-metadata">

**Author:** [@mynym](https://community.fibery.io/u/mynym)\
**Replies:** 6\
**Last updated:** [August 15, 2023, 8:05pm UTC](https://community.fibery.io/t/idea-crowd-outsourcing-api-development-for-no-tech-fibery-users/3774 "2023-08-15T20:05:14Z")

</div>

How about joining together to outsource API development and hire a professional to develop a nice-to-have API? I bet I am not alone here with this situation: I played around with Fibery for a while and see some featur…

---

## [How to convert ISO8601 date to YYYY-MM-DD](https://community.fibery.io/t/how-to-convert-iso8601-date-to-yyyy-mm-dd/4944)

<div class="topic-metadata">

**Author:** [@AlexH](https://community.fibery.io/u/AlexH)\
**Replies:** 2\
**Last updated:** [August 11, 2023, 5:39pm UTC](https://community.fibery.io/t/how-to-convert-iso8601-date-to-yyyy-mm-dd/4944 "2023-08-11T17:39:28Z")

</div>

Hi, i have response from the server with date and time format (ISO8610): “2023-08-18T23:00:00-05:00” How i can extract only 2023-08-18 from this response?

[Previous page](https://community.fibery.io/c/api-programming/10.md?page=1)

[Next page](https://community.fibery.io/c/api-programming/10.md?page=3)
