How to link an input with a pastebin?

Hey ya’ll. So today, I am trying to get it so every time someone enters a specific input, it adds a new line to a pastebin document I have set up. I’m very new to api’s so if you could dumb down this for me, however I do catch on quickly. A brief explanation is all I need. Thank you muchly,
-Jake

did you ever figure this out?