CTM (CallTrackingMetrics)

App · 25 actions

Work with CTM (CallTrackingMetrics) call tracking: read the call log and transcripts, tag, note and update calls, record sales, start calls, send texts, manage tracking sources and contact lists, log form leads, and start workflows when calls, texts and forms come in.

Actions

ActionWhat it does
Add contact to listAdd a person to a contact list by phone number, with their name, email, address and custom fields.
Add note to activityAdd a note (comment) to a call, text or form submission, as the agent on it or a user you name.
Add tag to activityAdd one tag to a call, text or form submission.
Create contact listCreate a contact list, such as for a calling campaign or to route known callers.
Create tracking sourceCreate a tracking source, online (matched by referring address or landing page) or offline (such as print or radio).
Delete contact listDelete a contact list and the contacts on it.
Delete tracking sourceDelete a tracking source.
Get activityGet one call, text or form submission with the caller's details, tracking source, recording link, tags, notes and custom fields.
Get call transcriptGet the transcript of a recorded call, as one text and as each speaker's turns.
List activitiesList the call log, newest first: calls, texts and form submissions, with the caller, tracking source and number, duration and agent.
List contact listsList the account's contact lists with how many contacts each holds.
List contacts in listList the contacts in a contact list.
List formsList the account's FormReactor forms, which log web form submissions as leads and can call them back.
List text messagesList the text messages sent and received through your tracking numbers, filtered by direction, time or search text.
List tracking numbersList the account's tracking numbers with their names, sources, status and routing.
List tracking sourcesList the tracking sources (Google Ads, a billboard, your website) CTM credits calls and texts to.
List usersList the account's users and agents with their email, role and whether they're available.
Record saleRecord whether a call led to a sale, what it was worth, when, and how good the lead was, so CTM can credit the source that brought it in.
Remove contacts from listTake one or more people off a contact list by phone number.
Remove tag from activityRemove one tag from a call, text or form submission.
Send text messageSend a text message (up to 160 characters) from one of your tracking numbers.
Start callCall a phone number from one of your tracking numbers and connect it the way that number is set up to route, or to an agent you choose, who is rung first.
Submit formLog a lead from any form or app in CTM's call log, through a FormReactor, so CTM attributes it and reacts as the form is set up to (such as calling the lead back).
Update activityChange the contact details on a call, text or form submission (name, email, other number, address), set its tags or fill in custom fields.
Update tracking sourceRename a tracking source or change its matching rules or priority.

Add contact to list

Add a person to a contact list by phone number, with their name, email, address and custom fields.

Inputs

Contact listlist_idtextRequired
The contact list. Pick one, or give its ID (CL...) from an earlier step.
Phone numberphone_numbertextRequired
Their phone number, like +14105551212.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Emailemailtext
Their email address.
Streetstreettext
The street address, with the house number.
Citycitytext
The city.
State or regionstatetext
The state, province or region.
Countrycountrytext
The country, such as US.
Postal codepostal_codetext
The ZIP or postal code.
Custom fieldscustom_fieldsobject
Values for your CTM custom fields, each under the field's API name, such as {"company": "Acme"}.

Outputs

addedtrue/false
True once CTM adds them
contactobject
The contact as sent
list_idtext
The contact list
Example output
{
  "added": true,
  "contact": {
    "email": "test@example.com",
    "first_name": "Test",
    "last_name": "Person",
    "number": "+13214005002"
  },
  "list_id": "CL5A2B9C1D"
}

Add note to activity

Add a note (comment) to a call, text or form submission, as the agent on it or a user you name.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.
NotenotetextRequired
The note to add.
Written byauthortext
The CTM user the note is from. Leave empty for the agent on the activity.

Outputs

noteobject
The note added
Example output
{
  "note": {
    "agent": {
      "email": "jo@example.com",
      "id": "USR043E46722529BCB5",
      "name": "Jo Bloggs"
    },
    "call_id": 629,
    "id": 46845,
    "note": "Called back, sending a quote."
  }
}

Add tag to activity

Add one tag to a call, text or form submission.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.
TagtagtextRequired
The tag to add, such as qualified.

Outputs

activity_idtext
The activity
statustext
CTM's answer, success
tagtext
The tag added
Example output
{
  "activity_id": "629",
  "status": "success",
  "tag": "qualified"
}

Create contact list

Create a contact list, such as for a calling campaign or to route known callers.

Inputs

NamenametextRequired
The list's name.
Descriptiondescriptiontext
What the list is for.

Outputs

contact_listobject
The new contact list
Example output
{
  "contact_list": {
    "account_id": 12345,
    "contacts_count": 0,
    "created_at": "2026-04-22T14:09:46Z",
    "description": "Callers from the spring campaign",
    "id": "CL5A2B9C1D",
    "name": "Spring promotion",
    "updated_at": "2026-04-22T14:09:46Z"
  }
}

Create tracking source

Create a tracking source, online (matched by referring address or landing page) or offline (such as print or radio).

Inputs

NamenametextRequired
The source's name, such as Google Ads.
Online sourceonlinetrue/false
On for a website source (visitors see its numbers on your site), off for an offline one such as print or radio.
Referring address rulereferring_urltext
Visitors coming from addresses that match this pattern belong to the source, such as google\.com.
Landing page rulelanding_urltext
Visitors landing on pages that match this pattern belong to the source, such as gclid=.+ for Google Ads clicks.
Prioritypositionnumber
Where the source ranks when several match a visitor; 1 first.From 1 to 1000.

Outputs

sourceobject
The tracking source
Example output
{
  "source": {
    "id": "TSO8E1F3B2A",
    "name": "Google Ads"
  }
}

Delete contact list

Delete a contact list and the contacts on it.

Inputs

Contact listlist_idtextRequired
The contact list. Pick one, or give its ID (CL...) from an earlier step.

Outputs

deletedtrue/false
Always true once deleted
list_idtext
The list deleted
Example output
{
  "deleted": true,
  "list_id": "CL5A2B9C1D"
}

Delete tracking source

Delete a tracking source.

Inputs

Tracking sourcesource_idtextRequired
The tracking source. Pick one, or give its ID from an earlier step.

Outputs

deletedtrue/false
Always true once deleted
source_idtext
The source deleted
Example output
{
  "deleted": true,
  "source_id": "TSO8E1F3B2A"
}

Get activity

Get one call, text or form submission with the caller's details, tracking source, recording link, tags, notes and custom fields.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.

Outputs

activityobject
The activity
Example output
{
  "activity": {
    "account_id": 12345,
    "agent": {
      "email": "jo@example.com",
      "id": "USR043E46722529BCB5",
      "name": "Jo Bloggs"
    },
    "agent_id": "USR043E46722529BCB5",
    "alternative_number": "+12512862740",
    "audio": "https://app.calltrackingmetrics.com/api/v1/accounts/12345/calls/CA9c7cbd7e0b6c4a1b/recording",
    "call_status": "answered",
    "called_at": "2020-04-13 04:52 PM -04:00",
    "caller_number": "+12512862740",
    "caller_number_format": "(251) 286-2740",
    "city": "Test City",
    "contact_number": "+12512862740",
    "country": "US",
    "custom_fields": {},
    "dial_status": "answered",
    "direction": "inbound",
    "duration": 45,
    "email": "",
    "hold_time": 3,
    "id": 629,
    "is_new_caller": false,
    "name": "Super Tester",
    "notes": "",
    "postal_code": "21201",
    "ring_time": 4,
    "sid": "CA9c7cbd7e0b6c4a1b",
    "source": "Website",
    "source_id": 1,
    "state": "MD",
    "status": "answered",
    "street": "",
    "tag_list": [],
    "talk_time": 38,
    "tracking_label": "",
    "tracking_number": "+13330004444",
    "tracking_number_id": 5,
    "unix_time": 1586811174
  }
}

Get call transcript

Get the transcript of a recorded call, as one text and as each speaker's turns. Says it isn't available when the call has none.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.

Outputs

activity_idtext
The call
availabletrue/false
False when the call has no transcript
segmentslist
Each speaker's turn, in order
sentimentnumber
CTM's sentiment score
texttext
The whole transcript
Example output
{
  "activity_id": "629",
  "available": true,
  "segments": [
    {
      "end_seconds": 2.5,
      "speaker": "Agent",
      "start_seconds": 0,
      "text": "How may I help you?"
    },
    {
      "end_seconds": 4.1,
      "speaker": "Caller",
      "start_seconds": 2.6,
      "text": "I'd like a quote."
    }
  ],
  "sentiment": 2,
  "text": "Agent: How may I help you?\nCaller: I'd like a quote."
}

List activities

List the call log, newest first: calls, texts and form submissions, with the caller, tracking source and number, duration and agent. Filter by type, dates, contact or search text. Gets one page; to see more, run it again with the 'after' it gives.

Inputs

Typesactivity_typeslist
Only these kinds of activity. Leave empty for all.One or more of: inbound (Incoming calls), outbound (Outgoing calls), msg_inbound (Incoming texts), msg_outbound (Outgoing texts), form (Form submissions).
Searchsearchtext
Only those matching this text, such as a name or phone number. CTM also takes field rules such as source:"Google Ads" or status:"answered".
Fromstart_datedate
Only activities on or after this day.
Untilend_datedate
Only activities on or before this day.
Contact phonecontact_numbertext
Only activities with a contact whose number starts with this, such as +1410.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.
Next pageaftertext
The 'after' value from an earlier run, to get the page after it.

Outputs

activitieslist
The activities, newest first
aftertext
Give this to the next run for the next page; empty on the last
countnumber
How many came back
has_moretrue/false
Whether there is a page after this one
totalnumber
How many match in all
Example output
{
  "activities": [
    {
      "account_id": 12345,
      "agent": {
        "email": "jo@example.com",
        "id": "USR043E46722529BCB5",
        "name": "Jo Bloggs"
      },
      "agent_id": "USR043E46722529BCB5",
      "alternative_number": "+12512862740",
      "audio": "https://app.calltrackingmetrics.com/api/v1/accounts/12345/calls/CA9c7cbd7e0b6c4a1b/recording",
      "call_status": "answered",
      "called_at": "2020-04-13 04:52 PM -04:00",
      "caller_number": "+12512862740",
      "caller_number_format": "(251) 286-2740",
      "city": "Test City",
      "contact_number": "+12512862740",
      "country": "US",
      "custom_fields": {},
      "dial_status": "answered",
      "direction": "inbound",
      "duration": 45,
      "email": "",
      "hold_time": 3,
      "id": 629,
      "is_new_caller": false,
      "name": "Super Tester",
      "notes": "",
      "postal_code": "21201",
      "ring_time": 4,
      "sid": "CA9c7cbd7e0b6c4a1b",
      "source": "Website",
      "source_id": 1,
      "state": "MD",
      "status": "answered",
      "street": "",
      "tag_list": [],
      "talk_time": 38,
      "tracking_label": "",
      "tracking_number": "+13330004444",
      "tracking_number_id": 5,
      "unix_time": 1586811174
    }
  ],
  "after": "",
  "count": 1,
  "has_more": false,
  "total": 1
}

List contact lists

List the account's contact lists with how many contacts each holds.

Inputs

Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

contact_listslist
The contact lists
countnumber
How many came back on this page
has_moretrue/false
Whether there is a page after this one
pagenumber
The page this is
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "contact_lists": [
    {
      "account_id": 12345,
      "contacts_count": 42,
      "created_at": "2026-04-22T14:09:46Z",
      "description": "Callers from the spring campaign",
      "id": "CL5A2B9C1D",
      "name": "Spring promotion",
      "updated_at": "2026-04-22T14:09:46Z"
    }
  ],
  "count": 1,
  "has_more": false,
  "page": 1,
  "total": 1,
  "total_pages": 1
}

List contacts in list

List the contacts in a contact list.

Inputs

Contact listlist_idtextRequired
The contact list. Pick one, or give its ID (CL...) from an earlier step.
Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

contactslist
The contacts
countnumber
How many came back on this page
has_moretrue/false
Whether there is a page after this one
pagenumber
The page this is
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "contacts": [
    {
      "email": "test@example.com",
      "first_name": "Test",
      "last_name": "Person",
      "number": "+13214005002"
    }
  ],
  "count": 1,
  "has_more": false,
  "page": 1,
  "total": 1,
  "total_pages": 1
}

List forms

List the account's FormReactor forms, which log web form submissions as leads and can call them back.

Inputs

Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

countnumber
How many came back on this page
formslist
The forms
has_moretrue/false
Whether there is a page after this one
pagenumber
The page this is
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "forms": [
    {
      "id": "FRT9A3C51B7",
      "name": "Contact us"
    }
  ],
  "has_more": false,
  "page": 1,
  "total": 1,
  "total_pages": 1
}

List text messages

List the text messages sent and received through your tracking numbers, filtered by direction, time or search text.

Inputs

Directiondirectiontext
Only received or only sent texts. Leave empty for both.One of: inbound (Received), outbound (Sent).
Searchsearchtext
Only those matching this text, such as a name or phone number. CTM also takes field rules such as source:"Google Ads" or status:"answered".
Fromstart_timedate and time
Only texts sent or received at or after this time.
Untilend_timedate and time
Only texts sent or received at or before this time.
Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

countnumber
How many came back on this page
has_moretrue/false
Whether there is a page after this one
messageslist
The text messages
pagenumber
The page this is
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "has_more": false,
  "messages": [
    {
      "id": "MSG0F3A9C2B1D"
    }
  ],
  "page": 1,
  "total": 1,
  "total_pages": 1
}

List tracking numbers

List the account's tracking numbers with their names, sources, status and routing.

Inputs

Numbernumbertext
Only this phone number, or numbers containing it.
Namenametext
Only numbers whose name matches this.
Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

countnumber
How many came back on this page
has_moretrue/false
Whether there is a page after this one
numberslist
The tracking numbers
pagenumber
The page this is
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "has_more": false,
  "numbers": [
    {
      "active": true,
      "formatted": "(410) 593-1874",
      "id": "TPNC3C4B23C348AEC2EE54EFD301979CD2EFF",
      "name": "Google Ads",
      "number": "+14105931874",
      "routing": "simultaneous",
      "source": "Google Ads",
      "status": "active",
      "tag_list": [],
      "type": "local",
      "url": "https://api.calltrackingmetrics.com/api/v1/accounts/12345/numbers/TPNC3C4B23C348AEC2EE54EFD301979CD2EFF.json"
    }
  ],
  "page": 1,
  "total": 1,
  "total_pages": 1
}

List tracking sources

List the tracking sources (Google Ads, a billboard, your website) CTM credits calls and texts to.

Inputs

Namenametext
Only sources whose name matches this.
Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

countnumber
How many came back on this page
has_moretrue/false
Whether there is a page after this one
pagenumber
The page this is
sourceslist
The tracking sources
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "has_more": false,
  "page": 1,
  "sources": [
    {
      "id": "TSO8E1F3B2A",
      "name": "Google Ads"
    }
  ],
  "total": 1,
  "total_pages": 1
}

List users

List the account's users and agents with their email, role and whether they're available.

Inputs

Emailemailtext
Only the user with this email address.
Searchsearchtext
Only users whose name matches this.
Pagepagenumber
Which page of results to get, starting at 1.At least 1.
Page sizeper_pagenumber
How many to return, 1 to 100. CTM's default is 10.From 1 to 100.

Outputs

countnumber
How many came back on this page
has_moretrue/false
Whether there is a page after this one
pagenumber
The page this is
totalnumber
How many there are in all
total_pagesnumber
How many pages there are
userslist
The users
Example output
{
  "count": 1,
  "has_more": false,
  "page": 1,
  "total": 1,
  "total_pages": 1,
  "users": [
    {
      "account_id": 12345,
      "email": "jo@example.com",
      "first_name": "Jo",
      "id": "USR043E46722529BCB5",
      "last_name": "Bloggs",
      "role": "admin",
      "status": "offline",
      "uid": 19197
    }
  ]
}

Record sale

Record whether a call led to a sale, what it was worth, when, and how good the lead was, so CTM can credit the source that brought it in. Replaces the sale already recorded on the activity.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.
Convertedconvertedtrue/false
On if the call resulted in a sale.
Valuevaluenumber
What the sale was worth, in dollars, such as 250.At least 0.
Sale datesale_datedate
The day the sale was made.
Lead scorescoretext
How good the call was, from 1 to 5.One of: 1 (1 (poor)), 2, 3, 4, 5 (5 (great)).
Sale namesale_nametext
A label for reports, such as the product or salesperson.

Outputs

activity_idtext
The activity
saleobject
The sale as CTM has it
Example output
{
  "activity_id": "629",
  "sale": {
    "conversion": 1,
    "name": "Kitchen remodel",
    "sale_date": "2026-11-10",
    "score": 5,
    "value": 250.0
  }
}

Remove contacts from list

Take one or more people off a contact list by phone number. The list itself stays.

Inputs

Contact listlist_idtextRequired
The contact list. Pick one, or give its ID (CL...) from an earlier step.
Phone numbersphone_numberslistRequired
The numbers to remove, like +14105551212.

Outputs

list_idtext
The contact list
phone_numberslist
The numbers removed
removedtrue/false
True once CTM removes them
Example output
{
  "list_id": "CL5A2B9C1D",
  "phone_numbers": [
    "+13214005002"
  ],
  "removed": true
}

Remove tag from activity

Remove one tag from a call, text or form submission.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.
TagtagtextRequired
The tag to remove.

Outputs

activity_idtext
The activity
statustext
CTM's answer, success
tagtext
The tag removed
Example output
{
  "activity_id": "629",
  "status": "success",
  "tag": "qualified"
}

Send text message

Send a text message (up to 160 characters) from one of your tracking numbers. The number must have texting turned on in CTM.

Inputs

Tracking numberfrom_numbertextRequired
The CTM tracking number to use. Pick one, or give its ID (TPN...) or the number in +1... form.
TototextRequired
The phone number to text, like +14105551212.
MessagemessagetextRequired
What to say, up to 160 characters.
Assign to agentagenttext
The CTM user (agent) to involve. Pick one or give their ID. The text is assigned to them.
Create contactcreate_contacttrue/false
On to add the person as a new contact in CTM if they aren't one yet.

Outputs

messageobject
The text, as CTM returned it
message_idtext
The text's ID, empty if CTM gave none
senttrue/false
True once CTM takes the text
totext
The number texted
Example output
{
  "message": {
    "id": "MSG0F3A9C2B1D"
  },
  "message_id": "MSG0F3A9C2B1D",
  "sent": true,
  "to": "+14105551212"
}

Start call

Call a phone number from one of your tracking numbers and connect it the way that number is set up to route, or to an agent you choose, who is rung first. Use it to call back a new lead.

Inputs

Number to callcall_numbertextRequired
The phone number to call, like +14105551212.
Tracking numberfrom_numbertextRequired
The CTM tracking number to use. Pick one, or give its ID (TPN...) or the number in +1... form.
Agentagenttext
The CTM user (agent) to involve. Pick one or give their ID. They are rung first and connected when they answer.
Contact namecontact_nametext
The name of the person being called.

Outputs

activity_idtext
The new call's activity ID, empty if CTM gave none
callobject
The call, as far as CTM said
call_numbertext
The number called
startedtrue/false
True once CTM starts the call
Example output
{
  "activity_id": "630",
  "call": {
    "account_id": 12345,
    "agent": {
      "email": "jo@example.com",
      "id": "USR043E46722529BCB5",
      "name": "Jo Bloggs"
    },
    "agent_id": "USR043E46722529BCB5",
    "alternative_number": "+12512862740",
    "audio": "https://app.calltrackingmetrics.com/api/v1/accounts/12345/calls/CA9c7cbd7e0b6c4a1b/recording",
    "call_status": "answered",
    "called_at": "2020-04-13 04:52 PM -04:00",
    "caller_number": "+12512862740",
    "caller_number_format": "(251) 286-2740",
    "city": "Test City",
    "contact_number": "+12512862740",
    "country": "US",
    "custom_fields": {},
    "dial_status": "answered",
    "direction": "outbound",
    "duration": 45,
    "email": "",
    "hold_time": 3,
    "id": 630,
    "is_new_caller": false,
    "name": "Super Tester",
    "notes": "",
    "postal_code": "21201",
    "ring_time": 4,
    "sid": "CA9c7cbd7e0b6c4a1b",
    "source": "Website",
    "source_id": 1,
    "state": "MD",
    "status": "answered",
    "street": "",
    "tag_list": [],
    "talk_time": 38,
    "tracking_label": "",
    "tracking_number": "+13330004444",
    "tracking_number_id": 5,
    "unix_time": 1586811174
  },
  "call_number": "+14107031212",
  "started": true
}

Submit form

Log a lead from any form or app in CTM's call log, through a FormReactor, so CTM attributes it and reacts as the form is set up to (such as calling the lead back). A form ID of your own creates a new FormReactor.

Inputs

Formform_idtextRequired
The FormReactor. Pick one, give its ID (FRT...), or type a name of your own to create one.
Phone numberphone_numbertextRequired
The lead's phone number, like +14105551212.
Namecaller_nametext
The lead's name.
Emailemailtext
The lead's email address.
Custom fieldscustom_fieldsobject
Values for your CTM custom fields, each under the field's API name, such as {"company": "Acme"}.

Outputs

form_idtext
The form
phone_numbertext
The lead's number
responseobject
CTM's answer, as given
submittedtrue/false
True once CTM takes it
Example output
{
  "form_id": "FRT9A3C51B7",
  "phone_number": "+14105551212",
  "response": {
    "status": "success"
  },
  "submitted": true
}

Update activity

Change the contact details on a call, text or form submission (name, email, other number, address), set its tags or fill in custom fields. Empty fields are left as they are.

Inputs

Activity IDactivity_idtextRequired
The activity's ID (a number), from 'List activities', a trigger or an earlier step.
Contact namenametext
The caller's name.
Emailemailtext
The caller's email address.
Other phonealternative_numbertext
Another number for the caller, like +14105551212.
Streetstreettext
The street address, with the house number.
Citycitytext
The city.
State or regionstatetext
The state, province or region.
Countrycountrytext
The country, such as US.
Postal codepostal_codetext
The ZIP or postal code.
Tagstagslist
The activity's tags, replacing those it has. Tags must already exist in CTM.
Custom fieldscustom_fieldsobject
Values for your CTM custom fields, each under the field's API name, such as {"company": "Acme"}.
Run CTM automationsrun_automationstrue/false
Off to stop CTM running its own triggers and integrations for this change. On by default.

Outputs

activityobject
The activity
Example output
{
  "activity": {
    "account_id": 12345,
    "agent": {
      "email": "jo@example.com",
      "id": "USR043E46722529BCB5",
      "name": "Jo Bloggs"
    },
    "agent_id": "USR043E46722529BCB5",
    "alternative_number": "+12512862740",
    "audio": "https://app.calltrackingmetrics.com/api/v1/accounts/12345/calls/CA9c7cbd7e0b6c4a1b/recording",
    "call_status": "answered",
    "called_at": "2020-04-13 04:52 PM -04:00",
    "caller_number": "+12512862740",
    "caller_number_format": "(251) 286-2740",
    "city": "Test City",
    "contact_number": "+12512862740",
    "country": "US",
    "custom_fields": {
      "company": "Acme"
    },
    "dial_status": "answered",
    "direction": "inbound",
    "duration": 45,
    "email": "",
    "hold_time": 3,
    "id": 629,
    "is_new_caller": false,
    "name": "Super Tester",
    "notes": "",
    "postal_code": "21201",
    "ring_time": 4,
    "sid": "CA9c7cbd7e0b6c4a1b",
    "source": "Website",
    "source_id": 1,
    "state": "MD",
    "status": "answered",
    "street": "",
    "tag_list": [],
    "talk_time": 38,
    "tracking_label": "",
    "tracking_number": "+13330004444",
    "tracking_number_id": 5,
    "unix_time": 1586811174
  }
}

Update tracking source

Rename a tracking source or change its matching rules or priority. Empty fields are left as they are.

Inputs

Tracking sourcesource_idtextRequired
The tracking source. Pick one, or give its ID from an earlier step.
Namenametext
A new name. Leave empty to keep it.
Online sourceonlinetrue/false
On for a website source (visitors see its numbers on your site), off for an offline one such as print or radio.
Referring address rulereferring_urltext
Visitors coming from addresses that match this pattern belong to the source, such as google\.com.
Landing page rulelanding_urltext
Visitors landing on pages that match this pattern belong to the source, such as gclid=.+ for Google Ads clicks.
Prioritypositionnumber
Where the source ranks when several match a visitor; 1 first.From 1 to 1000.

Outputs

sourceobject
The tracking source
Example output
{
  "source": {
    "id": "TSO8E1F3B2A",
    "name": "Google Ads (brand)"
  }
}

On this page