Create app card - from other system

Create a UI component card.

These endpoints are in beta testing. Some features may not work as documented or may behave unexpectedly.

Create card

POST https://{{account_id}}.acquire.io/api/v1/crm/ui-component

Create a UI component Custom Card.

Headers

NameTypeDescription

Authorization

string

Bearer {{api_key}}

Request Body

NameTypeDescription

type

string

config

object

The configuration of your card.

displayScope

string

area

string

{
    "data": {
        "success": true,
        "data": {
            "type": "tab",
            "config": {
                "label": "test stripe",
                "canvas": {
                    "content_url": true
                },
                "action_key": "test-form",
                "action_type": "initialize_tab",
                "iconImageUrl": "./assets/app-store/acquire_saml.svg",
                "initialize_url": "https://9adfb9433cf4.ngrok.io/initialize",
                "submit_url": "https://9adfb9433cf4.ngrok.io/submit",
                "configure_url": "https://9adfb9433cf4.ngrok.io/configure"
            },
            "displayScope": "contact_action",
            "area": "backend",
            "userId": 98,
            "dateCreated": "2021-04-06T10:46:20.418Z",
            "order": 0,
            "id": 574
        },
        "message": "UI component created successfully."
    }
}

Body (raw)

{
    "type": "tab",
    "config": {
        "label": "test stripe",
        "canvas": {
            "content_url": true
        },
        "action_key": "test-form",
        "action_type": "initialize_tab",
        "iconImageUrl": "./assets/app-store/acquire_saml.svg",
        "initialize_url": "https://9adfb9433cf4.ngrok.io/initialize",
        "submit_url": "https://9adfb9433cf4.ngrok.io/submit",
         "configure_url": "https://9adfb9433cf4.ngrok.io/configure"
    },
    "displayScope": "contact_action",
    "area": "backend"
}

Last updated