# Unable to create a playbook via API

**URL:** https://forum.mattermost.com/t/unable-to-create-a-playbook-via-api/15257
**Category:** Troubleshooting
**Created:** [March 2, 2023, 7:36pm UTC](https://forum.mattermost.com/t/unable-to-create-a-playbook-via-api/15257 "2023-03-02T19:36:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mdb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/mdb/32/6488_2.png) [@mdb](https://forum.mattermost.com/u/mdb)
#### Post date: [March 2, 2023, 7:36pm UTC](https://forum.mattermost.com/t/unable-to-create-a-playbook-via-api/15257/1 "2023-03-02T19:36:48Z")

</div>

Hi

I’m trying to create a playbook via the API. Currently I am just trying the provided cURL example on  
[https://api.mattermost.com/#tag/Playbooks/operation/createPlaybook](https://api.mattermost.com/#tag/Playbooks/operation/createPlaybook)

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

```auto
<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?
