# Project's API Permissions token not valid for workflow start via API v1.1

**URL:** <https://discuss.circleci.com/t/projects-api-permissions-token-not-valid-for-workflow-start-via-api-v1-1/27567>\
**Category:** Bug Reports\
**Created:** [January 10, 2019, 1:37pm UTC](https://discuss.circleci.com/t/projects-api-permissions-token-not-valid-for-workflow-start-via-api-v1-1/27567 "2019-01-10T13:37:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mt-clearhaus](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@mt-clearhaus](https://discuss.circleci.com/u/mt-clearhaus)\
**Post date:** [January 10, 2019, 1:37pm UTC](https://discuss.circleci.com/t/projects-api-permissions-token-not-valid-for-workflow-start-via-api-v1-1/27567/1 "2019-01-10T13:37:14Z")

</div>

I have created an API token in the section “API Permissions” on my project’s Settings page ([https://circleci.com/:vcs/:org/:project/edit#api](https://circleci.com/:vcs/:org/:project/edit#api)). Its scope is “all”. I used to be able to use this token for starting a build with API v1.0 by POST’ing to [https://circleci.com/api/v1/project/:org/:project/tree/master?circle-token=:token](https://circleci.com/api/v1/project/:org/:project/tree/master?circle-token=:token).

When using the token for starting a workflow via API v1.1, I receive

```
{
  "message" : "Permission denied"
}

```

I am POST’ing using this cURL command:

```
curl -u ${TOKEN}: -X POST --header "Content-Type: application/json" -d '{"branch":"master"}' https://circleci.com/api/v1.1/project/github/:org/:project/build

```

If I create a personal API token and use that with the same command it works:

```
{
  "status" : 200,
  "body" : "Build created"
}

```

Is this not a bug?
