Quickstart

Make your first request in three steps.

  1. In DM Tracker, open Organization settings, then the API section, and copy your API key.
  2. Store it in an environment variable so it stays out of your code: export DMTRACKER_API_KEY="your_key".
  3. List your five newest contacts:
Example
curl "https://app.dmtracker.ai/api/v2/contacts?limit=5&fields=basic" \
  -H "x-api-key: $DMTRACKER_API_KEY" \
  -H "Content-Type: application/json"

Every example in this reference sends the same two headers, x-api-key and Content-Type: application/json, so you can copy any of them as they are.

A successful response looks like this:

Response
{
  "status": "success",
  "data": [
    {
      "id": "7c1e9a52-3f4b-4d2a-9e61-0b8f2d5c4a17",
      "username": "jane.fitness",
      "full_name": "Jane Cooper",
      "profile_picture": null
    }
  ],
  "has_more": true,
  "next_page": "eyJmIjoiY3JlYXRlZF9hdCIs..."
}
Link copied