Hi,
I am trying to get a new token via the refresh-token endpoint, but it keeps throwing back at me that I am providing an invalid company.
The request is as following (from Postman):
POST /admin/auth/refresh-token HTTP/1.1
Host: https://user-api-v2.simplybook.me
Content-Type: application/json
Content-Length: 115
{“company”:“newfysicamersfoort”,“refresh_token”:“04440996a6582e7b17f80b97e15884de3389811aa0e2bf4dab356d610e7f45e1”}
The response I am getting:
{“code”: 400, “message”: “Invalid company”, “data”: [], “message_data”: []}
What am I missing here? I also tried adding the header X-Company-Login, just to be sure, but didn’t go well either.
Thanks in advance