Generates a new HMAC key for the current contact.

The API responses shown below are static. If you want to try out the API please login, or register for an API key

API parameters

X-Auth-Token header string Authentication token.
curl -X POST  --header "X-Auth-Token: XXXX-XXXXX-XXXX"  https://devapi.currencycloud.com/v2/contacts/generate_hmac_key


    "hmac_key": "c3dcec5699e30a7dcb5437594a126a6d1fb9971c77f6517a"
Error Codes
HTTP Status Code Description Params
400 generate_hmac_key_wrong_brand HMAC key can't be generated for that brand
generate_hmac_key_brand_not_configured Brand #{brand} should be configured first
401 invalid_supplied_credentials Authentication failed with the supplied credentials
403 permission_denied permission_denied
429 too_many_requests Too many requests have been made to the api. Please refer to the Developer Center for more information
500 internal_server_error Internal server error
503 service_unavailable Service is temporary unavailable
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.