rinkel_list_calls
List calls
List call detail records (inbound and outbound calls) with date, direction, status (ANSWERED, MISSED, VOICEMAIL, ANSWERING_SERVICE), duration, external and internal number, the users involved, notes, and (when the account has Rinkel AI insights) the AI summary and sentiment. Use for 'who called today', 'which calls did we miss this week', 'calls longer than 5 minutes'. Newest first by default. Rinkel API: GET /call-detail-records.
输入参数pagesortfiltercontactend_dateper_pagestatusesuser_idshas_notesdirectionssentimentssort_order另有 12 个
rinkel_get_call
Get a call
Get one call detail record by its Rinkel id (the `id` field of rinkel_list_calls): numbers, users, status, duration, notes, voicemail and call-recording ids, AI insights. Rinkel API: GET /call-detail-records/{id}.
输入参数call_record_id必填
rinkel_get_call_by_network_id
Get a call by network call id
Get one call detail record by its network `callId` (the id Rinkel sends in webhook events), optionally with insights and notes. Rinkel API: GET /call-detail-records/by-call-id/{callId}.
输入参数include_detailsnetwork_call_id必填
rinkel_get_call_transcription
Get a call transcription
Get the raw transcription of a call by its network `callId` (needs Rinkel AI insights on the account; 404 when the call has none). Rinkel API: GET /call-detail-records/by-call-id/{callId}/transcription.
输入参数network_call_id必填
rinkel_get_call_recording_url
Get a call recording URL
Get a temporary URL (valid 3 hours) to stream or download a call recording. The id is `callRecording.id` of a call record. Append `download` as a query parameter to the URL to download instead of stream. Rinkel API: GET /call-recordings/{id}/stream.
输入参数call_recording_id必填
rinkel_list_voicemails
List voicemails
List voicemail messages (call records with status VOICEMAIL): caller, date, duration, whether new, and the voicemail id. Newest first. With is_new=true Rinkel ignores every other filter and returns only unplayed voicemails. Rinkel API: GET /voicemails.
输入参数pagefilteris_newtopicsend_dateper_pagehas_notessort_orderstart_datedate_presetis_anonymouscontact_lookup另有 2 个
rinkel_count_new_voicemails
Count new voicemails
Number of voicemails that have not been played yet. Rinkel API: GET /voicemails/new-count.
无需输入参数。
rinkel_get_voicemail_url
Get a voicemail URL
Get a temporary URL (valid 3 hours) to stream or download a voicemail. The id is `voicemail.id` of a call or voicemail record. Rinkel API: GET /voicemails/{id}/stream.
输入参数voicemail_id必填
rinkel_list_contacts
List contacts
List the contacts shared with everyone in the account (plus the Rinkel system contact, tag 'system'): names, company, phone numbers, email. Rinkel API: GET /contacts.
输入参数pagefilterletterper_page
rinkel_get_contact
Get a contact
Get one contact by id. Rinkel API: GET /contacts/{id}.
输入参数contact_id必填
rinkel_find_contact_by_number
Find a contact by phone number
Find the contact that owns a phone number (E.164 such as +31612345678 works best). 404 when there is none. Rinkel API: GET /contacts/find-by-number/{number}.
输入参数phone_number必填
rinkel_list_users
List users
List the account's users: name, email, phone number, role (ADMIN, USER, ANSWERINGSERVICE), availability schedule and status, and `fixed`/device info (`deviceId` is needed to start a call). Rinkel API: GET /users.
输入参数include_avatars
rinkel_get_user
Get a user
Get one user by id, including preferences, notification settings, schedule and `deviceId`. Rinkel API: GET /users/{id}.
输入参数user_id必填include_avatar
rinkel_list_numbers
List phone numbers
List the account's Rinkel phone numbers: id, label, number, status (ACTIVE, SUSPENDED, PENDING_PORTING_IN ...), activation date and the users assigned. Rinkel API: GET /numbers.
无需输入参数。
rinkel_get_number
Get a phone number
Get one Rinkel number with its full dial plan: greeting, business hours schedule, call forwarding targets and ring logic, voice menu, call recording and caller-id settings. Rinkel API: GET /numbers/{id}.
输入参数number_id必填
rinkel_list_recordings
List greeting recordings
List the uploaded audio recordings used in the dial plan (greetings, announcements, voice-over scripts): name, description, duration and where each is used. Not call recordings. Rinkel API: GET /recordings.
输入参数pagesortper_pagesort_order
rinkel_list_webhooks
List webhooks
List the webhook subscriptions (events incomingCall, outgoingCall, callStart, callEnd, callInsights) with URL and active flag. Webhooks need the Expert plan. Rinkel API: GET /webhooks.
无需输入参数。
rinkel_validate_phone_number
Validate a phone number
Check a phone number for a country and return its normalised form. With check_inventory=true Rinkel also checks whether the number is available to order. Rinkel API: GET /misc/validate-phone-number.
输入参数number必填check_inventorycountry_iso_code必填
rinkel_add_call_note
Add a call note
WRITE: add a note to a call record (visible to everyone in the account who sees the call). The id is the call record's `id`; if Rinkel answers 404, retry with the record's `callId`. Rinkel API: PUT /call-detail-records/{callId}/note.
输入参数content必填call_record_id必填
rinkel_update_call_note
Update a call note
WRITE: replace the text of an existing note on a call record (the note id is in `notes[].id` of the call record). Rinkel API: PATCH /call-detail-records/{callId}/note/{noteId}.
输入参数content必填note_id必填call_record_id必填
rinkel_delete_call_note
Delete a call note
WRITE, irreversible: delete one note from a call record. Needs confirm=true after the user approved it. Rinkel API: DELETE /call-detail-records/{callId}/note/{noteId}.
输入参数confirmnote_id必填call_record_id必填
rinkel_create_contact
Create a contact
WRITE: create a contact. It is shared with everyone in the Rinkel account (all users see it and calls from its numbers show its name). Rinkel API: POST /contacts.
输入参数emailnumbers必填last_namefirst_namecompany_namedefault_outbound_number_id
rinkel_update_contact
Update a contact
WRITE: update a contact (PUT semantics). `numbers` is required and REPLACES all stored numbers, and an omitted default_outbound_number_id CLEARS it; omitted names, company and email keep their stored value. Read the contact first (rinkel_get_contact) and resend what must stay. The system contact cannot be changed. Rinkel API: PUT /contacts/{id}.
输入参数emailnumbers必填last_namecontact_id必填first_namecompany_namedefault_outbound_number_id
rinkel_delete_contact
Delete a contact
WRITE, irreversible: delete a contact for the whole account. Needs confirm=true after the user approved it. The Rinkel system contact cannot be deleted. Rinkel API: DELETE /contacts/{id}.
输入参数confirmcontact_id必填
rinkel_block_number
Block a number
WRITE: block a number from calling ANY of the account's numbers. Accepts an E.164 number, 'anonymous', or a prefix wildcard such as '+31*' (a wildcard must end the value and include a country code; a broad wildcard blocks every caller from that country). Undo with rinkel_unblock_number. Rinkel API: POST /privacy/block-number.
输入参数number必填reason
rinkel_unblock_number
Unblock a number
WRITE: remove a number (or the same wildcard pattern that was blocked) from the block list so it can call again. Rinkel API: DELETE /privacy/unblock-number.
输入参数number必填
rinkel_start_call
Start an outgoing call
WRITE, COSTS CALL MINUTES: starts a real phone call. Rinkel rings the given user device first and, once it is answered, dials `to` using the chosen Rinkel number as caller id, so call charges apply to the account and the person called sees the number. Needs confirm=true, set only after the user explicitly asked to place this call. Get device_id from rinkel_list_users (`fixed`/device info or `deviceId`) and number_id from rinkel_list_numbers. Rinkel API: POST /dial.
输入参数to必填confirmanonymousdevice_id必填number_id必填