{"action":"created","issue":{"url":"https://api.github.com/repos/SparkPost/php-sparkpost/issues/73","repository_url":"https://api.github.com/repos/SparkPost/php-sparkpost","labels_url":"https://api.github.com/repos/SparkPost/php-sparkpost/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/SparkPost/php-sparkpost/issues/73/comments","events_url":"https://api.github.com/repos/SparkPost/php-sparkpost/issues/73/events","html_url":"https://github.com/SparkPost/php-sparkpost/issues/73","id":147399389,"number":73,"title":"Custom Headers for unwrapped endpoints missing  (not possible to work with subaccounts)","user":{"login":"rommsen","id":743946,"avatar_url":"https://avatars.githubusercontent.com/u/743946?v=3","gravatar_id":"","url":"https://api.github.com/users/rommsen","html_url":"https://github.com/rommsen","followers_url":"https://api.github.com/users/rommsen/followers","following_url":"https://api.github.com/users/rommsen/following{/other_user}","gists_url":"https://api.github.com/users/rommsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rommsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rommsen/subscriptions","organizations_url":"https://api.github.com/users/rommsen/orgs","repos_url":"https://api.github.com/users/rommsen/repos","events_url":"https://api.github.com/users/rommsen/events{/privacy}","received_events_url":"https://api.github.com/users/rommsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SparkPost/php-sparkpost/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T11:30:29Z","updated_at":"2016-04-22T18:18:23Z","closed_at":null,"body":"Hi there,\r\n\r\nI am building a small cli application to handle sparkpost api requests. I found this library here,  which is useful but it seems it is not possible to add custom headers to the requests when using the unwrapped endpoints feature. \r\n\r\nThe problem is that this is mandatory to be able to work with subaccounts (X-MSYS-SUBACCOUNT header). \r\n\r\nBecause I really need this like *now* I could provide a PR but I wanted to make sure that you are open to this addition.\r\n"},"comment":{"url":"https://api.github.com/repos/SparkPost/php-sparkpost/issues/comments/213539507","html_url":"https://github.com/SparkPost/php-sparkpost/issues/73#issuecomment-213539507","issue_url":"https://api.github.com/repos/SparkPost/php-sparkpost/issues/73","id":213539507,"user":{"login":"richleland","id":34866,"avatar_url":"https://avatars.githubusercontent.com/u/34866?v=3","gravatar_id":"","url":"https://api.github.com/users/richleland","html_url":"https://github.com/richleland","followers_url":"https://api.github.com/users/richleland/followers","following_url":"https://api.github.com/users/richleland/following{/other_user}","gists_url":"https://api.github.com/users/richleland/gists{/gist_id}","starred_url":"https://api.github.com/users/richleland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richleland/subscriptions","organizations_url":"https://api.github.com/users/richleland/orgs","repos_url":"https://api.github.com/users/richleland/repos","events_url":"https://api.github.com/users/richleland/events{/privacy}","received_events_url":"https://api.github.com/users/richleland/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T18:18:23Z","updated_at":"2016-04-22T18:18:23Z","body":"Definitely open to it @rommsen! PR away!"}}