# CTM (CallTrackingMetrics)

> 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.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/calltrackingmetrics

## Actions

### Add contact to list

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

**Inputs**

- Contact list (`list_id`, text, required): The contact list. Pick one, or give its ID (CL...) from an earlier step.
- Phone number (`phone_number`, text, required): Their phone number, like +14105551212.
- First name (`first_name`, text): Their first name.
- Last name (`last_name`, text): Their last name.
- Email (`email`, text): Their email address.
- Street (`street`, text): The street address, with the house number.
- City (`city`, text): The city.
- State or region (`state`, text): The state, province or region.
- Country (`country`, text): The country, such as US.
- Postal code (`postal_code`, text): The ZIP or postal code.
- Custom fields (`custom_fields`, object): Values for your CTM custom fields, each under the field's API name, such as {"company": "Acme"}.

**Outputs**

- `added` (true/false): True once CTM adds them
- `contact` (object): The contact as sent
- `list_id` (text): The contact list

**Example output**

```json
{
  "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 ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.
- Note (`note`, text, required): The note to add.
- Written by (`author`, text): The CTM user the note is from. Leave empty for the agent on the activity.

**Outputs**

- `note` (object): The note added

**Example output**

```json
{
  "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 ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.
- Tag (`tag`, text, required): The tag to add, such as qualified.

**Outputs**

- `activity_id` (text): The activity
- `status` (text): CTM's answer, success
- `tag` (text): The tag added

**Example output**

```json
{
  "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**

- Name (`name`, text, required): The list's name.
- Description (`description`, text): What the list is for.

**Outputs**

- `contact_list` (object): The new contact list

**Example output**

```json
{
  "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**

- Name (`name`, text, required): The source's name, such as Google Ads.
- Online source (`online`, true/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 rule (`referring_url`, text): Visitors coming from addresses that match this pattern belong to the source, such as google\.com.
- Landing page rule (`landing_url`, text): Visitors landing on pages that match this pattern belong to the source, such as gclid=.+ for Google Ads clicks.
- Priority (`position`, number): Where the source ranks when several match a visitor; 1 first. From 1 to 1000.

**Outputs**

- `source` (object): The tracking source

**Example output**

```json
{
  "source": {
    "id": "TSO8E1F3B2A",
    "name": "Google Ads"
  }
}
```

### Delete contact list

Delete a contact list and the contacts on it.

**Inputs**

- Contact list (`list_id`, text, required): The contact list. Pick one, or give its ID (CL...) from an earlier step.

**Outputs**

- `deleted` (true/false): Always true once deleted
- `list_id` (text): The list deleted

**Example output**

```json
{
  "deleted": true,
  "list_id": "CL5A2B9C1D"
}
```

### Delete tracking source

Delete a tracking source.

**Inputs**

- Tracking source (`source_id`, text, required): The tracking source. Pick one, or give its ID from an earlier step.

**Outputs**

- `deleted` (true/false): Always true once deleted
- `source_id` (text): The source deleted

**Example output**

```json
{
  "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 ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.

**Outputs**

- `activity` (object): The activity

**Example output**

```json
{
  "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 ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.

**Outputs**

- `activity_id` (text): The call
- `available` (true/false): False when the call has no transcript
- `segments` (list): Each speaker's turn, in order
- `sentiment` (number): CTM's sentiment score
- `text` (text): The whole transcript

**Example output**

```json
{
  "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**

- Types (`activity_types`, list): 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).
- Search (`search`, text): 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".
- From (`start_date`, date): Only activities on or after this day.
- Until (`end_date`, date): Only activities on or before this day.
- Contact phone (`contact_number`, text): Only activities with a contact whose number starts with this, such as +1410.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.
- Next page (`after`, text): The 'after' value from an earlier run, to get the page after it.

**Outputs**

- `activities` (list): The activities, newest first
- `after` (text): Give this to the next run for the next page; empty on the last
- `count` (number): How many came back
- `has_more` (true/false): Whether there is a page after this one
- `total` (number): How many match in all

**Example output**

```json
{
  "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**

- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `contact_lists` (list): The contact lists
- `count` (number): How many came back on this page
- `has_more` (true/false): Whether there is a page after this one
- `page` (number): The page this is
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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 list (`list_id`, text, required): The contact list. Pick one, or give its ID (CL...) from an earlier step.
- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `contacts` (list): The contacts
- `count` (number): How many came back on this page
- `has_more` (true/false): Whether there is a page after this one
- `page` (number): The page this is
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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**

- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `count` (number): How many came back on this page
- `forms` (list): The forms
- `has_more` (true/false): Whether there is a page after this one
- `page` (number): The page this is
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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**

- Direction (`direction`, text): Only received or only sent texts. Leave empty for both. One of: `inbound` (Received), `outbound` (Sent).
- Search (`search`, text): 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".
- From (`start_time`, date and time): Only texts sent or received at or after this time.
- Until (`end_time`, date and time): Only texts sent or received at or before this time.
- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `count` (number): How many came back on this page
- `has_more` (true/false): Whether there is a page after this one
- `messages` (list): The text messages
- `page` (number): The page this is
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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**

- Number (`number`, text): Only this phone number, or numbers containing it.
- Name (`name`, text): Only numbers whose name matches this.
- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `count` (number): How many came back on this page
- `has_more` (true/false): Whether there is a page after this one
- `numbers` (list): The tracking numbers
- `page` (number): The page this is
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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**

- Name (`name`, text): Only sources whose name matches this.
- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `count` (number): How many came back on this page
- `has_more` (true/false): Whether there is a page after this one
- `page` (number): The page this is
- `sources` (list): The tracking sources
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "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**

- Email (`email`, text): Only the user with this email address.
- Search (`search`, text): Only users whose name matches this.
- Page (`page`, number): Which page of results to get, starting at 1. At least 1.
- Page size (`per_page`, number): How many to return, 1 to 100. CTM's default is 10. From 1 to 100.

**Outputs**

- `count` (number): How many came back on this page
- `has_more` (true/false): Whether there is a page after this one
- `page` (number): The page this is
- `total` (number): How many there are in all
- `total_pages` (number): How many pages there are
- `users` (list): The users

**Example output**

```json
{
  "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 ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.
- Converted (`converted`, true/false): On if the call resulted in a sale.
- Value (`value`, number): What the sale was worth, in dollars, such as 250. At least 0.
- Sale date (`sale_date`, date): The day the sale was made.
- Lead score (`score`, text): How good the call was, from 1 to 5. One of: `1` (1 (poor)), `2`, `3`, `4`, `5` (5 (great)).
- Sale name (`sale_name`, text): A label for reports, such as the product or salesperson.

**Outputs**

- `activity_id` (text): The activity
- `sale` (object): The sale as CTM has it

**Example output**

```json
{
  "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 list (`list_id`, text, required): The contact list. Pick one, or give its ID (CL...) from an earlier step.
- Phone numbers (`phone_numbers`, list, required): The numbers to remove, like +14105551212.

**Outputs**

- `list_id` (text): The contact list
- `phone_numbers` (list): The numbers removed
- `removed` (true/false): True once CTM removes them

**Example output**

```json
{
  "list_id": "CL5A2B9C1D",
  "phone_numbers": [
    "+13214005002"
  ],
  "removed": true
}
```

### Remove tag from activity

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

**Inputs**

- Activity ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.
- Tag (`tag`, text, required): The tag to remove.

**Outputs**

- `activity_id` (text): The activity
- `status` (text): CTM's answer, success
- `tag` (text): The tag removed

**Example output**

```json
{
  "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 number (`from_number`, text, required): The CTM tracking number to use. Pick one, or give its ID (TPN...) or the number in +1... form.
- To (`to`, text, required): The phone number to text, like +14105551212.
- Message (`message`, text, required): What to say, up to 160 characters.
- Assign to agent (`agent`, text): The CTM user (agent) to involve. Pick one or give their ID. The text is assigned to them.
- Create contact (`create_contact`, true/false): On to add the person as a new contact in CTM if they aren't one yet.

**Outputs**

- `message` (object): The text, as CTM returned it
- `message_id` (text): The text's ID, empty if CTM gave none
- `sent` (true/false): True once CTM takes the text
- `to` (text): The number texted

**Example output**

```json
{
  "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 call (`call_number`, text, required): The phone number to call, like +14105551212.
- Tracking number (`from_number`, text, required): The CTM tracking number to use. Pick one, or give its ID (TPN...) or the number in +1... form.
- Agent (`agent`, text): The CTM user (agent) to involve. Pick one or give their ID. They are rung first and connected when they answer.
- Contact name (`contact_name`, text): The name of the person being called.

**Outputs**

- `activity_id` (text): The new call's activity ID, empty if CTM gave none
- `call` (object): The call, as far as CTM said
- `call_number` (text): The number called
- `started` (true/false): True once CTM starts the call

**Example output**

```json
{
  "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**

- Form (`form_id`, text, required): The FormReactor. Pick one, give its ID (FRT...), or type a name of your own to create one.
- Phone number (`phone_number`, text, required): The lead's phone number, like +14105551212.
- Name (`caller_name`, text): The lead's name.
- Email (`email`, text): The lead's email address.
- Custom fields (`custom_fields`, object): Values for your CTM custom fields, each under the field's API name, such as {"company": "Acme"}.

**Outputs**

- `form_id` (text): The form
- `phone_number` (text): The lead's number
- `response` (object): CTM's answer, as given
- `submitted` (true/false): True once CTM takes it

**Example output**

```json
{
  "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 ID (`activity_id`, text, required): The activity's ID (a number), from 'List activities', a trigger or an earlier step.
- Contact name (`name`, text): The caller's name.
- Email (`email`, text): The caller's email address.
- Other phone (`alternative_number`, text): Another number for the caller, like +14105551212.
- Street (`street`, text): The street address, with the house number.
- City (`city`, text): The city.
- State or region (`state`, text): The state, province or region.
- Country (`country`, text): The country, such as US.
- Postal code (`postal_code`, text): The ZIP or postal code.
- Tags (`tags`, list): The activity's tags, replacing those it has. Tags must already exist in CTM.
- Custom fields (`custom_fields`, object): Values for your CTM custom fields, each under the field's API name, such as {"company": "Acme"}.
- Run CTM automations (`run_automations`, true/false): Off to stop CTM running its own triggers and integrations for this change. On by default.

**Outputs**

- `activity` (object): The activity

**Example output**

```json
{
  "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 source (`source_id`, text, required): The tracking source. Pick one, or give its ID from an earlier step.
- Name (`name`, text): A new name. Leave empty to keep it.
- Online source (`online`, true/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 rule (`referring_url`, text): Visitors coming from addresses that match this pattern belong to the source, such as google\.com.
- Landing page rule (`landing_url`, text): Visitors landing on pages that match this pattern belong to the source, such as gclid=.+ for Google Ads clicks.
- Priority (`position`, number): Where the source ranks when several match a visitor; 1 first. From 1 to 1000.

**Outputs**

- `source` (object): The tracking source

**Example output**

```json
{
  "source": {
    "id": "TSO8E1F3B2A",
    "name": "Google Ads (brand)"
  }
}
```
