Skip to main content

Gets a paged collection of events indicating when a person granted/denied consent to have their personal data stored (required scope contacts:persons:read)

Path Parameters
    personId uuid required

    The unique identifier of the person

Query Parameters
    direction SortDirection

    Possible values: [ascending, descending]

    The direction to apply the sort

    sortBy PersonConsentSortOption

    Possible values: [createdAt]

    The field to sort items in the page by

    pageNumber int32

    Possible values: >= 1 and <= 2147483

    The page number being requested (minimum: 1, maximum: 2147483)

    pageSize int32

    Possible values: >= 1 and <= 1000

    The page size being requested (minimum: 1, maximum: 1000)

Header Parameters
    Customer-Id int64 required

    The customer identifier

Responses

Success


Schema
    items object[]

    The items returned for the requested page

  • Array [
  • id int64

    The unique identifier of the consent preference

    createdAt date-time

    The UTC timestamp of when this preference was captured

    status PersonConsentType

    Possible values: [awaiting, refused, granted]

    The consent preference indicated by the person

    Possible values:

    • awaiting: Awaiting
    • refused: Refused
    • granted: Granted

    medium PersonConsentMedium

    Possible values: [email, click, telephone]

    The medium that a person has expressed their consent using

    Possible values:

    • email: Email
    • click: Click
    • telephone: Telephone

    comment string

    Descriptive text about how and/or why the person has made this consent decision

  • ]
  • pageNumber int32

    The page number of the response where 1 is the first page

    pageSize int32

    The number of items requested for the current page

    pageItemCount int32

    The number of items returned in the current page

Loading...