We are making use of the /people/:person/notes API endpoint to log some notes about people, however in NationBuilder the note is coming "from" the person who created the app inside nation builder. For example "John Doe posted a private note about Jane Doe".
We dont want it to come from John Doe as he did not make the note, it came from the API.
a) How can we make the note come from the nation or simply be there and not be from someone?
or
b) How can we tell it to make the note from a "generic" person we created in the nation ?
Share this post
Showing 5 reactions
Sign in with
Creative Freedom
Certified Architect
Certified Expert
Certified Developer
<pre>{"note": {"author_id":1,“content”:“This is the private note” } }</pre>
which attributes the private note to NationBuilder Support (user:1 in any nation). I’ve found this a helpful way of flagging the notes that are submitted through the NationBuilder API.
Certified Expert
Certified Developer
Additionally, if that user’s permission set changes, the access granted by the token will be scoped accordingly as well.
Certified Expert
Certified Developer
What would happen if the user which authorized the token was removed from the nation.
Does the app authorization continue to work ?
Nicolas
Currently, private notes added through the API are logged on behalf of the person who authorized the token for the nation (as you had mentioned, that is the expected behavior).
There isn’t a way to tie those private notes to another profile (or not have a profile for those), and a workaround that should be possible in the absence of that ability would be to create the ‘generic’ person in the nation, log in using that account, and authorize an API token. Private notes then coming through the API from that token should then be tied to the ‘generic’ account.
Best,
Alex