Users

Manage individual user accounts.

Get User

Retrieve user account details.

Securityapi-key
Request
path Parameters
username
required
string
Example: stan
Responses
200

OK

get/api/user/{username}
Response samples
application/json
{
  • "id": "58980a25a77b4d7bf459d100",
  • "username": "stella",
  • "name": "Stella",
  • "email": "stella@example.com"
}

Update user

Update user account details.

Securityapi-key
Request
path Parameters
username
required
string
Example: stan
Request Body schema: application/json
tags
string
avatar
string

An avatar URL for this user. This must be the same URL as provided by a [File Upload][].

background
string
company.address
string
company.businessType
string
company.city
string
company.clientId
string
company.companySize
string
company.dateFounded
string
company.email
string
company.fax
string
company.first
string
company.industry
string
company.last
string
company.markets
string
company.phone
string
company.privacy.community.blackListIds
any

list of company ids

company.privacy.community.whiteListIds
any

list of company ids

company.privacy.network.blackListIds
any

list of company ids

company.privacy.network.whiteListIds
any

list of company ids

company.regionalInternetRegistry
string
company.state
string
company.website
string
company.zip
string
headline
string
location
string
name
string

The new name for this user account

optIntoMarketingEmail
boolean
phone
string
role
string
settings
object

Settings object, corresponding with the settings retrieved from the GET method.

summary
string
Responses
200

OK

post/api/user/{username}
Request samples
application/json
{
  • "tags": "",
  • "avatar": "",
  • "background": "",
  • "company.address": "",
  • "company.businessType": "",
  • "company.city": "",
  • "company.clientId": "",
  • "company.companySize": "",
  • "company.dateFounded": "",
  • "company.email": "",
  • "company.fax": "",
  • "company.first": "",
  • "company.industry": "",
  • "company.last": "",
  • "company.markets": "",
  • "company.phone": "",
  • "company.privacy.community.blackListIds": [ ],
  • "company.privacy.community.whiteListIds": [ ],
  • "company.privacy.network.blackListIds": [ ],
  • "company.privacy.network.whiteListIds": [ ],
  • "company.regionalInternetRegistry": "",
  • "company.state": "",
  • "company.website": "",
  • "company.zip": "",
  • "headline": "",
  • "location": "",
  • "name": "",
  • "optIntoMarketingEmail": false,
  • "phone": "",
  • "role": "",
  • "settings": { },
  • "summary": ""
}
Response samples
application/json
{
  • "id": "58980a25a77b4d7bf459d100",
  • "username": "stella",
  • "name": "Stella",
  • "email": "stella@example.com"
}