Render an integration UI with GET method
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100RequiredPattern:
Name of the integration.
^[a-zA-Z0-9-_.]+$Query parameters
requeststringRequired
LZ-string compressed JSON request
Responses
200
ContentKit element to render
application/json
Responseone of
Output of the integration when rendering a UI.
or
get/integrations/{integrationName}/render
GET /v1/integrations/{integrationName}/render?request=text HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
ContentKit element to render
{
"type": "element",
"element": {
"type": "block",
"children": [
{
"type": "button",
"style": "primary",
"onPress": "[Circular Reference]",
"icon": "close",
"trailingIcon": "close",
"label": "text",
"tooltip": "text",
"confirm": {
"title": "text",
"text": "text",
"confirm": "text",
"style": "primary"
},
"disabled": true
}
],
"controls": [
{
"icon": "close",
"label": "text",
"onPress": "[Circular Reference]",
"confirm": {
"title": "text",
"text": "text",
"confirm": "text",
"style": "primary"
}
}
]
},
"state": {},
"props": {
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": "[Circular Reference]"
}
},
"canAccessVisitorClaims": true
}Last updated
Was this helpful?