This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Adding API Header Fields in the Inventory subscription API-Settings of the company profile

I need to add a header field with name x-Gateway-APIKey and a value. But this additional field is not sent to my endpoint. 

How can I add header fields with my own name. It seems, that there is a x-api-key field and the first line of the api header fields is set there

But how can I add my own header fields to the settings. 

  • Hi Hugo,

    I need to look into how the push API headers are generated and sent, and I'll get back to you tomorrow.

    Thanks,
    Paul

  • Hi Hugo,

    The expectation for the first header field when selecting token authentication type is for you to enter just the token value directly in the field. When the call is made to your API endpoint, the header will include "x-api-key=<your stored token>"

    The other header fields on the API settings form are not currently being sent in the header as they are expected to be, so I'm afraid that you won't be able to make use of those fields until that issue is resolved.

    I hope that helps.

    Best regards,
    Paul

  • Thanks for the clear and quick reply. Well - my issue is not solved, but this question is ansered, so I wrote "resolved". I assume the form fields have a similar issue. (that wouldn't help me but I just mention). There is as well no "name" field just a value field to be set. 
    Anway - thank you and regards

    Hugo Giese

**Attention** This is a public forum