Ortto

App · 3 actions

Report customer data and audience membership alongside the account’s custom field schema.

Actions

ActionWhat it does
List audiencesRead one page of audience definitions and membership counts.
List custom person fieldsRead the custom person field schema available in the connected customer data platform.
List peopleRead one page of people with email and name fields.

List audiences

Read one page of audience definitions and membership counts.

Inputs

Limitlimitnumber
Audience page size; the documented maximum is 40.From 1 to 40.
Offsetoffsetnumber
Zero-based audience offset.At least 0.
Search termsearch_termtext
Search audience names.

Outputs

datalist
The response from Ortto.
Example output
{
  "data": [
    {
      "id": "audience_1",
      "members": 1,
      "name": "Newsletter subscribers",
      "ready": true,
      "subscribers": 1
    }
  ]
}

List custom person fields

Read the custom person field schema available in the connected customer data platform.

Inputs

None.

Outputs

dataobject
The response from Ortto.
Example output
{
  "data": {
    "fields": [
      {
        "field": {
          "display_type": "text",
          "id": "str:cm:plan",
          "liquid_name": "people.custom.plan",
          "name": "Plan"
        },
        "tracked_value": false
      }
    ]
  }
}

List people

Read one page of people with email and name fields. Continue with next_offset and cursor_id.

Inputs

Limitlimitnumber
Maximum people per page.From 1 to 500.
Offsetoffsetnumber
Next offset from the previous response.At least 0.
Cursor IDcursor_idtext
Cursor ID from the previous page; preserve it while paginating.
Qqtext
Search text for people.

Outputs

dataobject
The response from Ortto.
Example output
{
  "data": {
    "contacts": [
      {
        "fields": {
          "str::email": "reader@example.com",
          "str::first": "Example",
          "str::last": "Reader"
        },
        "id": "person_1"
      }
    ],
    "cursor_id": "cursor_1",
    "has_more": false,
    "meta": {
      "total_contacts": 1,
      "total_matches": 1,
      "total_subscribers": 1
    },
    "next_offset": 1,
    "offset": 0
  }
}

On this page