Placetel MCP by usefulapi
v1.20.1Read Placetel calls, recordings, numbers and routing; edit contacts, start calls, send SMS.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
placetel_get_account Get account
The Placetel account this API key belongs to: user id, name, email, company, platform (e.g. PROFI), primary SIP user id and the numbers the key may use. GET /me.
placetel_list_users List users
List the web users of the account (main account and sub-users) with name, email, login, type, permissions and numbers. Filter by name, email, login or type. GET /users.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter by email. |
first_name | string | Filter by first name. |
last_name | string | Filter by last name. |
login | string | Filter by login. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
type | string | Only the main account or only sub-users. |
placetel_list_sip_users List SIP users (extensions)
List SIP users (phone extensions, softphones, fax and trunk lines) with extension number (did), caller id, type, online state and registrations. SIP passwords and PINs are never returned. GET /sip_users.
| Parameter | Type | Description |
|---|---|---|
description | string | Filter by description. |
did | integer | Filter by internal extension number. |
name | string | Filter by name. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
username | string | Filter by SIP username. |
placetel_get_sip_user Get SIP user
One SIP user (extension) by id: sipuid, extension, caller id, type, linked web user, online state and call settings. The SIP password and PINs are never returned. GET /sip_users/{id}.
| Parameter | Type | Description |
|---|---|---|
sip_user_id * | integer | Placetel SIP user id (from placetel_list_sip_users). |
placetel_list_calls List incoming calls
Incoming calls (accepted, missed, blocked, voicemail) on one day, today by default: caller number, called number, duration, matching contact, voicemail file URL and unread flag. For a different day pass date. GET /calls.
| Parameter | Type | Description |
|---|---|---|
date | string | Day to list, yyyy-mm-dd (default: today). |
from_number | string | Only calls from this caller number. |
order | string | Sort order by time. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
to_number | string | Only calls to this of your numbers. |
type | string | Call outcome filter. |
placetel_get_call Get call
One incoming call by id: caller, called number, type, duration, contact, voicemail file URL. GET /calls/{id}.
| Parameter | Type | Description |
|---|---|---|
call_id * | integer | Placetel call id (from placetel_list_calls). |
placetel_list_call_detail_records List call detail records
Call detail records (billing view) for one day: from, to, answering SIP user, length in seconds, cost amount and description. date is required. GET /call_detail_records.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day to list, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
placetel_list_recordings List call recordings
Call recordings with direction, from, to, duration, time and the file URL. Filter by direction, number or day. GET /recordings.
| Parameter | Type | Description |
|---|---|---|
date | string | Only recordings of this day, yyyy-mm-dd. |
direction | array | Directions to include, e.g. ["in","out"]. |
from | string | Only recordings from this number. |
order | string | Sort order by time. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
to | string | Only recordings to this number. |
placetel_list_contacts List contacts
List the shared phone-book contacts with names, company, phone/mobile/fax numbers, emails, tags and blocked flag. Filter by name, company, email, number or update time. search_number finds a contact by any of its numbers. GET /contacts.
| Parameter | Type | Description |
|---|---|---|
blocked | boolean | Only blocked (true) or only non-blocked (false) contacts. |
company | string | Filter by company. |
email | string | Filter by private email. |
email_work | string | Filter by work email. |
first_name | string | Filter by first name. |
last_name | string | Filter by last name. |
mobile | string | Filter by private mobile. |
mobile_work | string | Filter by work mobile. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
phone | string | Filter by private phone. |
phone_work | string | Filter by work phone. |
search_number | string | Find the contact that owns this phone number (any of its number fields). |
speeddial | integer | Filter by speed-dial code. |
updated_since | string | Only contacts updated at or after this date/time. |
updated_until | string | Only contacts updated at or before this date/time. |
placetel_get_contact Get contact
One contact by id with all its fields. GET /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Placetel contact id (from placetel_list_contacts). |
placetel_list_numbers List phone numbers
List the phone numbers of the account with number, E.164 form, name, description, site, activation state and the routing object id that answers them. GET /numbers.
| Parameter | Type | Description |
|---|---|---|
activated | boolean | Only activated (true) or deactivated (false) numbers (Profi plans). |
description | string | Filter by description. |
name | string | Filter by name. |
number | string | Filter by number. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
prefix | string | Filter by area-code prefix. |
site_id | integer | Only numbers of this site (see placetel_list_sites). |
placetel_get_number Get phone number
One phone number by id: number, E.164, name, site, carrier, activation state and routing id. GET /numbers/{id}.
| Parameter | Type | Description |
|---|---|---|
number_id * | integer | Placetel number id (from placetel_list_numbers). |
placetel_list_number_profiles List number profiles
The routing profiles of a phone number (for example Standard, Holiday, Night) and which one is active. Needs a Placetel plan with number profiles. GET /numbers/{number_id}/profiles.
| Parameter | Type | Description |
|---|---|---|
number_id * | integer | Placetel number id. |
placetel_list_routings List routings
List routing objects (what happens to an incoming call: forward, group, routing plan, IVR, queue, voicemail, API) with their settings and time settings. Filter by update time. GET /routings.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
updated_since | string | Only routings updated at or after this date/time. |
updated_until | string | Only routings updated at or before this date/time. |
placetel_get_routing Get routing
One routing object by its id or by the phone number it answers. GET /routings/{number_or_id}.
| Parameter | Type | Description |
|---|---|---|
number_or_id * | string | A routing id (e.g. 4711) or a phone number (e.g. 022112345678). |
placetel_list_routing_plans List routing plans
List routing plans (time-based call distribution plans) with name, description, ring duration and object counts. GET /routing_plans.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
placetel_list_groups List groups
List ring groups (ring_all, hunt, monitoring) with members. Filter by name, description or type. GET /groups.
| Parameter | Type | Description |
|---|---|---|
description | string | Filter by description. |
name | string | Filter by name. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
type | string | Group type. |
placetel_list_sites List sites
List company sites (locations) with address and prefix. GET /sites.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
placetel_list_faxes List faxes
In- and outbound faxes with from/to number, status, pages, duration, type and the file URL. Filter by direction or number. GET /faxes.
| Parameter | Type | Description |
|---|---|---|
from_number | string | Only faxes from this number. |
order | string | Sort order. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
to_number | string | Only faxes to this number. |
type | string | Direction filter. |
placetel_get_fax Get fax
One fax by id: numbers, status, status info, pages, retries, report and file URL. GET /faxes/{id}.
| Parameter | Type | Description |
|---|---|---|
fax_id * | integer | Placetel fax id (from placetel_list_faxes). |
placetel_list_call_center_queues List call center queues
List call-center queues with name, ring time, loops and prompts. Use the ids to filter call-center calls. GET /call_center_queues.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
placetel_list_call_center_agents List call center agents
List call-center agents with name, status, extension, priority and last call time. GET /call_center_agents.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
placetel_list_call_center_calls List call center calls
Call-center calls of one day with queue, agent, from/to, answer status, start/end time and time spent in queue. date is required; narrow to queues with queue_ids. GET /call_center_calls.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day to list, yyyy-mm-dd. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty. |
queue_ids | array | Only these queue ids (see placetel_list_call_center_queues). |
placetel_create_contact Create contact
WRITE: create a contact in the shared Placetel phone book. Give at least a name, company or number. Nothing is sent to the contact. POST /contacts.
| Parameter | Type | Description |
|---|---|---|
address | string | Private address. |
address_work | string | Work address. |
blocked | boolean | true = calls from this contact are blocked. |
company | string | Company. |
email | string | Private email address. |
email_work | string | Work email address. |
fax | string | Private fax number. |
fax_work | string | Work fax number. |
first_name | string | First name. |
last_name | string | Last name. |
mobile | string | Private mobile number. |
mobile_work | string | Work mobile number. |
phone | string | Private phone number. |
phone_work | string | Work phone number. |
speeddial | string | Speed-dial code. |
tags | array | Tags (replaces the existing tags on update; [] clears them). |
placetel_update_contact Update contact
WRITE: update the given fields of a contact (omitted fields stay; an empty string clears a text field). tags replaces the whole tag list; blocked=true blocks the caller. PUT /contacts/{id}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Placetel contact id. |
address | string | Private address. |
address_work | string | Work address. |
blocked | boolean | true = calls from this contact are blocked. |
company | string | Company. |
email | string | Private email address. |
email_work | string | Work email address. |
fax | string | Private fax number. |
fax_work | string | Work fax number. |
first_name | string | First name. |
last_name | string | Last name. |
mobile | string | Private mobile number. |
mobile_work | string | Work mobile number. |
phone | string | Private phone number. |
phone_work | string | Work phone number. |
speeddial | string | Speed-dial code. |
tags | array | Tags (replaces the existing tags on update; [] clears them). |
placetel_activate_number_profile Activate number profile
WRITE: switch the active routing profile of a phone number (for example to Holiday or Night). This changes LIVE call handling for that number immediately: callers are routed differently. Find ids with placetel_list_number_profiles. PUT /numbers/{number_id}/profiles.
| Parameter | Type | Description |
|---|---|---|
number_id * | integer | Placetel number id. |
profile_id * | integer | Id of the profile to activate. |
placetel_initiate_call Initiate call
WRITE: start a real phone call. Placetel rings the given SIP user's phone first and, once answered, dials the target number. This places an actual call and call charges apply. Do not use without the user's explicit request. POST /calls.
| Parameter | Type | Description |
|---|---|---|
sipuid * | string | SIP user that is rung first, e.g. 7771234567@fpbx.de (the sipuid from placetel_list_sip_users). |
target * | string | Number to call, e.g. +4922112345678. |
from_name | string | Name shown for the call. |
placetel_send_sms Send SMS
WRITE: send a real SMS to a phone number from the Placetel account. The recipient receives it immediately and SMS charges apply; it cannot be recalled. Do not use without the user's explicit request and exact text. POST /sms.
| Parameter | Type | Description |
|---|---|---|
message * | string | The exact message text (sent unchanged). |
recipient * | string | Recipient number, e.g. +4915112345678. |