how to Access API | Community
Skip to main content
New Participant
April 9, 2025
Question

how to Access API

  • April 9, 2025
  • 4 replies
  • 879 views

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.

4 replies

AmitVishwakarma
New Participant
April 30, 2025
bla3Author
New Participant
April 17, 2025

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

sarav_prakash
New Participant
April 17, 2025

pls add steps to fix so other developers can get benefited

tmj
Employee
April 14, 2025

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

 

sarav_prakash
New Participant
April 9, 2025

Have you tried the steps per documentation? https://experienceleague.adobe.com/en/docs/experience-platform/landing/platform-apis/api-authentication#select-oauth-server-to-server

 

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}}'