Notify salespeople after making an update to the API?

Comments

2 comments

  • Avatar
    Rachel Harrigan

    It is unofficial, but yes you can @ mention people through the API.

    Format is:

    @⸨10:[user id]:[user name]⸩

     

    curl -H "Content-Type: application/json" -X POST \
    --header "X-PW-AccessToken:TOKEN" \
    --header "X-PW-Application: developer_api" \
    --header "X-PW-UserEmail:EMAIL" \
    https://api.prosperworks.com/developer_api/v1/activities \
    -d '{"type":{"category":"user","id":0},"parent":{"type":"opportunity","id":2439293},"details":"@⸨10:133295:Bob Villa⸩ This is example text.","user_id":133295}'

  • Avatar
    Amariah Fuller

    Thanks Rachel, I'll try it out!

Please sign in to leave a comment.