Sign in

Modify activity definition

documented

Modify an existing custom activity definition.

PUT /v1/definitions/activity/modifyActivityno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.ap3api.com/v1/definitions/activity/modify" \
  -X PUT \
  -H "X-Api-Key: {{AUTOPILOTHQ_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "name": "{{$name}}",
    "activity_field_id": "{{$activity_field_id}}",
    "state": "{{$state}}",
    "icon_id": "{{$icon_id}}",
    "track_conversion_value": {{$track_conversion_value}},
    "touch": {{$touch}},
    "filterable": {{$filterable}},
    "visible_in_feeds": {{$visible_in_feeds}},
    "display_style": {
      "type": "activity_attribute",
      "title": "{{$title}}",
      "attribute_name": "{{$attribute_name}}",
      "attribute_field_id": "{{$attribute_field_id}}"
    },
    "attributes": [
      {
        "name": "{{$attr1}}",
        "display_type": "{{$display_type1}}",
        "field_id": "{{$field_id1}}"
      },
      {
        "name": "{{$attr2}}",
        "display_type": "{{$display_type2}}",
        "field_id": "{{$field_id2}}"
      },
      {
        "name": "{{$attr3}}",
        "display_type": "{{$display_type3}}",
        "field_id": "{{$field_id3}}"
      }
    ]
  }}'
Modify activity definition · Autopilot (Ortto) · OpenIntegrations