# Action Network

> Read Action Network organizing resources and manage people and tags.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/action-network

## Actions

### Create person

Create or update a person by email. Does not opt them into email without an explicit consent choice.

**Inputs**

- Given name (`given_name`, text): Given name.
- Family name (`family_name`, text): Family name.
- Email (`email`, text, required): Email.
- Postal addresses (`postal_addresses`, list): Postal addresses.
- Custom fields (`custom_fields`, object): Custom fields.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Create tag

Create tag.

**Inputs**

- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get advocacy campaign

Get advocacy campaign.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get campaign

Get campaign.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get event

Get event.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get event campaign

Get event campaign.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get form

Get form.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get fundraising page

Get fundraising page.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get list

Get list.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get person

Get person.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get petition

Get petition.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Get tag

Get tag.

**Inputs**

- ID (`id`, text, required): UUID from the resource’s identifiers (action_network: prefix may be omitted).

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### List advocacy campaigns

List advocacy campaigns.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:advocacy_campaigns": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List campaigns

List campaigns.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:campaigns": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List event campaigns

List event campaigns.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:event_campaigns": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List events

List events.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:events": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List forms

List forms.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:forms": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List fundraising pages

List fundraising pages.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:fundraising_pages": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List lists

List lists.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:lists": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List people

List people.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:people": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List petitions

List petitions.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:petitions": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### List taggings

List taggings.

**Inputs**

- Tag (`tag_id`, text, required): Tag id.
- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### List tags

List tags.

**Inputs**

- Page (`page`, number): Page. At least 1.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {
    "_embedded": {
      "osdi:tags": []
    },
    "_links": {}
  },
  "has_more": false,
  "next_cursor": ""
}
```

### Tag person

Tag person.

**Inputs**

- Tag (`tag_id`, text, required): Tag id.
- Person ID (`person_id`, text, required): Person UUID returned by Create person or List people.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```

### Update person

Update person.

**Inputs**

- ID (`id`, text, required): Id.
- Given name (`given_name`, text): Given name.
- Family name (`family_name`, text): Family name.
- Custom fields (`custom_fields`, object): Custom fields.

**Outputs**

- `data` (object): Complete response from the service, including its pagination and job status fields.
- `has_more` (true/false): Whether the service reports another page.
- `next_cursor` (text): Cursor for the next page, when supplied by the service.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": ""
}
```
