Sending An Ally/Enemy Request using a bot

So, going through the api: https://groups.roblox.com/docs#!/Relationships/post_v1_groups_groupId_relationships_groupRelationshipType_relatedGroupId

I was going to set up a bot for this, then I realized I have to have the cookie for this since it’ll be role based. I then started to look through noblox to see if they have something to send ally/enemy requests to different groups, in which case I found that they don’t. The biggest dilemma I have is that I need to log in to the account and then go to the website. Does anyone have any suggestions for this?

You can use an API wrapper. You can then login using your .ROBLOSECURITY token.