auth.user.GetSessionToken |
Consumes a consumable session token to get a permanent one |
auth.user.Login |
Used to login a user and retrieve an access token |
auth.user.Logout |
|
activity.event.ClearUnreadCount |
Clear the activity unread count |
activity.event.ExportAsCSV |
export the list of activity events in a CSV file |
activity.event.ExportAsCSVAsync |
export the list of activity events in a CSV file, given through a shared link later |
activity.event.GetList |
Get a list of activity events |
activity.event.GetNextList |
Ask for the next X results from events |
activity.event.GetNotifications |
Get a list of activity events notified for the contexted user |
activity.event.GetUnreadCount |
Get unread event count by projects |
activity.event.NewEvent |
Used to generate push message |
activity.event.NewEventList |
Used to generate push message |
armoured.armoured.GetEncryptionSessionForItem |
|
calendar.event.AddComment |
Add a comment to a calendar event |
calendar.event.AddExternalAttachment |
Attach an external file to a calendar event |
calendar.event.AddExternalAttachmentFromTemplate |
Attach an external file to a calendar event, from a template |
calendar.event.AddExternalParticipants |
Add external participant for a specific event |
calendar.event.AddSubscriptionLink |
Add user to subscription agenda list, it will create token if it not already exist |
calendar.event.AddTag |
Add a tag to a Calendar Event |
calendar.event.AddUnifiedSubscriptionLink |
Add user to subscription agenda list, it will create token if it not already exist on unified view |
calendar.event.AddWimiAttachment |
Attach a wimi file to a calendar event |
calendar.event.ChangeInviteStatus |
Change Status of Agenda Event Participant. Accept / Refuse invite to an event |
calendar.event.ConversationArchive |
Archive a conversation |
calendar.event.ConversationClearUnseen |
Clear unseen count for conversation |
calendar.event.ConversationSetSilent |
Set silent for conversation |
calendar.event.CopyEventList |
|
calendar.event.Create |
Create a calendar event |
calendar.event.DeleteComment |
Delete a calendar event comment |
calendar.event.DeleteSubscription |
Get calendar subscription link for unified projects |
calendar.event.DeleteSubscriptionUnified |
Get calendar subscription link for unified projects |
calendar.event.DownloadAttachment |
Download a calendar event attachment |
calendar.event.EditComment |
Edit a comment of a calendar event |
calendar.event.GenerateWOGeneralFile |
create an external file to a calendar event |
calendar.event.Get |
Get the details of a calendar events |
calendar.event.GetAttachmentList |
get the list of files attached to a calendar event |
calendar.event.GetComments |
Get teh comments of a calendar event |
calendar.event.GetDownloadInviteLink |
Download the ics for a specific event |
calendar.event.GetExternalParticipants |
Get external participant for a specific event |
calendar.event.GetList |
Get a list of events |
calendar.event.GetListUnified |
Get a list of events for unified calendars |
calendar.event.GetSubscriptionLink |
Get a calendar subscription link |
calendar.event.GetUnifiedSubscriptionLink |
Get calendar subscription link for unified projects |
calendar.event.GetUserSubscriptionList |
Get calendar subscription link for projects |
calendar.event.GetUserSubscriptionListUnified |
Get calendar subscription link for unified calendar |
calendar.event.LinkTag |
Link a tag to a calendar event |
calendar.event.PreviewAttachment |
Request attachment preview |
calendar.event.Remove |
Delete a calendar event |
calendar.event.RemoveExternalAttachment |
remove an external attachment from the calendar |
calendar.event.RemoveExternalParticipants |
Remove external participant for a specific event |
calendar.event.RemoveRecurrenceOccurrence |
Delete a recurrence occurrence |
calendar.event.RemoveTag |
Remove a tag in a task |
calendar.event.RemoveWimiAttachment |
remove a wimi attachment from the calendar |
calendar.event.ToggleCommentReaction |
Toggle a reaction to a comment |
calendar.event.Update |
Update a calendar event - only the provided data are updated. |
calendar.event.UpdateProject |
Move a calendar event from one project to another |
chat.chat.AddAttachment |
Attach a file to a chat |
chat.chat.AddInternalAttachment |
Attach a internal file to a chat |
chat.chat.AddInternalAttachments |
|
chat.chat.AddMembers |
Add members to a chat |
chat.chat.AddUsers |
Add users to a chat |
chat.chat.CanceledTyping |
Send a notification that the user canceled typing |
chat.chat.ClearUnseen |
Clear unseen count for chat |
chat.chat.Create |
Create a group chat |
chat.chat.CreateChannel |
Create channel chat |
chat.chat.DeleteMessage |
Delete a message |
chat.chat.Disable |
Disable a chat for a user |
chat.chat.DownloadAttachment |
Download a chat attachment |
chat.chat.EditMessage |
Edit a message |
chat.chat.EditName |
Edit a chat name |
chat.chat.FavoriteMessage |
Favorite a message |
chat.chat.GetAttachmentList |
Get attachment list |
chat.chat.GetChat |
Get chat |
chat.chat.GetConversationList |
|
chat.chat.GetFavorites |
Get favorite list |
chat.chat.GetLinks |
Get shared links in a chat |
chat.chat.GetList |
Get chat list |
chat.chat.GetMessageBeforeAfter |
Search through chat messages |
chat.chat.LoadAttachments |
Get chat attachments from offset of given message id, until limit |
chat.chat.LoadMessages |
Get chat messages from offset of given message id, until limit |
chat.chat.PostMessage |
Post message to chat |
chat.chat.PreviewAttachment |
Request attachment preview |
chat.chat.RemoveMembers |
Remove members from a chat |
chat.chat.RemoveUsers |
Remove users from a chat |
chat.chat.Search |
Search through chat messages |
chat.chat.SendPromptToAssistant |
Sends a prompt to a generative AI assistant |
chat.chat.SetMessageIntegrationAttachment |
Set the integration attachment for a message |
chat.chat.SetSilent |
Set silent for chat |
chat.chat.StartedTyping |
Send a notification that the user is typing |
chat.chat.UnfavoriteMessage |
Unfavorite a message |
chat.chat.UpdateGroupChatProfilePicture |
|
chat.message.AddMessageReaction |
Add a reaction for a message |
chat.message.DeleteMessageReaction |
Delete a reaction for a message |
comment.comment.GetCommentsForItem |
|
comment.comment.GetUserCommentedItems |
|
comment.comment.LoadCommentItem |
|
comment.comment.LoadComments |
|
communication.air.CreatePersistentRoom |
create a persistent room |
communication.air.GetOrCreatePersistentRoom |
Get persistent airtime room |
communication.air.GetPersistentRoom |
Get persistent airtime room |
communication.air.ScheduleCall |
Schedule an AirTime call |
communication.chat.ConversationArchive |
|
communication.chat.ConversationArchiveList |
|
communication.chat.ConversationClearUnseen |
|
communication.chat.ConversationCommentAdded |
|
communication.chat.ConversationCommentEdited |
|
communication.chat.ConversationCommentReactionToggled |
|
communication.chat.ConversationCommentRemoved |
|
communication.chat.ConversationSetSilent |
|
document.directory.AddComment |
Add comment to a directory |
document.directory.AddLink |
Add link to directory |
document.directory.AddMembersToDir |
Add members to dir |
document.directory.AddTag |
Add a tag on a directory |
document.directory.ConversationArchive |
Archive a conversation |
document.directory.ConversationClearUnseen |
Clear unseen count for conversation |
document.directory.ConversationSetSilent |
Set silent for conversation |
document.directory.Copy |
Copy a directory elsewhere |
document.directory.CopyList |
Copy a list of directory elsewhere |
document.directory.Create |
Creates a directory |
document.directory.CreateDirectoryTree |
Creates a directory tree when uploading a folder |
document.directory.DeleteComment |
Delete a directory comment |
document.directory.DeniedList |
Get the list of denied directories for a user |
document.directory.DeniedListWithIndeterminate |
Get the list of denied directories for a user |
document.directory.EditComment |
Edit a comment of a directory |
document.directory.EditMembersAccessToDirectories |
Edits members access on one or several directories |
document.directory.EditName |
Edits the name of a directory |
document.directory.Get |
Get a directory only given its id |
document.directory.GetComments |
Get comments of a directory |
document.directory.GetDirectoryUsers |
Get list of all users having access to given directory |
document.directory.GetMembersAccess |
Get users access of a dir |
document.directory.GetProjectIds |
|
document.directory.GetPropertyList |
Remove a property from a directory |
document.directory.GetReadOnlyStateForUser |
Get the read only state of the directory for the current user |
document.directory.GetVirtualPathList |
|
document.directory.LinkPathInfo |
Get file path info |
document.directory.LinkTag |
Link a tag to a directory |
document.directory.Move |
Move directories to a folder |
document.directory.MoveLink |
Move links from one directory to another |
document.directory.MoveToGarbageCollector |
Permanently delete one or more directories |
document.directory.MoveToTrash |
Delete one or more directories |
document.directory.PathInfo |
Get directory path info |
document.directory.PromoteToProject |
Creates a project from a directory |
document.directory.RemoveMembersFromDir |
Remove members from dir |
document.directory.RemoveProperty |
Remove a property from a directory |
document.directory.RemoveTag |
Remove a tag on a directory |
document.directory.RemoveTagByLabel |
Remove a tag on a file using the label |
document.directory.Restore |
Restore one or more directories from trash |
document.directory.SetDirectoryDefault |
Set default access on a directory |
document.directory.SetPropertyValue |
Add a property to a directory |
document.directory.ToggleCommentReaction |
Toggle a reaction to a comment |
document.entry.DirList |
List folders found in a folder |
document.entry.GetProjectTree |
Get flat tree for project |
document.entry.GetSharingZipperFileList |
|
document.entry.GetZipperFileList |
|
document.entry.List |
List the files and folders found in a folder |
document.entry.ListServiceEntries |
List the service entries of a folder |
document.entry.TrashList |
List the files, the link and folders found in the trash |
document.entry.TreeInfo |
Retrieve Tree info from directory |
document.file.ActivateSharing |
Activate sharing on one file |
document.file.AddComment |
Add a file comment |
document.file.AddTag |
Add a tag on a file |
document.file.AttachmentIntoDoc |
Take an attachment from chat or task and add it to the document module |
document.file.AttachmentIntoVersion |
Add attachment as file version |
document.file.CheckConflict |
check a file name conflict |
document.file.CheckConflicts |
Check conflicts of a specific name in a folder |
document.file.ConversationArchive |
Archive a conversation |
document.file.ConversationClearUnseen |
Clear unseen count for conversation |
document.file.ConversationSetSilent |
Set silent for conversation |
document.file.Copy |
Copy a file elsewhere |
document.file.CopyList |
Copy a list of file elsewhere |
document.file.CreateFromTemplate |
Create a file from a given template |
document.file.DeactivateSharing |
Deactivate sharing on one file |
document.file.DeleteComment |
Delete a file comment |
document.file.Download |
|
document.file.DownloadForPreviewInternal |
|
document.file.EditComment |
Edit a file comment |
document.file.EditDescription |
Edit a file description |
document.file.EditName |
Edits the name of a file |
document.file.GetComments |
Get the comments of a file |
document.file.GetDownloadToken |
|
document.file.GetEvents |
Get the historical events of a file |
document.file.GetIPTCMetadata |
Get IPTC data for a file |
document.file.GetMetaDataFields |
Get all metadata fields for account |
document.file.GetOnlineEditionFileToken |
Get file token for editing file online using only office |
document.file.GetProperties |
get the properties of a file |
document.file.GetPropertyList |
Get the properties associated to the given file |
document.file.GetVersions |
Get a file's versions list |
document.file.GuestLink |
Get guest link of a file - DEPRECATED - use ActivateSharing |
document.file.IsVersionOf |
Checks if a version of a file is on the server (by md5) |
document.file.LinkTag |
Link a tag to a file |
document.file.Lock |
Used to lock a file. |
document.file.Move |
Move files to a folder |
document.file.MoveToGarbageCollector |
Permanently delete one or more files |
document.file.MoveToTrash |
Delete one or more files |
document.file.NotifyOpen |
Warn users that a specific file is being opened |
document.file.PathInfo |
Get file path info |
document.file.RemoveProperty |
Remove a property from a file |
document.file.RemoveTag |
Remove a tag in a file |
document.file.RemoveTagByLabel |
Remove a tag in a file using the label |
document.file.Restore |
Restore one or more files |
document.file.SetPropertyValue |
Set a property to a file |
document.file.ToggleCommentReaction |
Toggle a reaction to a comment |
document.file.Unlock |
Used to unlock a file. |
document.file.Unversion |
Unversion one file |
document.file.Upload |
|
document.general_file.GetDownloadToken |
|
document.general_file.GetOnlineEditionGeneralFileToken |
Get file token for editing external file online using only office |
document.general_file.UploadShared |
|
document.service.BringBack |
Bring backs a service file back to the wimi (and removes the .html in wimi if it succeeds). Only works with google ATM. |
document.service.CheckToken |
Check service token |
document.service.Download |
Directly download the document from the service. Only google is supported right now. |
document.service.Edit |
Edit (and upload) a file to service. Only google is supported right now. |
document.service.GetEntries |
Get service entries |
document.service.ImportEntries |
Import service entries |
document.service.LinkDirs |
Link directories from service entries |
document.sharing.Activate |
Activate sharing on one directory |
document.sharing.AllowInvisibleSub |
Allow invisible subdirectories on a shared folder |
document.sharing.AllowUpload |
Allow upload on a given shared folder |
document.sharing.Deactivate |
Deactivate sharing on one directory |
document.sharing.DisallowInvisibleSub |
Disallow invisible subs on a shared folder |
document.sharing.DisallowUpload |
Disallow upload on a given shared folder |
document.sharing.ExportAsCsv |
Activate sharing on one directory |
document.sharing.RemovePassword |
Remove a password of a shared folder |
document.sharing.SetExpirationDate |
Set an expiration date for an item |
document.sharing.SetPassword |
Set a password for an item |
document.signature.DownloadGeneralFile |
Download a signature attachment (general file) |
document.signature.PreviewAttachment |
Request attachment preview |
document.signature.SignatureFromAttachment |
|
document.signature.SignatureFromExternalFile |
Create a file signature from an external file |
document.signature.SignatureFromInternalAttachment |
|
document.signature.SignatureFromInternalFile |
Create a Signature from an internal (already existent in account) file |
document.template.AddTag |
Add a tag on a general file template |
document.template.CreateFromExternalFile |
Create a file template from an external file |
document.template.CreateFromInternalFile |
|
document.template.LinkTag |
Link tag to template |
document.template.ListForAccount |
List file templates of account |
document.template.PreviewTemplate |
Request template preview |
document.template.RemoveTag |
Remove tag from template |
document.template.Restore |
Restore trashed file template |
document.template.Trash |
Put file template to trash |
document.template.UpdateDescription |
Update file template description |
document.template.UpdateName |
Update file template name |
document.trash.EmptyTrash |
Empty the trash |
document.trash.List |
List the files found in the trash given a set of filters |
document.trash.ListDirectories |
List the folders found in the trash given a set of filters |
document.trash.ListLinks |
List the links found in the trash given a set of filters |
document.trash.RestoreDirectories |
Restore one or more directories |
document.trash.RestoreFile |
Restore one or more files |
document.trash.RestoreLinks |
Restore one or more links |
document.validation.AddTemplateVisaRequest |
Add a visa template request |
document.validation.AddVisaRequest |
Add a visa request |
document.validation.CreateFolderTemplateValidation |
Create a validation template on a folder |
document.validation.CreateTemplateVisa |
Create a template visa |
document.validation.CreateVisa |
Create a visa |
document.validation.DeleteFolderTemplateValidation |
|
document.validation.ExportAccountValidationssAsXLS |
Exports all document validations of the account as XLS |
document.validation.ExportAccountValidationssAsXLSAsyncJob |
Exports all document validations of the account as XLS (async job) |
document.validation.ExportMyRequestsAsXLS |
Exports all document requests made by the calling user as XLS |
document.validation.ExportMyRequestsAsXLSAsyncJob |
Exports all document requests made by the calling user as XLS (ASYNC JOB) |
document.validation.ExportMyValidationAsXLS |
Exports all document validation the calling user has access to as XLS |
document.validation.ExportMyValidationAsXLSAsyncJob |
|
document.validation.GetFolderTemplateValidation |
Create a validation template on a folder |
document.validation.GetVisa |
Get a visa for a document |
document.validation.ListTemplateVisa |
List the visa templates related to an account |
document.validation.ListVisa |
List the visas related to a user |
document.validation.RemindValidator |
send a reminder email to a validator |
document.validation.RemoveTemplateVisa |
Remove a template visa |
document.validation.RemoveTemplateVisaRequest |
Remove a template visa's request |
document.validation.RemoveVisa |
Remove a visa |
document.validation.RemoveVisaRequest |
Remove a visa's request |
document.validation.ResetResponseStatus |
Reset a response for a validator |
document.validation.ToggleTemplateVisaFavorite |
Toggle a template visa as favorite |
document.validation.UpdateFolderTemplateValidation |
Update a validation template on a folder |
document.validation.UpdateRequestExpiryDate |
Update expiry date of a doc validation request |
document.validation.UpdateRequestStatus |
Update status of a doc validation request |
document.validation.UpdateRequestValidators |
Remove a visa's request |
document.validation.UpdateResponseStatus |
Update a response for a validator |
document.validation.UpdateTemplateRequestPeriodicity |
Update a template request's duration and periodicity |
document.validation.UpdateTemplateRequestValidators |
Update a template request validators |
document.validation.UpdateTemplateVisaDescription |
Update a template visa's description |
document.validation.UpdateVisaDescription |
Update a visa's description |
gantt.gantt.AddGanttLink |
Add a gantt link between two Wimi items |
gantt.gantt.AddGanttLinkBetweenProjects |
Add a gantt link between two projects |
gantt.gantt.AddList |
Add a list to gantt view |
gantt.gantt.BatchAddList |
Add lists to gantt view |
gantt.gantt.BatchRemoveList |
Batch remove lists from gantt view |
gantt.gantt.GetGanttLinks |
Get all gantt links (between tasks or between lists) for a project |
gantt.gantt.GetGanttProjectIds |
Get the project id list of all project that are in gantt |
gantt.gantt.GetUnifiedGanttLinks |
Get all gantt links (between tasks or between lists) for all the project of the account |
gantt.gantt.RemoveGanttLink |
Remove a gantt link between two items |
gantt.gantt.RemoveGanttLinkBetweenProjects |
Remove a gantt link between two items |
gantt.gantt.RemoveList |
Remove a list from gantt view |
gantt.gantt.ResetPlanning |
Reset the gantt planning for the tasks list and tasks |
link.link.AddComment |
Add a link comment |
link.link.AddTag |
Add a tag on a link |
link.link.ConversationArchive |
Archive a conversation |
link.link.ConversationClearUnseen |
Clear unseen count for conversation |
link.link.ConversationSetSilent |
Set silent for conversation |
link.link.CopyLink |
Copy links from one directory into another |
link.link.DeleteComment |
Delete a link comment |
link.link.Edit |
Edit url and/or title of link |
link.link.EditComment |
Edit a link comment |
link.link.GetComments |
Get comments of a link |
link.link.GetEvents |
Get the historical events of a link |
link.link.LinkTag |
Link a tag to a link |
link.link.PathInfo |
Get link path info |
link.link.RemoveTag |
Remove a tag in a link |
link.link.RemoveTagByLabel |
Remove a tag in a link using the label |
link.link.RestoreLink |
Restore link from trash |
link.link.ToggleCommentReaction |
Toggle a reaction to a comment |
link.link.TrashLink |
Put a list of links to trash |
mail.client.CreateGandiClient |
Create a Gandi Client for the specified wimi account |
mail.domain.BuyDomain |
Buy a gandi domain |
mail.domain.CreateMailbox |
Create a mailbox on the current account main domain |
mail.domain.EditDomainAutoRenew |
Edit a domain auto renew status |
mail.domain.FetchDomainAvailability |
Query gandi with domain name to check a list of available domain & their data (prices) |
mail.domain.FetchDomainData |
Fetch domain metadata |
mail.domain.GetAccountDomains |
Get all the gandi domains of the given account |
mail.domain.SynchronizeDomains |
Synchronize domains from GANDI & creates them in WIMI if needed |
mail.mailbox.ActivateResponder |
Activate the automatic responder for the given mailbox |
mail.mailbox.AddMailboxAlias |
Add an alias to a mailbox |
mail.mailbox.AddOwnersToMailbox |
Insert given users as owners of the given gandi mailbox |
mail.mailbox.CreateMailbox |
Create a mailbox on the current account main domain |
mail.mailbox.DeleteMailbox |
Delete a mailbox |
mail.mailbox.DeleteMailboxAlias |
Delete an alias for a mailbox |
mail.mailbox.EditAutorenew |
Activate autorenew for a mailbox. Implemented in node3 async mode |
mail.mailbox.EditMailboxAlias |
Update the aliases for a mailbox |
mail.mailbox.FetchDomainMailboxes |
Fetch all the mailboxes associated to the account's main domain. Implemented in node3 async mode |
mail.mailbox.FetchMailboxPackage |
Get the mailbox package for an account |
mail.mailbox.FetchMailboxPackageList |
Get all the available mailbox packages and the selected one (if any) |
mail.mailbox.FetchMailboxesStorage |
Fetch the quota storage on each mailbox of a domain |
mail.mailbox.FetchUserMailboxes |
Fetch all the mailboxes associated to the current user. Implemented in node3 async mode |
mail.mailbox.ImportMailboxesFromCSV |
Import a csv and create a list of mailboxes |
mail.mailbox.PurgeMailbox |
Purge the given mailbox |
mail.mailbox.RemoveOwnersFromMailbox |
Activate the automatic responder for the given mailbox |
mail.mailbox.SetMailboxPackage |
Set a mailbox package for an account |
mail.mailbox.UpdateMailbox |
|
mail.mailbox.UpdateMailboxPassword |
Activate the automatic responder for the given mailbox |
mail.webmail.AddWebmailAccount |
|
mail.webmail.DeleteWebmailAccount |
|
mail.webmail.GenerateICSEvent |
Generate an ics file from the data |
mail.webmail.GetConnectedWebmail |
|
mail.webmail.GetWebmailAccountList |
|
mail.webmail.SendWebmailAction |
|
mail.webmail.SetConnectionStatus |
|
mail.webmail.UpdateWebmailAccount |
|
main.account.AcceptUniversignGcu |
Accept the Universign GCU (General Conditions of Use) for the account. |
main.account.ActivateCustomDepartmentList |
Activate the custom department list; this means the custom list will be used instead of the default one |
main.account.ActivateUsers |
Activate list of users |
main.account.AddCreditCard |
|
main.account.AddCredits |
|
main.account.AddCustomDepartmentItem |
Add a new item to account custom department list |
main.account.AddUser |
Add a user |
main.account.BatchUpdateUsersRole |
Batch update role for user list |
main.account.DeactivateCustomDepartmentList |
Deactivate the custom department list; this means the default list will be used instead of the custom one |
main.account.DeactivateUsers |
Deactivate list of users |
main.account.DeleteAccount |
Delete the account |
main.account.DeleteCustomDepartmentItem |
Delete a custom item |
main.account.DeleteUsers |
Delete list of users permanently |
main.account.EditCategory |
Edit a category |
main.account.EditUser |
Edit a user |
main.account.ExportProjectsDiskUsageAsCsv |
Export the projects disk usage for the account as a CSV file |
main.account.ExportUsers |
Export users in a file |
main.account.ExportUsersRights |
Export users rights in a file |
main.account.GenerateAPIKey |
Generate an API Key for the current account |
main.account.Get |
Get account info |
main.account.GetAccountExternalInfo |
Get external information for an account |
main.account.GetAccountPayingServices |
Get the account paying services (available & selected with metadata) |
main.account.GetAccountSignaturePackages |
Get the account signature package list |
main.account.GetActivityRelatedRequestList |
Get wapi routes that should update the activity unread counter |
main.account.GetAllAvailableUsers |
Get all available users. Which mean a status will be returned. |
main.account.GetBillingInfo |
|
main.account.GetCalendars |
Get the calendars of a user |
main.account.GetCategories |
Get categories of a user |
main.account.GetCountryStateCode |
Retrieve big object containing country & state ISO-3166-1&2 code |
main.account.GetCurrentSignaturePackage |
Get the current signature package |
main.account.GetCustomDepartmentList |
Get the account custom department list |
main.account.GetDepartmentList |
Get the list of department for the account |
main.account.GetDocumentNodeCount |
Return document nodes count |
main.account.GetListOfUsersSharingSameProjects |
Get list of users sharing the same projects |
main.account.GetMemberListProjectsAuth |
Get list of privileges on projects for a member list |
main.account.GetMemberProjectsAuth |
Get list of privileges on projects for a member |
main.account.GetNotificationSettings |
get account notification settings (enabled/disabled) |
main.account.GetProject |
Get a user project |
main.account.GetProjectDocumentSize |
Get a user project document size |
main.account.GetProjectTemplates |
Get the project templates for that account |
main.account.GetProjects |
Get projects of a user |
main.account.GetProjectsStats |
Get projects stats for user available projects |
main.account.GetServiceUsers |
Get the users of the given service and format the output to correspond the ones of Wimi |
main.account.GetSettings |
Get settings for the account |
main.account.GetTutorialInfo |
Return the necessary info to display the welcome tutorial |
main.account.GetUniversignGcuAcceptanceStatus |
Get the status of Universign GCU (General Conditions of Use) acceptance for the requested account |
main.account.GetUser |
Get a user |
main.account.GetUserProjectsAuth |
Get list of privileges on projects for a user |
main.account.GetUsers |
Get all users |
main.account.ImportUsersFromCSV |
Import users from csv |
main.account.ListProperties |
Get all the account properties |
main.account.ListUnconnectedUsers |
|
main.account.MoveCustomDepartmentItem |
Move a custom item to given position |
main.account.PayingServicesAddEntity |
Add an entity of debit_type to the selected paying service |
main.account.RegenerateGeneralPassword |
Regenerate the password of the Wimi Backup user of this account |
main.account.RemoveAPIKey |
Remove an API Key for the current account |
main.account.RemoveCreditCard |
|
main.account.SelfDeactivate |
Deactivate the current user |
main.account.SendUserListInvitation |
Send invitation to given user id list |
main.account.SetBillingInfo |
Set billing info of account |
main.account.SetNotificationSettings |
Set account notification settings |
main.account.SetOnBoardingInfo |
Set the on boarding info for the account |
main.account.SetSettings |
Set settings for the account |
main.account.SetUISetting |
Customization - set ui settings |
main.account.SetWelcomeActivity |
Set welcome activity |
main.account.ShouldPerformPayment |
|
main.account.SubscribeToSignaturePackage |
Subscribe to a signature package |
main.account.ToggleSupportInterventionAuthorization |
Toggle support intervention authorization on account |
main.account.ToggleThirdPartyService |
Enable/Disable a third party service for the account |
main.account.UnsubscribeToSignaturePackage |
Subscribe to a signature package |
main.account.UpdateCustomDepartmentItem |
Add a new item to account custom department list |
main.account.UpdateProperty |
|
main.appli.GetWebappVersion |
Get the webapp version |
main.group.AddMember |
Add a member to a group |
main.group.AddTag |
Add a tag on a user group |
main.group.BatchAddMembers |
Batch add members to a group |
main.group.Create |
Create a user group |
main.group.Delete |
Delete a user group |
main.group.Edit |
Edit a user group |
main.group.EditGroupCreationUser |
Edit a group creation user |
main.group.LinkTag |
Link a tag to a group |
main.group.List |
List the user group of this account |
main.group.RemoveMember |
Remove a member from a group |
main.group.RemoveTag |
Remove a tag in a user group |
main.group.RemoveTagByLabel |
Remove a tag in a user group using the label |
main.personalizedentry.AddChoice |
add a choice to a personalized entry of type qcu / qcm |
main.personalizedentry.BatchUpdateEntryAccess |
Insert object access for specified entry (workspace/users) |
main.personalizedentry.BatchUpdateEntryProjectAuth |
change entry access to workspace (module) |
main.personalizedentry.Create |
create a personalized entry |
main.personalizedentry.DeleteChoice |
remove a choice |
main.personalizedentry.DeleteEntries |
Batch delete entries |
main.personalizedentry.GetEntryGlobalAccess |
get workspace / module access of an entry |
main.personalizedentry.GetItemEntries |
Get item entries and their value |
main.personalizedentry.GetPersonalizedEntries |
get a personalized entry |
main.personalizedentry.GetPersonalizedEntriesForObject |
get a personalized entries for users |
main.personalizedentry.GetWorkspaceEntryAccess |
get specific workspace / module access of an entry |
main.personalizedentry.MoveChoice |
Move a choice to another position |
main.personalizedentry.MoveEntry |
Move a choice to another position |
main.personalizedentry.RenameChoice |
add a choice to a personalized entry of type qcu / qcm |
main.personalizedentry.SetEntryValue |
Set value for the specified entry |
main.personalizedentry.UpdateName |
Update name of an entry |
main.project.ActivateModules |
|
main.project.AddDefaultReminder |
|
main.project.AddTag |
|
main.project.Archive |
|
main.project.BatchSetUsersAuth |
|
main.project.ChangedProjects |
|
main.project.Create |
|
main.project.CreateDefaultProject |
|
main.project.CreateFromTemplate |
|
main.project.DeactivateModules |
|
main.project.Delete |
|
main.project.DeleteDefaultReminder |
|
main.project.GetProjectTagCountInFamily |
|
main.project.GetPropertyList |
|
main.project.GetTemplateList |
|
main.project.GetTree |
|
main.project.GetUsersAuth |
|
main.project.GetUsersList |
|
main.project.GetVirtualPathList |
|
main.project.IsServiceAvailableForProject |
|
main.project.LinkTag |
|
main.project.LockProjectTree |
|
main.project.RemoveProperty |
|
main.project.RemoveTag |
|
main.project.RemoveTagByLabel |
|
main.project.RemoveTagFamilyRestriction |
|
main.project.RemoveUserGroups |
|
main.project.RemoveUsers |
|
main.project.ReplaceUser |
|
main.project.Restore |
|
main.project.SetDriveSync |
|
main.project.SetMemberAuth |
|
main.project.SetPropertyValue |
|
main.project.SetTagFamilyRestriction |
|
main.project.SetUserAuth |
|
main.project.SetUserGroupAuth |
|
main.project.UnlockProjectTree |
|
main.project.Update |
|
main.project.UpdateDefaultModule |
|
main.project.UpdateDefaultReminder |
|
main.saml.CreateServiceToken |
Create a token that can be used by an external service to create a limited access token for that user |
main.saml.GetAccountList |
Get a list of account associated to the user linked to the given access token |
main.search.AddRecentSearch |
Add search to recent search user history |
main.search.ClearSearchHistory |
Clear search history for specified user |
main.search.GetUserRecentSearch |
Get user recent search history |
main.search.Search |
Search items in the wimi with a query |
main.search.SearchDocument |
|
main.search.SearchDocumentsWithMetadata |
|
main.search.SearchMore |
Ask for the next X results from Wimi's global search |
main.search.SearchPersonalizedEntries |
Search items in the wimi with a query |
main.search.SearchProjects |
Search through projects in the wimi with a query |
main.session.Load |
Load some info about the session |
main.session.LoadExtra |
Load some info about the session |
main.session.LoadProjects |
Getting all projects the user has access to and their information |
main.session.LoadUsers |
Getting all users the user can see and their information |
main.session.Ping |
Ping |
main.tag.AddTagsToFamilies |
Add a list of tags to a list of tag families |
main.tag.BatchMergeTags |
merge several tags into another |
main.tag.BatchRemove |
remove several tags |
main.tag.ChangeColor |
Change the color of a tag |
main.tag.Create |
create a tag |
main.tag.CreateFamily |
create a family tag |
main.tag.Get |
get a tag |
main.tag.GetAll |
get all tags for this account |
main.tag.GetByLabel |
get a tag by its label |
main.tag.GetFamilyTags |
get a family tag |
main.tag.GetStats |
|
main.tag.ImportFromCSV |
Import tags from csv |
main.tag.MergeTags |
merge one tag into another |
main.tag.Remove |
remove a tag (globally) |
main.tag.RemoveFamilyTag |
remove a family tag tag |
main.tag.RemoveTagsFromFamily |
Remove a list of tags from a family |
main.tag.Rename |
|
main.tag.UpdateFamily |
update a family tag |
main.user.AddTag |
Add a tag on a user |
main.user.BatchLinkTag |
Link a tag to a list of user |
main.user.BatchRemoveTag |
Remove a tag in a list of users |
main.user.BatchUpdateProperty |
|
main.user.BequeathUsers |
|
main.user.CreateLimitedTokenForService |
Create a token with restricted accesses for a specific service |
main.user.CreateServiceToken |
Create a token that can be used by an external service to create a limited access token for that user |
main.user.DeleteServiceToken |
Delete a user service token |
main.user.EditAvatar |
Update the avatar of a user |
main.user.GetCaldavSyncSettings |
Get Caldav synchronization settings |
main.user.GetGlobalStatus |
Get global status of a user. |
main.user.GetKnownUsersId |
Return the id list of all the users knows |
main.user.GetNeoInfos |
|
main.user.GetNotificationSettings |
get user notification settings (enabled/disabled) |
main.user.GetRelativeUsersId |
Return the id list of all the users that have at least one project in common with the acting user |
main.user.GetSelf |
Get self user |
main.user.GetUserServicesInfo |
Get third party services info for a user |
main.user.LinkTag |
Link a tag to a user |
main.user.ListProperties |
Get all the user properties |
main.user.RemoveProperty |
Remove a property for the user |
main.user.RemoveTag |
Remove a tag in a user |
main.user.RemoveTagByLabel |
Remove a tag in a user using the label |
main.user.RevokeService |
Revoke a third party service for a user |
main.user.SetNotificationSettings |
set user notification settings (enabled/disabled) |
main.user.SetProjectCaldavSync |
Set Caldav synchronization for a project |
main.user.SetStatus |
Set the status of the user. Status is linked to the session_id. |
main.user.SetUserLanguage |
Set a user language |
main.user.SetUserStatus |
Set the status of the user. |
main.user.ToggleSignatureRequest |
|
main.user.Update |
Update the user information |
main.user.UpdateProperty |
|
main.util.GetSpecificTrad |
Get specific trad in specific lang |
meeting.meeting.Add |
Add a meeting |
meeting.meeting.AddDates |
Add dates to a meeting |
meeting.meeting.AddExternalParticipants |
Add external participants to a meeting |
meeting.meeting.AddInternalParticipants |
Add internal participants to a meeting |
meeting.meeting.Delete |
Delete a meeting |
meeting.meeting.Edit |
Edit a meeting |
meeting.meeting.FixDate |
Fix a date |
meeting.meeting.Get |
Get a meeting |
meeting.meeting.GetList |
Get meetings |
meeting.meeting.RemoveParticipants |
Remove participants from a meeting |
meeting.meeting.UnfixDate |
Unfix a date |
meeting.meeting.UpdateStatus |
Add external users to a meeting |
poll.poll.Vote |
Vote for a poll |
reporting.task.Burndown |
Get burndown |
reporting.task.Load |
Load all stats |
reporting.task.Performance |
Get performance |
reporting.task.Status |
Get status |
reporting.task.Tags |
Get tags |
reporting.task.Workload |
Get workload |
sharing.sharing.Download |
Download a file from a sharing folder |
sharing.sharing.DownloadFile |
Download a file from a sharing file |
sharing.sharing.DownloadFileFromSharedFolder |
Download a file from a shared folder |
sharing.sharing.DownloadGeneralFile |
Download a file from a sharing file |
sharing.sharing.Folder |
List entries of folder |
sharing.sharing.Load |
Get information required to load sharing doc page |
sharing.sharing.LoadFile |
Get information required to load file sharing page |
sharing.sharing.LoadGeneralFile |
Get information required to load general file sharing page |
sharing.sharing.RequestLinkPreview |
|
sharing.sharing.Upload |
Upload a file via a sharing folder |
social.community.Archive |
Archive a community |
social.community.Create |
Create a community |
social.community.Delete |
Delete a community |
social.community.GetArchivedList |
Get the list of archived community for a user |
social.community.GetAuthList |
Get a list of community member auth |
social.community.GetDiscoveryList |
Get the list of community for a user to discover |
social.community.GetFavoritePostList |
Get the list of favorite post |
social.community.GetList |
Get the list of community for a user |
social.community.GetPinnedPostList |
Get a list of pinned post for a community |
social.community.GetPostList |
Get a list of post |
social.community.GetRecentPostList |
Get a list of recent post for a community list |
social.community.GetUnseenActivity |
Get a list of unseen activity |
social.community.PublishPost |
Publish into a community |
social.community.RemoveMember |
Remove a member from the community |
social.community.ResubscribeMember |
Force subscription of a member from the community |
social.community.Subscribe |
Subscribe to a community |
social.community.ToggleFavorite |
Toggle favorite for a community |
social.community.Unarchive |
Unarchive a community |
social.community.Unsubscribe |
Unsubscribe from a community |
social.community.Update |
Update a community |
social.community.UpdateAuthList |
Update (add or create) the list of auth for a community |
social.community.UpdateAvatar |
Update a community avatar |
social.community.UpdateBackground |
Update a community background cover |
social.community.UpdatePost |
Update a post |
social.post.AddExternalAttachment |
|
social.post.ClearUnseen |
|
social.post.DeleteComment |
|
social.post.DeletePost |
|
social.post.DownloadAttachment |
|
social.post.EditComment |
|
social.post.GetPostReaders |
|
social.post.PreviewAttachment |
|
social.post.PublishComment |
|
social.post.RemoveExternalAttachment |
|
social.post.SetCommentIntegrationAttachment |
|
social.post.SetExternalAttachmentOrder |
|
social.post.SetIntegrationAttachment |
|
social.post.ToggleCommentReaction |
|
social.post.ToggleCommentsEnabled |
|
social.post.ToggleFavorite |
|
social.post.TogglePinned |
|
social.post.ToggleReaction |
|
task.filter.Add |
Adds a filter on tasks to the project or on unified tasks |
task.filter.Apply |
Apply a filter on the tasks of the given projects |
task.filter.Delete |
Delete a filter |
task.filter.Edit |
Edits a filter on tasks |
task.filter.Get |
Get a tasks filter |
task.filter.GetUsersStats |
Get user stats for filtered tasks |
task.filter.List |
List tasks filters |
task.filter.ListUnified |
List unified tasks filters |
task.subtask.AddOwners |
Add Owner to a subtask |
task.subtask.ChangeStatus |
Change status of a subtask |
task.subtask.Create |
Create a subtask for the given task |
task.subtask.Delete |
Delete a subtask |
task.subtask.Move |
Move a subtask to another position (and/or task) |
task.subtask.RemoveOwners |
Add Owner to a subtask |
task.subtask.Update |
Update a subtask |
task.task.AddBatchOwner |
Get all tasks of a list |
task.task.AddComment |
Add a comment to a task |
task.task.AddExternalAttachment |
Attach an external file to a task |
task.task.AddExternalAttachmentFromTemplate |
Attach an external file to a task, from a template |
task.task.AddReminder |
Add a reminder for a task |
task.task.AddTag |
Add a tag in a task |
task.task.AddWimiAttachment |
Attach a wimi file to a task |
task.task.BatchDelete |
Delete a batch of tasks |
task.task.BatchDuplicate |
Copy a batch of tasks |
task.task.BatchLinkTag |
Link a tag to a list of tasks |
task.task.BatchMove |
Move a batch of tasks to a position |
task.task.BatchMoveAfter |
Move a batch of tasks after another |
task.task.BatchRemoveTag |
Remove a tag in list of tasks |
task.task.ChangeStatus |
Change the status of a given task |
task.task.ChangeStatusBulk |
Change the status of several tasks |
task.task.ConversationArchive |
Archive conversation |
task.task.ConversationClearUnseen |
Clear unseen count for conversation |
task.task.ConversationSetSilent |
Set silent for conversation |
task.task.Create |
Create a task |
task.task.Delete |
Delete a task |
task.task.DeleteComment |
Delete a task comment |
task.task.DeleteDates |
Delete Dates from a Task |
task.task.DisableRecurrence |
Disable a recurrence for a task |
task.task.DownloadAttachment |
Attach a file to a task |
task.task.Duplicate |
Copy a task |
task.task.EditComment |
Edit a comment of a task |
task.task.Follow |
Add self as follower to this task |
task.task.GenerateNextOccurrence |
Generate the next occurrence of a task |
task.task.GenerateWOGeneralFile |
create an external file to a task |
task.task.Get |
Get a task with all its data |
task.task.GetAll |
Get all tasks of a list |
task.task.GetAttachmentList |
Get the list of files attached to a task |
task.task.GetComments |
Get tge comments of a task |
task.task.GetNbNotCompletedForProject |
Get the total amount of not completed tasks for the given project |
task.task.History |
Get a task history |
task.task.LinkTag |
Link a tag to a task |
task.task.Move |
Move a task to new position |
task.task.MoveAfter |
Move a task after another |
task.task.PreviewAttachment |
Request attachment preview |
task.task.Relocate |
Relocate a task in an other project |
task.task.RemoveBatchOwners |
Get all tasks of a list |
task.task.RemoveExternalAttachment |
remove an external attachment from the task |
task.task.RemoveReminder |
Remove a reminder for a task |
task.task.RemoveTag |
Remove a tag in a task |
task.task.RemoveTagByLabel |
Remove a tag in a task using the label |
task.task.RemoveWimiAttachment |
Remove a wimi attachment from a task |
task.task.SendReminder |
send a reminder to the owners of a task |
task.task.SetRecurrence |
Set or update a recurrence for the given task |
task.task.ToggleCommentReaction |
Toggle a reaction to a comment |
task.task.ToggleDefaultOverdueAlert |
Add or remove the default overdue alert for a task |
task.task.Unfollow |
Remove self as follower from this task |
task.task.Update |
Update a task |
task.tlist.AddLink |
Create a link between 2 lists given a specific relation type |
task.tlist.BatchSetHidden |
Set the tasks lists the user does not want to display |
task.tlist.ChangeLine |
Change line in gantt view |
task.tlist.Copy |
|
task.tlist.Create |
Create a task list |
task.tlist.Dashboard |
Get all necessary data for displaying the tasks module dashboard |
task.tlist.DashboardGlobal |
Get all necessary data for displaying the tasks module dashboard Same as dashboard but for a user, not a project |
task.tlist.Delete |
Delete a task list |
task.tlist.ExportAsCSV |
Exports all tasks and lists of a project as csv |
task.tlist.ExportAsXLS |
Exports all tasks and lists of a project as XLS |
task.tlist.ExportFilteredAsXLS |
Exports all tasks and lists as csv given filter options |
task.tlist.ExportFilteredAsXLSAsync |
Exports all tasks and lists as csv given filter options, given through a shared link later |
task.tlist.Follow |
Add self as follower to this list |
task.tlist.GetAcceptedTasks |
Get all Tasks that are accepted |
task.tlist.GetAll |
Returns all tasks lists of a project |
task.tlist.GetInfo |
Get task list general informations |
task.tlist.GetList |
Returns a task list with its stats |
task.tlist.ImportFromCSV |
Import tasks and lists from csv |
task.tlist.ImportFromXLS |
Import tasks and lists from xls |
task.tlist.Move |
Move a task list |
task.tlist.RemoveLink |
Remove link between 2 lists |
task.tlist.Unfollow |
Remove self as follower from this list |
task.tlist.Update |
Update a task list |
task.tlist.UpdateDates |
|
task.tlist.UpdateExcludeAcceptedTask |
|
task.trash.List |
List all trashed tasks lists and their tasks (also trashed) |
Add a comment to a calendar event
Push information:
Pushing to: Project users
With target: calendar.event.AddComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.AddComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"comment": "some text"
}
}
}
Attach an external file to a calendar event
Push information:
Pushing to: Project users
With target: calendar.event.AddExternalAttachment
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Body Data:
-
file_timestamp - string
Optional: ""
-
name - string
-
size - int
Output:
Example:
{
"header": {
"target": "calendar.event.AddExternalAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"file_timestamp": "some text",
"name": "some text",
"size": 12345
}
}
}
Attach an external file to a calendar event, from a template
Push information:
Pushing to: Project users
With target: calendar.event.AddExternalAttachmentFromTemplate
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
file_template_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.AddExternalAttachmentFromTemplate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {
"name": "some text"
}
}
}
Add external participant for a specific event
Push information:
Pushing to: Project users
With target: calendar.event.AddExternalParticipants
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
recurrence_id - datetime
Optional: null
Body Data:
-
external_user_list - list
Output:
Example:
{
"header": {
"target": "calendar.event.AddExternalParticipants",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"external_user_list": [
{
"email": "external_user1@domain.com",
"first_name": "first_name1",
"last_name": "last_name1"
},
{
"email": "external_user2@domain.com",
"first_name": "first_name2",
"last_name": "last_name2"
}
]
}
}
}
Add user to subscription agenda list, it will create token if it not already exist
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
token
-
string
Example:
{
"header": {
"target": "calendar.event.AddSubscriptionLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Add a tag to a Calendar Event
Push information:
Pushing to: Project users
With target: calendar.event.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
label - string
-
recurrence_id - string
Optional: ""
Output:
Example:
{
"header": {
"target": "calendar.event.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Add user to subscription agenda list, it will create token if it not already exist on unified view
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
token
-
string
Example:
{
"header": {
"target": "calendar.event.AddUnifiedSubscriptionLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Attach a wimi file to a calendar event
Push information:
Pushing to: Project users
With target: calendar.event.AddWimiAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
file_id - int
Output:
Example:
{
"header": {
"target": "calendar.event.AddWimiAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Change Status of Agenda Event Participant. Accept / Refuse invite to an event
Push information:
Pushing to: Project users
With target: calendar.event.ChangeInviteStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
recurrence_id - datetime
Optional: null
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.ChangeInviteStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"status": 12345
}
}
}
Archive a conversation
Push information:
Pushing to: Self
With target: calendar.event.ConversationArchive
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
-
success
-
bool
-
calendar_event_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "calendar.event.ConversationArchive",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Clear unseen count for conversation
Push information:
Pushing to: Project users
With target: calendar.event.ConversationClearUnseen
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
-
success
-
bool
-
calendar_event_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "calendar.event.ConversationClearUnseen",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Set silent for conversation
Push information:
Pushing to: Self
With target: calendar.event.ConversationSetSilent
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Body Data:
-
silent - bool
-
silent_until - datetime
Optional: null
Output:
-
success
-
bool
-
calendar_event_id
-
int
-
user_id
-
int
-
silent
-
bool
-
silent_until
-
datetime
- can be missing
- can be null
Example:
{
"header": {
"target": "calendar.event.ConversationSetSilent",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"silent": true,
"silent_until": "2016-11-27 17:10:05"
}
}
}
Push information:
Pushing to: Project users
With target: calendar.event.CopyEventList
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id_list - int list
-
target_project_id - int
Optional: null
Body Data:
-
recurrence_id_list - Array
Optional: stdClass Object
(
)
Output:
Example:
{
"header": {
"target": "calendar.event.CopyEventList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"recurrence_id_list": [
1,
2,
3,
4
]
}
}
}
Create a calendar event
Push information:
Pushing to: User list
With target: calendar.event.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"event": "no example yet"
}
}
}
Delete a calendar event comment
Mark the message as deleted, does not delete it entirely
Push information:
Pushing to: Project users
With target: calendar.event.DeleteComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
comment_id - int
(parameter needs to be owned by api user)
Output:
-
success
-
bool
-
calendar_event_id
-
int
-
comment
-
Comment
Example:
{
"header": {
"target": "calendar.event.DeleteComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {}
}
}
Get calendar subscription link for unified projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.DeleteSubscription",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"user_id": 12345
}
}
}
Get calendar subscription link for unified projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.DeleteSubscriptionUnified",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"user_id": 12345
}
}
}
Download a calendar event attachment
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
attachment_id - int
-
calendar_event_id - CalendarEvent
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
doc_type
-
string
- can be missing
-
doc_id
-
int
-
output_type
-
string
-
item_type_id
-
int
Example:
{
"header": {
"target": "calendar.event.DownloadAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"attachment_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Edit a comment of a calendar event
Push information:
Pushing to: Project users
With target: calendar.event.EditComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
Output:
Example:
{
"header": {
"target": "calendar.event.EditComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"comment": "some text"
}
}
}
create an external file to a calendar event
Push information:
Pushing to: User list
With target: calendar.event.GenerateWOGeneralFile
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Body Data:
-
name - string
-
file_format - string
Output:
Example:
{
"header": {
"target": "calendar.event.GenerateWOGeneralFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"file_format": "some text"
}
}
}
Get the details of a calendar events
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
recurrence_id - datetime
Optional: null
Output:
Example:
{
"header": {
"target": "calendar.event.Get",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
get the list of files attached to a calendar event
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
Example:
{
"header": {
"target": "calendar.event.GetAttachmentList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Get teh comments of a calendar event
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
Example:
{
"header": {
"target": "calendar.event.GetComments",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Download the ics for a specific event
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
-
success
-
bool
-
link
-
string
Example:
{
"header": {
"target": "calendar.event.GetDownloadInviteLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Get external participant for a specific event
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
-
success
-
bool
-
event_id
-
int
-
external_participants
- LIST of
ExternalUser
- can be missing
Example:
{
"header": {
"target": "calendar.event.GetExternalParticipants",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
Get a list of events
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
start_date - datetime
Optional: null
-
end_date - datetime
Optional: null
-
filters - int list
Optional: Array
(
[0] => 1
)
-
view_busy - bool
Optional: true
-
busy_user_id_list - int list
Optional: null
-
view_empty_events - bool
Optional: true
-
calendar_event_id_list - int list
Optional: []
-
gen_rec_occurrences - bool
Optional: true
-
modified_after - int
Optional: 0
Output:
Example:
{
"header": {
"target": "calendar.event.GetList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"start_date": "2016-11-27 17:10:05",
"end_date": "2016-11-27 17:10:05",
"filters": [
12345,
12346
],
"view_busy": true,
"busy_user_id_list": [
12345,
12346
],
"view_empty_events": true,
"calendar_event_id_list": [
12345,
12346
],
"gen_rec_occurrences": true,
"modified_after": 12345
}
}
}
Get a list of events for unified calendars
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
start_date - datetime
-
end_date - datetime
-
filters - int list
Optional: Array
(
[0] => 1
)
-
project_id_list - int list
Optional: null
-
user_id_list - int list
Optional: null
-
gen_rec_occurrences - bool
Optional: true
-
view_empty_events - bool
Optional: true
Output:
Example:
{
"header": {
"target": "calendar.event.GetListUnified",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"start_date": "2016-11-27 17:10:05",
"end_date": "2016-11-27 17:10:05",
"filters": [
12345,
12346
],
"project_id_list": [
12345,
12346
],
"user_id_list": [
12345,
12346
],
"gen_rec_occurrences": true,
"view_empty_events": true
}
}
}
Get a calendar subscription link
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
-
link
-
string
- can be null
Example:
{
"header": {
"target": "calendar.event.GetSubscriptionLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get calendar subscription link for unified projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "calendar.event.GetUnifiedSubscriptionLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get calendar subscription link for projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
Example:
{
"header": {
"target": "calendar.event.GetUserSubscriptionList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get calendar subscription link for unified calendar
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
Example:
{
"header": {
"target": "calendar.event.GetUserSubscriptionListUnified",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Link a tag to a calendar event
Push information:
Pushing to: Project users
With target: calendar.event.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
tag_id - int
-
recurrence_id - string
Optional: ""
Output:
Example:
{
"header": {
"target": "calendar.event.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Request attachment preview
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
attachment_id - int
-
calendar_event_id - CalendarEvent
Body Data:
-
preview_type - string
Optional: "default"
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
preview_status
-
string
-
doc_type
-
string
-
doc_id
-
int
-
output_type
-
string
Example:
{
"header": {
"target": "calendar.event.PreviewAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"attachment_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"preview_type": "some text"
}
}
}
Delete a calendar event
Push information:
Pushing to: Project users
With target: calendar.event.Remove
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Output:
-
event_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "calendar.event.Remove",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {}
}
}
remove an external attachment from the calendar
Push information:
Pushing to: Project users
With target: calendar.event.RemoveExternalAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
attachment_id - int
Output:
-
success
-
bool
-
attachment_id
-
int
-
calendar_event_id
-
int
Example:
{
"header": {
"target": "calendar.event.RemoveExternalAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {}
}
}
Remove external participant for a specific event
Push information:
Pushing to: Project users
With target: calendar.event.RemoveExternalParticipants
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
recurrence_id - datetime
Optional: null
Body Data:
-
external_user_id_list - int list
Output:
Example:
{
"header": {
"target": "calendar.event.RemoveExternalParticipants",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"external_user_id_list": [
12345,
12346
]
}
}
}
Delete a recurrence occurrence
Push information:
Pushing to: Project users
With target: calendar.event.RemoveRecurrenceOccurrence
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Body Data:
Output:
-
event_id
-
int
-
success
-
bool
-
recurrence_id
-
datetime
Example:
{
"header": {
"target": "calendar.event.RemoveRecurrenceOccurrence",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"recurrence_id": "2016-11-27 17:10:05"
}
}
}
Remove a tag in a task
Push information:
Pushing to: Project users
With target: calendar.event.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
tag_id - int
-
recurrence_id - string
Optional: ""
Output:
Example:
{
"header": {
"target": "calendar.event.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
remove a wimi attachment from the calendar
Push information:
Pushing to: Project users
With target: calendar.event.RemoveWimiAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
attachment_id - int
Output:
-
success
-
bool
-
attachment_id
-
int
-
calendar_event_id
-
int
Example:
{
"header": {
"target": "calendar.event.RemoveWimiAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {}
}
}
Toggle a reaction to a comment
Push information:
Pushing to: Project users
With target: calendar.event.ToggleCommentReaction
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
-
reaction - string
-
active - bool
Output:
-
success
-
bool
-
calendar_event_id
-
int
-
comment_id
-
int
-
reaction
-
string
-
active
-
bool
Example:
{
"header": {
"target": "calendar.event.ToggleCommentReaction",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"reaction": "some text",
"active": true
}
}
}
Update a calendar event - only the provided data are updated.
Push information:
Pushing to: User list
With target: calendar.event.Update
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
Body Data:
Output:
-
event
-
CalendarEvent
-
success
-
bool
-
updated_fields
- LIST of
string
Example:
{
"header": {
"target": "calendar.event.Update",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345
}
},
"body": {
"data": {
"event": "no example yet"
}
}
}
Move a calendar event from one project to another
Push information:
Pushing to: User list
With target: calendar.event.UpdateProject
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Agenda restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
calendar_event_id - CalendarEvent
-
target_project_id - int
Output:
Example:
{
"header": {
"target": "calendar.event.UpdateProject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"calendar_event_id": 12345,
"target_project_id": 12346
}
},
"body": {
"data": {}
}
}
Add comment to a directory
Push information:
Pushing to: Project users
With target: document.directory.AddComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.directory.AddComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {
"comment": "some text"
}
}
}
Add link to directory
Push information:
Pushing to: Project users
With target: document.directory.AddLink
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
url - string
-
title - string
Output:
-
success
-
bool
-
link
-
Link
Example:
{
"header": {
"target": "document.directory.AddLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"url": "mylabel1",
"title": "mylabel1"
}
}
}
Add members to dir
Return all users having access to dir
Push information:
Pushing to: Project users
With target: document.directory.AddMembersToDir
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
group_member_list - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
-
member_access_list
- LIST of
MemberAccess
-
dir_id
-
int
-
dir_auth
-
int
Example:
{
"header": {
"target": "document.directory.AddMembersToDir",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"group_member_list": [
{
"member_type_id": 1,
"member_id": 12345
},
{
"member_type_id": 2,
"member_id": 12345
}
]
}
},
"body": {
"data": {}
}
}
Add a tag on a directory
Push information:
Pushing to: Project users
With target: document.directory.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
label - string
Output:
-
success
-
bool
-
dir_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.directory.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Archive a conversation
Push information:
Pushing to: Self
With target: document.directory.ConversationArchive
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
-
success
-
bool
-
dir_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "document.directory.ConversationArchive",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Clear unseen count for conversation
Push information:
Pushing to: Project users
With target: document.directory.ConversationClearUnseen
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
-
success
-
bool
-
dir_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "document.directory.ConversationClearUnseen",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Set silent for conversation
Push information:
Pushing to: Self
With target: document.directory.ConversationSetSilent
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Body Data:
-
silent - bool
-
silent_until - datetime
Optional: null
Output:
-
success
-
bool
-
dir_id
-
int
-
user_id
-
int
-
silent
-
bool
-
silent_until
-
datetime
- can be missing
- can be null
Example:
{
"header": {
"target": "document.directory.ConversationSetSilent",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {
"silent": true,
"silent_until": "2016-11-27 17:10:05"
}
}
}
Copy a directory elsewhere
Push information:
Pushing to: Project users
With target: document.directory.Copy
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
dest_dir_id - int
Optional: null
-
target_project_id - int
Optional: null
Body Data:
Output:
Example:
{
"header": {
"target": "document.directory.Copy",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {
"name": "some text"
}
}
}
Copy a list of directory elsewhere
Push information:
Pushing to: Project users
With target: document.directory.CopyList
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
-
dest_dir_id - int
Optional: null
-
target_project_id - int
Optional: null
Body Data:
-
copy_meta - bool
Optional: false
Output:
-
success
-
bool
-
dir_id
-
int
-
target_project_id
-
int
-
dirs
- LIST of
struct
- can be missing
-
success
-
bool
-
dir
-
Directory
- can be missing
-
error
-
Error
- can be missing
Example:
{
"header": {
"target": "document.directory.CopyList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id_list": [
1193,
5253,
80983,
912
]
}
},
"body": {
"data": {
"copy_meta": true
}
}
}
Creates a directory
Push information:
Pushing to: Project users
With target: document.directory.Create
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
name - string
-
conflict_rename - bool
Optional: false
Output:
Example:
{
"header": {
"target": "document.directory.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"conflict_rename": true
}
}
}
Creates a directory tree when uploading a folder
Push information:
Pushing to: Project users
With target: document.directory.CreateDirectoryTree
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
-
relative_path_list - string list
Output:
Example:
{
"header": {
"target": "document.directory.CreateDirectoryTree",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"relative_path_list": [
"string1",
"string2",
"string3"
]
}
},
"body": {
"data": {}
}
}
Delete a directory comment
Mark the message as deleted, does not delete it entirely
Push information:
Pushing to: Project users
With target: document.directory.DeleteComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
comment_id - int
(parameter needs to be owned by api user)
Output:
-
success
-
bool
-
dir_id
-
int
-
comment
-
Comment
Example:
{
"header": {
"target": "document.directory.DeleteComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {}
}
}
Get the list of denied directories for a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
group_member - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
-
dir_id_list
- LIST of
int
Example:
{
"header": {
"target": "document.directory.DeniedList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"group_member": {
"member_type_id": 1,
"member_id": 12345
}
}
},
"body": {
"data": {}
}
}
Get the list of denied directories for a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
group_member - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
-
dir_id_list
- LIST of
int
-
indeterminate_dir_id_list
- LIST of
struct
-
parent_id
-
int
-
children_id_list
- LIST of
int
Example:
{
"header": {
"target": "document.directory.DeniedListWithIndeterminate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"group_member": {
"member_type_id": 1,
"member_id": 12345
}
}
},
"body": {
"data": {}
}
}
Edit a comment of a directory
Push information:
Pushing to: Project users
With target: document.directory.EditComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
Output:
Example:
{
"header": {
"target": "document.directory.EditComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"comment": "some text"
}
}
}
Edits members access on one or several directories
Push information:
Pushing to: Project users
With target: document.directory.EditMembersAccessToDirectories
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
member_id_list - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Body Data:
-
dir_access_array - assoc array int to in
Output:
-
success
-
bool
-
dirs
- LIST of
struct
-
success
-
bool
-
dir_id
-
int
-
dir_auth
-
int
-
member_access_list
- LIST of
MemberAccess
-
directory
-
Directory
- can be missing
Example:
{
"header": {
"target": "document.directory.EditMembersAccessToDirectories",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"member_id_list": [
{
"member_type_id": 1,
"member_id": 12345
},
{
"member_type_id": 2,
"member_id": 12345
}
]
}
},
"body": {
"data": {
"dir_access_array": {
"1": 0,
"2": 1,
"5": 2
}
}
}
}
Edits the name of a directory
Push information:
Pushing to: Project users
With target: document.directory.EditName
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Body Data:
-
name - string
-
conflict_rename - bool
Optional: false
Output:
-
name
-
string
-
dir_id
-
int
Example:
{
"header": {
"target": "document.directory.EditName",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"conflict_rename": true
}
}
}
Get a directory only given its id
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
dir_id - int
Output:
Example:
{
"header": {
"target": "document.directory.Get",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Get comments of a directory
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
Example:
{
"header": {
"target": "document.directory.GetComments",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Get list of all users having access to given directory
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
Example:
{
"header": {
"target": "document.directory.GetDirectoryUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Get users access of a dir
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
-
dir_id
-
int
-
dir_auth
-
int
-
member_access_list
- LIST of
MemberAccess
Example:
{
"header": {
"target": "document.directory.GetMembersAccess",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
dir_id_list - int list
Output:
-
directory_project_id_list
- LIST of
struct
-
dir_id
-
int
-
project_id
-
int
Example:
{
"header": {
"target": "document.directory.GetProjectIds",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"dir_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Remove a property from a directory
Push information:
Pushing to: Project users
With target: document.directory.GetPropertyList
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
-
dir_id
- LIST of
int
-
property_list
- LIST of
Property
Example:
{
"header": {
"target": "document.directory.GetPropertyList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Get the read only state of the directory for the current user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
-
success
-
bool
-
is_read_only
-
bool
Example:
{
"header": {
"target": "document.directory.GetReadOnlyStateForUser",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
dir_id_list - int list
Output:
-
directory_virtual_path_list
- LIST of
struct
-
dir_id
-
int
-
virtual_path
-
string
Example:
{
"header": {
"target": "document.directory.GetVirtualPathList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"dir_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Get file path info
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
link_id - Link
Output:
-
path_ids
- LIST of
int
-
path_names
- LIST of
string
-
link_id
-
int
Example:
{
"header": {
"target": "document.directory.LinkPathInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"link_id": 12345
}
},
"body": {
"data": {}
}
}
Link a tag to a directory
Push information:
Pushing to: Project users
With target: document.directory.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
tag_id - int
Output:
-
success
-
bool
-
dir_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.directory.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Move directories to a folder
Push information:
Pushing to: Project users
With target: document.directory.Move
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
-
dir_id_list - int list
-
target_project_id - int
Optional: null
Body Data:
-
conflict_rename - bool
Optional: false
Output:
-
success
-
bool
-
conflicts_count
-
int
-
conflicts
- LIST of
struct
- can be missing
-
dir_id
-
int
-
dir_name
-
string
-
alt_name
-
string
-
nb_dirs
-
int
- can be missing
-
dir_id
-
int
- can be missing
-
dirs
- LIST of
struct
- can be missing
-
error
-
Error
- can be missing
-
success
-
bool
- can be missing
-
dir
-
Directory
- can be missing
Example:
{
"header": {
"target": "document.directory.Move",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id_list": [
1193,
5253,
80983,
912
]
}
},
"body": {
"data": {
"conflict_rename": true
}
}
}
Move links from one directory to another
Push information:
Pushing to: Project users
With target: document.directory.MoveLink
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
-
link_id_list - int list
-
target_project_id - int
Optional: null
Output:
-
links
- LIST of
Link
-
dir_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.directory.MoveLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"link_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Permanently delete one or more directories
Push information:
Pushing to: Project users
With target: document.directory.MoveToGarbageCollector
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
Output:
-
success
-
bool
-
dirs
- LIST of
struct
-
error
-
Error
- can be missing
-
success
-
bool
- can be missing
-
dir_id
-
int
- can be missing
Example:
{
"header": {
"target": "document.directory.MoveToGarbageCollector",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id_list": [
1193,
5253,
80983,
912
]
}
},
"body": {
"data": {}
}
}
Delete one or more directories
Push information:
Pushing to: Project users
With target: document.directory.MoveToTrash
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
Output:
-
success
-
bool
-
dirs
- LIST of
struct
-
error
-
Error
- can be missing
-
success
-
bool
- can be missing
-
dir_id
-
int
- can be missing
Example:
{
"header": {
"target": "document.directory.MoveToTrash",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id_list": [
1193,
5253,
80983,
912
]
}
},
"body": {
"data": {}
}
}
Get directory path info
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
dir_id - int
Output:
-
path_ids
- LIST of
int
-
path_names
- LIST of
string
Example:
{
"header": {
"target": "document.directory.PathInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Creates a project from a directory
Push information:
Pushing to: User list
With target: document.directory.PromoteToProject
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
category_id - int
-
new_category_name - string
Optional: ""
Output:
Example:
{
"header": {
"target": "document.directory.PromoteToProject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"category_id": 12345,
"new_category_name": "some text"
}
}
}
Remove members from dir
Return all users having access to dir
Push information:
Pushing to: Project users
With target: document.directory.RemoveMembersFromDir
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
group_member_list - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
-
member_access_list
- LIST of
MemberAccess
-
dir_id
-
int
-
dir_auth
-
int
Example:
{
"header": {
"target": "document.directory.RemoveMembersFromDir",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"group_member_list": [
{
"member_type_id": 1,
"member_id": 12345
},
{
"member_type_id": 2,
"member_id": 12345
}
]
}
},
"body": {
"data": {}
}
}
Remove a property from a directory
Push information:
Pushing to: Project users
With target: document.directory.RemoveProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
property_label - string
Body Data:
-
subdirs - bool
Optional: false
Output:
-
success
-
bool
-
dir_id_list
- LIST of
int
-
property
-
Property
Example:
{
"header": {
"target": "document.directory.RemoveProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"property_label": "mylabel1"
}
},
"body": {
"data": {
"subdirs": true
}
}
}
Remove a tag on a directory
Push information:
Pushing to: Project users
With target: document.directory.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
tag_id - int
Output:
-
success
-
bool
-
dir_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.directory.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag on a file using the label
Push information:
Pushing to: Project users
With target: document.directory.RemoveTagByLabel
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
label - string
Output:
-
success
-
bool
-
dir_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.directory.RemoveTagByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Restore one or more directories from trash
Push information:
Pushing to: Project users
With target: document.directory.Restore
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
Body Data:
-
dir_id - int
Optional: null
Output:
-
success
-
bool
-
dirs
- LIST of
struct
-
error
-
int
- can be missing
-
error_str
-
string
- can be missing
-
success
-
bool
- can be missing
-
dir_id
-
int
- can be missing
-
parent_id
-
int
- can be missing
-
dir
-
Directory
- can be missing
Example:
{
"header": {
"target": "document.directory.Restore",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id_list": [
1193,
5253,
80983,
912
]
}
},
"body": {
"data": {
"dir_id": 12345
}
}
}
Set default access on a directory
Push information:
Pushing to: Project users
With target: document.directory.SetDirectoryDefault
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Body Data:
Output:
-
success
-
bool
-
dir_id
-
int
-
access
-
int
Example:
{
"header": {
"target": "document.directory.SetDirectoryDefault",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {
"access": 12345
}
}
}
Add a property to a directory
Push information:
Pushing to: Project users
With target: document.directory.SetPropertyValue
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
property_label - string
Body Data:
-
value - string
-
subdirs - bool
Optional: false
Output:
-
success
-
bool
-
dir_id_list
- LIST of
int
-
property
-
Property
Example:
{
"header": {
"target": "document.directory.SetPropertyValue",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"property_label": "mylabel1"
}
},
"body": {
"data": {
"value": "mylabel1",
"subdirs": true
}
}
}
Toggle a reaction to a comment
Push information:
Pushing to: Project users
With target: document.directory.ToggleCommentReaction
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
-
reaction - string
-
active - bool
Output:
-
success
-
bool
-
dir_id
-
int
-
comment_id
-
int
-
reaction
-
string
-
active
-
bool
Example:
{
"header": {
"target": "document.directory.ToggleCommentReaction",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"reaction": "some text",
"active": true
}
}
}
List folders found in a folder
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
show_hidden - bool
Optional: false
Output:
Example:
{
"header": {
"target": "document.entry.DirList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"show_hidden": true
}
}
}
Get flat tree for project
Get a flat tree, ordered by path
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "document.entry.GetProjectTree",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
Optional: []
-
file_id_list - int list
Optional: []
-
sharing_code - string
Body Data:
-
recursive - bool
Optional: false
-
sharing_pwd - string
Optional: ""
Output:
-
entries
- LIST of
struct
-
zip_name
-
string
-
name
-
string
-
path
-
string
-
fs_name
-
string
-
file_id
-
int
-
storage_id
-
int
Example:
{
"header": {
"target": "document.entry.GetSharingZipperFileList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {
"recursive": true,
"sharing_pwd": "some text"
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
Optional: []
-
file_id_list - int list
Optional: []
Body Data:
-
recursive - bool
Optional: false
Output:
-
entries
- LIST of
struct
-
zip_name
-
string
-
name
-
string
-
file_id
-
int
-
account_id
-
int
-
project_id
-
int
-
type
-
string
-
output_type
-
string
-
storage_id
-
int
Example:
{
"header": {
"target": "document.entry.GetZipperFileList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"recursive": true
}
}
}
List the files and folders found in a folder
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
no_comment_count - bool
Optional: false
-
process_thumbnail - bool
Optional: false
-
show_hidden - bool
Optional: false
Output:
Example:
{
"header": {
"target": "document.entry.List",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"no_comment_count": true,
"process_thumbnail": true,
"show_hidden": true
}
}
}
List the service entries of a folder
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
cloud_reference - string
Optional: null
Output:
-
success
-
bool
-
entries
-
object
- can be missing
-
url
-
string
- can be missing
Example:
{
"header": {
"target": "document.entry.ListServiceEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"cloud_reference": "some text"
}
}
}
List the files, the link and folders found in the trash
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Output:
Example:
{
"header": {
"target": "document.entry.TrashList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Retrieve Tree info from directory
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Body Data:
-
show_hidden - bool
Optional: false
Output:
Example:
{
"header": {
"target": "document.entry.TreeInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {
"show_hidden": true
}
}
}
Activate sharing on one file
Push information:
Pushing to: Project users
With target: document.file.ActivateSharing
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
-
file_id
-
int
-
file_master_id
-
int
-
code
-
string
-
file
-
File
-
url
-
string
Example:
{
"header": {
"target": "document.file.ActivateSharing",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Add a file comment
Push information:
Pushing to: Project users
With target: document.file.AddComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
Body Data:
Output:
-
file_id
-
int
-
file_master_id
-
int
-
comment
-
Comment
Example:
{
"header": {
"target": "document.file.AddComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"comment": "some text"
}
}
}
Add a tag on a file
Push information:
Pushing to: Project users
With target: document.file.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
label - string
Output:
-
success
-
bool
-
file_master_id
-
int
-
file_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.file.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Take an attachment from chat or task and add it to the document module
Take an attachment from chat or task and add it to the document module
Push information:
Pushing to: Project users
With target: document.file.AttachmentIntoDoc
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
attachment_id - int
-
dir_id - int
Optional: null
Body Data:
-
date_as_now - bool
Optional: false
Output:
-
success
-
bool
-
file
-
File
Example:
{
"header": {
"target": "document.file.AttachmentIntoDoc",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {
"date_as_now": true
}
}
}
Add attachment as file version
Push information:
Pushing to: Project users
With target: document.file.AttachmentIntoVersion
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
attachment_id - int
-
file_id - int
Output:
-
file
-
File
-
id_version_of
-
int
Example:
{
"header": {
"target": "document.file.AttachmentIntoVersion",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"attachment_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
check a file name conflict
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
Output:
-
conflict
-
bool
-
alt_name
-
string
- can be missing
Example:
{
"header": {
"target": "document.file.CheckConflict",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"name": "some text"
}
}
}
Check conflicts of a specific name in a folder
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
Output:
-
success
-
bool
-
conflict
-
bool
-
conflict_file_id
-
int
- can be missing
-
alt_name
-
string
- can be missing
Example:
{
"header": {
"target": "document.file.CheckConflicts",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"file_name": "some text"
}
}
}
Archive a conversation
Push information:
Pushing to: Self
With target: document.file.ConversationArchive
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
Output:
-
success
-
bool
-
file_master_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "document.file.ConversationArchive",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345
}
},
"body": {
"data": {}
}
}
Clear unseen count for conversation
Push information:
Pushing to: Project users
With target: document.file.ConversationClearUnseen
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
Output:
-
success
-
bool
-
file_master_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "document.file.ConversationClearUnseen",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345
}
},
"body": {
"data": {}
}
}
Set silent for conversation
Push information:
Pushing to: Self
With target: document.file.ConversationSetSilent
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
Body Data:
-
silent - bool
-
silent_until - datetime
Optional: null
Output:
-
success
-
bool
-
file_master_id
-
int
-
user_id
-
int
-
silent
-
bool
-
silent_until
-
datetime
- can be missing
- can be null
Example:
{
"header": {
"target": "document.file.ConversationSetSilent",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345
}
},
"body": {
"data": {
"silent": true,
"silent_until": "2016-11-27 17:10:05"
}
}
}
Copy a file elsewhere
Push information:
Pushing to: Project users
With target: document.file.Copy
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
-
target_project_id - int
Optional: null
-
dest_dir_id - int
Optional: null
Body Data:
Output:
Example:
{
"header": {
"target": "document.file.Copy",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"name": "some text"
}
}
}
Copy a list of file elsewhere
Push information:
Pushing to: Project users
With target: document.file.CopyList
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id_list - int list
Optional: []
-
target_project_id - int
Optional: null
-
dest_dir_id - int
Optional: null
Body Data:
-
copy_meta - bool
Optional: false
Output:
-
success
-
bool
-
dir_id
-
int
-
target_project_id
-
int
-
files
- LIST of
struct
- can be missing
-
success
-
bool
-
file
-
File
- can be missing
-
copied_from_id
-
int
- can be null
-
error
-
Error
- can be missing
Example:
{
"header": {
"target": "document.file.CopyList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"copy_meta": true
}
}
}
Create a file from a given template
Push information:
Pushing to: Project users
With target: document.file.CreateFromTemplate
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
-
file_template_id - int
Body Data:
-
name - string
Optional: ""
-
process_thumbnail - bool
Optional: false
Output:
-
file
-
File
-
id_version_of
-
int
Example:
{
"header": {
"target": "document.file.CreateFromTemplate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"process_thumbnail": true
}
}
}
Deactivate sharing on one file
Push information:
Pushing to: Project users
With target: document.file.DeactivateSharing
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
-
file_id
-
int
-
file_master_id
-
int
-
file
-
File
Example:
{
"header": {
"target": "document.file.DeactivateSharing",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Delete a file comment
Mark the message as deleted, does not delete it entirely
Push information:
Pushing to: Project users
With target: document.file.DeleteComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
-
comment_id - int
(parameter needs to be owned by api user)
Output:
-
success
-
bool
-
file_id
-
int
-
file_master_id
-
int
-
comment
-
Comment
Example:
{
"header": {
"target": "document.file.DeleteComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
file_path
-
string
- can be missing
-
doc_type
-
string
-
doc_id
-
int
-
output_type
-
string
-
item_type_id
-
int
Example:
{
"header": {
"target": "document.file.Download",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
file_path
-
string
- can be missing
-
file
-
File
-
doc_type
-
string
- can be missing
-
doc_id
-
int
-
output_type
-
string
Example:
{
"header": {
"target": "document.file.DownloadForPreviewInternal",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Edit a file comment
Push information:
Pushing to: Project users
With target: document.file.EditComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
Output:
-
file_id
-
int
-
file_master_id
-
int
-
comment
-
Comment
Example:
{
"header": {
"target": "document.file.EditComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"comment": "some text"
}
}
}
Edit a file description
Push information:
Pushing to: Project users
With target: document.file.EditDescription
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
Output:
-
file_id
-
int
-
file_master_id
-
int
-
info
-
string
-
enhanced_info
-
string
-
file
-
File
Example:
{
"header": {
"target": "document.file.EditDescription",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"description": "some text"
}
}
}
Edits the name of a file
Push information:
Pushing to: Project users
With target: document.file.EditName
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
-
name - string
-
conflict_rename - bool
Optional: false
Output:
-
name
-
string
-
file_id
-
int
-
file_master_id
-
int
-
file
-
File
Example:
{
"header": {
"target": "document.file.EditName",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"conflict_rename": true
}
}
}
Get the comments of a file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
Output:
Example:
{
"header": {
"target": "document.file.GetComments",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
Output:
Example:
{
"header": {
"target": "document.file.GetDownloadToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get the historical events of a file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
Example:
{
"header": {
"target": "document.file.GetEvents",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Get IPTC data for a file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
Output:
Example:
{
"header": {
"target": "document.file.GetIPTCMetadata",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get all metadata fields for account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
fields
- LIST of
string
Example:
{
"header": {
"target": "document.file.GetMetaDataFields",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get file token for editing file online using only office
Use the same token with other users to co edit the same file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
Output:
-
office_file_token
-
string
Example:
{
"header": {
"target": "document.file.GetOnlineEditionFileToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345
}
},
"body": {
"data": {}
}
}
get the properties of a file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_id_list - int list
Optional: []
Output:
Example:
{
"header": {
"target": "document.file.GetProperties",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get the properties associated to the given file
Push information:
Pushing to: Project users
With target: document.file.GetPropertyList
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
Output:
-
file_master_id
-
int
-
file_id
-
int
-
property_list
- LIST of
Property
Example:
{
"header": {
"target": "document.file.GetPropertyList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345
}
},
"body": {
"data": {}
}
}
Get a file's versions list
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
Example:
{
"header": {
"target": "document.file.GetVersions",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Get guest link of a file - DEPRECATED - use ActivateSharing
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
Example:
{
"header": {
"target": "document.file.GuestLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Checks if a version of a file is on the server (by md5)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.file.IsVersionOf",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"file_md5": "some text"
}
}
}
Link a tag to a file
Push information:
Pushing to: Project users
With target: document.file.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
tag_id - int
Output:
-
success
-
bool
-
file_master_id
-
int
-
file_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.file.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Used to lock a file.
By default, you cannot lock a file if is it already locked by a different user. Use the force parameter to perform the action regardless of that constraint.
Push information:
Pushing to: Project users
With target: document.file.Lock
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
-
force - bool
Optional: false
Output:
Example:
{
"header": {
"target": "document.file.Lock",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"force": true
}
}
}
Move files to a folder
Push information:
Pushing to: Project users
With target: document.file.Move
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
-
file_id_list - int list
-
target_project_id - int
Optional: null
Body Data:
-
operation - string
Optional: ""
Output:
-
success
-
bool
-
conflicts_count
-
int
-
conflicts
- LIST of
struct
- can be missing
-
file_id
-
int
-
file_name
-
string
-
alt_name
-
string
-
nb_files
-
int
- can be missing
-
dir_id
-
int
- can be missing
-
files
- LIST of
struct
- can be missing
-
error
-
Error
- can be missing
-
success
-
bool
- can be missing
-
file
-
File
- can be missing
Example:
{
"header": {
"target": "document.file.Move",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"operation": "some text"
}
}
}
Permanently delete one or more files
Push information:
Pushing to: Project users
With target: document.file.MoveToGarbageCollector
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id_list - int list
Body Data:
-
force - bool
Optional: false
Output:
-
success
-
bool
-
files
- LIST of
struct
-
error
-
Error
- can be missing
-
success
-
bool
- can be missing
-
file_id
-
int
- can be missing
-
file_master_id
-
int
- can be missing
Example:
{
"header": {
"target": "document.file.MoveToGarbageCollector",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"force": true
}
}
}
Delete one or more files
Push information:
Pushing to: Project users
With target: document.file.MoveToTrash
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id_list - int list
Output:
-
success
-
bool
-
files
- LIST of
struct
-
error
-
Error
- can be missing
-
success
-
bool
- can be missing
-
file_id
-
int
- can be missing
-
id_version_of
-
int
- can be missing
-
file_master_id
-
int
- can be missing
Example:
{
"header": {
"target": "document.file.MoveToTrash",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Warn users that a specific file is being opened
Push information:
Pushing to: User list
With target: document.file.NotifyOpen
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
Example:
{
"header": {
"target": "document.file.NotifyOpen",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Get file path info
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
Output:
-
path_ids
- LIST of
int
-
path_names
- LIST of
string
-
file_id
-
int
Example:
{
"header": {
"target": "document.file.PathInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a property from a file
Push information:
Pushing to: Project users
With target: document.file.RemoveProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
property_label - string
Output:
-
success
-
bool
-
file_master_id
-
int
-
file_id
-
int
-
property
-
Property
Example:
{
"header": {
"target": "document.file.RemoveProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"property_label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Remove a tag in a file
Push information:
Pushing to: Project users
With target: document.file.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
tag_id - int
Output:
-
success
-
bool
-
file_master_id
-
int
-
file_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.file.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag in a file using the label
Push information:
Pushing to: Project users
With target: document.file.RemoveTagByLabel
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
label - string
Output:
-
success
-
bool
-
file_master_id
-
int
-
file_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "document.file.RemoveTagByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Restore one or more files
Push information:
Pushing to: Project users
With target: document.file.Restore
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id_list - int list
Body Data:
-
dir_id - int
Optional: null
Output:
-
success
-
bool
-
files
- LIST of
struct
-
success
-
bool
-
file_id
-
int
-
parent_id
-
int
-
file
-
File
- can be missing
-
error
-
int
- can be missing
-
error_str
-
string
- can be missing
Example:
{
"header": {
"target": "document.file.Restore",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"dir_id": 12345
}
}
}
Set a property to a file
Add the property + value if the property does not exist on this file yet
Push information:
Pushing to: Project users
With target: document.file.SetPropertyValue
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
property_label - string
Body Data:
Output:
-
success
-
bool
-
file_master_id
-
int
-
file_id
-
int
-
property
-
Property
Example:
{
"header": {
"target": "document.file.SetPropertyValue",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"property_label": "mylabel1"
}
},
"body": {
"data": {
"value": "mylabel1"
}
}
}
Toggle a reaction to a comment
Push information:
Pushing to: Project users
With target: document.file.ToggleCommentReaction
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
-
file_master_id - int
Optional: null
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
-
reaction - string
-
active - bool
Output:
-
success
-
bool
-
file_id
-
int
-
file_master_id
-
int
-
comment_id
-
int
-
reaction
-
string
-
active
-
bool
Example:
{
"header": {
"target": "document.file.ToggleCommentReaction",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"reaction": "some text",
"active": true
}
}
}
Used to unlock a file.
By default, you cannot unlock a file if is it already locked by a different user. Use the force parameter to perform the action regardless of that constraint.
Push information:
Pushing to: Project users
With target: document.file.Unlock
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
-
force - bool
Optional: false
Output:
Example:
{
"header": {
"target": "document.file.Unlock",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"force": true
}
}
}
Unversion one file
Push information:
Pushing to: Project users
With target: document.file.Unversion
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
Example:
{
"header": {
"target": "document.file.Unversion",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: document.file.Upload
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
-
file_id - int
Optional: null
Body Data:
-
notify - bool
Optional: false
-
timestamp - string
Optional: ""
-
replace_master - bool
Optional: false
-
conflict_rename - bool
Optional: false
-
md5 - string
Optional: ""
-
name - string
-
info - string
Optional: ""
-
size - int
-
process_thumbnail - bool
Optional: false
Output:
-
file
-
File
-
id_version_of
-
int
Example:
{
"header": {
"target": "document.file.Upload",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"notify": true,
"timestamp": "some text",
"replace_master": true,
"conflict_rename": true,
"md5": "some text",
"name": "some text",
"info": "some text",
"size": 12345,
"process_thumbnail": true
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
attachment_id - int
Output:
Example:
{
"header": {
"target": "document.general_file.GetDownloadToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {}
}
}
Get file token for editing external file online using only office
Use the same token with other users to co edit the same file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
general_file_id - int
Output:
-
office_general_file_token
-
string
Example:
{
"header": {
"target": "document.general_file.GetOnlineEditionGeneralFileToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"general_file_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
name - string
-
info - string
Optional: ""
-
size - int
Output:
-
sharing_code
-
string
-
general_file_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.general_file.UploadShared",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"info": "some text",
"size": 12345
}
}
}
Bring backs a service file back to the wimi (and removes the .html in wimi if it succeeds). Only works with google ATM.
Push information:
Pushing to: Project users
With target: document.service.BringBack
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
-
dir_id - int
Optional: null
Body Data:
-
service - string
-
format - string
Optional: ""
Output:
-
success
-
bool
-
file
-
File
- can be missing
-
dir_id
-
int
- can be missing
- can be null
-
old_file_id
-
int
- can be missing
- can be null
-
url
-
string
- can be missing
-
msg
-
string
- can be missing
-
formats
- LIST of
string
- can be missing
Example:
{
"header": {
"target": "document.service.BringBack",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"service": "some text",
"format": "some text"
}
}
}
Check service token
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
-
success
-
bool
-
url
-
string
- can be missing
Example:
{
"header": {
"target": "document.service.CheckToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"service": "some text"
}
}
}
Directly download the document from the service. Only google is supported right now.
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
-
service - string
-
format - string
Optional: ""
Output:
-
success
-
bool
-
formats
- LIST of
string
- can be missing
-
download_url
-
string
- can be missing
-
url
-
string
- can be missing
Example:
{
"header": {
"target": "document.service.Download",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"service": "some text",
"format": "some text"
}
}
}
Edit (and upload) a file to service. Only google is supported right now.
Push information:
Pushing to: Project users
With target: document.service.Edit
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
Output:
-
success
-
bool
-
file
-
File
- can be missing
-
id_version_of
-
int
- can be missing
- can be null
-
url
-
string
- can be missing
Example:
{
"header": {
"target": "document.service.Edit",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"service": "some text"
}
}
}
Get service entries
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
service - string
-
folder_ref - string
Optional: ""
Output:
-
success
-
bool
-
entries
-
object
- can be missing
-
url
-
string
- can be missing
Example:
{
"header": {
"target": "document.service.GetEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"service": "some text",
"folder_ref": "some text"
}
}
}
Import service entries
Push information:
Pushing to: Project users
With target: document.service.ImportEntries
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
service - string
-
files - Array
-
dir_id - int
Optional: null
Output:
Example:
{
"header": {
"target": "document.service.ImportEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"service": "some text",
"files": [
1,
2,
3,
4
],
"dir_id": 12345
}
}
}
Link directories from service entries
Push information:
Pushing to: Project users
With target: document.service.LinkDirs
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Optional: null
Body Data:
-
service - string
-
dirs - Array
Output:
Example:
{
"header": {
"target": "document.service.LinkDirs",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"service": "some text",
"dirs": [
1,
2,
3,
4
]
}
}
}
Activate sharing on one directory
Push information:
Pushing to: Project users
With target: document.sharing.Activate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
-
dir_id
-
int
-
code
-
string
-
password
-
string
- can be null
Example:
{
"header": {
"target": "document.sharing.Activate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Allow invisible subdirectories on a shared folder
Push information:
Pushing to: Project users
With target: document.sharing.AllowInvisibleSub
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Output:
-
dir_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.sharing.AllowInvisibleSub",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {}
}
}
Allow upload on a given shared folder
Push information:
Pushing to: Project users
With target: document.sharing.AllowUpload
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Output:
-
dir_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.sharing.AllowUpload",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {}
}
}
Deactivate sharing on one directory
Push information:
Pushing to: Project users
With target: document.sharing.Deactivate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id - int
Output:
Example:
{
"header": {
"target": "document.sharing.Deactivate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id": 12345
}
},
"body": {
"data": {}
}
}
Disallow invisible subs on a shared folder
Push information:
Pushing to: Project users
With target: document.sharing.DisallowInvisibleSub
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Output:
-
dir_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.sharing.DisallowInvisibleSub",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {}
}
}
Disallow upload on a given shared folder
Push information:
Pushing to: Project users
With target: document.sharing.DisallowUpload
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Output:
-
dir_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.sharing.DisallowUpload",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {}
}
}
Activate sharing on one directory
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
file_name - string
Optional: "shared_links"
-
delimiter - string
Optional: ";"
-
enclosure - string
Optional: """
Output:
Example:
{
"header": {
"target": "document.sharing.ExportAsCsv",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"file_name": "some text",
"delimiter": "some text",
"enclosure": "some text"
}
}
}
Remove a password of a shared folder
Push information:
Pushing to: Project users
With target: document.sharing.RemovePassword
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Output:
-
item_id
-
int
-
item_type_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "document.sharing.RemovePassword",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {}
}
}
Set an expiration date for an item
Push information:
Pushing to: Project users
With target: document.sharing.SetExpirationDate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Body Data:
-
sharing_expiration_date - datetime
Output:
-
item_id
-
int
-
item_type_id
-
int
-
success
-
bool
-
sharing_expiration_date
-
datetime
- can be null
Example:
{
"header": {
"target": "document.sharing.SetExpirationDate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {
"sharing_expiration_date": "2016-11-27 17:10:05"
}
}
}
Set a password for an item
Push information:
Pushing to: Project users
With target: document.sharing.SetPassword
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
sharing_code - string
Body Data:
-
sharing_pwd - string
Optional: ""
Output:
-
item_id
-
int
-
item_type_id
-
int
-
success
-
bool
-
password
-
string
Example:
{
"header": {
"target": "document.sharing.SetPassword",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"sharing_code": "sharingcodexyz"
}
},
"body": {
"data": {
"sharing_pwd": "some text"
}
}
}
Download a signature attachment (general file)
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
general_file_id - int
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
file_path
-
string
- can be missing
-
doc_type
-
string
- can be missing
-
doc_id
-
int
-
output_type
-
string
-
attachment
-
ExternalAttachment
-
item_type_id
-
int
Example:
{
"header": {
"target": "document.signature.DownloadGeneralFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"general_file_id": 12345
}
},
"body": {
"data": {}
}
}
Request attachment preview
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
attachment_id - int
-
signature_id - int
Body Data:
-
preview_type - string
Optional: "default"
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
preview_status
-
string
-
doc_type
-
string
-
doc_id
-
int
-
output_type
-
string
Example:
{
"header": {
"target": "document.signature.PreviewAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"attachment_id": 12345,
"signature_id": 12345
}
},
"body": {
"data": {
"preview_type": "some text"
}
}
}
Push information:
Pushing to: Whole account
With target: document.signature.SignatureFromAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
general_file_id - int
Optional: null
Output:
-
general_file_id
-
int
-
file_size
-
int
-
file_name
-
string
Example:
{
"header": {
"target": "document.signature.SignatureFromAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Create a file signature from an external file
Push information:
Pushing to: Whole account
With target: document.signature.SignatureFromExternalFile
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_name - string
Optional: ""
Body Data:
Output:
Example:
{
"header": {
"target": "document.signature.SignatureFromExternalFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"size": 12345
}
}
}
Push information:
Pushing to: Whole account
With target: document.signature.SignatureFromInternalAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Optional: null
Output:
-
general_file_id
-
int
-
file_size
-
int
-
file_name
-
string
Example:
{
"header": {
"target": "document.signature.SignatureFromInternalAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Create a Signature from an internal (already existent in account) file
Push information:
Pushing to: Whole account
With target: document.signature.SignatureFromInternalFile
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Output:
-
general_file_id
-
int
-
file_size
-
int
-
file_name
-
string
Example:
{
"header": {
"target": "document.signature.SignatureFromInternalFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Add a tag on a general file template
Push information:
Pushing to: Whole account
With target: document.template.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
-
label - string
-
color - int
Optional: 3
Output:
Example:
{
"header": {
"target": "document.template.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Create a file template from an external file
Push information:
Pushing to: Whole account
With target: document.template.CreateFromExternalFile
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
template_name - string
-
description - string
Optional: ""
-
name - string
-
size - int
Output:
Example:
{
"header": {
"target": "document.template.CreateFromExternalFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"template_name": "mylabel1",
"description": "some text",
"name": "some text",
"size": 12345
}
}
}
Push information:
Pushing to: Whole account
With target: document.template.CreateFromInternalFile
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id - int
Body Data:
-
template_name - string
-
description - string
Optional: ""
Output:
Example:
{
"header": {
"target": "document.template.CreateFromInternalFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {
"template_name": "mylabel1",
"description": "some text"
}
}
}
Link tag to template
Push information:
Pushing to: Whole account
With target: document.template.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
-
tag_id - int
Output:
Example:
{
"header": {
"target": "document.template.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
List file templates of account
Push information:
Pushing to: Whole account
With target: document.template.ListForAccount
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.template.ListForAccount",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Request template preview
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
Body Data:
-
preview_type - string
Optional: "thumbnail_large"
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
preview_status
-
string
-
preview_type
-
string
- can be missing
-
doc_type
-
string
-
doc_id
-
int
-
output_type
-
string
Example:
{
"header": {
"target": "document.template.PreviewTemplate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {
"preview_type": "some text"
}
}
}
Remove tag from template
Push information:
Pushing to: Whole account
With target: document.template.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
-
tag_id - int
Output:
Example:
{
"header": {
"target": "document.template.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Restore trashed file template
Push information:
Pushing to: Whole account
With target: document.template.Restore
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
Output:
Example:
{
"header": {
"target": "document.template.Restore",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {}
}
}
Put file template to trash
Still recoverable
Push information:
Pushing to: Whole account
With target: document.template.Trash
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
Output:
Example:
{
"header": {
"target": "document.template.Trash",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {}
}
}
Update file template description
Push information:
Pushing to: Whole account
With target: document.template.UpdateDescription
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.template.UpdateDescription",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {
"description": "some text"
}
}
}
Update file template name
Push information:
Pushing to: Whole account
With target: document.template.UpdateName
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
file_template_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.template.UpdateName",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {
"name": "mylabel1"
}
}
}
Empty the trash
Push information:
Pushing to: Project users
With target: document.trash.EmptyTrash
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "document.trash.EmptyTrash",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
List the files found in the trash given a set of filters
Will return full stringified path as additional argument for display purposes
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
query - string
Optional: ""
-
use_trash_date - bool
Optional: false
-
before_date - datetime
Optional: null
-
after_date - datetime
Optional: null
-
deleted_by - int
Optional: 0
-
order_by - string
Optional: ""
-
order_by_type - string
Optional: ""
-
folder_name - string
Optional: ""
Output:
-
files
- LIST of
File
-
count
-
int
Example:
{
"header": {
"target": "document.trash.List",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"use_trash_date": true,
"before_date": "2016-11-27 17:10:05",
"after_date": "2016-11-27 17:10:05",
"deleted_by": 12345,
"order_by": "some text",
"order_by_type": "some text",
"folder_name": "some text"
}
}
}
List the folders found in the trash given a set of filters
Will return full stringified path as additional argument for display purposes
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
query - string
Optional: ""
-
use_trash_date - bool
Optional: false
-
before_date - datetime
Optional: null
-
after_date - datetime
Optional: null
-
deleted_by - int
Optional: 0
-
order_by - string
Optional: ""
-
order_by_type - string
Optional: ""
-
folder_name - string
Optional: ""
Output:
Example:
{
"header": {
"target": "document.trash.ListDirectories",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"use_trash_date": true,
"before_date": "2016-11-27 17:10:05",
"after_date": "2016-11-27 17:10:05",
"deleted_by": 12345,
"order_by": "some text",
"order_by_type": "some text",
"folder_name": "some text"
}
}
}
List the links found in the trash given a set of filters
Will return full stringified path as additional argument for display purposes
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
query - string
Optional: ""
-
use_trash_date - bool
Optional: false
-
before_date - datetime
Optional: null
-
after_date - datetime
Optional: null
-
deleted_by - int
Optional: 0
-
order_by - string
Optional: ""
-
order_by_type - string
Optional: ""
-
folder_name - string
Optional: ""
Output:
-
links
- LIST of
Link
-
count
-
int
Example:
{
"header": {
"target": "document.trash.ListLinks",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"use_trash_date": true,
"before_date": "2016-11-27 17:10:05",
"after_date": "2016-11-27 17:10:05",
"deleted_by": 12345,
"order_by": "some text",
"order_by_type": "some text",
"folder_name": "some text"
}
}
}
Restore one or more directories
Push information:
Pushing to: Project users
With target: document.trash.RestoreDirectories
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
dir_id_list - int list
Output:
-
success
-
bool
-
directory_path_list
- LIST of
struct
-
success
-
bool
-
dir_id
-
int
-
path_ids
- LIST of
int
- can be missing
-
error
-
int
- can be missing
-
error_str
-
string
- can be missing
Example:
{
"header": {
"target": "document.trash.RestoreDirectories",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"dir_id_list": [
1193,
5253,
80983,
912
]
}
},
"body": {
"data": {}
}
}
Restore one or more files
Push information:
Pushing to: Project users
With target: document.trash.RestoreFile
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_id_list - int list
Output:
-
success
-
bool
-
file_path_list
- LIST of
struct
-
success
-
bool
-
file_id
-
int
-
file_master_id
-
int
- can be missing
-
path_ids
- LIST of
int
- can be missing
-
error
-
int
- can be missing
-
error_str
-
string
- can be missing
Example:
{
"header": {
"target": "document.trash.RestoreFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Restore one or more links
Push information:
Pushing to: Project users
With target: document.trash.RestoreLinks
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
link_id_list - int list
Optional: []
Output:
-
success
-
bool
-
link_path_list
- LIST of
struct
-
link_id
-
int
-
path_ids
- LIST of
int
- can be missing
Example:
{
"header": {
"target": "document.trash.RestoreLinks",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Add a visa template request
Push information:
Pushing to: Project users
With target: document.validation.AddTemplateVisaRequest
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_dir_id - int
Output:
Example:
{
"header": {
"target": "document.validation.AddTemplateVisaRequest",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_dir_id": 12345
}
},
"body": {
"data": {}
}
}
Add a visa request
Push information:
Pushing to: Project users
With target: document.validation.AddVisaRequest
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
Output:
Example:
{
"header": {
"target": "document.validation.AddVisaRequest",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345
}
},
"body": {
"data": {}
}
}
Create a validation template on a folder
Push information:
Pushing to: Self
With target: document.validation.CreateFolderTemplateValidation
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
template_visa_id - int
-
file_dir_id - int
Output:
Example:
{
"header": {
"target": "document.validation.CreateFolderTemplateValidation",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"template_visa_id": 12345,
"file_dir_id": 12345
}
},
"body": {
"data": {}
}
}
Create a template visa
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.CreateTemplateVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"visa": "no example yet"
}
}
}
Create a visa
A visa can be composed of several linked requests
Push information:
Pushing to: Project users
With target: document.validation.CreateVisa
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.CreateVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345
}
},
"body": {
"data": {
"visa": "no example yet"
}
}
}
Push information:
Pushing to: Self
With target: document.validation.DeleteFolderTemplateValidation
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_dir_id - int
-
folder_validation_template_id - int
Output:
Example:
{
"header": {
"target": "document.validation.DeleteFolderTemplateValidation",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_dir_id": 12345,
"folder_validation_template_id": 12345
}
},
"body": {
"data": {}
}
}
Exports all document validations of the account as XLS
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ExportAccountValidationssAsXLS",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Exports all document validations of the account as XLS (async job)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ExportAccountValidationssAsXLSAsyncJob",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Exports all document requests made by the calling user as XLS
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ExportMyRequestsAsXLS",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Exports all document requests made by the calling user as XLS (ASYNC JOB)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ExportMyRequestsAsXLSAsyncJob",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Exports all document validation the calling user has access to as XLS
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ExportMyValidationAsXLS",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ExportMyValidationAsXLSAsyncJob",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Create a validation template on a folder
Push information:
Pushing to: Self
With target: document.validation.GetFolderTemplateValidation
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_dir_id - int
Output:
Example:
{
"header": {
"target": "document.validation.GetFolderTemplateValidation",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_dir_id": 12345
}
},
"body": {
"data": {}
}
}
Get a visa for a document
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
Output:
Example:
{
"header": {
"target": "document.validation.GetVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345
}
},
"body": {
"data": {}
}
}
List the visa templates related to an account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ListTemplateVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
List the visas related to a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ListVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
send a reminder email to a validator
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
request_id - int
-
response_id - int
Output:
Example:
{
"header": {
"target": "document.validation.RemindValidator",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"request_id": 12345,
"response_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a template visa
Push information:
Pushing to: Project users
With target: document.validation.RemoveTemplateVisa
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
Output:
-
success
-
bool
-
template_visa_id
-
int
Example:
{
"header": {
"target": "document.validation.RemoveTemplateVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a template visa's request
Push information:
Pushing to: Project users
With target: document.validation.RemoveTemplateVisaRequest
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
template_visa_id - int
-
request_id - int
Output:
-
success
-
bool
-
template_visa_id
-
int
-
template_request_id
-
int
Example:
{
"header": {
"target": "document.validation.RemoveTemplateVisaRequest",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"template_visa_id": 12345,
"request_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a visa
Push information:
Pushing to: Project users
With target: document.validation.RemoveVisa
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
visa_id - int
Output:
-
success
-
bool
-
visa_id
-
int
-
file_master_id
-
int
Example:
{
"header": {
"target": "document.validation.RemoveVisa",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"visa_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a visa's request
Push information:
Pushing to: Project users
With target: document.validation.RemoveVisaRequest
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
-
request_id - int
Output:
-
success
-
bool
-
visa_id
-
int
-
request_id
-
int
Example:
{
"header": {
"target": "document.validation.RemoveVisaRequest",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345,
"request_id": 12345
}
},
"body": {
"data": {}
}
}
Reset a response for a validator
Push information:
Pushing to: Project users
With target: document.validation.ResetResponseStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
request_id - int
-
response_id - int
Output:
Example:
{
"header": {
"target": "document.validation.ResetResponseStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"request_id": 12345,
"response_id": 12345
}
},
"body": {
"data": {}
}
}
Toggle a template visa as favorite
Push information:
Pushing to: Self
With target: document.validation.ToggleTemplateVisaFavorite
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
Body Data:
Output:
-
success
-
bool
-
template_visa_id
-
int
Example:
{
"header": {
"target": "document.validation.ToggleTemplateVisaFavorite",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345
}
},
"body": {
"data": {
"active": true
}
}
}
Update a validation template on a folder
Push information:
Pushing to: Self
With target: document.validation.UpdateFolderTemplateValidation
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_dir_id - int
-
folder_validation_template_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.UpdateFolderTemplateValidation",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_dir_id": 12345,
"folder_validation_template_id": 12345
}
},
"body": {
"data": {
"is_active": 12345
}
}
}
Update expiry date of a doc validation request
Push information:
Pushing to: Project users
With target: document.validation.UpdateRequestExpiryDate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
request_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.UpdateRequestExpiryDate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"request_id": 12345
}
},
"body": {
"data": {
"expiry_date": "2016-11-27 17:10:05"
}
}
}
Update status of a doc validation request
Push information:
Pushing to: Project users
With target: document.validation.UpdateRequestStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
request_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.UpdateRequestStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"request_id": 12345
}
},
"body": {
"data": {
"status": 12345
}
}
}
Remove a visa's request
Push information:
Pushing to: Project users
With target: document.validation.UpdateRequestValidators
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
-
request_id - int
-
user_id_list - int list
Body Data:
-
user_id_list_mandatory - int list
Optional: []
-
threshold - int
Optional: 0
Output:
Example:
{
"header": {
"target": "document.validation.UpdateRequestValidators",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345,
"request_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"user_id_list_mandatory": [
12345,
12346
],
"threshold": 12345
}
}
}
Update a response for a validator
Possibility to write a comment for this status (will also be put in file comments)
Push information:
Pushing to: Project users
With target: document.validation.UpdateResponseStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
file_master_id - int
-
request_id - int
-
response_id - int
Body Data:
-
status - int
-
comment - string
Optional: ""
Output:
-
success
-
bool
-
doc_validation_request
-
DocValidationRequest
-
doc_validation_response_id
-
int
-
doc_validation_complete
-
bool
-
doc_validation_response_user_id
-
int
Example:
{
"header": {
"target": "document.validation.UpdateResponseStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"file_master_id": 12345,
"request_id": 12345,
"response_id": 12345
}
},
"body": {
"data": {
"status": 12345,
"comment": "some text"
}
}
}
Update a template request's duration and periodicity
Push information:
Pushing to: Project users
With target: document.validation.UpdateTemplateRequestPeriodicity
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
request_id - int
Body Data:
-
duration - int
-
periodicity - string
Output:
Example:
{
"header": {
"target": "document.validation.UpdateTemplateRequestPeriodicity",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"request_id": 12345
}
},
"body": {
"data": {
"duration": 12345,
"periodicity": "some text"
}
}
}
Update a template request validators
Push information:
Pushing to: Project users
With target: document.validation.UpdateTemplateRequestValidators
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
template_visa_id - int
-
request_id - int
Body Data:
-
validators - list
-
threshold - int
Optional: 0
Output:
Example:
{
"header": {
"target": "document.validation.UpdateTemplateRequestValidators",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"template_visa_id": 12345,
"request_id": 12345
}
},
"body": {
"data": {
"validators": "no example yet",
"threshold": 12345
}
}
}
Update a template visa's description
Push information:
Pushing to: Project users
With target: document.validation.UpdateTemplateVisaDescription
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
template_visa_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.UpdateTemplateVisaDescription",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"template_visa_id": 12345
}
},
"body": {
"data": {
"description": "some text"
}
}
}
Update a visa's description
Push information:
Pushing to: Project users
With target: document.validation.UpdateVisaDescription
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
visa_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "document.validation.UpdateVisaDescription",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"visa_id": 12345
}
},
"body": {
"data": {
"description": "some text"
}
}
}
Accept the Universign GCU (General Conditions of Use) for the account.
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.AcceptUniversignGcu",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Activate the custom department list; this means the custom list will be used instead of the default one
The list itself is back bound and not returned through the API; if it does not exist it will be created here
Push information:
Pushing to: Main admins
With target: main.account.ActivateCustomDepartmentList
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.ActivateCustomDepartmentList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Activate list of users
Push information:
Pushing to: Main admins
With target: main.account.ActivateUsers
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
errors
- LIST of
object
- can be missing
Example:
{
"header": {
"target": "main.account.ActivateUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Main admins
With target: main.account.AddCreditCard
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.account.AddCreditCard",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"credit_card": {
"number": "12345865241926312",
"cvc": "735",
"holder": "someone",
"exp_year": "2018",
"exp_month": "11"
}
}
}
}
Push information:
Pushing to: Main admins
With target: main.account.AddCredits
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
credit_amount - float
-
credit_card - CreditCard
Optional: null
Output:
-
success
-
bool
-
credits
-
int
Example:
{
"header": {
"target": "main.account.AddCredits",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"credit_amount": 12.345,
"credit_card": {
"number": "12345865241926312",
"cvc": "735",
"holder": "someone",
"exp_year": "2018",
"exp_month": "11"
}
}
}
}
Add a new item to account custom department list
The list itself is back bound and not returned through the API, the first custom department item will create the list
Push information:
Pushing to: Main admins
With target: main.account.AddCustomDepartmentItem
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
label - string
Output:
Example:
{
"header": {
"target": "main.account.AddCustomDepartmentItem",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Add a user
Push information:
Pushing to: Whole account
With target: main.account.AddUser
Stream value: Pushing on user stream (1) and on chat stream (2)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
api_key - string
Optional: ""
-
clone_user_id - int
Optional: null
-
user_group_id_list - int list
Optional: []
Body Data:
-
first_name - string
-
last_name - string
-
login - string
-
tags - array
Optional: null
-
level - deprecated
Optional: 1
-
role - int
Optional: 0
-
- guest: -5
-
- user: 0
-
- manager: 1
-
- administrator: 2
-
language - string
Optional: "en"
-
password - string
Optional: null
-
gender - string
Optional: "M."
-
notif_user - bool
Optional: true
-
message - string
Optional: ""
-
saml_idp_id - int
Optional: 0
-
saml_id - string
Optional: ""
-
company - string
Optional: ""
-
department - stringEnum
Optional: ""
-
title - string
Optional: ""
-
custom_image_url - string
Optional: ""
-
personalized_entries - PersonalizedEntryValues
Optional: []
-
phones - PhoneList
Optional: []
-
notify_documents_interval - int
Optional: 5
Output:
Example:
{
"header": {
"target": "main.account.AddUser",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"first_name": "some text",
"last_name": "some text",
"login": "my.email@domain.com",
"tags": [
"myLabel1",
"myLabel2"
],
"level": "",
"role": 1,
"language": "some text",
"password": "mypassword",
"gender": "some text",
"notif_user": true,
"message": "some text",
"saml_idp_id": 12345,
"saml_id": "some text",
"company": "some text",
"department": "value",
"title": "some text",
"custom_image_url": "some text",
"personalized_entries": [
12345,
12346
],
"phones": "no example yet",
"notify_documents_interval": 12345
}
}
}
Batch update role for user list
Push information:
Pushing to: Main admins
With target: main.account.BatchUpdateUsersRole
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
Body Data:
Output:
-
success
-
bool
-
role
-
int
-
user_id_list
- LIST of
int
-
conflicts
- LIST of
object
- can be missing
Example:
{
"header": {
"target": "main.account.BatchUpdateUsersRole",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"role": 12345
}
}
}
Deactivate the custom department list; this means the default list will be used instead of the custom one
Push information:
Pushing to: Main admins
With target: main.account.DeactivateCustomDepartmentList
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.DeactivateCustomDepartmentList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Deactivate list of users
Privileges of current user must be above target users
Push information:
Pushing to: Main admins
With target: main.account.DeactivateUsers
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
User restriction: API user cannot access targeted users of this route if its rank is bellow theirs.
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
user_id_list_conflict
- LIST of
int
- can be missing
Example:
{
"header": {
"target": "main.account.DeactivateUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Delete the account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
reason - string
Optional: ""
-
password - string
Optional: null
-
account_name - string
Optional: ""
Output:
Example:
{
"header": {
"target": "main.account.DeleteAccount",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"reason": "some text",
"password": "mypassword",
"account_name": "some text"
}
}
}
Delete a custom item
Push information:
Pushing to: Main admins
With target: main.account.DeleteCustomDepartmentItem
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
label - string
Output:
Example:
{
"header": {
"target": "main.account.DeleteCustomDepartmentItem",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"label": "label"
}
},
"body": {
"data": {}
}
}
Delete list of users permanently
Privileges of current user must be above target users
Push information:
Pushing to: Main admins
With target: main.account.DeleteUsers
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
User restriction: API user cannot access targeted users of this route if its rank is bellow theirs.
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
user_id_list_conflict
- LIST of
int
- can be missing
Example:
{
"header": {
"target": "main.account.DeleteUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Edit a category
Push information:
Pushing to: Projets' users of a category
With target: main.account.EditCategory
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
category_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.account.EditCategory",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"category_id": 12345
}
},
"body": {
"data": {
"category_name": "some text"
}
}
}
Edit a user
Push information:
Pushing to: User list
With target: main.account.EditUser
Stream value: Pushing on user stream (1) and on chat stream (2)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
User restriction: API user cannot access targeted users of this route if its rank is bellow theirs.
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
Body Data:
-
phones - PhoneList
Optional: []
-
first_name - string
Optional: ""
-
last_name - string
Optional: ""
-
login - string
Optional: null
-
tags - array
Optional: null
-
password - string
Optional: null
-
old_password - string
Optional: ""
-
role - int
Optional: 0
-
gender - string
Optional: "M."
-
skype - string
Optional: ""
-
company - string
Optional: ""
-
department - string
Optional: null
-
title - string
Optional: ""
-
saml_idp_id - int
Optional: 0
-
saml_id - string
Optional: ""
Output:
-
user
-
User
-
should_relog
-
bool
- can be null
-
fields
- LIST of
string
Example:
{
"header": {
"target": "main.account.EditUser",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346
}
},
"body": {
"data": {
"phones": "no example yet",
"first_name": "some text",
"last_name": "some text",
"login": "my.email@domain.com",
"tags": [
"myLabel1",
"myLabel2"
],
"password": "mypassword",
"old_password": "some text",
"role": 12345,
"gender": "some text",
"skype": "some text",
"company": "some text",
"department": "label",
"title": "some text",
"saml_idp_id": 12345,
"saml_id": "some text"
}
}
}
Export the projects disk usage for the account as a CSV file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
file_name - string
Optional: "disk_usage"
-
delimiter - string
Optional: ";"
-
enclosure - string
Optional: """
Output:
Example:
{
"header": {
"target": "main.account.ExportProjectsDiskUsageAsCsv",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"file_name": "some text",
"delimiter": "some text",
"enclosure": "some text"
}
}
}
Export users in a file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
file_name - string
Optional: "users"
-
format - string
Optional: "csv"
-
delimiter - string
Optional: ";"
-
enclosure - string
Optional: """
-
charset - string
Optional: "UTF-8"
Output:
Example:
{
"header": {
"target": "main.account.ExportUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"file_name": "some text",
"format": "some text",
"delimiter": "some text",
"enclosure": "some text",
"charset": "some text"
}
}
}
Export users rights in a file
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
delimiter - string
Optional: ";"
Output:
Example:
{
"header": {
"target": "main.account.ExportUsersRights",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"delimiter": "some text"
}
}
}
Generate an API Key for the current account
If a key is already linked to this account, generate another key
Push information:
Pushing to: Self
With target: main.account.GenerateAPIKey
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GenerateAPIKey",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get account info
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.Get",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get external information for an account
Can be used by the login page
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_name - string
Optional: ""
Output:
-
account_info
-
AccountBase
-
google_enabled
-
bool
-
onedrive_enabled
-
bool
-
onedrivepro_enabled
-
bool
-
sso_info
- LIST of
SSOData
-
properties
- LIST of
Property
-
url
-
string
- can be missing
-
endpoints
-
struct
-
protocol
-
string
-
domain
-
string
-
webapp
-
string
-
websockets
-
string
-
cdn
-
string
-
api
-
string
-
api_files
-
string
-
files
-
string
-
office
-
string
-
airtime
-
string
-
zipper
-
string
Example:
{
"header": {
"target": "main.account.GetAccountExternalInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {}
},
"body": {
"data": {}
}
}
Get the account paying services (available & selected with metadata)
subscription page
Push information:
Pushing to: Main admins
With target: main.account.GetAccountPayingServices
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetAccountPayingServices",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get the account signature package list
subscription page
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetAccountSignaturePackages",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get wapi routes that should update the activity unread counter
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
activity_request_list
- LIST of
string
Example:
{
"header": {
"target": "main.account.GetActivityRelatedRequestList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get all available users. Which mean a status will be returned.
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetAllAvailableUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
offers - bool
Optional: false
-
users_stats - bool
Optional: false
Output:
-
billing_info
-
BillingInfo
-
offers
- LIST of
Offer
- can be missing
-
users_stats
-
struct
- can be missing
-
all
-
int
-
standard
-
struct
-
all
-
int
-
active
-
int
-
trash
-
int
-
deactivated
-
int
-
deleted
-
int
-
guest
-
struct
-
all
-
int
-
active
-
int
-
trash
-
int
-
deactivated
-
int
-
deleted
-
int
-
paying_services
- LIST of
PayingServicesAccount
-
packages
-
struct
- can be missing
-
modules
-
AccountModules
Example:
{
"header": {
"target": "main.account.GetBillingInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"offers": true,
"users_stats": true
}
}
}
Get the calendars of a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
calendars
- LIST of
struct
-
info
-
struct
-
name
-
string
-
calendar_id
-
int
-
webcal_url
-
string
- can be null
-
ctag
-
int
-
user_access
-
int
Example:
{
"header": {
"target": "main.account.GetCalendars",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get categories of a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetCategories",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Retrieve big object containing country & state ISO-3166-1&2 code
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetCountryStateCode",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get the current signature package
subscription page
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetCurrentSignaturePackage",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get the account custom department list
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetCustomDepartmentList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get the list of department for the account
Can be default list or the custom departments list
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetDepartmentList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Return document nodes count
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetDocumentNodeCount",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get list of users sharing the same projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
get_status - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.account.GetListOfUsersSharingSameProjects",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"get_status": true
}
}
}
Get list of privileges on projects for a member list
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
group_member_list - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
-
member_list_projects_auth
- LIST of
struct
-
member_id
-
int
-
member_type_id
-
int
-
projects_auth
- LIST of
ProjectAuth
Example:
{
"header": {
"target": "main.account.GetMemberListProjectsAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"group_member_list": [
{
"member_type_id": 1,
"member_id": 12345
},
{
"member_type_id": 2,
"member_id": 12345
}
]
}
},
"body": {
"data": {}
}
}
Get list of privileges on projects for a member
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
group_member - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
-
member_id
-
int
-
member_type_id
-
int
-
projects_auth
- LIST of
ProjectAuth
Example:
{
"header": {
"target": "main.account.GetMemberProjectsAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"group_member": {
"member_type_id": 1,
"member_id": 12345
}
}
},
"body": {
"data": {}
}
}
get account notification settings (enabled/disabled)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetNotificationSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get a user project
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
project_auth - bool
Optional: true
-
project_stats - bool
Optional: false
-
project_users - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.account.GetProject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"project_auth": true,
"project_stats": true,
"project_users": true
}
}
}
Get a user project document size
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetProjectDocumentSize",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get the project templates for that account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetProjectTemplates",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get projects of a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
calc_document_size - bool
Optional: false
-
with_categories - bool
Optional: false
-
projects_auth - bool
Optional: true
-
projects_stats - bool
Optional: false
-
projects_tasks_stats - bool
Optional: false
-
projects_users - bool
Optional: false
-
all_projects - bool
Optional: true
-
for_drive_synchro - bool
Optional: false
-
include_archived - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.account.GetProjects",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"calc_document_size": true,
"with_categories": true,
"projects_auth": true,
"projects_stats": true,
"projects_tasks_stats": true,
"projects_users": true,
"all_projects": true,
"for_drive_synchro": true,
"include_archived": true
}
}
}
Get projects stats for user available projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetProjectsStats",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get the users of the given service and format the output to correspond the ones of Wimi
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
success
-
bool
-
users
- LIST of
UserService
- can be missing
-
url
-
string
- can be missing
Example:
{
"header": {
"target": "main.account.GetServiceUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"service": "some text"
}
}
}
Get settings for the account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
account
-
Account
-
settings
-
AccountSettings
-
stats
-
struct
- can be missing
-
project_active_count
-
int
-
project_archived_count
-
int
-
user_active_count
-
int
-
user_deactivated_count
-
int
-
guest_active_count
-
int
-
guest_deactivated_count
-
int
-
storage_used
-
int
-
storage_total
-
int
-
api_key
-
string
- can be missing
- can be null
Example:
{
"header": {
"target": "main.account.GetSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Return the necessary info to display the welcome tutorial
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
user
-
User
-
skip_first_page
-
bool
-
show_CGU_link
-
bool
-
title_field_mandatory
-
bool
-
account
-
Account
-
account_settings
-
AccountSettings
- can be missing
-
show_trial
-
bool
-
offer
-
Offer
- can be missing
-
suggest_project_creation
-
bool
-
presets
-
object
- can be missing
Example:
{
"header": {
"target": "main.account.GetTutorialInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get the status of Universign GCU (General Conditions of Use) acceptance for the requested account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetUniversignGcuAcceptanceStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetUser",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346
}
},
"body": {
"data": {}
}
}
Get list of privileges on projects for a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
Output:
Example:
{
"header": {
"target": "main.account.GetUserProjectsAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346
}
},
"body": {
"data": {}
}
}
Get all users
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
Optional: []
Output:
Example:
{
"header": {
"target": "main.account.GetUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Import users from csv
Push information:
Pushing to: Main admins
With target: main.account.ImportUsersFromCSV
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
upsert - bool
Optional: false
-
name - string
-
size - int
Output:
-
success
-
bool
-
users
- LIST of
User
-
errors
- LIST of
object
-
non_created_groups
- LIST of
string
- can be missing
Example:
{
"header": {
"target": "main.account.ImportUsersFromCSV",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"upsert": true,
"name": "some text",
"size": 12345
}
}
}
Get all the account properties
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.ListProperties",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.ListUnconnectedUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Move a custom item to given position
Push information:
Pushing to: Main admins
With target: main.account.MoveCustomDepartmentItem
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
label - string
Body Data:
Output:
Example:
{
"header": {
"target": "main.account.MoveCustomDepartmentItem",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"label": "label"
}
},
"body": {
"data": {
"position": 12345
}
}
}
Add an entity of debit_type to the selected paying service
subscription page
Push information:
Pushing to: Main admins
With target: main.account.PayingServicesAddEntity
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
selected_workspace_list - int list
-
unselected_workspace_list - int list
-
paying_service_id - int
Output:
Example:
{
"header": {
"target": "main.account.PayingServicesAddEntity",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"selected_workspace_list": [
12345,
12346
],
"unselected_workspace_list": [
12345,
12346
],
"paying_service_id": 12345
}
}
}
Regenerate the password of the Wimi Backup user of this account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.RegenerateGeneralPassword",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Remove an API Key for the current account
Push information:
Pushing to: Self
With target: main.account.RemoveAPIKey
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.account.RemoveAPIKey",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Main admins
With target: main.account.RemoveCreditCard
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
credit_card_id - int
Output:
Example:
{
"header": {
"target": "main.account.RemoveCreditCard",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"credit_card_id": 12345
}
},
"body": {
"data": {}
}
}
Deactivate the current user
Manager cannot deactivate himself
Push information:
Pushing to: Main admins
With target: main.account.SelfDeactivate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
user_id
-
int
Example:
{
"header": {
"target": "main.account.SelfDeactivate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Send invitation to given user id list
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
errors
- LIST of
object
- can be missing
Example:
{
"header": {
"target": "main.account.SendUserListInvitation",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Set billing info of account
Each field is optional
Push information:
Pushing to: Main admins
With target: main.account.SetBillingInfo
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
bill_name - string
Optional: null
-
owner - string
Optional: null
-
email - string
Optional: null
-
entity_type - string
Optional: null
-
tva - string
Optional: ""
-
address - Address
Optional: null
-
phone - Phone
Optional: []
-
retailer - string
Optional: null
-
payment_periodicity - int
Optional: 0
-
automatic_renewal - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.account.SetBillingInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"bill_name": "mylabel1",
"owner": "mylabel1",
"email": "my.email@domain.com",
"entity_type": "mylabel1",
"tva": "some text",
"address": "no example yet",
"phone": "no example yet",
"retailer": "mylabel1",
"payment_periodicity": 12345,
"automatic_renewal": true
}
}
}
Set account notification settings
Push information:
Pushing to: Whole account
With target: main.account.SetNotificationSettings
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
disable - int
Optional: 0
-
channel - int
Optional: 0
-
documents - int
Optional: 0
-
tasks - int
Optional: 0
-
calendar - int
Optional: 0
-
meetings - int
Optional: 0
-
account_property_list - array
-
force_all_users - bool
Optional: false
Output:
-
success
-
bool
-
disabled
-
int
- can be missing
-
channel
-
int
- can be missing
-
documents
-
int
- can be missing
-
tasks
-
int
- can be missing
-
calendar
-
int
- can be missing
-
meetings
-
int
- can be missing
-
account_property_list
- LIST of
AccountProperty
Example:
{
"header": {
"target": "main.account.SetNotificationSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"disable": 12345,
"channel": 12345,
"documents": 12345,
"tasks": 12345,
"calendar": 12345,
"meetings": 12345,
"account_property_list": [
{
"property_type_id": 12345,
"property_value": "my value",
"project_id": 12345
},
{
"property_type_id": 12345,
"property_value": "my value",
"project_id": 12345
}
],
"force_all_users": true
}
}
}
Set the on boarding info for the account
Push information:
Pushing to: Whole account
With target: main.account.SetOnBoardingInfo
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
company_name - string
Optional: ""
-
company_size - string
Optional: ""
-
welcome_invite_wish - stringEnum
Optional: ""
-
welcome_activity - string
Optional: ""
-
welcome_interest - int
-
entity_type - string
Optional: null
Output:
Example:
{
"header": {
"target": "main.account.SetOnBoardingInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"company_name": "some text",
"company_size": "some text",
"welcome_invite_wish": "value",
"welcome_activity": "some text",
"welcome_interest": 12345,
"entity_type": "mylabel1"
}
}
}
Set settings for the account
Push information:
Pushing to: Whole account
With target: main.account.SetSettings
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
company_name - string
Optional: ""
-
locale_id - int
Optional: 0
-
company_size - string
Optional: ""
-
website - string
Optional: ""
-
max_file_version - int
Optional: 0
-
incoming_mail_as - string
Optional: ""
-
admin_user_creation_disabled - bool
Optional: false
-
admin_category_creation_disabled - bool
Optional: false
-
admin_group_creation_disabled - bool
Optional: false
-
sharing_actions_disabled - bool
Optional: false
-
auto_trash_deletion - bool
Optional: false
-
tag_creation_disabled - bool
Optional: false
-
community_creation_min_privilege - int
Optional: 0
-
mail_upload_disabled - bool
Optional: false
-
password_policy - bool
Optional: false
-
doc_notif_type - int
Optional: 1
-
default_project_quota - int
Optional: 0
-
interest - int
Optional: 0
-
allow_support_intervention - bool
Optional: false
-
welcome_invite_wish - stringEnum
Optional: ""
-
manager_visibility_rights - int
Optional: 1
-
user_visibility_option - int
Optional: 0
-
activity_min_privilege - int
Optional: 0
-
airtime_creation_min_privilege - int
Optional: 0
-
admin_user_creation_max_privilege - int
Optional: 1
-
remove_logo - bool
Optional: false
-
name - string
Optional: ""
-
size - int
Optional: 0
Output:
Example:
{
"header": {
"target": "main.account.SetSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"company_name": "some text",
"locale_id": 12345,
"company_size": "some text",
"website": "some text",
"max_file_version": 12345,
"incoming_mail_as": "some text",
"admin_user_creation_disabled": true,
"admin_category_creation_disabled": true,
"admin_group_creation_disabled": true,
"sharing_actions_disabled": true,
"auto_trash_deletion": true,
"tag_creation_disabled": true,
"community_creation_min_privilege": 12345,
"mail_upload_disabled": true,
"password_policy": true,
"doc_notif_type": 12345,
"default_project_quota": 12345,
"interest": 12345,
"allow_support_intervention": true,
"welcome_invite_wish": "value",
"manager_visibility_rights": 12345,
"user_visibility_option": 12345,
"activity_min_privilege": 12345,
"airtime_creation_min_privilege": 12345,
"admin_user_creation_max_privilege": 12345,
"remove_logo": true,
"name": "some text",
"size": 12345
}
}
}
Customization - set ui settings
setting_key can be one of: ui_setting_main_bg_color, ui_setting_welcome_text, ui_setting_welcome_image, ui_setting_header_image. Either setting_value or a file should be provided
Push information:
Pushing to: Whole account
With target: main.account.SetUISetting
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
setting_key - string
-
setting_value - string
Optional: ""
-
name - string
Optional: ""
-
size - int
Optional: 0
Output:
-
settings
-
struct
-
ui_setting_main_color
-
int
-
ui_setting_welcome_text
-
string
- can be null
-
ui_setting_welcome_image
-
string
- can be null
-
ui_setting_header_image
-
string
- can be null
-
ui_setting_saml_login_text
-
string
- can be null
-
ui_setting_invite_mail
-
string
- can be null
Example:
{
"header": {
"target": "main.account.SetUISetting",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"setting_key": "some text",
"setting_value": "some text",
"name": "some text",
"size": 12345
}
}
}
Set welcome activity
Set welcome activity
Push information:
Pushing to: Self
With target: main.account.SetWelcomeActivity
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
welcome_activity - string
Optional: ""
-
welcome_interest - int
Output:
-
success
-
bool
-
welcome_activity
-
string
- can be missing
-
welcome_interest
-
int
Example:
{
"header": {
"target": "main.account.SetWelcomeActivity",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"welcome_activity": "some text",
"welcome_interest": 12345
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
should_perform_payment
-
bool
Example:
{
"header": {
"target": "main.account.ShouldPerformPayment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Subscribe to a signature package
subscription page
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
signature_package_id - int
Output:
Example:
{
"header": {
"target": "main.account.SubscribeToSignaturePackage",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"signature_package_id": 12345
}
},
"body": {
"data": {}
}
}
Toggle support intervention authorization on account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
allow_support_intervention
-
bool
Example:
{
"header": {
"target": "main.account.ToggleSupportInterventionAuthorization",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Enable/Disable a third party service for the account
Push information:
Pushing to: Whole account
With target: main.account.ToggleThirdPartyService
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
service - string
-
enable - bool
Output:
-
service
-
string
-
enabled
-
bool
Example:
{
"header": {
"target": "main.account.ToggleThirdPartyService",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"service": "some text",
"enable": true
}
}
}
Subscribe to a signature package
subscription page
Push information:
Pushing to: Self
With target: main.account.UnsubscribeToSignaturePackage
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
deletion_date
-
date
- can be missing
Example:
{
"header": {
"target": "main.account.UnsubscribeToSignaturePackage",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Add a new item to account custom department list
The list itself is back bound and not returned through the API, the first custom department item will create the list
Push information:
Pushing to: Main admins
With target: main.account.UpdateCustomDepartmentItem
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
label - string
-
new_label - string
Output:
Example:
{
"header": {
"target": "main.account.UpdateCustomDepartmentItem",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"label": "label",
"new_label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Whole account
With target: main.account.UpdateProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.account.UpdateProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"account_property": {
"property_type_id": 12345,
"property_value": "my value",
"project_id": 12345
}
}
}
}
Get the webapp version
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
Output:
Example:
{
"header": {
"target": "main.appli.GetWebappVersion",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {}
},
"body": {
"data": {}
}
}
Add a member to a group
Push information:
Pushing to: Unkown push action
With target: main.group.AddMember
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
Body Data:
-
group_member - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
Example:
{
"header": {
"target": "main.group.AddMember",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {
"group_member": {
"member_type_id": 1,
"member_id": 12345
}
}
}
}
Add a tag on a user group
Push information:
Pushing to: Unkown push action
With target: main.group.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
-
label - string
Output:
-
success
-
bool
-
user_group_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.group.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Batch add members to a group
Push information:
Pushing to: Unkown push action
With target: main.group.BatchAddMembers
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
Body Data:
-
group_member_list - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
Example:
{
"header": {
"target": "main.group.BatchAddMembers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {
"group_member_list": [
{
"member_type_id": 1,
"member_id": 12345
},
{
"member_type_id": 2,
"member_id": 12345
}
]
}
}
}
Create a user group
Push information:
Pushing to: User list
With target: main.group.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
name - string
-
group_member_list - array
Optional: null
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
Example:
{
"header": {
"target": "main.group.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"name": "mylabel1",
"group_member_list": [
{
"member_type_id": 1,
"member_id": 12345
},
{
"member_type_id": 2,
"member_id": 12345
}
]
}
}
}
Delete a user group
Push information:
Pushing to: User list
With target: main.group.Delete
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
Output:
Example:
{
"header": {
"target": "main.group.Delete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {}
}
}
Edit a user group
Push information:
Pushing to: Unkown push action
With target: main.group.Edit
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.group.Edit",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {
"name": "mylabel1"
}
}
}
Edit a group creation user
Push information:
Pushing to: Unkown push action
With target: main.group.EditGroupCreationUser
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.group.EditGroupCreationUser",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {
"creation_user_id": 12346
}
}
}
Link a tag to a group
Push information:
Pushing to: Unkown push action
With target: main.group.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
-
tag_id - int
Output:
-
success
-
bool
-
user_group_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.group.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
List the user group of this account
limited to what the user can see
Push information:
Pushing to: Unkown push action
With target: main.group.List
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
user_group_list
- LIST of
UserGroup
Example:
{
"header": {
"target": "main.group.List",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a member from a group
Push information:
Pushing to: Unkown push action
With target: main.group.RemoveMember
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
Body Data:
-
group_member - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Output:
Example:
{
"header": {
"target": "main.group.RemoveMember",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {
"group_member": {
"member_type_id": 1,
"member_id": 12345
}
}
}
}
Remove a tag in a user group
Push information:
Pushing to: Unkown push action
With target: main.group.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
-
tag_id - int
Output:
-
success
-
bool
-
user_group_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.group.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag in a user group using the label
Push information:
Pushing to: Unkown push action
With target: main.group.RemoveTagByLabel
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_group_id - int
-
label - string
Output:
-
success
-
bool
-
user_group_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.group.RemoveTagByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_group_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
add a choice to a personalized entry of type qcu / qcm
Push information:
Pushing to: Whole account
With target: main.personalizedentry.AddChoice
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
label - string
Output:
Example:
{
"header": {
"target": "main.personalizedentry.AddChoice",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"label": "some text"
}
}
}
Insert object access for specified entry (workspace/users)
Push information:
Pushing to: Whole account
With target: main.personalizedentry.BatchUpdateEntryAccess
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id_list - int list
-
object - string
-
auth - bool
Output:
-
success
-
bool
-
entry_id_list
- LIST of
int
-
object
-
string
-
auth
-
bool
Example:
{
"header": {
"target": "main.personalizedentry.BatchUpdateEntryAccess",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id_list": [
12345,
12346
],
"object": "some text",
"auth": true
}
}
}
change entry access to workspace (module)
Push information:
Pushing to: Whole account
With target: main.personalizedentry.BatchUpdateEntryProjectAuth
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
project_id - int
-
entry_id_list - int list
-
documents - int
Optional: -1
-
tasks - int
Optional: -1
Output:
Example:
{
"header": {
"target": "main.personalizedentry.BatchUpdateEntryProjectAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"project_id": 12346,
"entry_id_list": [
12345,
12346
],
"documents": 1,
"tasks": 1
}
}
}
create a personalized entry
Push information:
Pushing to: Whole account
With target: main.personalizedentry.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
name - string
-
type_id - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"type_id": 12345
}
}
}
remove a choice
Push information:
Pushing to: Whole account
With target: main.personalizedentry.DeleteChoice
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
choice_id - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.DeleteChoice",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"choice_id": 12346
}
}
}
Batch delete entries
Push information:
Pushing to: Whole account
With target: main.personalizedentry.DeleteEntries
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.personalizedentry.DeleteEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id_list": [
12345,
12346
]
}
}
}
get workspace / module access of an entry
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.personalizedentry.GetEntryGlobalAccess",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346
}
}
}
Get item entries and their value
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
item_id - int
-
item_type_id - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.GetItemEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"item_id": 12345,
"item_type_id": 12345
}
}
}
get a personalized entry
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.GetPersonalizedEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
get a personalized entries for users
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.personalizedentry.GetPersonalizedEntriesForObject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"object_type": "some text"
}
}
}
get specific workspace / module access of an entry
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.GetWorkspaceEntryAccess",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Move a choice to another position
Push information:
Pushing to: Whole account
With target: main.personalizedentry.MoveChoice
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
choice_id - int
-
position - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.MoveChoice",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"choice_id": 12346,
"position": 12345
}
}
}
Move a choice to another position
Push information:
Pushing to: Whole account
With target: main.personalizedentry.MoveEntry
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
new_position - int
Output:
Example:
{
"header": {
"target": "main.personalizedentry.MoveEntry",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"new_position": 12345
}
}
}
add a choice to a personalized entry of type qcu / qcm
Push information:
Pushing to: Whole account
With target: main.personalizedentry.RenameChoice
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
choice_id - int
-
label - string
Output:
Example:
{
"header": {
"target": "main.personalizedentry.RenameChoice",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"choice_id": 12346,
"label": "some text"
}
}
}
Set value for the specified entry
Push information:
Pushing to: Whole account
With target: main.personalizedentry.SetEntryValue
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
item_id - int
-
item_type_id - int
-
raw_value - string
Optional: ""
-
choice_id - int
Optional: null
-
choice_status - bool
Optional: false
Output:
-
item_entries
- LIST of
PersonalizedEntryValue
- can be missing
-
entry_id
-
int
-
item_id
-
int
-
item_type_id
-
int
-
success
-
bool
Example:
{
"header": {
"target": "main.personalizedentry.SetEntryValue",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"item_id": 12345,
"item_type_id": 12345,
"raw_value": "some text",
"choice_id": 12346,
"choice_status": true
}
}
}
Update name of an entry
Push information:
Pushing to: Whole account
With target: main.personalizedentry.UpdateName
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
entry_id - int
-
name - string
Output:
Example:
{
"header": {
"target": "main.personalizedentry.UpdateName",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"entry_id": 12346,
"name": "some text"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.ActivateModules
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.project.ActivateModules",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"modules": [
"string1",
"string2",
"string3"
]
}
}
}
Push information:
Pushing to: Project users
With target: main.project.AddDefaultReminder
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
value - int
-
unit - stringEnum
Output:
Example:
{
"header": {
"target": "main.project.AddDefaultReminder",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"value": 12345,
"unit": "value"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
label - string
Output:
-
success
-
bool
-
project_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.project.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users and main admins
With target: main.project.Archive
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.Archive",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: User list
With target: main.project.BatchSetUsersAuth
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
target_user_id_list - int list
Body Data:
-
level - int
Optional: -1
-
documents - int
Optional: -1
-
tasks - int
Optional: -1
-
calendar - int
Optional: -1
-
meetings - int
Optional: -1
-
reporting - int
Optional: -1
-
channel - int
Optional: -1
-
notif_user - bool
Optional: true
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
project
-
Project
-
project_auth
- LIST of
ProjectAuth
Example:
{
"header": {
"target": "main.project.BatchSetUsersAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"target_user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"level": 1,
"documents": 1,
"tasks": 1,
"calendar": 1,
"meetings": 1,
"reporting": 1,
"channel": 1,
"notif_user": true
}
}
}
Push information:
Pushing to: Fellow users
With target: main.project.ChangedProjects
Stream value: Pushing on user stream (1)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
-
changed_projects
- LIST of
struct
-
id
-
int
-
start_date
-
datetime
- can be null
-
end_date
-
datetime
- can be null
Example:
{
"header": {
"target": "main.project.ChangedProjects",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: User list
With target: main.project.Create
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
api_key - string
Optional: ""
-
clone_project_id - int
Optional: null
Body Data:
-
project_name - string
-
category_id - int
Optional: 0
-
new_category_name - string
Optional: ""
-
no_email - bool
Optional: false
-
email_prefix - string
Optional: ""
-
info - string
Optional: ""
-
url_image - string
Optional: ""
-
template_key - string
Optional: ""
-
clone_directories - bool
Optional: true
-
clone_files - bool
Optional: true
-
clone_tasks - bool
Optional: true
-
business_hour_start_datetime - datetime
Optional: null
-
business_hour_end_datetime - datetime
Optional: null
-
business_hour_enable_weekend - int
Optional: 0
Output:
Example:
{
"header": {
"target": "main.project.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"project_name": "some text",
"category_id": 12345,
"new_category_name": "some text",
"no_email": true,
"email_prefix": "some text",
"info": "some text",
"url_image": "some text",
"template_key": "some text",
"clone_directories": true,
"clone_files": true,
"clone_tasks": true,
"business_hour_start_datetime": "2016-11-27 17:10:05",
"business_hour_end_datetime": "2016-11-27 17:10:05",
"business_hour_enable_weekend": 12345
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
project
-
Project
- can be null
Example:
{
"header": {
"target": "main.project.CreateDefaultProject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: User list
With target: main.project.CreateFromTemplate
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Body Data:
-
project_name - string
Optional: ""
-
category_id - int
Optional: 0
-
new_category_name - string
Optional: ""
-
info - string
Optional: ""
Output:
Example:
{
"header": {
"target": "main.project.CreateFromTemplate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_project_id": 12345
}
},
"body": {
"data": {
"project_name": "some text",
"category_id": 12345,
"new_category_name": "some text",
"info": "some text"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.DeactivateModules
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.project.DeactivateModules",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"modules": [
"string1",
"string2",
"string3"
]
}
}
}
Push information:
Pushing to: Project users and main admins
With target: main.project.Delete
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.Delete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.DeleteDefaultReminder
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
reminder_id - int
Output:
Example:
{
"header": {
"target": "main.project.DeleteDefaultReminder",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"reminder_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.GetProjectTagCountInFamily
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
family_tag_id - int
-
add_family_if_no_tag - bool
Output:
-
tag_count
-
int
-
project
-
Project
- can be null
Example:
{
"header": {
"target": "main.project.GetProjectTagCountInFamily",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"family_tag_id": 12345,
"add_family_if_no_tag": true
}
}
}
Push information:
Pushing to: Project users
With target: main.project.GetPropertyList
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
-
project_id
-
int
-
property_list
- LIST of
Property
Example:
{
"header": {
"target": "main.project.GetPropertyList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.project.GetTemplateList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.GetTree",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
X | |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
full - bool
Optional: false
Output:
-
auth_list
- LIST of
UserAuth
-
member_auth_list
-
struct
Example:
{
"header": {
"target": "main.project.GetUsersAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"full": true
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
full - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.project.GetUsersList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"full": true
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id_list - int list
Output:
-
project_virtual_path_list
- LIST of
struct
-
project_id
-
int
-
virtual_path
-
string
Example:
{
"header": {
"target": "main.project.GetVirtualPathList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.IsServiceAvailableForProject
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
add_paying_service - bool
-
paying_service - string
Output:
Example:
{
"header": {
"target": "main.project.IsServiceAvailableForProject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"add_paying_service": true,
"paying_service": "some text"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
tag_id - int
Output:
-
success
-
bool
-
project_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.project.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.LockProjectTree
Stream value: Pushing on document stream (8)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.LockProjectTree",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.RemoveProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
property_label - string
Output:
-
success
-
bool
-
project_id
-
int
-
property
-
Property
Example:
{
"header": {
"target": "main.project.RemoveProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"property_label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
tag_id - int
Output:
-
success
-
bool
-
project_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.project.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.RemoveTagByLabel
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
label - string
Output:
-
success
-
bool
-
project_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.project.RemoveTagByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.RemoveTagFamilyRestriction
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.RemoveTagFamilyRestriction",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: User list
With target: main.project.RemoveUserGroups
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
user_group_id_list - int list
Output:
-
success
-
bool
-
user_group_id_list
- LIST of
int
-
project_id
-
int
Example:
{
"header": {
"target": "main.project.RemoveUserGroups",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"user_group_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: User list
With target: main.project.RemoveUsers
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
user_id_list - int list
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
project_id
-
int
Example:
{
"header": {
"target": "main.project.RemoveUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: User list
With target: main.project.ReplaceUser
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
user_source_id - int
-
user_target_id - int
Output:
Example:
{
"header": {
"target": "main.project.ReplaceUser",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"user_source_id": 12346,
"user_target_id": 12346
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users and main admins
With target: main.project.Restore
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.Restore",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.SetDriveSync
Stream value: Pushing on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.project.SetDriveSync",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"enable": true
}
}
}
Push information:
Pushing to: User list
With target: main.project.SetMemberAuth
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
group_member - array
-
- member_id: id of the member
-
- member_type_id: type id of the member: 1 for user, 2 for user group
Body Data:
-
level - int
Optional: -1
-
documents - int
Optional: -1
-
tasks - int
Optional: -1
-
calendar - int
Optional: -1
-
meetings - int
Optional: -1
-
reporting - int
Optional: -1
-
channel - int
Optional: -1
-
notif_user - bool
Optional: true
Output:
-
success
-
bool
-
member_id
-
int
-
member_type_id
-
int
-
project
-
Project
-
project_auth
-
ProjectAuth
Example:
{
"header": {
"target": "main.project.SetMemberAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"group_member": {
"member_type_id": 1,
"member_id": 12345
}
}
},
"body": {
"data": {
"level": 1,
"documents": 1,
"tasks": 1,
"calendar": 1,
"meetings": 1,
"reporting": 1,
"channel": 1,
"notif_user": true
}
}
}
Push information:
Pushing to: Project users
With target: main.project.SetPropertyValue
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Documents restrictions:
Read-only (1) | Read-write (2) |
| X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
property_label - string
Body Data:
Output:
-
success
-
bool
-
project_id
-
int
-
property
-
Property
Example:
{
"header": {
"target": "main.project.SetPropertyValue",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"property_label": "mylabel1"
}
},
"body": {
"data": {
"value": "mylabel1"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.SetTagFamilyRestriction
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
family_tag_id - int
-
action - int
Output:
-
success
-
bool
-
tag_ids
- LIST of
int
-
project
-
Project
Example:
{
"header": {
"target": "main.project.SetTagFamilyRestriction",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"family_tag_id": 12345,
"action": 12345
}
}
}
Push information:
Pushing to: User list
With target: main.project.SetUserAuth
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
target_user_id - int
-
adding_user - bool
Optional: false
-
duplicate_project_log - bool
Optional: false
Body Data:
-
level - int
Optional: -1
-
documents - int
Optional: -1
-
tasks - int
Optional: -1
-
calendar - int
Optional: -1
-
meetings - int
Optional: -1
-
reporting - int
Optional: -1
-
channel - int
Optional: -1
-
notif_user - bool
Optional: true
Output:
Example:
{
"header": {
"target": "main.project.SetUserAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"target_user_id": 12346
}
},
"body": {
"data": {
"level": 1,
"documents": 1,
"tasks": 1,
"calendar": 1,
"meetings": 1,
"reporting": 1,
"channel": 1,
"notif_user": true
}
}
}
Push information:
Pushing to: Unkown push action
With target: main.project.SetUserGroupAuth
Stream value: Pushing on user stream (1) and on chat stream (2)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Advanced project restrictions:
General administrators (account role: 2) | Project managers (project rights: 5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
user_group_id - int
Body Data:
-
level - int
Optional: -1
-
documents - int
Optional: -1
-
tasks - int
Optional: -1
-
calendar - int
Optional: -1
-
meetings - int
Optional: -1
-
reporting - int
Optional: -1
-
channel - int
Optional: -1
Output:
Example:
{
"header": {
"target": "main.project.SetUserGroupAuth",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"user_group_id": 12345
}
},
"body": {
"data": {
"level": 1,
"documents": 1,
"tasks": 1,
"calendar": 1,
"meetings": 1,
"reporting": 1,
"channel": 1
}
}
}
Push information:
Pushing to: Project users
With target: main.project.UnlockProjectTree
Stream value: Pushing on document stream (8)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "main.project.UnlockProjectTree",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Project users
With target: main.project.Update
Stream value: Pushing on user stream (1) and on chat stream (2) and on document stream (8) and on document tree stream (16)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
api_key - string
Optional: ""
Body Data:
-
project_name - string
Optional: ""
-
category_id - int
Optional: 0
-
new_category_name - string
Optional: ""
-
email_prefix - string
Optional: ""
-
url_image - string
Optional: ""
-
refresh_default_image - bool
Optional: false
-
storage_quota - int
Optional: 0
-
business_hour_start_datetime - datetime
Optional: null
-
business_hour_end_datetime - datetime
Optional: null
-
business_hour_enable_weekend - int
Optional: 0
-
name - string
Optional: ""
-
info - string
Optional: ""
-
size - int
Optional: 0
-
end_date - date
Optional: null
-
start_date - date
Optional: null
Output:
Example:
{
"header": {
"target": "main.project.Update",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"project_name": "some text",
"category_id": 12345,
"new_category_name": "some text",
"email_prefix": "some text",
"url_image": "some text",
"refresh_default_image": true,
"storage_quota": 12345,
"business_hour_start_datetime": "2016-11-27 17:10:05",
"business_hour_end_datetime": "2016-11-27 17:10:05",
"business_hour_enable_weekend": 12345,
"name": "some text",
"info": "some text",
"size": 12345,
"end_date": "2016-11-27",
"start_date": "2016-11-27"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.UpdateDefaultModule
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.project.UpdateDefaultModule",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"module": "some text"
}
}
}
Push information:
Pushing to: Project users
With target: main.project.UpdateDefaultReminder
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
| X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
reminder_id - int
Body Data:
-
value - int
Optional: null
-
unit - stringEnum
Optional: null
Output:
Example:
{
"header": {
"target": "main.project.UpdateDefaultReminder",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"reminder_id": 12345
}
},
"body": {
"data": {
"value": 12345,
"unit": "value"
}
}
}
Create a token that can be used by an external service to create a limited access token for that user
Need a SAML access token: the user will be fetched by contacting the IdP
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
access_token - string
Body Data:
-
service_name - string
- Name of the service associated to that token
Output:
Example:
{
"header": {
"target": "main.saml.CreateServiceToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"access_token": "mylabel1"
}
},
"body": {
"data": {
"service_name": "mylabel1"
}
}
}
Get a list of account associated to the user linked to the given access token
Need a SAML access token: the user will be fetched by contacting the IdP
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
Output:
Example:
{
"header": {
"target": "main.saml.GetAccountList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"access_token": "mylabel1"
}
},
"body": {
"data": {}
}
}
Add search to recent search user history
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
query - string
Optional: ""
-
module - string
Optional: ""
Output:
Example:
{
"header": {
"target": "main.search.AddRecentSearch",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"module": "some text"
}
}
}
Clear search history for specified user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.search.ClearSearchHistory",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get user recent search history
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.search.GetUserRecentSearch",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Search items in the wimi with a query
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
query - string
Optional: ""
-
tag_label_list - string list
Optional: []
-
module - string
Optional: ""
-
amount - int
Optional: 0
-
extra_filters - SearchExtraFilter
Optional: null
Output:
Example:
{
"header": {
"target": "main.search.Search",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"tag_label_list": [
"string1",
"string2",
"string3"
],
"module": "some text",
"amount": 12345,
"extra_filters": "no example yet"
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
query - string
Optional: ""
-
tag_label_list - string list
Optional: []
-
process_thumbnail - bool
Optional: false
-
extra_filters - SearchExtraFilter
Optional: null
Output:
Example:
{
"header": {
"target": "main.search.SearchDocument",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"tag_label_list": [
"string1",
"string2",
"string3"
],
"process_thumbnail": true,
"extra_filters": "no example yet"
}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
key_values - array
-
- key: value of key
-
- value: value of value
Output:
Example:
{
"header": {
"target": "main.search.SearchDocumentsWithMetadata",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"key_values": [
{
"key": "key_1",
"value": "value_1"
},
{
"key": "key_2",
"value": "value_2"
}
]
}
}
}
Ask for the next X results from Wimi's global search
If we are only displaying the first 100 results, this request should return the next 100 results, etc...
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
query - string
Optional: ""
-
tag_label_list - string list
Optional: []
-
module - string
-
current_result_count - int
-
extra_filters - SearchExtraFilter
Optional: null
Output:
Example:
{
"header": {
"target": "main.search.SearchMore",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"tag_label_list": [
"string1",
"string2",
"string3"
],
"module": "some text",
"current_result_count": 12345,
"extra_filters": "no example yet"
}
}
}
Search items in the wimi with a query
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
filters - PersonalizedEntryValues
Optional: []
-
filter_logic - string
Optional: "OR"
Output:
Example:
{
"header": {
"target": "main.search.SearchPersonalizedEntries",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"filters": [
12345,
12346
],
"filter_logic": "some text"
}
}
}
Search through projects in the wimi with a query
The request will be case insensitive
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
query - string
Optional: ""
-
archived - bool
Optional: false
Output:
-
results
- LIST of
Project
- can be null
Example:
{
"header": {
"target": "main.search.SearchProjects",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"query": "some text",
"archived": true
}
}
}
Load some info about the session
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
all_account_projects - bool
Optional: false
-
projects_auth - bool
Optional: true
-
projects_stats - bool
Optional: true
-
projects_tasks_stats - bool
Optional: false
-
projects_users - bool
Optional: false
-
users_trashed - bool
Optional: false
-
users_deleted - bool
Optional: false
-
tags - bool
Optional: false
-
offer - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.session.Load",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"all_account_projects": true,
"projects_auth": true,
"projects_stats": true,
"projects_tasks_stats": true,
"projects_users": true,
"users_trashed": true,
"users_deleted": true,
"tags": true,
"offer": true
}
}
}
Load some info about the session
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
tags - bool
Optional: false
-
offer - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.session.LoadExtra",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"tags": true,
"offer": true
}
}
}
Getting all projects the user has access to and their information
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
all_account_projects - bool
Optional: false
-
projects_auth - bool
Optional: true
-
projects_stats - bool
Optional: true
-
projects_tasks_stats - bool
Optional: false
-
projects_users - bool
Optional: false
-
for_drive_synchro - bool
Optional: false
-
calc_document_size - bool
Optional: false
-
page - int
Optional: 1
Output:
Example:
{
"header": {
"target": "main.session.LoadProjects",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"all_account_projects": true,
"projects_auth": true,
"projects_stats": true,
"projects_tasks_stats": true,
"projects_users": true,
"for_drive_synchro": true,
"calc_document_size": true,
"page": 12345
}
}
}
Getting all users the user can see and their information
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
users_trashed - bool
Optional: false
-
users_deleted - bool
Optional: false
-
page - int
Optional: 1
Output:
Example:
{
"header": {
"target": "main.session.LoadUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"users_trashed": true,
"users_deleted": true,
"page": 12345
}
}
}
Ping
Will force an update on the given token ttl.
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.session.Ping",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Add a list of tags to a list of tag families
Push information:
Pushing to: Whole account
With target: main.tag.AddTagsToFamilies
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
tags - int list
-
family_tags - int list
Output:
-
success
-
bool
-
tags
- LIST of
Tag
-
family_tag_id_list
- LIST of
int
Example:
{
"header": {
"target": "main.tag.AddTagsToFamilies",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"tags": [
12345,
12346
],
"family_tags": [
12345,
12346
]
}
}
}
merge several tags into another
only the kept tag is returned
Push information:
Pushing to: Whole account
With target: main.tag.BatchMergeTags
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id_to_keep - int
-
tag_id_list_to_merge - int list
Output:
-
success
-
bool
-
tag
-
Tag
-
merged_tags
- LIST of
Tag
Example:
{
"header": {
"target": "main.tag.BatchMergeTags",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id_to_keep": 12345,
"tag_id_list_to_merge": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
remove several tags
Push information:
Pushing to: Whole account
With target: main.tag.BatchRemove
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id_list - int list
Output:
-
success
-
bool
-
tags
- LIST of
Tag
Example:
{
"header": {
"target": "main.tag.BatchRemove",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Change the color of a tag
Color must be int between 0 and 7
Push information:
Pushing to: Whole account
With target: main.tag.ChangeColor
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.tag.ChangeColor",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {
"color": 12345
}
}
}
create a tag
Push information:
Pushing to: Whole account
With target: main.tag.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
label - string
-
color - int
Optional: 3
Output:
Example:
{
"header": {
"target": "main.tag.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1",
"color": 12345
}
}
}
create a family tag
Push information:
Pushing to: Whole account
With target: main.tag.CreateFamily
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.tag.CreateFamily",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"family_tag": "mylabel1"
}
}
}
get a tag
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id - int
Output:
Example:
{
"header": {
"target": "main.tag.Get",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
get all tags for this account
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.tag.GetAll",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
get a tag by its label
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
tag
-
Tag
- can be missing
Example:
{
"header": {
"target": "main.tag.GetByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1"
}
}
}
get a family tag
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
family_tags
- LIST of
TagFamily
Example:
{
"header": {
"target": "main.tag.GetFamilyTags",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.tag.GetStats",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Import tags from csv
Push information:
Pushing to: Whole account
With target: main.tag.ImportFromCSV
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
success
-
bool
-
family_tag
- LIST of
TagFamily
-
tags
- LIST of
Tag
-
errors
- LIST of
object
Example:
{
"header": {
"target": "main.tag.ImportFromCSV",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"size": 12345
}
}
}
merge one tag into another
only the kept tag is returned
Push information:
Pushing to: Whole account
With target: main.tag.MergeTags
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id_to_keep - int
-
tag_id_to_merge - int
Output:
-
success
-
bool
-
tag
-
Tag
-
merged_tag
-
Tag
Example:
{
"header": {
"target": "main.tag.MergeTags",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id_to_keep": 12345,
"tag_id_to_merge": 12345
}
},
"body": {
"data": {}
}
}
remove a tag (globally)
Push information:
Pushing to: Whole account
With target: main.tag.Remove
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id - int
Output:
Example:
{
"header": {
"target": "main.tag.Remove",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
remove a family tag tag
Push information:
Pushing to: Whole account
With target: main.tag.RemoveFamilyTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
success
-
bool
-
family_tag_removed
-
TagFamily
Example:
{
"header": {
"target": "main.tag.RemoveFamilyTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"family_tag": 12345
}
}
}
Remove a list of tags from a family
Push information:
Pushing to: Whole account
With target: main.tag.RemoveTagsFromFamily
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
tags - int list
-
family_id - int
Output:
-
success
-
bool
-
tag_id_list
- LIST of
int
-
tag_family_id
-
int
Example:
{
"header": {
"target": "main.tag.RemoveTagsFromFamily",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"tags": [
12345,
12346
],
"family_id": 12345
}
}
}
Push information:
Pushing to: Whole account
With target: main.tag.Rename
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
tag_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.tag.Rename",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1"
}
}
}
update a family tag
Push information:
Pushing to: Whole account
With target: main.tag.UpdateFamily
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
label - string
-
family_tag - int
Output:
Example:
{
"header": {
"target": "main.tag.UpdateFamily",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1",
"family_tag": 12345
}
}
}
Add a tag on a user
Push information:
Pushing to: Unkown push action
With target: main.user.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
-
label - string
Output:
-
success
-
bool
-
user_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.user.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Link a tag to a list of user
Push information:
Pushing to: Unkown push action
With target: main.user.BatchLinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id_list - int list
-
tag_id - int
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.user.BatchLinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id_list": [
12345,
12346
],
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag in a list of users
Push information:
Pushing to: Unkown push action
With target: main.user.BatchRemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id_list - int list
-
tag_id - int
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.user.BatchRemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id_list": [
12345,
12346
],
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Push information:
Pushing to: Self
With target: main.user.BatchUpdateProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
user_property_list - array
Output:
Example:
{
"header": {
"target": "main.user.BatchUpdateProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"user_property_list": [
{
"property_type_id": 12345,
"property_value": "my value",
"project_id": 12345
},
{
"property_type_id": 12345,
"property_value": "my value",
"project_id": 12345
}
]
}
}
}
Push information:
Pushing to: Fellow users
With target: main.user.BequeathUsers
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
bequeath_user_id - int
Output:
-
success
-
bool
-
previous_owner
-
int
-
current_owner
-
int
Example:
{
"header": {
"target": "main.user.BequeathUsers",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"bequeath_user_id": 12345
}
},
"body": {
"data": {}
}
}
Create a token with restricted accesses for a specific service
The created token is only valid for 5 minutes
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
Body Data:
-
service_secret - string
- secret used to identify the calling service
-
service_token - string
- user service token
-
api_list - string list
- list of the apis allowed for the generated token
Output:
Example:
{
"header": {
"target": "main.user.CreateLimitedTokenForService",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {}
},
"body": {
"data": {
"service_secret": "some text",
"service_token": "some text",
"api_list": [
"string1",
"string2",
"string3"
]
}
}
}
Create a token that can be used by an external service to create a limited access token for that user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
service_name - string
- Name of the service associated to that token
Output:
Example:
{
"header": {
"target": "main.user.CreateServiceToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"service_name": "mylabel1"
}
}
}
Delete a user service token
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
Body Data:
-
service_secret - string
- secret used to identify the calling service
-
service_token - string
- user service token to be deleted
Output:
Example:
{
"header": {
"target": "main.user.DeleteServiceToken",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {}
},
"body": {
"data": {
"service_secret": "some text",
"service_token": "some text"
}
}
}
Update the avatar of a user
Push information:
Pushing to: User list
With target: main.user.EditAvatar
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
User restriction: API user cannot access targeted users of this route if its rank is bellow theirs.
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
Body Data:
-
name - string
Optional: ""
-
size - int
Optional: 0
-
remove_avatar - bool
Optional: false
Output:
Example:
{
"header": {
"target": "main.user.EditAvatar",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346
}
},
"body": {
"data": {
"name": "some text",
"size": 12345,
"remove_avatar": true
}
}
}
Get Caldav synchronization settings
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
projects_sync
- LIST of
struct
-
project_id
-
int
-
sync_enabled
-
bool
Example:
{
"header": {
"target": "main.user.GetCaldavSyncSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get global status of a user.
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
status
-
string
-
user_id
-
int
Example:
{
"header": {
"target": "main.user.GetGlobalStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Return the id list of all the users knows
This list depends on the acting user role and the account options
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
known_user_id_list
- LIST of
int
Example:
{
"header": {
"target": "main.user.GetKnownUsersId",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
neo_user
-
User
-
last_neo_chat_id
-
int
Example:
{
"header": {
"target": "main.user.GetNeoInfos",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
get user notification settings (enabled/disabled)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
channel
-
int
- can be missing
-
documents
-
int
- can be missing
-
tasks
-
int
- can be missing
-
calendar
-
int
- can be missing
-
meetings
-
int
- can be missing
-
disabled
-
int
- can be missing
Example:
{
"header": {
"target": "main.user.GetNotificationSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Return the id list of all the users that have at least one project in common with the acting user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
relative_user_id_list
- LIST of
int
Example:
{
"header": {
"target": "main.user.GetRelativeUsersId",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get self user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.user.GetSelf",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Get third party services info for a user
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.user.GetUserServicesInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Link a tag to a user
Push information:
Pushing to: Unkown push action
With target: main.user.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
-
tag_id - int
Output:
-
success
-
bool
-
user_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.user.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Get all the user properties
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
Example:
{
"header": {
"target": "main.user.ListProperties",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a property for the user
The property will be used to its default value for this user
Push information:
Pushing to: Self
With target: main.user.RemoveProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
property_type_id - PropertyType
Output:
Example:
{
"header": {
"target": "main.user.RemoveProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"property_type_id": "no example yet"
}
}
}
Remove a tag in a user
Push information:
Pushing to: Unkown push action
With target: main.user.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
-
tag_id - int
Output:
-
success
-
bool
-
user_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.user.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag in a user using the label
Push information:
Pushing to: Unkown push action
With target: main.user.RemoveTagByLabel
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_user_id - int
-
label - string
Output:
-
success
-
bool
-
user_id
-
int
-
tag
-
Tag
Example:
{
"header": {
"target": "main.user.RemoveTagByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"target_user_id": 12346,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Revoke a third party service for a user
Push information:
Pushing to: Self
With target: main.user.RevokeService
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
success
-
bool
-
service
-
string
Example:
{
"header": {
"target": "main.user.RevokeService",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"service": "some text"
}
}
}
set user notification settings (enabled/disabled)
Push information:
Pushing to: Self
With target: main.user.SetNotificationSettings
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
channel - int
Optional: 0
-
documents - int
Optional: 0
-
tasks - int
Optional: 0
-
calendar - int
Optional: 0
-
meetings - int
Optional: 0
Output:
-
channel
-
int
- can be missing
-
documents
-
int
- can be missing
-
tasks
-
int
- can be missing
-
calendar
-
int
- can be missing
-
meetings
-
int
- can be missing
-
disabled
-
int
- can be missing
Example:
{
"header": {
"target": "main.user.SetNotificationSettings",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"channel": 12345,
"documents": 12345,
"tasks": 12345,
"calendar": 12345,
"meetings": 12345
}
}
}
Set Caldav synchronization for a project
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
-
project_sync
-
struct
-
project_id
-
int
-
sync_enabled
-
bool
Example:
{
"header": {
"target": "main.user.SetProjectCaldavSync",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"enabled": true
}
}
}
Set the status of the user. Status is linked to the session_id.
Push information:
Pushing to: Fellow users
With custom target: main.user.status
Stream value: Pushing on user stream (1) and on chat stream (2)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
status
-
string
-
user_id
-
int
Example:
{
"header": {
"target": "main.user.SetStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"status": "no example yet"
}
}
}
Set a user language
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.user.SetUserLanguage",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"locale": "some text"
}
}
}
Set the status of the user.
Push information:
Pushing to: Self
With target: main.user.SetUserStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
-
status
-
string
-
user_id
-
int
Example:
{
"header": {
"target": "main.user.SetUserStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"status": "no example yet"
}
}
}
Push information:
Pushing to: Action users
With target: main.user.ToggleSignatureRequest
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
| | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
user_id_list - int list
-
activating - bool
Output:
-
success
-
bool
-
user_id_list
- LIST of
int
-
request_signature_enabled
-
bool
Example:
{
"header": {
"target": "main.user.ToggleSignatureRequest",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"user_id_list": [
12345,
12346
],
"activating": true
}
},
"body": {
"data": {}
}
}
Update the user information
Push information:
Pushing to: User list
With target: main.user.Update
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
phones - PhoneList
Optional: []
-
first_name - string
Optional: ""
-
last_name - string
Optional: ""
-
login - string
Optional: null
-
password - string
Optional: null
-
old_password - string
Optional: ""
-
gender - string
Optional: "M."
-
skype - string
Optional: ""
-
company - string
Optional: ""
-
department - string
Optional: null
-
title - string
Optional: ""
-
saml_id - string
Optional: ""
-
saml_idp_id - int
Optional: 0
-
token_ttl_mins - int
Optional: 0
-
custom_image_url - string
Optional: ""
-
timezone - string
Optional: ""
-
date_format_family - string
Optional: ""
-
security_autologin - bool
Optional: false
-
double_auth - bool
Optional: false
-
name - string
Optional: ""
-
size - int
Optional: 0
-
remove_avatar - bool
Optional: false
Output:
-
user
-
User
-
should_relog
-
bool
- can be null
-
date_format_family
-
string
-
security_autologin
-
bool
Example:
{
"header": {
"target": "main.user.Update",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"phones": "no example yet",
"first_name": "some text",
"last_name": "some text",
"login": "my.email@domain.com",
"password": "mypassword",
"old_password": "some text",
"gender": "some text",
"skype": "some text",
"company": "some text",
"department": "label",
"title": "some text",
"saml_id": "some text",
"saml_idp_id": 12345,
"token_ttl_mins": 12345,
"custom_image_url": "some text",
"timezone": "some text",
"date_format_family": "some text",
"security_autologin": true,
"double_auth": true,
"name": "some text",
"size": 12345,
"remove_avatar": true
}
}
}
Push information:
Pushing to: Self
With target: main.user.UpdateProperty
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "main.user.UpdateProperty",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"user_property": {
"property_type_id": 12345,
"property_value": "my value",
"project_id": 12345
}
}
}
}
Get specific trad in specific lang
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
lang - string
-
trad_key - string
Output:
-
success
-
bool
-
trad
-
string
Example:
{
"header": {
"target": "main.util.GetSpecificTrad",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"lang": "some text",
"trad_key": "some text"
}
}
}
Adds a filter on tasks to the project or on unified tasks
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
name - string
-
title - string
Optional: ""
-
lists - int list
Optional: []
-
tags - string list
Optional: []
-
tags_logic - string
Optional: ""
-
owners - int list
Optional: []
-
creators - int list
Optional: []
-
statuses - int list
Optional: []
-
late - bool
Optional: false
-
last_occurrences - bool
Optional: false
-
after_list_end_date - bool
Optional: false
-
order_by_group - bool
Optional: false
-
personalized_entries_filters - PersonalizedEntryValues
Optional: []
-
date_option - string
Optional: null
-
dates_delay - array
Optional: null
Output:
-
success
-
bool
-
filter
-
Filter
Example:
{
"header": {
"target": "task.filter.Add",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"name": "mylabel1",
"title": "some text",
"lists": [
12345,
12346
],
"tags": [
"string1",
"string2",
"string3"
],
"tags_logic": "some text",
"owners": [
12345,
12346
],
"creators": [
12345,
12346
],
"statuses": [
12345,
12346
],
"late": true,
"last_occurrences": true,
"after_list_end_date": true,
"order_by_group": true,
"personalized_entries_filters": [
12345,
12346
],
"date_option": "date_PEnd",
"dates_delay": [
"2021-01-01 00:00:00",
"2021-02-01 00:00:00"
]
}
}
}
Apply a filter on the tasks of the given projects
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
title - string
Optional: ""
-
lists - int list
Optional: []
-
tags - string list
Optional: []
-
tags_logic - string
Optional: ""
-
owners - int list
Optional: []
-
creators - int list
Optional: []
-
statuses - int list
Optional: []
-
late - bool
Optional: false
-
last_occurrences - bool
Optional: false
-
after_list_end_date - bool
Optional: false
-
order_by_group - bool
Optional: false
-
personalized_entries_filters - PersonalizedEntryValues
Optional: []
-
date_option - string
Optional: null
-
dates_delay - array
Optional: null
-
task_order_by - string
Optional: "deadline"
-
task_order - string
Optional: "ASC"
-
workspace_order_by - string
Optional: "name"
-
workspace_order - string
Optional: "ASC"
-
page - int
Optional: 1
Output:
-
success
-
bool
-
tasks
- LIST of
Task
- can be null
-
order_by_group
-
bool
-
pagination
-
Pagination
Example:
{
"header": {
"target": "task.filter.Apply",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"title": "some text",
"lists": [
12345,
12346
],
"tags": [
"string1",
"string2",
"string3"
],
"tags_logic": "some text",
"owners": [
12345,
12346
],
"creators": [
12345,
12346
],
"statuses": [
12345,
12346
],
"late": true,
"last_occurrences": true,
"after_list_end_date": true,
"order_by_group": true,
"personalized_entries_filters": [
12345,
12346
],
"date_option": "date_PEnd",
"dates_delay": [
"2021-01-01 00:00:00",
"2021-02-01 00:00:00"
],
"task_order_by": "deadline",
"task_order": "ASC",
"workspace_order_by": "name",
"workspace_order": "ASC",
"page": 12345
}
}
}
Delete a filter
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
filter_id - int
Output:
-
success
-
bool
-
filter_id
-
int
Example:
{
"header": {
"target": "task.filter.Delete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"filter_id": 12345
}
},
"body": {
"data": {}
}
}
Edits a filter on tasks
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
filter_id - int
Body Data:
-
name - string
Optional: null
-
title - string
Optional: ""
-
lists - int list
Optional: []
-
tags - string list
Optional: []
-
tags_logic - string
Optional: null
-
owners - int list
Optional: []
-
creators - int list
Optional: []
-
statuses - int list
Optional: []
-
late - bool
Optional: false
-
last_occurrences - bool
Optional: false
-
after_list_end_date - bool
Optional: false
-
order_by_group - bool
Optional: false
-
personalized_entries_filters - PersonalizedEntryValues
Optional: []
-
date_option - string
Optional: null
-
dates_delay - array
Optional: null
Output:
-
success
-
bool
-
filter
-
Filter
Example:
{
"header": {
"target": "task.filter.Edit",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"filter_id": 12345
}
},
"body": {
"data": {
"name": "mylabel1",
"title": "some text",
"lists": [
12345,
12346
],
"tags": [
"string1",
"string2",
"string3"
],
"tags_logic": "mylabel1",
"owners": [
12345,
12346
],
"creators": [
12345,
12346
],
"statuses": [
12345,
12346
],
"late": true,
"last_occurrences": true,
"after_list_end_date": true,
"order_by_group": true,
"personalized_entries_filters": [
12345,
12346
],
"date_option": "date_PEnd",
"dates_delay": [
"2021-01-01 00:00:00",
"2021-02-01 00:00:00"
]
}
}
}
Get a tasks filter
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
filter_id - int
Output:
-
success
-
bool
-
filter
-
Filter
Example:
{
"header": {
"target": "task.filter.Get",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"filter_id": 12345
}
},
"body": {
"data": {}
}
}
Get user stats for filtered tasks
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
title - string
Optional: ""
-
lists - int list
Optional: []
-
tags - string list
Optional: []
-
tags_logic - string
Optional: ""
-
owners - int list
Optional: []
-
creators - int list
Optional: []
-
statuses - int list
Optional: []
-
late - bool
Optional: false
-
last_occurrences - bool
Optional: false
-
after_list_end_date - bool
Optional: false
-
personalized_entries_filters - PersonalizedEntryValues
Optional: []
-
date_option - string
Optional: null
-
dates_delay - array
Optional: null
Output:
Example:
{
"header": {
"target": "task.filter.GetUsersStats",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"title": "some text",
"lists": [
12345,
12346
],
"tags": [
"string1",
"string2",
"string3"
],
"tags_logic": "some text",
"owners": [
12345,
12346
],
"creators": [
12345,
12346
],
"statuses": [
12345,
12346
],
"late": true,
"last_occurrences": true,
"after_list_end_date": true,
"personalized_entries_filters": [
12345,
12346
],
"date_option": "date_PEnd",
"dates_delay": [
"2021-01-01 00:00:00",
"2021-02-01 00:00:00"
]
}
}
}
List tasks filters
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
-
success
-
bool
-
filters
- LIST of
Filter
- can be null
Example:
{
"header": {
"target": "task.filter.List",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
List unified tasks filters
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Output:
-
success
-
bool
-
filters
- LIST of
Filter
- can be null
Example:
{
"header": {
"target": "task.filter.ListUnified",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {}
}
}
Add Owner to a subtask
Push information:
Pushing to: Task users
With target: task.subtask.AddOwners
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
subtask_id - int
-
task_id - int
-
user_id_list - int list
Output:
-
success
-
bool
-
task
-
Task
-
owners
- LIST of
int
- can be null
-
subtask
-
Subtask
Example:
{
"header": {
"target": "task.subtask.AddOwners",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"subtask_id": 12345,
"task_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Change status of a subtask
Push information:
Pushing to: Task users
With target: task.subtask.ChangeStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
subtask_id - int
Body Data:
Output:
-
success
-
bool
-
task
-
Task
-
subtask
-
Subtask
-
is_done
-
bool
Example:
{
"header": {
"target": "task.subtask.ChangeStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"subtask_id": 12345
}
},
"body": {
"data": {
"status": true
}
}
}
Create a subtask for the given task
Push information:
Pushing to: Task users
With target: task.subtask.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.subtask.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1"
}
}
}
Delete a subtask
Push information:
Pushing to: Task users
With target: task.subtask.Delete
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
subtask_id - int
Output:
Example:
{
"header": {
"target": "task.subtask.Delete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"subtask_id": 12345
}
},
"body": {
"data": {}
}
}
Move a subtask to another position (and/or task)
Push information:
Pushing to: Task users
With target: task.subtask.Move
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
subtask_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.subtask.Move",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"subtask_id": 12345
}
},
"body": {
"data": {
"position": 12345
}
}
}
Add Owner to a subtask
Push information:
Pushing to: Task users
With target: task.subtask.RemoveOwners
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
subtask_id - int
-
task_id - int
-
user_id_list - int list
Output:
Example:
{
"header": {
"target": "task.subtask.RemoveOwners",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"subtask_id": 12345,
"task_id": 12345,
"user_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Update a subtask
Push information:
Pushing to: Task users
With target: task.subtask.Update
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
subtask_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.subtask.Update",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"subtask_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1"
}
}
}
Get all tasks of a list
Push information:
Pushing to: Tasks users
With target: task.task.AddBatchOwner
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
-
owner_list_id - int list
Output:
-
success
-
bool
-
tasks
- LIST of
Task
Example:
{
"header": {
"target": "task.task.AddBatchOwner",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"owner_list_id": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Add a comment to a task
Push information:
Pushing to: Task users
With target: task.task.AddComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.task.AddComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"comment": "mylabel1"
}
}
}
Attach an external file to a task
Push information:
Pushing to: Task users
With target: task.task.AddExternalAttachment
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
-
file_timestamp - string
Optional: ""
-
name - string
-
size - int
Output:
Example:
{
"header": {
"target": "task.task.AddExternalAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"file_timestamp": "some text",
"name": "some text",
"size": 12345
}
}
}
Attach an external file to a task, from a template
Push information:
Pushing to: Task users
With target: task.task.AddExternalAttachmentFromTemplate
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
file_template_id - int
Body Data:
-
name - string
Optional: ""
Output:
Example:
{
"header": {
"target": "task.task.AddExternalAttachmentFromTemplate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"file_template_id": 12345
}
},
"body": {
"data": {
"name": "some text"
}
}
}
Add a reminder for a task
Push information:
Pushing to: Task users
With target: task.task.AddReminder
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.task.AddReminder",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"reminder": [
{
"value": 1,
"unit": "w",
"date_label": 0
},
{
"value": 2,
"unit": "d",
"date_label": 1
},
{
"value": 3,
"unit": "h",
"date_label": 0
},
{
"value": 4,
"unit": "m",
"date_label": 1
}
]
}
}
}
Add a tag in a task
Push information:
Pushing to: Task users
With target: task.task.AddTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
label - string
Output:
-
success
-
bool
-
task
-
Task
-
tag
-
Tag
Example:
{
"header": {
"target": "task.task.AddTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Attach a wimi file to a task
Push information:
Pushing to: Task users
With target: task.task.AddWimiAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
file_id - int
Output:
Example:
{
"header": {
"target": "task.task.AddWimiAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"file_id": 12345
}
},
"body": {
"data": {}
}
}
Delete a batch of tasks
Push information:
Pushing to: User list
With target: task.task.BatchDelete
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
Output:
Example:
{
"header": {
"target": "task.task.BatchDelete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Copy a batch of tasks
Push information:
Pushing to: Tasks users
With target: task.task.BatchDuplicate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
target_project_id - int
Optional: null
-
task_list_id - int
Optional: null
-
task_id_list - int array
Output:
-
success
-
bool
-
task_list
- LIST of
Task
-
list
-
int
- can be null
Example:
{
"header": {
"target": "task.task.BatchDuplicate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Link a tag to a list of tasks
Push information:
Pushing to: Tasks users
With target: task.task.BatchLinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
-
tag_id - int
Output:
-
success
-
bool
-
task_list
- LIST of
Task
-
tag
-
Tag
Example:
{
"header": {
"target": "task.task.BatchLinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Move a batch of tasks to a position
Push information:
Pushing to: Tasks users
With target: task.task.BatchMove
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
-
task_list_id - int
Body Data:
Output:
-
success
-
bool
-
task_id_list
- LIST of
int
-
tasks
- LIST of
Task
-
newlist
-
int
-
newpos
-
int
-
changes
- LIST of
TaskPositionChange
Example:
{
"header": {
"target": "task.task.BatchMove",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"task_list_id": 12345
}
},
"body": {
"data": {
"position": 12345
}
}
}
Move a batch of tasks after another
Push information:
Pushing to: Tasks users
With target: task.task.BatchMoveAfter
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
-
target_task_id - int
-
task_list_id - int
Output:
-
success
-
bool
-
task_id_list
- LIST of
int
-
newlist
-
int
-
previous_task_id
-
int
-
newpos
-
int
-
changes
- LIST of
TaskPositionChange
Example:
{
"header": {
"target": "task.task.BatchMoveAfter",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"target_task_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag in list of tasks
Push information:
Pushing to: Tasks users
With target: task.task.BatchRemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
-
tag_id - int
Output:
-
success
-
bool
-
task_list
- LIST of
Task
-
tag
-
Tag
Example:
{
"header": {
"target": "task.task.BatchRemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Change the status of a given task
Push information:
Pushing to: Task users
With target: task.task.ChangeStatus
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
-
success
-
bool
-
task
-
Task
-
previous_status
-
int
Example:
{
"header": {
"target": "task.task.ChangeStatus",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"status": 12345
}
}
}
Change the status of several tasks
Push information:
Pushing to: Tasks users
With target: task.task.ChangeStatusBulk
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
Body Data:
Output:
-
success
-
bool
-
tasks
- LIST of
Task
-
status
-
int
Example:
{
"header": {
"target": "task.task.ChangeStatusBulk",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"status": 12345
}
}
}
Archive conversation
Push information:
Pushing to: Self
With target: task.task.ConversationArchive
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "task.task.ConversationArchive",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Clear unseen count for conversation
Push information:
Pushing to: Project users
With target: task.task.ConversationClearUnseen
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task_id
-
int
-
user_id
-
int
Example:
{
"header": {
"target": "task.task.ConversationClearUnseen",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Set silent for conversation
Push information:
Pushing to: Self
With target: task.task.ConversationSetSilent
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
-
silent - bool
-
silent_until - datetime
Optional: null
Output:
-
success
-
bool
-
task_id
-
int
-
user_id
-
int
-
silent
-
bool
-
silent_until
-
datetime
- can be missing
- can be null
Example:
{
"header": {
"target": "task.task.ConversationSetSilent",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"silent": true,
"silent_until": "2016-11-27 17:10:05"
}
}
}
Create a task
Push information:
Pushing to: Task users
With target: task.task.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
-
api_key - string
Optional: ""
Body Data:
-
label - string
-
description - string
Optional: ""
-
position - int
Optional: 0
-
status - int
Optional: 0
-
creation_date - datetime
Optional: null
-
creation_user - int
Optional: 0
-
begin_date - datetime
Optional: null
-
due_date - datetime
Optional: null
-
weight - float
Optional: 0
-
weight_unit - string
Optional: ""
-
owners - int list
Optional: []
-
start_date - datetime
Optional: null
-
start_user - int
Optional: 0
-
completion_date - datetime
Optional: null
-
completion_user - int
Optional: 0
-
accepted_date - datetime
Optional: null
-
accepted_user - int
Optional: 0
-
update_date - datetime
Optional: null
-
tags - list
Optional: []
-
forceOwners - bool
Optional: false
Output:
-
success
-
bool
-
task
-
Task
Example:
{
"header": {
"target": "task.task.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1",
"description": "some text",
"position": 12345,
"status": 12345,
"creation_date": "2016-11-27 17:10:05",
"creation_user": 12345,
"begin_date": "2016-11-27 17:10:05",
"due_date": "2016-11-27 17:10:05",
"weight": 12.345,
"weight_unit": "some text",
"owners": [
12345,
12346
],
"start_date": "2016-11-27 17:10:05",
"start_user": 12345,
"completion_date": "2016-11-27 17:10:05",
"completion_user": 12345,
"accepted_date": "2016-11-27 17:10:05",
"accepted_user": 12345,
"update_date": "2016-11-27 17:10:05",
"tags": "no example yet",
"forceOwners": true
}
}
}
Delete a task
Push information:
Pushing to: User list
With target: task.task.Delete
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task
-
Task
Example:
{
"header": {
"target": "task.task.Delete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Delete a task comment
Mark the message as deleted, does not delete it entirely
Push information:
Pushing to: Task users
With target: task.task.DeleteComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
comment_id - int
(parameter needs to be owned by api user)
Output:
Example:
{
"header": {
"target": "task.task.DeleteComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {}
}
}
Delete Dates from a Task
Delete all dates (due_date and begin_date) & task reminders
Push information:
Pushing to: Task users
With target: task.task.DeleteDates
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
-
success
-
bool
-
task
-
Task
Example:
{
"header": {
"target": "task.task.DeleteDates",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"date_label": "some text"
}
}
}
Disable a recurrence for a task
Push information:
Pushing to: Task users
With target: task.task.DisableRecurrence
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task
-
Task
-
recurrence_id
-
int
Example:
{
"header": {
"target": "task.task.DisableRecurrence",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Attach a file to a task
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
attachment_id - int
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
file_path
-
string
- can be missing
-
doc_type
-
string
- can be missing
-
doc_id
-
int
-
output_type
-
string
-
item_type_id
-
int
Example:
{
"header": {
"target": "task.task.DownloadAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {}
}
}
Copy a task
Push information:
Pushing to: Task users
With target: task.task.Duplicate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
task_list_id - int
Output:
-
success
-
bool
-
task
-
Task
-
list
-
int
Example:
{
"header": {
"target": "task.task.Duplicate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Edit a comment of a task
Push information:
Pushing to: Task users
With target: task.task.EditComment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
Output:
Example:
{
"header": {
"target": "task.task.EditComment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"comment": "mylabel1"
}
}
}
Add self as follower to this task
Push information:
Pushing to: Self
With target: task.task.Follow
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task_id
-
int
Example:
{
"header": {
"target": "task.task.Follow",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Generate the next occurrence of a task
Push information:
Pushing to: Task users
With target: task.task.GenerateNextOccurrence
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task
-
Task
Example:
{
"header": {
"target": "task.task.GenerateNextOccurrence",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
create an external file to a task
Push information:
Pushing to: Task users
With target: task.task.GenerateWOGeneralFile
Stream value: Pushing on all streams
Url:
https://api.files.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
-
name - string
-
file_format - string
Output:
Example:
{
"header": {
"target": "task.task.GenerateWOGeneralFile",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"file_format": "some text"
}
}
}
Get a task with all its data
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
Example:
{
"header": {
"target": "task.task.Get",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Get all tasks of a list
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Output:
Example:
{
"header": {
"target": "task.task.GetAll",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Get the list of files attached to a task
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
Documentation not available yet
Example:
{
"header": {
"target": "task.task.GetAttachmentList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Get tge comments of a task
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
Example:
{
"header": {
"target": "task.task.GetComments",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Get the total amount of not completed tasks for the given project
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "task.task.GetNbNotCompletedForProject",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get a task history
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
Example:
{
"header": {
"target": "task.task.History",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Link a tag to a task
Push information:
Pushing to: Task users
With target: task.task.LinkTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
tag_id - int
Output:
-
success
-
bool
-
task
-
Task
-
tag
-
Tag
Example:
{
"header": {
"target": "task.task.LinkTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Move a task to new position
Push information:
Pushing to: Task users
With target: task.task.Move
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
task_list_id - int
Body Data:
Output:
-
success
-
bool
-
task
-
Task
-
newlist
-
int
-
newpos
-
int
-
oldlist
-
int
-
oldpos
-
int
Example:
{
"header": {
"target": "task.task.Move",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"position": 12345
}
}
}
Move a task after another
Push information:
Pushing to: Task users
With target: task.task.MoveAfter
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
target_task_id - int
-
task_list_id - int
Output:
-
success
-
bool
-
task
-
Task
-
newlist
-
int
-
oldlist
-
int
-
oldpos
-
int
-
previous_task_id
-
int
Example:
{
"header": {
"target": "task.task.MoveAfter",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"target_task_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Request attachment preview
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
attachment_id - int
Body Data:
-
preview_type - string
Optional: "default"
Output:
-
md5
-
string
-
date
-
string
-
name
-
string
-
size
-
int
-
preview_status
-
string
-
doc_type
-
string
-
type
-
string
- can be missing
-
output_type
-
string
-
doc_id
-
int
Example:
{
"header": {
"target": "task.task.PreviewAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {
"preview_type": "some text"
}
}
}
Relocate a task in an other project
Push information:
Pushing to: Tasks users
With target: task.task.Relocate
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
target_project_id - int
Optional: null
-
task_id_list - int array
-
task_list_id - int
Output:
-
success
-
bool
-
task_id_list
- LIST of
int
-
task_list
- LIST of
Task
-
newlist
-
int
-
previous_project_id
-
int
-
project_id
-
int
-
changes
- LIST of
TaskPositionChange
Example:
{
"header": {
"target": "task.task.Relocate",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Get all tasks of a list
Push information:
Pushing to: Tasks users
With target: task.task.RemoveBatchOwners
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id_list - int array
-
owner_list_id - int list
Output:
-
success
-
bool
-
tasks
- LIST of
Task
Example:
{
"header": {
"target": "task.task.RemoveBatchOwners",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id_list": [
12345,
12346
],
"owner_list_id": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
remove an external attachment from the task
Push information:
Pushing to: Task users
With target: task.task.RemoveExternalAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
attachment_id - int
Output:
-
success
-
bool
-
attachment_id
-
int
-
task
-
Task
Example:
{
"header": {
"target": "task.task.RemoveExternalAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a reminder for a task
Push information:
Pushing to: Task users
With target: task.task.RemoveReminder
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.task.RemoveReminder",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"reminder": [
{
"value": 1,
"unit": "w",
"date_label": 0
},
{
"value": 2,
"unit": "d",
"date_label": 1
},
{
"value": 3,
"unit": "h",
"date_label": 0
},
{
"value": 4,
"unit": "m",
"date_label": 1
}
]
}
}
}
Remove a tag in a task
Push information:
Pushing to: Task users
With target: task.task.RemoveTag
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
tag_id - int
Output:
-
success
-
bool
-
task
-
Task
-
tag
-
Tag
Example:
{
"header": {
"target": "task.task.RemoveTag",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"tag_id": 12345
}
},
"body": {
"data": {}
}
}
Remove a tag in a task using the label
Push information:
Pushing to: Task users
With target: task.task.RemoveTagByLabel
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
label - string
Output:
-
success
-
bool
-
task
-
Task
-
tag
-
Tag
Example:
{
"header": {
"target": "task.task.RemoveTagByLabel",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"label": "mylabel1"
}
},
"body": {
"data": {}
}
}
Remove a wimi attachment from a task
Push information:
Pushing to: Task users
With target: task.task.RemoveWimiAttachment
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
attachment_id - int
Output:
-
success
-
bool
-
task
-
Task
-
attachment_id
-
int
Example:
{
"header": {
"target": "task.task.RemoveWimiAttachment",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"attachment_id": 12345
}
},
"body": {
"data": {}
}
}
send a reminder to the owners of a task
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
Example:
{
"header": {
"target": "task.task.SendReminder",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Set or update a recurrence for the given task
Push information:
Pushing to: Task users
With target: task.task.SetRecurrence
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
-
start_date - date
-
creation_trigger_days - int
Optional: 1
-
timezone - string
-
freq - string
-
count - int
Optional: 0
-
until - date
Optional: null
-
interval - int
Optional: 1
-
byday - string list
Optional: []
-
bymonthday - int list
Optional: []
-
bymonth - int list
Optional: []
-
bysetpos - int list
Optional: []
Output:
-
success
-
bool
-
task
-
Task
Example:
{
"header": {
"target": "task.task.SetRecurrence",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"start_date": "2016-11-27",
"creation_trigger_days": 12345,
"timezone": "some text",
"freq": "some text",
"count": 12345,
"until": "2016-11-27",
"interval": 12345,
"byday": [
"string1",
"string2",
"string3"
],
"bymonthday": [
12345,
12346
],
"bymonth": [
12345,
12346
],
"bysetpos": [
12345,
12346
]
}
}
}
Toggle a reaction to a comment
Push information:
Pushing to: Task users
With target: task.task.ToggleCommentReaction
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
-
comment_id - int
(parameter needs to be owned by api user)
Body Data:
-
reaction - string
-
active - bool
Output:
-
success
-
bool
-
task_id
-
int
-
comment_id
-
int
-
reaction
-
string
-
active
-
bool
Example:
{
"header": {
"target": "task.task.ToggleCommentReaction",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345,
"comment_id": 12345
}
},
"body": {
"data": {
"reaction": "some text",
"active": true
}
}
}
Add or remove the default overdue alert for a task
Push information:
Pushing to: Task users
With target: task.task.ToggleDefaultOverdueAlert
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.task.ToggleDefaultOverdueAlert",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"enable": true
}
}
}
Remove self as follower from this task
Push information:
Pushing to: Self
With target: task.task.Unfollow
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Output:
-
success
-
bool
-
task_id
-
int
Example:
{
"header": {
"target": "task.task.Unfollow",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {}
}
}
Update a task
Push information:
Pushing to: User list
With target: task.task.Update
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_id - int
Body Data:
-
label - string
Optional: null
-
description - string
Optional: ""
-
task_list_id - int
Optional: null
-
status - int
Optional: 0
-
begin_date - datetime
Optional: null
-
due_date - datetime
Optional: null
-
weight - float
Optional: 0
-
weight_unit - string
Optional: ""
-
reminders - string list
Optional: []
-
owners - int list
Optional: []
-
enable_default_overdue_alert - bool
Optional: true
Output:
Example:
{
"header": {
"target": "task.task.Update",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1",
"description": "some text",
"task_list_id": 12345,
"status": 12345,
"begin_date": "2016-11-27 17:10:05",
"due_date": "2016-11-27 17:10:05",
"weight": 12.345,
"weight_unit": "some text",
"reminders": [
"string1",
"string2",
"string3"
],
"owners": [
12345,
12346
],
"enable_default_overdue_alert": true
}
}
}
Create a link between 2 lists given a specific relation type
Relation type can be start on end, start with, end with, etc DEPRECATED: see gantt.gantt.addLink
Push information:
Pushing to: Self
With target: task.tlist.AddLink
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
source_task_list_id - int
-
target_task_list_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.tlist.AddLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"source_task_list_id": 12345,
"target_task_list_id": 12345
}
},
"body": {
"data": {
"relation_type_id": 12345
}
}
}
Set the tasks lists the user does not want to display
The given tasks lists will be returned with a flag 'invisible' to true when using the 'list' routes (dashboard, etc)
Push information:
Pushing to: Self
With target: task.tlist.BatchSetHidden
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id_list - int list
Output:
-
success
-
bool
-
task_list_id_list
- LIST of
int
Example:
{
"header": {
"target": "task.tlist.BatchSetHidden",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id_list": [
12345,
12346
]
}
},
"body": {
"data": {}
}
}
Change line in gantt view
Cannot be below 0
Push information:
Pushing to: Task list users
With target: task.tlist.ChangeLine
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Body Data:
Output:
-
success
-
bool
-
list
-
TaskList
-
old_line
-
int
- can be null
-
line_new
-
int
- can be null
Example:
{
"header": {
"target": "task.tlist.ChangeLine",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"line": 12345
}
}
}
Push information:
Pushing to: Task list users
With target: task.tlist.Copy
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
-
target_project_id - int
Optional: null
Output:
Example:
{
"header": {
"target": "task.tlist.Copy",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Create a task list
Push information:
Pushing to: Task list users
With target: task.tlist.Create
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
Example:
{
"header": {
"target": "task.tlist.Create",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"label": "mylabel1"
}
}
}
Get all necessary data for displaying the tasks module dashboard
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
getAccepted - bool
Optional: true
Output:
Example:
{
"header": {
"target": "task.tlist.Dashboard",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"getAccepted": true
}
}
}
Get all necessary data for displaying the tasks module dashboard
Same as dashboard but for a user, not a project
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
Body Data:
-
without_tasks - bool
Optional: true
Output:
Example:
{
"header": {
"target": "task.tlist.DashboardGlobal",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"without_tasks": true
}
}
}
Delete a task list
Push information:
Pushing to: User list
With target: task.tlist.Delete
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Body Data:
-
delete_tasks - bool
Optional: false
Output:
Example:
{
"header": {
"target": "task.tlist.Delete",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"delete_tasks": true
}
}
}
Exports all tasks and lists of a project as csv
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id_list - int list
Body Data:
-
docs - bool
Optional: false
-
delimiter - string
Optional: ";"
Output:
Example:
{
"header": {
"target": "task.tlist.ExportAsCSV",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"docs": true,
"delimiter": "some text"
}
}
}
Exports all tasks and lists of a project as XLS
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id_list - int list
Body Data:
-
docs - bool
Optional: false
Output:
Example:
{
"header": {
"target": "task.tlist.ExportAsXLS",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id_list": [
12345,
12346
]
}
},
"body": {
"data": {
"docs": true
}
}
}
Exports all tasks and lists as csv given filter options
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
delimiter - string
Optional: ";"
-
title - string
Optional: ""
-
lists - int list
Optional: []
-
tags - string list
Optional: []
-
tags_logic - string
Optional: ""
-
owners - int list
Optional: []
-
creators - int list
Optional: []
-
statuses - int list
Optional: []
-
late - bool
Optional: false
-
last_occurrences - bool
Optional: false
-
after_list_end_date - bool
Optional: false
-
date_option - string
Optional: null
-
dates_delay - array
Optional: null
Output:
Example:
{
"header": {
"target": "task.tlist.ExportFilteredAsXLS",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"delimiter": "some text",
"title": "some text",
"lists": [
12345,
12346
],
"tags": [
"string1",
"string2",
"string3"
],
"tags_logic": "some text",
"owners": [
12345,
12346
],
"creators": [
12345,
12346
],
"statuses": [
12345,
12346
],
"late": true,
"last_occurrences": true,
"after_list_end_date": true,
"date_option": "date_PEnd",
"dates_delay": [
"2021-01-01 00:00:00",
"2021-02-01 00:00:00"
]
}
}
}
Exports all tasks and lists as csv given filter options, given through a shared link later
link is sent by email
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
target_project_id - int
Optional: null
Body Data:
-
delimiter - string
Optional: ";"
-
title - string
Optional: ""
-
lists - int list
Optional: []
-
tags - string list
Optional: []
-
tags_logic - string
Optional: ""
-
owners - int list
Optional: []
-
creators - int list
Optional: []
-
statuses - int list
Optional: []
-
late - bool
Optional: false
-
last_occurrences - bool
Optional: false
-
after_list_end_date - bool
Optional: false
-
date_option - string
Optional: null
-
dates_delay - array
Optional: null
Output:
Example:
{
"header": {
"target": "task.tlist.ExportFilteredAsXLSAsync",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345
}
},
"body": {
"data": {
"delimiter": "some text",
"title": "some text",
"lists": [
12345,
12346
],
"tags": [
"string1",
"string2",
"string3"
],
"tags_logic": "some text",
"owners": [
12345,
12346
],
"creators": [
12345,
12346
],
"statuses": [
12345,
12346
],
"late": true,
"last_occurrences": true,
"after_list_end_date": true,
"date_option": "date_PEnd",
"dates_delay": [
"2021-01-01 00:00:00",
"2021-02-01 00:00:00"
]
}
}
}
Add self as follower to this list
Push information:
Pushing to: Self
With target: task.tlist.Follow
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Output:
-
success
-
bool
-
task_list_id
-
int
Example:
{
"header": {
"target": "task.tlist.Follow",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Get all Tasks that are accepted
Needs the list ID
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
-
list_id - int
Optional: true
-
offset - int
-
limit - int
Output:
Example:
{
"header": {
"target": "task.tlist.GetAcceptedTasks",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"list_id": 12345,
"offset": 12345,
"limit": 12345
}
}
}
Returns all tasks lists of a project
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "task.tlist.GetAll",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}
Get task list general informations
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Output:
Example:
{
"header": {
"target": "task.tlist.GetInfo",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Returns a task list with its stats
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Output:
Example:
{
"header": {
"target": "task.tlist.GetList",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Import tasks and lists from csv
Push information:
Pushing to: Main admins
With target: task.tlist.ImportFromCSV
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
-
success
-
bool
-
lists
- LIST of
TaskList
-
tasks
- LIST of
Task
-
errors
- LIST of
object
Example:
{
"header": {
"target": "task.tlist.ImportFromCSV",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"size": 12345
}
}
}
Import tasks and lists from xls
Push information:
Pushing to: Main admins
With target: task.tlist.ImportFromXLS
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the X-Wimi-WApi http header of the request.
It has to be encoded (encoding similar to the php function rawurlencode).
The file content is provided in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Body Data:
Output:
-
success
-
bool
-
lists
- LIST of
TaskList
-
tasks
- LIST of
Task
-
errors
- LIST of
object
Example:
{
"header": {
"target": "task.tlist.ImportFromXLS",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {
"name": "some text",
"size": 12345
}
}
}
Move a task list
Push information:
Pushing to: Task list users
With target: task.tlist.Move
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Body Data:
Output:
-
success
-
bool
-
list
-
TaskList
-
oldpos
-
int
-
newpos
-
int
Example:
{
"header": {
"target": "task.tlist.Move",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"position": 12345
}
}
}
Remove link between 2 lists
DEPRECATED: see gantt.gantt.addLink
Push information:
Pushing to: Self
With target: task.tlist.RemoveLink
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
source_task_list_id - int
-
target_task_list_id - int
Body Data:
Output:
-
success
-
bool
-
task_list_link
-
TaskListLink
- can be missing
Example:
{
"header": {
"target": "task.tlist.RemoveLink",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"source_task_list_id": 12345,
"target_task_list_id": 12345
}
},
"body": {
"data": {
"relation_type_id": 12345
}
}
}
Remove self as follower from this list
Push information:
Pushing to: Self
With target: task.tlist.Unfollow
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Output:
-
success
-
bool
-
task_list_id
-
int
Example:
{
"header": {
"target": "task.tlist.Unfollow",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {}
}
}
Update a task list
Push information:
Pushing to: Task list users
With target: task.tlist.Update
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Body Data:
-
label - string
Optional: ""
-
color - int
Optional: 0
Output:
Example:
{
"header": {
"target": "task.tlist.Update",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"label": "some text",
"color": 12345
}
}
}
Push information:
Pushing to: Task list users
With target: task.tlist.UpdateDates
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Body Data:
-
start_date - datetime
Optional: null
-
end_date - datetime
Optional: null
Output:
Example:
{
"header": {
"target": "task.tlist.UpdateDates",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"start_date": "2016-11-27 17:10:05",
"end_date": "2016-11-27 17:10:05"
}
}
}
Push information:
Pushing to: Task list users
With target: task.tlist.UpdateExcludeAcceptedTask
Stream value: Pushing on all streams
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
| X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
-
task_list_id - int
Body Data:
-
exclude_accepted_task - int
Output:
Example:
{
"header": {
"target": "task.tlist.UpdateExcludeAcceptedTask",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345,
"task_list_id": 12345
}
},
"body": {
"data": {
"exclude_accepted_task": 12345
}
}
}
List all trashed tasks lists and their tasks (also trashed)
Url:
https://api.wimi.pro
Call type:
The json message is sent in the http request body.
Restrictions:
This route is project restricted. This means you need to provide a project_id in the headers and have access to it.
Project restrictions:
Project members (0) | Project administrators (5) |
X | X |
Role restrictions:
Guests (-5) | Contributors (0) | Managers (1) | Administrators (2) | Account manager (3) |
X | X | X | X | X |
Tasks restrictions:
Limited tasks (1) | Validation tasks (2) | Max level tasks (3) |
X | X | X |
Header Identification:
-
account_id - int
-
user_id - int
-
project_id - int
Output:
Example:
{
"header": {
"target": "task.trash.List",
"api_version": "1.2",
"app_token": "You can generate one from your account settings",
"msg_key": "message key also returned in the response",
"token": "user session token returned by auth.user.Login",
"identification": {
"account_id": 12345,
"user_id": 12345,
"project_id": 12345
}
},
"body": {
"data": {}
}
}