HI @IntegrationSupport
This is my generate token curl
curl --location ‘https://dev.abdm.gov.in/gateway/hiecm/api/v3/token/generate-token’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE3MDE0NzI2NDYsImlhdCI6MTcwMTQ1MTA0NiwianRpIjoiZTFhMzk0YmItMjhkNi00NGI5LWI4ZGQtNjI0NDIxNGRiMDFiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJmOTc3NjcwZS05ZDQ4LTQ1MDQtYTkzNC1hYWY2OTZiM2QxMGUiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzMDk0Iiwic2Vzc2lvbl9zdGF0ZSI6ImFkZDMzNzU4LTQ0ODgtNGQ3Ny1hODhjLTIxMDU2MWZhNzA1MyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfSwiU0JYXzAwMzA5NCI6eyJyb2xlcyI6WyJ1bWFfcHJvdGVjdGlvbiJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDMwOTQiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3LjIxMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDMwOTQiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjIxMSJ9.YSuNJAVYLss1y5MZZdw1nI4U_lzhR7I7tB_DGhi-2rn0RR_Co_B5220ha2xnONDeUrc1W33STzWZpLnYp5aQyrOzcJts3oeLVxPBXgB2BlN-83V5taQScS7dF76HySNKlfzPWoH1QYMdzhbmNb19o_t5CWH130auakR618i3JDEc4m_KcVdmMJ0KSeS83ad4j1Rsu-g2eWbfNysjhBPSMjGHikfSs59uoCS5huZ6uVxceO0qXI47Ps9zRwwhMaFLHxFo0wuzuA-VkGBDGQuyDiZE70LqrFGpaAAOmryvKahdaALzdF86fjEr0gqEOQJBTdVqxI2H3oJZ__hJ-EzdKQ’
–header ‘X-HIP-ID: test-kapil-logic-hip’
–header ‘REQUEST-ID: b87882d2-4530-445b-87bb-1f3ed43f7a38’
–header ‘TIMESTAMP: 2023-12-01T18:24:48.522Z’
–header ‘X_CM_ID: sbx’
–header ‘Content-Type: application/json’
–data-raw ‘{
“abhaNumber”: 912738XXXXX,
“abhaAddress”: “kapilbyXXX@sbx”,
“name”: “Kapil Jangid”,
“gender”: “M”,
“yearOfBirth”: 2000
}’
i have used this curl and i’m receving this response
{
“code”: “900908”,
“message”: "Resource forbidden ",
“description”: “User is NOT authorized to access the Resource. API Subscription validation failed.”
}