List Activity Types — Guide

First-request guide for List Activity Types.

API GUIDE

List Activity Types

List Activity Types

GET/activity_typeNo request bodyAuthentication required

Overview

Get all activity types currently configured on your Demandbase tenant

Call the endpoint

Send a GET request to /activity_type with the required authentication and parameters.

Supply endpoint parameters

Review the parameter table to see which path, query, or header values the endpoint accepts.

Inspect the response

Use the success response shape to validate the fields your integration receives.

Quickstart

Follow these two steps to make a request and recognize a successful response.

STEP 1

Make a request

REQUEST
curl --request GET \
  --url https://uapi.demandbase.com/import/v1/activity_type \
  --header "Authorization: Bearer $DB_API_KEY" \
  --header "Accept: application/json"
STEP 2

Read the response

SUCCESS RESPONSE · HTTP 200
[
  {
    "id": 1,
    "name": "example",
    "description": "example",
    "activitySource": "example"
  }
]

Request anatomy

Build the request from the method, path, parameters, and payload described below.

Parameters

This endpoint does not define additional parameters.

Request body

This endpoint does not define a JSON request body.

Response anatomy

The endpoint returns 200 for the documented success case. Inspect the response fields below.

The response schema does not enumerate fields; inspect the example response and status code.

Rules

  • Use GET with the path /activity_type.
  • Required inputs: No parameters are marked required in the published schema..
  • Authenticate every request with a valid Demandbase access token.
  • This endpoint does not require a JSON request body.

Filters

This endpoint has no additional filters or parameters beyond its authentication requirements.

Errors

Handle non-success responses explicitly so your integration can report actionable failures.

StatusMeaning
400Request failed.
404Request failed.
500Request failed.

Next steps

Try the quickstart

Start with the request example, then replace the sample values with your credentials and data.

Return to the API area

Back to activities-management

Back to top