Expand my Community achievements bar.

how to Access API

Avatar

Level 1

Here I'm trying to create agreement using API, for that i need to generate token for authentication. how to create access token and how to create client ID and client secret.  

 

Let me know if any clarification is required.

5 Replies

Avatar

Community Advisor

Have you tried the steps per documentation? https://experienceleague.adobe.com/en/docs/experience-platform/landing/platform-apis/api-authenticat...

 

There is a detailed walkthru video. And this is a curl to verify your creds

curl -X GET https://platform.adobe.io/data/foundation/schemaregistry/global/classes \
  -H 'Accept: application/vnd.adobe.xed-id+json' \
  -H 'Authorization: Bearer {{ACCESS_TOKEN}}' \
  -H 'x-api-key: {{API_KEY}}' \
  -H 'x-gw-ims-org-id: {{ORG_ID}}'

 

 

Avatar

Employee
Employee

Which API are you trying to use? Could you add some screenshots?

 

Avatar

Level 1

Thank you for your response. Now I'm able to generate Access Token.

Avatar

Community Advisor

pls add steps to fix so other developers can get benefited

Avatar

Community Advisor