Update Account
Updates the information for an account with the specified ID.
The /account/
endpoint allows you to update the information for an account by its ID. This endpoint can be useful for modifying an account's settings or information.
Use this endpoint to update information about a specific account. This includes basic account details such as the account owner's name, email, and phone number, as well as more specific information such as the account's content types, pipelines, and smart tags.
This endpoint requires authentication with a JWT token or API key.
POST
https://api.instantuploader.com/account
Example for Agency:
/account/?accountId=00273d240422d0267bd17dc189d
Example for Account:
/account
Query Parameters
accountId
String
The ID of the account to update all details of the account (required for Agency)
{
"uid": "89084e5cbf6c0ce6cb6",
"businessName": "My account",
"subscriptionType": "paid",
"verificationStatus": "Unverified",
"tokensMax30": "650000",
"customDomain": "account.livesite.ai",
"status": "Enabled",
"firstName": "",
"lastName": "",
"customFields": [ ... ],
"pipelines": [ ... ],
"contentTypes": [ ... ],
"email": "[email protected]",
"agencyId": "10d125c1277ac06295d25b79edc6",
"createDate": {
"_seconds": 1694558295,
"_nanoseconds": 10000000
},
"apiKey": "791dsa6a9a4-9643-4e6f-ad47-a757038f3c",
"isPublicTemplate": false
}
Example:
POST /account/{accountId} HTTP/1.1
Host: api.instantuploader.com
Authorization: Bearer <your_token_or_api_key>
Content-Type: application/json
{
"businessName" : "New name",
"packageName" : "...",
// please contact us to receive personalized packages
}
Example response:
{
"uid": "89084e5cbf6c0ce6cb6",
"businessName": "My account",
"subscriptionType": "paid",
"verificationStatus": "Unverified",
"tokensMax30": "650000",
"customDomain": "account.livesite.ai",
"status": "Enabled",
"firstName": "",
"lastName": "",
"customFields": [ ... ],
"pipelines": [ ... ],
"contentTypes": [ ... ],
"email": "[email protected]",
"agencyId": "10d125c1277ac06295d25b79edc6",
"createDate": {
"_seconds": 1694558295,
"_nanoseconds": 10000000
},
"apiKey": "791dsa6a9a4-9643-4e6f-ad47-a757038f3c",
"isPublicTemplate": false
}
Last updated