How do you get relationships' emails?

Options

I've tried a couple different endpoints but can't seem to be able to get a successful response.

https://api.sky.blackbaud.com/constituent/v1/constituents/{constituent_id}/emailaddresses[?include_inactive]

Where I use relationship id in place of constituent id doesn't seem to work, and if I use the related constituent id it doesn't work either. Any help would be great.

Comments

  • Alex Wong
    Alex Wong ✭✭✭✭✭
    Ninth Anniversary Facilitator 4 Name Dropper Photogenic

    @Daniel Oh
    After using the Get Relationship List API endpoint

    The result returned will have a property relation_id, this is the constituent system record id of the non-constituent relationship record. You can then use the Get Email Address List to get all email addresses of the non-constituent, or use the Get Constituent API endpoint to get just the primary email address, by providing the relation_id.

Categories