Skip to main content

When I do the POST call to with grant_type authorization_code, I receive http status code 200 OK and as the response body an empty json object. Why?


SmartRecruiters only accept a form body, not a JSON body.

Example request body format:

curl -X POST \ \

  -H 'Content-Type: application/x-www-form-urlencoded' \

  -H 'cache-control: no-cache' \

  -d '{

    "grant_type": "authorization_code",

    "code": "zzzz",

    "client_id": "abc",

    "client_secret": "xxxx"