List Catalog Templates
curl --request GET \
--url https://flowker.sandbox.lerian.net/v1/catalog/templates \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://flowker.sandbox.lerian.net/v1/catalog/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://flowker.sandbox.lerian.net/v1/catalog/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://flowker.sandbox.lerian.net/v1/catalog/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"category": "payments",
"description": "Receives a webhook request, validates the transaction via Tracer, and creates a transaction in Midaz if approved",
"id": "tracer-midaz-validation",
"name": "Tracer Validation + Midaz Transaction",
"version": "1.0.0"
}
]
}List Catalog Templates
Use this endpoint to retrieve all workflow templates registered in the catalog.
GET
/
v1
/
catalog
/
templates
List Catalog Templates
curl --request GET \
--url https://flowker.sandbox.lerian.net/v1/catalog/templates \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://flowker.sandbox.lerian.net/v1/catalog/templates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://flowker.sandbox.lerian.net/v1/catalog/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://flowker.sandbox.lerian.net/v1/catalog/templates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"category": "payments",
"description": "Receives a webhook request, validates the transaction via Tracer, and creates a transaction in Midaz if approved",
"id": "tracer-midaz-validation",
"name": "Tracer Validation + Midaz Transaction",
"version": "1.0.0"
}
]
}Authorizations
JWT bearer token issued by the identity provider. Send it in the Authorization header as Bearer <token>.
Response
200 - application/json
Indicates that the request was successful and the response contains the requested data.
Show child attributes
Show child attributes
Was this page helpful?

