Project

Query projects

Queries projects accessible to the current user account.

get/v1/projects

Request

  • Base URL: https://api.telerivet.com
  • URL: https://api.telerivet.com/v1/projects
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://telerivet.com/oauth/authorize, token URL https://api.telerivet.com/oauth/token)

Query parameters

namestring

Filter projects by name

sort'default' | 'name'

Sort the results based on a field

sort_dir'asc' | 'desc'

Sort the results in ascending or descending order

page_sizeinteger

Number of results returned per page (max 500)

offsetinteger

Number of items to skip from beginning of result set

markerstring

'next_marker' property returned by a previous call to this API method, indicating where the next page of results should start.

countboolean

If true, the API will return the count of items matching the filter, instead of the items themselves

Response

Successful response. When count=1 parameter is provided, returns {"count": N} instead.

truncatedboolean

True if there are more results

next_markerstring

Marker for pagination

page_sizeinteger

Number of results per page

sort_dir'asc' | 'desc'

Sort direction

countinteger

Total count of matching items (only when count=1 parameter is provided)

Example response

{
  "data": [
    {
      "id": "PJ2ad0100821a98bea",
      "name": "Example Project",
      "timezone_id": "America/Los_Angeles",
      "url_slug": "asdf",
      "primary_dashboard_id": "DB2ad0100821a98bea",
      "auto_create_contacts": true,
      "message_retention_days": 90,
      "short_link_scheme": true,
      "organization_id": "AC1230123421123123",
      "url": "https://telerivet.com/p/asdf"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.