Skip to main content

Find recipients that were sent a survey share within the last given days

POST 

/v3/contacts/recent-shares

Find recipients that were sent a survey share within the last given days

Request​

Body

    days integerrequired

    Possible values: >= 1 and <= 365

    Look-back window in days (1-365)

    survey_id integer

    Count only shares of this survey; omit to count shares of every survey

    channel_id integer

    Count only shares of this share channel; needs survey_id

    contacts

    object[]

    required

    Possible values: >= 1, <= 500

    Recipients to check (1-500), one email or mobile per item

  • Array [

  • email string

    Possible values: <= 255 characters

    Email of the recipient

    mobile string

    Possible values: <= 255 characters

    Mobile number of the recipient, exactly as stored on the contact

  • ]

Responses​

Successful

Schema

    data

    object[]

    required

    Recipients shared within the window

  • Array [

  • email string

    Possible values: <= 255 characters

    Email as sent in the request

    mobile string

    Possible values: <= 255 characters

    Mobile as sent in the request

    last_shared_at daterequired

    When the recipient was last sent a share in the window

  • ]

  • errors

    object[]

    required

    Recipients that failed validation and were not checked

  • Array [

  • email string

    Email as sent in the request

    mobile string

    Mobile as sent in the request

    message stringrequired

    Why the recipient was not checked

  • ]

Loading...