Manage custom lead attributes in your Tomba account.
Usage
tomba attribute list
tomba attribute get --id <attribute_id>
tomba attribute create --name "<name>" --type "<type>"
tomba attribute update --id <attribute_id> --name "<new_name>"
tomba attribute delete --id <attribute_id>
Examples
List Attributes
tomba attribute list
tomba attribute list --json
Create Attribute
tomba attribute create --name "Company Size" --type "string"
tomba attribute create --name "Deal Value" --type "number"
tomba attribute create --name "Last Contact" --type "date"
Get Attribute
tomba attribute get --id 123
Update Attribute
tomba attribute update --id 123 --name "Updated Name"
Delete Attribute
tomba attribute delete --id 123
HTTP call
# List attributes
curl --request GET \
--url 'http://127.0.0.1:3001/attributes'
# Create attribute
curl --request POST \
--url 'http://127.0.0.1:3001/attributes' \
--header 'Content-Type: application/json' \
--data '{"name": "Company Size", "type": "string"}'
# Delete attribute
curl --request DELETE \
--url 'http://127.0.0.1:3001/attributes/123'
Last modified on