---
updatedAt: 2026-09-09T22:08:03.000Z
agentTools:
  projectIndex: https://developer.callhub.io/llms.txt
---

# /collective_texting/campaigns/{campaign_id}/initial_message/

Get Agent Token from [Token Page](https://app.callhub.io/user_detail_change/?action=tabs-6)

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2.1"
  },
  "servers": [
    {
      "url": "https://api.callhub.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "x-default": "",
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v2/collective_texting/campaigns/{campaign_id}/initial_message/": {
      "get": {
        "summary": "/collective_texting/campaigns/{campaign_id}/initial_message/",
        "description": "",
        "operationId": "collective_textingcampaignscampaign_idinitial_message",
        "parameters": [
          {
            "name": "campaign_id",
            "in": "path",
            "description": "Collective Texting Campaign ID",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\"initial_message\": \"I am your initial message :)\"}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "initial_message": {
                      "type": "string",
                      "example": "I am your initial message :)"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"detail\": \"Invalid token.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "detail": {
                      "type": "string",
                      "example": "Invalid token."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```