Update User
Updates the information for an user with the specified ID.
The /user
endpoint allows you to update the information for an user by its userId. This endpoint can be useful for modifying an user's settings or information.
Use this endpoint to update information about a specific user. If you don't specify a user ID, the endpoint will update the currently authenticated user.
This endpoint requires authentication with a JWT token or API key.
POST
https://api.instantuploader.com/user
Example:
/user/?userId=0258a873456fdfc2ac1abfdca6441
Query Parameters
Name
Type
Description
userId
String
The ID of the user to update all details of the user
{
"accountId": "f09394dc775a870f9c7b8f98e45a",
"address": "",
"agencyId": "10d125c1277ac06295d25b79edc6",
"businessCategories": [],
"businessLabels": [],
"businessServices": [],
"businessTags": [],
"city": "",
"contentType": {
"id": "7eb49931fab86365a07f137db5fe",
"name": "Project"
},
"coordData": {
"geohash": ""
},
"coords": "44.00,44.0114",
"createDate": "2021-05-31T11:51:57.0Z",
"customerName": "",
"datetimeStamp": 516,
"description": "",
"internalNote": "",
"lock": {},
"media": [],
"neighborhood": "",
"permitNumber": "",
"pipelineId": "5c760838b1976bc7465b5fa8fff9",
"presentation": {},
"seo": {
"permalink": "title_"
},
"smartTags": [],
"stage": "1cb355e1ebaf70bb46eda2f6d3f9",
"status": {
"content": "draft",
"publish": "notPublished",
"service": "open"
},
"tasks": [],
"testimonial": {},
"title": "",
"updateDate": "2021-05-31T11:51:57.0Z",
"userId": "user_id",
"writings": {}
}
Example:
POST /user HTTP/1.1
Host: api.instantuploader.com
Authorization: Bearer <your_token_or_api_key>
Content-Type: application/json
{
"userId": "<userId>",
"country": "<country>"
}
Example response:
{
"country": "",
"type": "account",
"tokensMax30": "",
"themeValue": "",
"updated": 0,
"industry": "",
"businessServices": [],
"logo": "",
"googlePlaceId": "",
"agencyId": "",
"firstName": "",
"lastName": "",
"businessCategories": [],
"customFields": [],
"email": "",
"phone": "",
"createDate": {
"_seconds": 0,
"_nanoseconds": 0
},
"contentTypes": [],
"aISettings": {
"autoTagging": false,
"bcbb717588877b62774e6bd3b4a2": false,
"aIWriterInWebApp": false
},
"state": "",
"uid": "",
"pipelines": [],
"smartTags": [],
"contentSmartTags": [],
"template": {},
"destinations": [],
"description": "",
"verificationStatus": "",
"location": "",
"businessName": "",
"whitelabelDomain": "",
"inviteCode": "",
"userWatermark": {
"watermarkImage": "",
"name": ""
},
"zip": "",
"status": "",
"inviteDeepLink": "",
"role": "",
"website": "",
"subscriptionType": ""
}
Last updated