> For the complete documentation index, see [llms.txt](https://docs.hos.accessacloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/campaign-api.md).

# Campaign Api

Api Methods for CampaignApi

## DispatchCampaignElements

> Send Campaign Elements

```json
{"openapi":"3.0.3","info":{"title":"Atreemo API","version":"0.1.0"},"tags":[{"name":"CampaignApi","description":"Api Methods for CampaignApi"}],"servers":[{"url":"https://apim-hospitality-dev-uksouth.azure-api.net/atreemo-api","description":"Local DEV APIM import draft only; not a deployed endpoint announcement."}],"security":[{"AtreemoBearer":[]}],"components":{"securitySchemes":{"AtreemoBearer":{"type":"http","scheme":"bearer","description":"Atreemo access token obtained by the caller from the Atreemo instance `POST /token` endpoint (OAuth2 password grant) and sent as `Authorization: Bearer <token>`. See the Authorisation guide."}},"schemas":{"DispatchCampainElementInput":{"type":"object","nullable":false,"properties":{"CampaignID":{"type":"integer","format":"int32","nullable":false},"ListOfRecipients":{"type":"array","items":{"$ref":"#/components/schemas/Recipient"},"nullable":false,"minItems":1}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified.","required":["CampaignID","ListOfRecipients"]},"Recipient":{"type":"object","nullable":true,"properties":{"ChannelID":{"type":"integer","format":"int32"},"SendDate":{"type":"string","format":"date-time"},"ChannelFieldValue":{"type":"string","nullable":true},"CtcID":{"type":"integer","format":"int32"},"MemberID":{"type":"string","nullable":true},"PersonalizedFields":{"type":"array","items":{"$ref":"#/components/schemas/PersonalizedField"},"nullable":true}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."},"PersonalizedField":{"type":"object","nullable":true,"properties":{"FieldName":{"type":"string","nullable":true},"FieldValue":{"type":"string","nullable":true}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."},"DispatchCampainElementOutput":{"type":"object","nullable":true,"properties":{"Response":{"type":"boolean"},"Error":{"type":"array","items":{"type":"string","nullable":true},"nullable":true}},"description":"Source-backed JSON members, including inheritance and JSON naming/ignore attributes. No property is required solely because its CLR value type is non-nullable. Runtime and deployment alignment are unverified."}}},"paths":{"/api/CampaignApi/DispatchCampaignElements":{"post":{"operationId":"CampaignApiDispatchCampaignElements","summary":"DispatchCampaignElements","tags":["CampaignApi"],"description":"Send Campaign Elements","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DispatchCampainElementInput"}}}},"responses":{"200":{"description":"Source return path at pinned commit; runtime and deployed-version alignment unverified.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DispatchCampainElementOutput"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hos.accessacloud.com/atreemo-api/api-reference/atreemo-api-reference/campaign-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
