# Sendoso

> Look up Sendoso sends and see the people, teams, departments and roles in your Sendoso organization.

App · 11 actions. Web page: https://docs.lodol.com/docs/integrations/sendoso

## Actions

### Get API key owner

See which user, organization and team the API key acts as, and the scopes it carries.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "credential": {
      "created_at": "2026-09-23T17:04:12Z",
      "hint": "sendoso_live_AbCd\u2026a1b2",
      "name": "Lodol",
      "scopes": [
        "users:read",
        "teams:read"
      ],
      "type": "api_key"
    },
    "organization": {
      "id": "56",
      "name": "Example Corp"
    },
    "team": {
      "id": "78",
      "name": "Field Marketing"
    },
    "user": {
      "email": "jane@example.com",
      "first_name": "Jane",
      "id": "1234",
      "last_name": "Doe"
    }
  }
}
```

### Get organization

Get your organization's name and how many seats it uses and has.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "id": "56",
    "name": "Example Corp",
    "seats": {
      "enforced": true,
      "licensed": 50,
      "unlimited": false,
      "used": 42
    }
  }
}
```

### Get rate limit

See how many API requests your organization has left this minute, for reads and for writes.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "read": {
      "limit": 300,
      "remaining": 298,
      "reset": 1721318400
    },
    "write": {
      "limit": 60,
      "remaining": 60,
      "reset": 1721318400
    }
  }
}
```

### Get role

Get one role with every permission it grants.

**Inputs**

- Role (`role_id`, text, required): The role. Pick one, or use a role ID from List roles.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "created_at": "2025-03-10T18:00:00Z",
    "default": false,
    "id": "301",
    "member_count": 6,
    "name": "Field Ops",
    "permissions": [
      {
        "name": "Organization & User Management",
        "permissions": [
          {
            "granted": true,
            "key": "user_assign_roles",
            "name": "Assign roles to users"
          },
          {
            "granted": false,
            "key": "team_assign",
            "name": "Assign teams to departments"
          }
        ]
      }
    ],
    "scope": "team",
    "updated_at": "2026-09-01T12:00:00Z"
  }
}
```

### Get send

Get one send's status, gift, recipient, note and any issues holding it up.

**Inputs**

- Send ID (`send_id`, text, required): The send's ID, shown as Send ID in Sendoso's send tracker.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "campaign": {
      "id": "123456",
      "name": "Renewal thank-you"
    },
    "created_at": "2026-09-23T17:04:12Z",
    "gift": {
      "amount": {
        "amount": 2500,
        "currency": "USD"
      },
      "chosen_by_recipient": false,
      "donated": false,
      "exchanged": false,
      "items": [
        {
          "name": "Sendoso Insulated Tumbler",
          "product_id": "3f1c2a4e-8b7d-4c1e-9a2b-5d6e7f8a9b0c",
          "quantity": 1,
          "variant_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
          "variant_name": "Navy"
        }
      ],
      "type": "physical"
    },
    "id": "A1B2C3D4E",
    "issues": [
      {
        "action_required": false,
        "closed_at": "2026-09-23T18:00:00Z",
        "open": false,
        "opened_at": "2026-09-23T17:04:12Z",
        "resolution": "approved",
        "type": "pending_approval"
      }
    ],
    "message": {
      "body": "Thanks for renewing with us, John!",
      "subject": "A thank-you from Example Corp",
      "type": "handwritten_note"
    },
    "on_behalf_of": {
      "email": "sam@example.com",
      "id": "1235",
      "name": "Sam Rivera"
    },
    "recipient": {
      "address": {
        "city": "San Francisco",
        "country": "US",
        "line1": "639 Front St",
        "line2": "Floor 3",
        "postal_code": "94111",
        "state": "CA"
      },
      "company": "Acme",
      "email": "john.smith@acme.example",
      "first_name": "John",
      "full_name": "John Smith",
      "last_name": "Smith",
      "phone": "+14155550123",
      "pii_removed": false
    },
    "resend_of": "Z9Y8X7W6V",
    "send_at": "2026-09-24T09:00:00Z",
    "sender": {
      "email": "jane@example.com",
      "id": "1234",
      "name": "Jane Doe"
    },
    "status": "shipped",
    "status_changed_at": "2026-09-24T18:12:00Z",
    "team": {
      "id": "78",
      "name": "Field Marketing"
    },
    "tracker_url": "https://app.sendoso.com/tracker/sends/A1B2C3D4E",
    "updated_at": "2026-09-24T18:12:00Z"
  }
}
```

### Get team

Get one team with its department and size.

**Inputs**

- Team (`team`, text, required): The team. Pick one, or use a team ID from List teams.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "created_at": "2025-03-10T18:00:00Z",
    "department": {
      "id": "12",
      "name": "Marketing"
    },
    "id": "78",
    "member_count": 14,
    "name": "Field Marketing",
    "updated_at": "2026-09-01T12:00:00Z"
  }
}
```

### Get user

Get one person in your organization with their role, team and status.

**Inputs**

- User ID (`user`, text, required): The user's Sendoso ID, from List users.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "created_at": "2025-03-10T18:00:00Z",
    "email": "jane@example.com",
    "first_name": "Jane",
    "id": "1234",
    "job_title": "Field Marketing Manager",
    "last_name": "Doe",
    "role": "manager",
    "role_id": "301",
    "status": "active",
    "team": {
      "id": "78",
      "name": "Field Marketing"
    },
    "updated_at": "2026-09-01T12:00:00Z"
  }
}
```

### List departments

List one page of the departments in your organization, with how many teams each has.

**Inputs**

- Search (`search`, text): Only departments whose name contains these words.
- Page size (`limit`, number): How many to return in a page, from 1 to 100. Sendoso returns 25 if you leave it empty. From 1 to 100.
- Next page (`cursor`, text): The next cursor from the page before, to read the page after it. Send the same filters again.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2025-03-10T18:00:00Z",
        "id": "12",
        "name": "Marketing",
        "team_count": 3,
        "updated_at": "2026-09-01T12:00:00Z"
      }
    ],
    "has_more": false,
    "next_cursor": "eyJ2IjoxLCJpZCI6OTEzN30"
  }
}
```

### List roles

List one page of the roles in your organization, with how far each reaches and who holds it.

**Inputs**

- Only roles I can give (`assignable`, true/false): Only the roles the key's user is allowed to give someone.
- Search (`search`, text): Only roles whose name contains these words.
- Page size (`limit`, number): How many to return in a page, from 1 to 100. Sendoso returns 25 if you leave it empty. From 1 to 100.
- Next page (`cursor`, text): The next cursor from the page before, to read the page after it. Send the same filters again.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2025-03-10T18:00:00Z",
        "default": false,
        "id": "301",
        "member_count": 6,
        "name": "Field Ops",
        "scope": "team",
        "updated_at": "2026-09-01T12:00:00Z"
      }
    ],
    "has_more": false,
    "next_cursor": "eyJ2IjoxLCJpZCI6OTEzN30"
  }
}
```

### List teams

List one page of the teams in your organization, with their department and size.

**Inputs**

- Department (`department_id`, text): Only teams in this department.
- Search (`search`, text): Only teams whose name contains these words.
- Page size (`limit`, number): How many to return in a page, from 1 to 100. Sendoso returns 25 if you leave it empty. From 1 to 100.
- Next page (`cursor`, text): The next cursor from the page before, to read the page after it. Send the same filters again.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2025-03-10T18:00:00Z",
        "department": {
          "id": "12",
          "name": "Marketing"
        },
        "id": "78",
        "member_count": 14,
        "name": "Field Marketing",
        "updated_at": "2026-09-01T12:00:00Z"
      }
    ],
    "has_more": false,
    "next_cursor": "eyJ2IjoxLCJpZCI6OTEzN30"
  }
}
```

### List users

List one page of the people in your organization, filtered by team, status, email or when they changed.

**Inputs**

- Email (`email`, text): Only the user with this exact email address.
- Team (`team`, text): Only members of this team.
- Status (`status`, list): Only users with these statuses. Sendoso lists only active users if you leave it empty. One or more of: `active`, `inactive` (Inactive (account deactivated)), `suspended`.
- Search (`search`, text): Only users whose name or email contains these words.
- Changed on or after (`updated_after`, date and time): Only users changed at or after this time.
- Page size (`limit`, number): How many to return in a page, from 1 to 100. Sendoso returns 25 if you leave it empty. From 1 to 100.
- Next page (`cursor`, text): The next cursor from the page before, to read the page after it. Send the same filters again.

**Outputs**

- `data` (object): The response from Sendoso.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2025-03-10T18:00:00Z",
        "email": "jane@example.com",
        "first_name": "Jane",
        "id": "1234",
        "job_title": "Field Marketing Manager",
        "last_name": "Doe",
        "role": "manager",
        "role_id": "301",
        "status": "active",
        "team": {
          "id": "78",
          "name": "Field Marketing"
        },
        "updated_at": "2026-09-01T12:00:00Z"
      }
    ],
    "has_more": false,
    "next_cursor": "eyJ2IjoxLCJpZCI6OTEzN30"
  }
}
```
