Unable to create a playbook via API


I’m trying to create a playbook via the API. Currently I am just trying the provided cURL example on

I only have one user on my account and it is listed as system admin.

It took a while to figure out how to set the reminder_timer_default_seconds as it is not mentioned in the API docs and also the error message listed the parameter without underscores. But, I once i figured out how to set it I now get

<Response [403]>
{"error":"Not authorized"}

The same user is able to create a playbook in the web gui

Any ideas as to what I am doing wrong?