/service

Document • By Codrut Software • Last modified 09 April 2026

The bolded name is provided in the request JSON object as the "mode" value.

https://api.codrutsoft.com/service


Methods

  • approve - Approves a service for the account, sends an authorization email, and returns a success message. Requires PERM_MANAGE_ACCOUNT. Takes serviceid.
  • remove - Removes an approved service from the account, sends a deauthorization email, and returns a success message. If not the service itself, requires PERM_MANAGE_ACCOUNT. Takes serviceid.
  • auth-approve - Generates an auth code for a service after validating the password. Requires the main service. Takes serviceid, password, and optional tag. Returns the auth code in auth-code.
  • get-user-active - Returns the list of active services for the account in services. Requires PERM_MANAGE_ACCOUNT.
  • login - Logs into a service, creating a session and returning a token and account ID. Requires the main service. Takes serviceid. Returns token and account.
  • get-permissions - Returns the permissions for a service in permissions. Takes serviceid and optional formatted.
  • get-info - Returns information about a service in service. Takes serviceid.