v1

latestOpenAPI 3.0.0Apache 2.02026-07-2410185524.2 KB
Interactions

get all

Returns all interactions

For custom components:

RaiselyComponents.api.all('interactions').get(params = {}, headers = {}) => Promise<{result}>

:fa-gears: See Restie Response Data for a more detailed overview of responses through the client wrapper

get/interactions

Query parameters

privateboolean

Returns the full record when authenticated

qstring

Search query to find records matching

limitnumber

The number of records to limit per page

offsetnumber

The pagination offset (in number of records)

sortstring

The record attribute to filter on (use in conjunction with order)

order'asc' | 'desc'

The direction to sort (only applied if sort is also provided) * asc - Ascending * desc - Descending

userstring

Filter by user uuid

categorystring

Filter by interaction category uuid

Headers

Authorizationstring

A valid HTTP Bearer token, required to access private records.

Response

The resulting collection of Interaction records

Example response

{
  "data": [
    {
      "action": "created",
      "category": {
        "createdAt": "2020-12-03T06:52:46.330Z",
        "isCore": true,
        "path": "example-path",
        "priority": 12345,
        "updatedAt": "2020-12-03T06:52:46.330Z",
        "uuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
      },
      "categoryUuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "createdAt": "2020-12-03T06:52:46.330Z",
      "internalOnly": true,
      "organisationUuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "recordUuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "tokenUuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "user": {
        "accessToken": "aaabbbccc",
        "address1": "31 Sunset Boulevard",
        "address2": "Unit 31b",
        "adminSettings": {
          "v4BetaOptin": true,
          "starredCampaigns": [
            "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
            "ffffffff-gggg-hhhh-iiii-jjjjjjjjjjjj"
          ]
        },
        "country": "AU",
        "createdAt": "2020-12-03T06:52:46.330Z",
        "email": "harveymilk@example.com",
        "facebookId": "fb_someurl",
        "firstName": "Leila",
        "fullName": "Leila Norma de Lima",
        "internal": {},
        "isAdmin": true,
        "isSamlLogin": true,
        "lastName": "de Lima",
        "permission": "PARTICIPANT",
        "phoneNumber": "+1 123-456-7890",
        "photoUrl": "https://raisely-images.imgix.net/www/uploads/t-03-arl-8-es-uhhqua-4-pr-f-4865431-df-58-512-png-08e3f5.png",
        "postcode": "AAA BBBB",
        "preferredName": "Norma",
        "private": {
          "fieldA": "one",
          "fieldB": "yes"
        },
        "public": {
          "fieldA": "one",
          "fieldB": "yes"
        },
        "state": "Victoria",
        "status": "ACTIVE",
        "suburb": "Melbourne",
        "unsubscribedAt": "2020-12-03T06:52:46.330Z",
        "updatedAt": "2020-12-03T06:52:46.330Z",
        "username": "harveymilk@example.com",
        "uuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
      },
      "userUuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "uuid": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
    }
  ],
  "pagination": {
    "total": 10,
    "pages": 2,
    "offset": 5,
    "limit": 5
  }
}