Hello, I 've struggling trying to upload files to entities via PHP SDK.
Now I 've found that the problem may be the headers, since documentation says:
Security
EntityToken
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Type: apiKey
In: header
But I'm not sure how to include these headers in the PHP API call
I tried calling
header('EntityToken: "'.$loginResult->data->EntityToken->EntityToken.'"',true);
before API call invocation. But I always get:
errorMessage -> "EntityTokenInvalid"
Although I'm still not sure if this is thje problem
Best Regards