Create Interaction Card

Create an Interaction Custom Card.

circle-info

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

Create a Card

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

Create an Interaction Custom Card. A contact_id with the contact's ID and a view object must be passed in to the body. See the body example for more information.

Headers

Name
Type
Description

Authorization

string

Bearer {{api_key}}

Request Body

Name
Type
Description

view

object

View object. The card configuration.

contact_id

integer

Contact ID.

{
    "data": {
        "success": true,
        "data": {
            "title": "this is canvas view",
            "contactId": 96,
            "view": {
                "type": "ui_block",
                "config": {
                    "canvas": {
                        "content": {
                            "components": [
                                {
                                    "type": "text",
                                    "text": "hello acquire",
                                    "style": "heading"
                                },
                                {
                                    "type": "input",
                                    "label": "my input box",
                                    "style": "paragraph",
                                    "id": "my_input",
                                    "value": "acquire"
                                }
                            ]
                        }
                    }
                }
            },
            "meta": {
                "iconImageUrl": "https://acquire.io/wp-content/themes/acquire/assets/images/common/acq-footer-black-logo.svg",
                "iconFont": "icon-ticket"
            },
            "userId": 24,
            "dateCreated": "2020-09-16T13:04:38.268Z",
            "id": 10
        },
        "message": "View added successfully."
    }
}

Body (raw)

Last updated