Create general card
Create a general card.
These endpoints are in beta testing. Some features may not work as documented or may behave unexpectedly.
post
https://{{account_id}}.acquire.io/api/v1/crm/ui-component
Create general card
Body (raw)
1
{
2
"type": "tab",
3
"config": {
4
"label": "mix sample",
5
"canvas": {
6
"content_url": true
7
},
8
"action_key": "test-json",
9
"action_type": "initialize_tab",
10
"iconImageUrl": "./assets/app-store/acquire_saml.svg",
11
"initialize_url": "https://0ff32dabc277.ngrok.io/mix2-initialize"
12
},
13
"displayScope": "contact_action",
14
"area": "backend"
15
}
Copied!

Attributes

ATTRIBUTE
TYPE
DESCRIPTION
type
String
Specify the type of card. block | action | tab | script_tags | style
config
JSON object
Specify the card configuration. Value for config is a JSON object according to type.
displayScope
String
Specify the card display scope.
home(For frontend widget home app list) | contact_action | case_action | message_action | picker | main (for other)
area
String