Update Sub-Account

Update a Sub-Account, either paid or unpaid, via API

You can interact with this API by sending a PUT request. This allows you to update a Sub-Account in your Agency Account.

API Endpoint

The following endpoint/URL should be used in order to access this API:

https://app.stammer.ai/en/api/v1/subaccounts/update

Request Headers

The API must have the following request headers:

Content-Type: application/json
Authorization: Token <Your-API-Token>

Query Parameters

The API accepts the following query parameters:

  • assign_permissions (Type: Boolean, Optional)

    • Assign the permissions to the account Admin, set to True if you want to assign permissions.

  • permissions_to_assign (Type: List, Optional)

    • Permissions to assign to the account user.

    • Previous permissions of the users are overridden by the current ones.

  • email (Type: Email, Required)

    • Email address of the SubAccount.

    • Must be a valid email format.

  • allocated_chatbots (Type: Integer, Optional)

    • Number of chatbots allocated to the sub account.

  • allocated_character_count (Type: Integer, Optional)

    • Character count to allocate for the sub account.

  • allocated_wallet_balance (Type: Decimal, Optional)

    • Allocated wallet balance for the sub account.

    • The value should be in decimal format, with a maximum of two decimal places.

  • is_directly_billable (Type: Boolean, Optional)

    • To set the sub account is directly billable.

    • True or False.

Request Example

Here's an example of the request:

Response Example

Here's an example of the response:

Learn More - https://app.stammer.ai/en/api-docs/subaccount/update/

Last updated