Skip to main content
New Participant
Apr 9, 2025 11:30 AM UTC
Question

how to Access API

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

AmitVishwakarma
Level 1
Apr 30, 2025 3:26 AM UTC
Translate
bla3Author
New Participant
Apr 17, 2025 12:32 PM UTC

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

Translate
sarav_prakash
New Participant
Apr 17, 2025 11:54 PM UTC

pls add steps to fix so other developers can get benefited

Translate
tmj
Employee
Apr 14, 2025 6:47 AM UTC

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

 

Translate
sarav_prakash
New Participant
Apr 9, 2025 10:24 PM UTC

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

 

 

Translate