Permission
2
2
Location
2
get_near_walls
Returns a list of all walls and region_walls in the vicinity of user's location
2
2
search_location_nominatim
Search location for term with nominatim and sort the results based on distance from current location
2
2
search_location
Search location for term with and sort the results based on distance from current location
2
2
2
Wall
2
wall_administration
Create, edit or modify wall. earning money is on by default on public walls with advertisement. exclude_categories is used for types of messages that admin does not want to be shown on his/her wall
2
renew_invitation_code
Create invitation hash for private invites if 'status = add' and remove invitation hash if 'status = delete'
2
get_group_members
Returns a list of users with full detail who are already joined in the input chat_id
2
2
2
follow_wall
Follow wall and join chat if wall is public, otherwise, send a request for the admin
2
2
2
get_wall_followers
Returns a list of the followers of the wall, also user can search among the followers name
2
2
3
2
2
2
2
2
2
2
2
unkick_user
Reverse the action of kick out from chat by the user with administrative privilege
2
2
3
2
3
2
2
2
2
RTC
2
2
2
2
2
2
2
2
2
2
2
2
2
Message
2
2
2
2
2
delete_message
Delete messages by message_id given in a list. for_me is an option that if exists only delete message for user
2
3
2
2
2
2
2
2
2
2
get_trend
Returns a list of most viewed pictures posted in public walls. results can be limited by term and/or time
2
2
get_message_acknowledge
Response to the server that user received the messages up to the time mentioned as last_message_date, in order to update last seen in the chat
2
2
2
2
2
2
2
3
sync_acknowledge
Informs server that all messages up to update_message_id should be considered read for this session
Route
2
Sticker
2
create_sticker_album
Create a sticker album with a given name, and picture as album picture. every sticker should assign to a unique emoji. albums can be private or public in pre-defined categories
2
get_album_stickers
Returns a list of all the stickers in the sticker album by sticker_album_id
2
2
2
set_sticker_album_priority
User can set priority to marked sticker albums in order to show based on that priority
2
2
get_sticker_album_categories
Returns a list of dictionaries containing name and id of sticker album categories
2
2
sticker_summaries
Returns all the public sticker albums, or specific types of sticker albums
Contact
2
2
get_user_info
Gets a list of users as explained below and returns a list of information about these users
2
contact_search
Get a term and search among all user names, first names, last names etc of all registered users in Pantel for matches. returns true for a full_match if the term has complete match, otherwise returns false
2
contact_unblock
Unblock any user by one of the parameters listed as input if has been blocked before by the user
2
2
import_contact
Receives a list of dictionaries including 'phone_number' and 'name' and adds them to the user contacts
2
2
File
2
2
2
2
2
Chat
2
2
set_typing
Set user's status to 'typing' while user is typing or sending file, this status can be seen by any other member of that chat, either it is a group or private chat
Ai
3
Auth
2
2
generate_qrcode
Generate a qrcode to login for a user that has an active login-in session in another device
2
register
Create account for the first time or after delete account, it needs phone_code which is provided by send_code
2
2
set_encryption_key
Informs pantel server that from now on every requests from UI would be encrypted with this new key
2
2
2
delete_uncurrent_session
Delete every other sessions of the user except the one that calls it
2
2
send_code
Request a secure code for register into Pantel for the first time or login into a new device. the sending_method showes where it sends the code; device or sms. if the user already has a live session code will be sent to it's device, otherwise code will be sent as sms
2
forget_password
Remove password from account via email link. the link has been requested from login with forget_password switch
2
login
Create a session for an already registered user. it can be called with forget_password for recovering the account
2
2
2
remove_account
Remove account while user does not know password nor access to the email and wants to delete everything from the account without login into it
2
Account
2
2
migrate
Migrate user's profile to destination phone number and receive a text message containing a phone code on that phone number in order to authenticate the migration
2
send_ticket
User can send ticket or report problem, issue or anything that user believes it is worth sharing with Pantel Team
2
backup_users
Submit a request from user in order to create a backup file from all user's chats (all of them if no chat_id is given) and send the file via email after a short period of time
2
2
verify_email
After set_email user receives an email from pantel which contains a link, by clicking on that link this route will be called with hashpass attached to that link and an html page will be shown as result
2
search
Search for users or wall or both. results can be sorted based on distance from user. output contains result for 1 page. using page and base leads to view other pages. input page equals to next sorts result ascending in base number and prev sorts results descending
2
2
set_auto_reply
Change auto reply status, 0 for deactivate auto reply 1 for active auto reply
2
2
2
register_device
Store register_id for user's device in DB in order to send notification and other services provided by smartphone vendors
2
migrate_authentication
User must have a phone code received on the destination phone number from migrate with the code user can authenticate the migration to the new phone number
2
add_address
Add address to user profile in order to send and receive products or services in store
2
2
change_invite_status
User can define who can invite him/her to a wall, nobody, contacts or everyone
2
change_notification_status
Change status for notification on this session or on all sessions the status changes from on to off or reverse every time this route is called
2
2
modify_name
User can edit first name and last name. a short description about the user can be added here as an optional info
2
2
2
2
2
change_visible_location
User can define if he/she wants to be visible to other users on the map, or not
2
update_address
Update user's address in account in order to send and receive products or services in store
2
2
2
2