Creates an asset owner.

Endpoint URL

https://dashboard-api.revnue.com/api/v2/asset-owner

Authentication and rate limits

Item

Details

Authentication method

OAuth 2.0 Bearer token

Rate limit

Rate Limit

Requests Example

curl --request POST \
  --url 'https://dashboard-api.revnue.com/api/v2/asset-owner \
  --header 'Authorization: Bearer $BEARER_TOKEN' \
  --header 'Content-Type: application/json' \
  --data-raw '$JSON'

Request Syntax

{
  "company": integer,
  "name": "string",
  "email": "string",
  "phone": "string"
}

Query Parameters

  • company (integer) --

    [REQUIRED]
    The ID of the specific company your API is calling. For accounts with only one company, the default value is 1.
    To lookup a specific company ID, see the List Company API.

  • name (string) --

    [REQUIRED]
    The name of the asset owner.
    Max characters = 50
    The name of the asset owner must be unique per account.

  • email (string) --

    The email of the asset owner.
    Max characters = 254

  • phone (string) --

    The phone of the asset owner.
    Max characters = 20

Response Syntax

{
  "id": integer,
  "name": "string",
  "email": "string",
  "phone": "string"
}

Response Fields

  • id (integer) --

    The ID of the asset owner.

  • name (string) --

    The name of the asset owner.

  • email (string) --

    The email of the asset owner.

  • phone (string) --

    The phone of the asset owner.