# Signing Service API

Source: https://dev.arcxp.com/api/signing-service-api/

The following code snippet is an example of signing a value.

```
curl --location --request GET 'https://api.webgatewayusea1.arcpublishing.com/signing-service/v2/sign/resizer/1?value=test_test' \
--header 'Authorization: Bearer <your token here>'
```

## How to get parameter values needed for the API calls

| Parameter             | Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| app\_id               | resizer **Note:**  Contact [Arc XP Customer Support](https://support.arcpublishing.com/) to get the value for any other application besides resizer.                                                                                                                                                                                                                                                                                                                                 |
| signing\_key\_version | Please refer this [DOCUMENT](https://dev.arcxp.com/api/web-delivery/delivery-api), and run the following steps:Execute a GET call for the /v1/organization/hmac-key/resizer API endpoint, listed within the **Get Org Configs** section.Use the ssm\_version returned (depicted in the response below) for the signing\_key\_version.{     "id": "<value>",     "description": "HMAC Key description",     "enabled": true,     "ssm\_version": 1,     "created": "<time stamp>"   } |

See https://alc-swagger-template.s3.us-east-1.amazonaws.com/docs/swagger/arc-products/signing-service.json for Open API specs
