Service Region Configuration for PDF Services APIs
Default Configuration
Adobe PDF Services APIs use United States
as a default region to process all the documents.
Once you purchase PDF Services API, its APIs can be configured to process the documents in a specified region that is listed below.
Service Region Configuration
Currently, PDF Services APIs have support for the following regions :
Region Code | Name | Hostname |
---|---|---|
ue1 | United States (default) | |
ew1 | Europe |
For invoking region specific PDF Services API endpoints, hostnames needs to be changed to the following pattern : https://pdf-services-{regionCode}.adobe.io
.
Assets API
REST API
Copied to your clipboard1curl --location --request POST 'https://pdf-services-ew1.adobe.io/assets' \2--header 'X-API-Key: {{Placeholder for client_id}}' \3--header 'Authorization: Bearer {{Placeholder for token}}' \4--header 'Content-Type: application/json' \5--data-raw '{6 "mediaType": "{{Placeholder for mediaType}}"7}'
Create Job API
REST API
Copied to your clipboard12curl --location --request POST 'https://pdf-services-ew1.adobe.io/operation/{Placeholder for operation name}' \3--header 'x-api-key: {{Placeholder for client_id}}' \4--header 'Content-Type: application/json' \5--header 'Authorization: Bearer {{Placeholder for token}}' \6--data-raw '{7 "assetID": "{{Placeholder for asset ID}}"8}'9
Poll Job API
REST API
Copied to your clipboard12curl --location --request GET 'https://pdf-services-ew1.adobe.io/operation/{Placeholder for operation name}' \3--header 'x-api-key: {{Placeholder for client_id}}' \4--header 'Content-Type: application/json' \5--header 'Authorization: Bearer {{Placeholder for token}}'6'
For a step-by-step guide to use Adobe PDF services APIs, please click here.