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.
Views
Replies
Total Likes
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}}'
Views
Replies
Total Likes
Which API are you trying to use? Could you add some screenshots?
Views
Replies
Total Likes
Thank you for your response. Now I'm able to generate Access Token.
Views
Replies
Total Likes
pls add steps to fix so other developers can get benefited
Views
Replies
Total Likes
Step 1: Create OAuth Credentials
- Go to Adobe Developer Console: https://developer.adobe.com/console
- Create a new project.
- Add an API (e.g., Adobe Acrobat Sign API or others).
- Choose OAuth Server-to-Server or OAuth 2.0 (Authorization Code), based on your need.
Once setup is complete, you'll get:
- Client ID (API Key)
- Client Secret
- Org ID
Step 2: Generate Access Token
Use Postman or curl to generate token:
- For OAuth Server-to-Server:
curl -X POST https://ims-na1.adobelogin.com/ims/token/v3 \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "grant_type=client_credentials" \
-d "scope=agreement_read:account agreement_write:account"
Response: will include access_token
Step 3: Use API (Create Agreement Example)
curl -X POST https://api.na1.echosign.com/api/rest/v6/agreements \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d @your-agreement-payload.json
Views
Replies
Total Likes