Placetel MCP by usefulapi

v1.20.1
io.usefulapi/placetel Checked 3 days ago Published 1 day ago

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

ParameterTypeDescription
emailstringFilter by email.
first_namestringFilter by first name.
last_namestringFilter by last name.
loginstringFilter by login.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
typestringOnly 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.

ParameterTypeDescription
descriptionstringFilter by description.
didintegerFilter by internal extension number.
namestringFilter by name.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
usernamestringFilter 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}.

ParameterTypeDescription
sip_user_id *integerPlacetel 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.

ParameterTypeDescription
datestringDay to list, yyyy-mm-dd (default: today).
from_numberstringOnly calls from this caller number.
orderstringSort order by time.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
to_numberstringOnly calls to this of your numbers.
typestringCall outcome filter.

placetel_get_call Get call

One incoming call by id: caller, called number, type, duration, contact, voicemail file URL. GET /calls/{id}.

ParameterTypeDescription
call_id *integerPlacetel 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.

ParameterTypeDescription
date *stringDay to list, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
datestringOnly recordings of this day, yyyy-mm-dd.
directionarrayDirections to include, e.g. ["in","out"].
fromstringOnly recordings from this number.
orderstringSort order by time.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
tostringOnly 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.

ParameterTypeDescription
blockedbooleanOnly blocked (true) or only non-blocked (false) contacts.
companystringFilter by company.
emailstringFilter by private email.
email_workstringFilter by work email.
first_namestringFilter by first name.
last_namestringFilter by last name.
mobilestringFilter by private mobile.
mobile_workstringFilter by work mobile.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
phonestringFilter by private phone.
phone_workstringFilter by work phone.
search_numberstringFind the contact that owns this phone number (any of its number fields).
speeddialintegerFilter by speed-dial code.
updated_sincestringOnly contacts updated at or after this date/time.
updated_untilstringOnly contacts updated at or before this date/time.

placetel_get_contact Get contact

One contact by id with all its fields. GET /contacts/{id}.

ParameterTypeDescription
contact_id *integerPlacetel 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.

ParameterTypeDescription
activatedbooleanOnly activated (true) or deactivated (false) numbers (Profi plans).
descriptionstringFilter by description.
namestringFilter by name.
numberstringFilter by number.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
prefixstringFilter by area-code prefix.
site_idintegerOnly 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}.

ParameterTypeDescription
number_id *integerPlacetel 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.

ParameterTypeDescription
number_id *integerPlacetel 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.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
updated_sincestringOnly routings updated at or after this date/time.
updated_untilstringOnly 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}.

ParameterTypeDescription
number_or_id *stringA 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.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
descriptionstringFilter by description.
namestringFilter by name.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
typestringGroup type.

placetel_list_sites List sites

List company sites (locations) with address and prefix. GET /sites.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
from_numberstringOnly faxes from this number.
orderstringSort order.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
to_numberstringOnly faxes to this number.
typestringDirection filter.

placetel_get_fax Get fax

One fax by id: numbers, status, status info, pages, retries, report and file URL. GET /faxes/{id}.

ParameterTypeDescription
fax_id *integerPlacetel 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.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
date *stringDay to list, yyyy-mm-dd.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25). Not every endpoint honours it; keep paging until a page is empty.
queue_idsarrayOnly 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.

ParameterTypeDescription
addressstringPrivate address.
address_workstringWork address.
blockedbooleantrue = calls from this contact are blocked.
companystringCompany.
emailstringPrivate email address.
email_workstringWork email address.
faxstringPrivate fax number.
fax_workstringWork fax number.
first_namestringFirst name.
last_namestringLast name.
mobilestringPrivate mobile number.
mobile_workstringWork mobile number.
phonestringPrivate phone number.
phone_workstringWork phone number.
speeddialstringSpeed-dial code.
tagsarrayTags (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}.

ParameterTypeDescription
contact_id *integerPlacetel contact id.
addressstringPrivate address.
address_workstringWork address.
blockedbooleantrue = calls from this contact are blocked.
companystringCompany.
emailstringPrivate email address.
email_workstringWork email address.
faxstringPrivate fax number.
fax_workstringWork fax number.
first_namestringFirst name.
last_namestringLast name.
mobilestringPrivate mobile number.
mobile_workstringWork mobile number.
phonestringPrivate phone number.
phone_workstringWork phone number.
speeddialstringSpeed-dial code.
tagsarrayTags (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.

ParameterTypeDescription
number_id *integerPlacetel number id.
profile_id *integerId 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.

ParameterTypeDescription
sipuid *stringSIP user that is rung first, e.g. 7771234567@fpbx.de (the sipuid from placetel_list_sip_users).
target *stringNumber to call, e.g. +4922112345678.
from_namestringName 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.

ParameterTypeDescription
message *stringThe exact message text (sent unchanged).
recipient *stringRecipient number, e.g. +4915112345678.