MPDX Developers
HomeHelp
Production
Production
  • Changelog
  • README
  • org_data_transfer
  • README
    • README
      • Account Lists
        • :Account List
        • Analytics
        • Chalkline Mail
        • Coaches
        • Designation Accounts
        • Donations
        • Donor Accounts
        • Entries
        • Financial Accounts
        • Imports
          • Csv
          • Google
          • Tnt
          • Tnt Data Sync
        • Invites
        • Mail Chimp Account
        • Merge
        • Notification Preferences
          • Bulk
        • Notifications
        • Pledges
        • Prayer Letters Account
        • Users
        • :account_list_id
          • Donations
        • :account_list_id
          • donations
            • Bulk
      • README
        • Impersonation
        • Organizations
        • Resets
      • Announcements
      • Appeals
        • Appeal Contacts
          • Bulk
        • Excluded Appeal Contacts
          • Bulk
      • Background Batches
      • Batch
      • Coaching
        • Answer Sets
        • Answers
        • Questions
      • Constants
      • Contacts
        • Addresses
        • Alma Mater Names
        • Analytics
        • Bulk
        • Church Names
        • Duplicates
        • README
        • Exports
          • Mailing
        • Filters
        • Merges
        • Partner Giving Analysis Filters
        • People
          • Bulk
          • Email Addresses
          • Facebook Accounts
          • Linkedin Accounts
          • Merges
          • Phones
          • Relationships
          • Twitter Accounts
          • Websites
        • Referrals
        • Referrers
        • Tags
          • Bulk
      • Deleted Records
      • Organizations
        • Account Lists
          • Account List Coaches
          • Account List Users
          • Invites
        • Admins
        • Contacts
        • Impersonation
        • Invites
      • Public
        • Designation Accounts
          • Subscriptions
      • README
        • Activity Results
        • Appointment Results
        • Donation Histories
        • Donation Monthly Totals
        • Donor Currency Donations
        • Entry Histories
        • Expected Monthly Totals
        • Goal Progress
        • Monthly Giving Graph
        • Monthly Losses Graphs
        • Partner Giving Analysis
        • People With Anniversaries
        • People With Birthdays
        • Pledge Histories
        • Salary Currency Donations
        • Tag Histories
        • Year Donations
      • Tasks
        • Analytics
        • Comments
        • Filters
        • Tags
      • README
        • Analytics
      • User
        • Account List Coaches
        • Announcements
        • Authenticate
        • Devices
        • Google Accounts
          • Google Integrations
        • Key Accounts
        • Notifications
        • Options
        • Organization Accounts
Powered by GitBook
On this page
  • Email Address [LIST]
  • Request
  • Response
  • Fields
  • Email Address [POST]
  • Request
  • Parameters
  • Response
  • Fields
  • Email Address [GET]
  • Request
  • Response
  • Fields
  • Email Address [PUT]
  • Request
  • Parameters
  • Response
  • Fields
  • Email Address [DELETE]
  • Request
  • Response
  1. README
  2. README
  3. Contacts
  4. People

Email Addresses

Email Addresses Documentation

Email Address [LIST]

Email Address [LIST]

Request

Endpoint

GET /api/v2/contacts/94a18344-bddf-4d25-8a53-3f54682a2d2f/people/eabace10-535c-440c-bbb3-34b4acdb7a8f/email_addresses
Content-Type: application/vnd.api+json

Body

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
200 OK

Body

{
  "data": [
    {
      "id": "ff35857d-be1b-4f2f-b423-92ce8f55d5ea",
      "type": "email_addresses",
      "attributes": {
        "created_at": "2022-01-12T17:18:09Z",
        "email": "foo-6@example.com",
        "historic": false,
        "location": "home",
        "primary": true,
        "source": "MPDX",
        "updated_at": "2022-01-12T17:18:09Z",
        "updated_in_db_at": "2022-01-12T17:18:09Z",
        "valid_values": true
      }
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "per_page": 25,
      "total_count": 1,
      "total_pages": 1
    },
    "sort": null,
    "filter": {
    }
  }
}

Fields

data

Type [Email Address]

Description An array of Email Addresses

Email Address [POST]

Email Address [POST]

Request

Endpoint

POST /api/v2/contacts/9d42ee91-f866-473e-b616-5553ea083e79/people/7edef78f-4a45-40c8-b455-3d568c6c4a36/email_addresses
Content-Type: application/vnd.api+json

Body

{
  "data": {
    "type": "email_addresses",
    "attributes": {
      "email": "foo-5@example.com",
      "historic": false,
      "location": "home",
      "primary": false,
      "updated_in_db_at": "2022-01-12 17:18:09 UTC"
    }
  }
}

Parameters

Attributes

created_at

Type date

Description The timestamp of when this resource was created

Required No

email

Type string

Description The actual email address that this Email Address resource represents

Required No

historic

Type boolean

Description This should be true when an Email Address should no longer be used

Required No

location

Type string

Description Essentially a label for the Email Address, such as 'home', 'mobile', 'office'

Required No

primary

Type boolean

Description Whether or not the email is the owner's primary email address. Ultimately there should only be one of these.

Required No

source

Type string

Description The source of the email address

Required No

updated_at

Type date

Description The timestamp of when this resource was last updated

Required No

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

Required No

valid_values

Type boolean

Description This boolean indicates whether the email address is accurate or not

Required No

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
201 Created

Body

{
  "data": {
    "id": "6208b440-ca01-474b-b11f-154e157e8d5f",
    "type": "email_addresses",
    "attributes": {
      "created_at": "2022-01-12T17:18:09Z",
      "email": "foo-5@example.com",
      "historic": false,
      "location": "home",
      "primary": false,
      "source": "MPDX",
      "updated_at": "2022-01-12T17:18:09Z",
      "updated_in_db_at": "2022-01-12T17:18:09Z",
      "valid_values": true
    }
  }
}

Fields

Attributes

created_at

Type date

Description The timestamp of when this resource was created

email

Type string

Description The actual email address that this Email Address resource represents

historic

Type boolean

Description This should be true when an Email Address should no longer be used

location

Type string

Description Essentially a label for the Email Address, such as 'home', 'mobile', 'office'

primary

Type boolean

Description Whether or not the email is the owner's primary email address. Ultimately there should only be one of these.

source

Type string

Description The source of the email address

updated_at

Type date

Description The timestamp of when this resource was last updated

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

valid_values

Type boolean

Description This boolean indicates whether the email address is accurate or not

Email Address [GET]

Email Address [GET]

Request

Endpoint

GET /api/v2/contacts/12a5b1a1-f9d9-42f9-96d9-4df2e1463d01/people/59f31210-2c3e-4574-87b4-b305944a24a1/email_addresses/ba804da4-03d7-42f1-8445-e4fddb49351e
Content-Type: application/vnd.api+json

Body

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
200 OK

Body

{
  "data": {
    "id": "ba804da4-03d7-42f1-8445-e4fddb49351e",
    "type": "email_addresses",
    "attributes": {
      "created_at": "2022-01-12T17:18:09Z",
      "email": "foo-7@example.com",
      "historic": false,
      "location": "home",
      "primary": true,
      "source": "MPDX",
      "updated_at": "2022-01-12T17:18:09Z",
      "updated_in_db_at": "2022-01-12T17:18:09Z",
      "valid_values": true
    }
  }
}

Fields

Attributes

created_at

Type date

Description The timestamp of when this resource was created

email

Type string

Description The actual email address that this Email Address resource represents

historic

Type boolean

Description This should be true when an Email Address should no longer be used

location

Type string

Description Essentially a label for the Email Address, such as 'home', 'mobile', 'office'

primary

Type boolean

Description Whether or not the email is the owner's primary email address. Ultimately there should only be one of these.

source

Type string

Description The source of the email address

updated_at

Type date

Description The timestamp of when this resource was last updated

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

valid_values

Type boolean

Description This boolean indicates whether the email address is accurate or not

Email Address [PUT]

Email Address [PUT]

Request

Endpoint

PUT /api/v2/contacts/2eb046f1-15ac-4c3c-9aa2-d9b3dc46ae65/people/916a3055-25cd-4da7-9f92-b537edb83356/email_addresses/a3f1d6bc-83d2-4f8f-868b-183b74f44d11
Content-Type: application/vnd.api+json

Body

{
  "data": {
    "type": "email_addresses",
    "attributes": {
      "email": "foo-2@example.com",
      "historic": false,
      "location": "home",
      "primary": false,
      "updated_in_db_at": "2022-01-12 17:18:08 UTC"
    }
  }
}

Parameters

Attributes

created_at

Type date

Description The timestamp of when this resource was created

Required No

email

Type string

Description The actual email address that this Email Address resource represents

Required No

historic

Type boolean

Description This should be true when an Email Address should no longer be used

Required No

location

Type string

Description Essentially a label for the Email Address, such as 'home', 'mobile', 'office'

Required No

overwrite

Type boolean

Description Only used for updating a record where you want to ignore the server's ' 'updated_in_db_at value and force overwrite the values for the record. ' 'Must be true to work.

Required No

primary

Type boolean

Description Whether or not the email is the owner's primary email address. Ultimately there should only be one of these.

Required No

source

Type string

Description The source of the email address

Required No

updated_at

Type date

Description The timestamp of when this resource was last updated

Required No

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

Required No

valid_values

Type boolean

Description This boolean indicates whether the email address is accurate or not

Required No

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
200 OK

Body

{
  "data": {
    "id": "a3f1d6bc-83d2-4f8f-868b-183b74f44d11",
    "type": "email_addresses",
    "attributes": {
      "created_at": "2022-01-12T17:18:08Z",
      "email": "foo-2@example.com",
      "historic": false,
      "location": "home",
      "primary": false,
      "source": "MPDX",
      "updated_at": "2022-01-12T17:18:08Z",
      "updated_in_db_at": "2022-01-12T17:18:08Z",
      "valid_values": true
    }
  }
}

Fields

Attributes

created_at

Type date

Description The timestamp of when this resource was created

email

Type string

Description The actual email address that this Email Address resource represents

historic

Type boolean

Description This should be true when an Email Address should no longer be used

location

Type string

Description Essentially a label for the Email Address, such as 'home', 'mobile', 'office'

primary

Type boolean

Description Whether or not the email is the owner's primary email address. Ultimately there should only be one of these.

source

Type string

Description The source of the email address

updated_at

Type date

Description The timestamp of when this resource was last updated

updated_in_db_at

Type date

Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.

valid_values

Type boolean

Description This boolean indicates whether the email address is accurate or not

Email Address [DELETE]

Email Address [DELETE]

Request

Endpoint

DELETE /api/v2/contacts/88bcb67f-bcd7-4a97-ab08-e40d5eba2d94/people/21cf5587-09ac-4a75-b50e-d426038f6c3f/email_addresses/a8c8c913-2e4c-4f66-9fc4-2f6f71f56d32
Content-Type: application/vnd.api+json

Body

Response

Headers

204 No Content

Body

PreviousBulkNextFacebook Accounts

Last updated 3 years ago