# Create contact point non provisioned

**URL:** <https://community.grafana.com/t/create-contact-point-non-provisioned/122447>\
**Category:** Alerting\
**Tags:** api, alert-notifications, alert-contact-points\
**Created:** [May 24, 2024, 12:24pm UTC](https://community.grafana.com/t/create-contact-point-non-provisioned/122447 "2024-05-24T12:24:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chembakayalabharath](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@chembakayalabharath](https://community.grafana.com/u/chembakayalabharath)\
**Post date:** [May 24, 2024, 12:24pm UTC](https://community.grafana.com/t/create-contact-point-non-provisioned/122447/1 "2024-05-24T12:24:28Z")

</div>

Hello team,

I want to create contact point in grafana using non provisioned as provisioned will not allow us to edit or modify.

Any curl post http API which will help to create the non provisioned contact point in grafana.

when I tried to create manually and I inspected the UI network and saw the POST call to create it ip:3000/api/alertmanager/grafana/config/api/v1/alerts

The same API i tried to create the contact point but it failed

Can anyone help me?

Thanks in Advance

Thanks& regards,  
Bharath Kumar.

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [May 24, 2024, 12:55pm UTC](https://community.grafana.com/t/create-contact-point-non-provisioned/122447/2 "2024-05-24T12:55:17Z")

</div>

Doc is your friend:

> **[Alerting Provisioning HTTP API | Grafana documentation](https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#edit-resources-in-the-grafana-ui)**
>
> Grafana Alerts HTTP API

> By default, you cannot edit API-provisioned alerting resources in Grafana. To enable editing these resources in the Grafana UI, add the `X-Disable-Provenance` header to the following requests in the API: …

---

<div class="post-metadata">

**Author:** ![chembakayalabharath](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@chembakayalabharath](https://community.grafana.com/u/chembakayalabharath)\
**Post date:** [May 24, 2024, 1:11pm UTC](https://community.grafana.com/t/create-contact-point-non-provisioned/122447/3 "2024-05-24T13:11:12Z")

</div>

> [@jangaraj](#):
>
> X-Disable-Provenance

Thank you so much.

---

<div class="post-metadata">

**Author:** ![chembakayalabharath](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@chembakayalabharath](https://community.grafana.com/u/chembakayalabharath)\
**Post date:** [May 25, 2024, 3:40am UTC](https://community.grafana.com/t/create-contact-point-non-provisioned/122447/4 "2024-05-25T03:40:12Z")

</div>

Hello @jangaraj

response=$(curl -s -w “\nHTTP\_STATUS\_CODE:%{http\_code}” -X POST   
-H “X-Disable-Provenance”   
-H “Authorization: Bearer $GRAFANA\_TOKEN”   
-H “Content-Type: application/json”   
-d “$payload”   
“$GRAFANA\_URL/api/v1/provisioning/contact-points”)

payload:  
{  
“name”: “test-alert-1”,  
“type”: “webhook”,  
“settings”: {  
“url”: “http://alert\_persistent\_proxy\_server:5000/alerts”,  
“httpMethod”: “POST”  
},  
“overwrite”: true  
}

Even though I added X-Disable-Provenance, still i am not able to edit or modify and after executing this API I am able to see the contact point created in Grafana.

I tried other alternatives which didn’t worked?

Could you please help me if any config I am missing?

Thanks.

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [May 25, 2024, 8:22am UTC](https://community.grafana.com/t/create-contact-point-non-provisioned/122447/5 "2024-05-25T08:22:05Z")

</div>

Try:

`-H "X-Disable-Provenance: true"`
