web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Dynamics CRM 365 : AuthValue format for Webhook registration via REST API

(1) ShareShare
ReportReport
Posted on by 2
I am performing a webhook registration to Dynamics 365 CRM through Postman with Authentication(authtype) as 'HttpHeader', Below is the CURL.
 
curl --location 'https://org3a4.api.crm8.dynamics.com/api/data/v9.2/serviceendpoints' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJ' \
--header 'Cookie: ARRAffinity=c52218673543ae327ac4ca6d4dded4e4985f806da4e2197009d540dbcf32d92715134d20c556b0b34b9b6ae43ec3f5dcdad61788de889ffc592af7aca85fc1c508DC893CD48D2A2530736814; ReqClientId=52a33499-a7ae-4d41-b337-521fb9d97796; orgId=27a4db60-3f18-ef11-9f86-002248d5cadc' \
--data '{
  "name": "Incident Create Webhook Postman with Auth",
  "url": "https://webhook.site/8afb4528-a43d-42b6-a777-2837b83a",
  "contract": 8,
  "authtype": 5, 
   "authvalue": "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJ"
}'
I am not able to figure out the authvalue, format that should be passed. Above API giving Below error :
{
    "error": {
        "code": "0x80040203",
        "message": "AuthValue is Invalid. Please check the value and format and retry the operation."
    }
}
Can you please let us know the Correct format to add "authvalue" in Request Body?
I have the same question (0)
  • Beemu Profile Picture
    13 on at
    Hi, 
     
    Did you get this to work? Now I'm in the same place.
    I copied workable data from Odata service, so all field requirements should be validated on my code, but AuthType : 5 (= Http Header) brings error.
    With other, like webhook key, service will be created.
     
    -Teemu 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans