Lists all contracts ID and contract number only.

Endpoint URL

https://{{base_url}}/api/v2/contractids

Authentication and rate limits

ItemDetails
Authentication methodOAuth 2.0 Bearer token
Rate limitRate Limit

Requests Example

curl --request GET \
  --url 'https://{{base_url}}/api/v2/contractids/?company=1' \
  --header 'Authorization: Bearer $BEARER_TOKEN'
curl --request GET \
  --url 'https://dashboard-api.revnue.com/api/v2/asset/$id/?company=1' \
  --header 'Authorization: Bearer $BEARER_TOKEN'

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.

  • id (integer) --

    Optional if you want to list a specific asset ID. The id parameter is passed as part of the request url /contractids/$id/.

Response Syntax

{
  "id": integer,
  "number": "string"
 
}

Response Fields