# SDK Pipeline Run documentation

**URL:** <https://community.codefresh.io/t/sdk-pipeline-run-documentation/380>\
**Category:** Pipeline Triggers\
**Created:** [June 2, 2020, 6:30pm UTC](https://community.codefresh.io/t/sdk-pipeline-run-documentation/380 "2020-06-02T18:30:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dcunningham](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/dcunningham/32/141_2.png) [@dcunningham](https://community.codefresh.io/u/dcunningham)\
**Post date:** [June 5, 2020, 1:16pm UTC](https://community.codefresh.io/t/sdk-pipeline-run-documentation/380/2 "2020-06-05T13:16:09Z")

</div>

Ok, I was able to make my use case to work but with some lessons learned that I’ll share here in hopes that it saves somebody else a few hours of their life:

### Path Parameter: Name

1. Case sensitive
2. Must include the Project Name and you need to URL Encode the / so if you’re trying to trigger the build of “Services/Foobar” you must use `Services%2FFoobar`

## Trigger

This is the name of the Trigger that you want to use from your Pipeline configuration

## Type

I ended up omitting this, and pretty much everything else. My request looked like so:

```auto
curl \ [9:04:42]
    -X POST \
    -H "Authorization: ${API_KEY} \
    -H 'Content-Type: application/json; charset=utf-8' \
    -d "{\"branch\": \"master\", \"trigger\":\"${PIPELINE_TRIGGER_NAME}\"}" \
    "https://g.codefresh.io/api/pipelines/run/${PIPELINE_PROJECT_NAME}%2F${PIPELINE_NAME}"

```

---

_[View the full topic](https://community.codefresh.io/t/sdk-pipeline-run-documentation/380)._
