Update Interaction Card

Update an interaction card.

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

Update card

PUT https://{{account_id}}.acquire.io/api/v1/crm/view/{{cardId}}

Update an interaction card. The cardId must be passed in to the endpoint as a path parameter. A view object must be passed in to the body.

Path Parameters

NameTypeDescription

cardId

integer

ID of the card

Headers

NameTypeDescription

Authorization

string

Bearer {{api_key}}

Request Body

NameTypeDescription

title

string

Title for the card.

view

object

View object. The card configuration.

{
    "data": {
        "success": true,
        "data": {
            "id": 17,
            "view": {
                "type": "ui_block",
                "config": {
                    "label": "mix sample",
                    "canvas": {
                        "content_url": true
                    },
                    "action_key": "test-json",
                    "action_type": "initialize_tab",
                    "iconImageUrl": "./assets/app-store/acquire_saml.svg",
                    "initialize_url": "https://0cd3f367b0ac.ngrok.io/mix1-initialize"
                }
            },
            "meta": {
                "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg",
                "iconFont": "icon-ticket"
            },
            "title": "Update Interaction Cards",
            "userId": null,
            "dateCreated": null
        },
        "message": "View updated successfully."
    }
}

Body (raw)

{
    "title": "Update Interaction Cards",
    "meta": {
        "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg",
        "iconFont": "icon-ticket"
    },
    "contact_id": "96",
    "view": {
        "type": "ui_block",
        "config": {
        "label": "mix sample",
        "canvas": {
            "content_url": true
        },
        "action_key": "test-json",
        "action_type": "initialize_tab",
        "iconImageUrl": "./assets/app-store/acquire_saml.svg",
        "initialize_url": "https://0cd3f367b0ac.ngrok.io/mix1-initialize"
    }
    }
}

Last updated