Hey Jon!
The phase form uses an internal information to generate the link. Our product team is analyzing if it is possible to release this information on our API so our customers could use it!
Hey Jon!
If you are courageous, you can use the network developer tools in your browser to find the corresponding GraphQL queries. You will find the following two to be relevant (here formatted as JavaScript fetch requests) (note that they use a different API-endpoint rather than the public one. For authentication [not listed in the requests below], it works just the same, just as well with your API-Token, thankfully):
fetch("https://app.pipefy.com/internal_api", {
"headers": {
"accept": "*/*",
"content-type": "application/json, application/json"
},
"referrer": "https://app.pipefy.com/",
"referrerPolicy": "origin",
"body": "{\"operationName\":\"publicPhaseFormLink\",\"variables\":{\"cardUuid\":\"5b96ae53-e3aa-4e26-9b58-yourCardUID\"},\"query\":\"query publicPhaseFormLink($cardUuid: ID!) {\\n publicPhaseFormLink(cardUuid: $cardUuid) {\\n url\\n active\\n __typename\\n }\\n}\\n\"}",
"method": "POST"
});
fetch("https://app.pipefy.com/internal_api", {
"headers": {
"accept": "*/*",
"content-type": "application/json, application/json",
},
"referrer": "https://app.pipefy.com/",
"referrerPolicy": "origin",
"body": "{\"operationName\":\"publicPhaseFormLinkToggle\",\"variables\":{\"cardUuid\":\"5b96ae53-e3aa-4e26-9b58-yourCardUID\"},\"query\":\"mutation publicPhaseFormLinkToggle($cardUuid: ID!) {\\n publicPhaseFormLinkToggle(input: {cardUuid: $cardUuid}) {\\n active\\n url\\n __typename\\n }\\n}\\n\"}",
"method": "POST"
});
The first one is used to fetch the actual public URL, whereas the second one is to actually enable the public form for this card.
Please be aware that I am a user only, too, so I will not take any responsibilities, and warn you herewith, that Pipefy might change this stuff one moment or the other.
Hello everyone,
I would like to inform that this is now available in our API! You can check more information here!
Hello everyone,
I would like to inform that this is now available in our API! You can check more information here!
Sooo nice!! Thanks @Danielle Diehl