POST: https://survey2connect.com/v2/api/oauth/token/refresh
"Content-Type": "application/json"
Request Body
{ "refresh_token": "eyJraWQiOiJzM3E1OWF2cFdIcXVKa0I0MjRpcFpqQVN0dXAzQzFkZEhVM3k2TjNZSXRjPSIsImFs" }
Request Sample
curl --location --request POST 'https://survey2connect.com/v2/api/oauth/token/refresh' \ --header 'Content-Type: application/json' \ --data-raw '{ "refresh_token": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.stqzZzI0hM30lKm4iRyZvXgFWq_VIC3Z_U9W9pQ0n4SY1jXs71vFqnjiHHux6fQ22MhT212j8O4PPDj1m0Fw36VD8PaIhfUgqYAZdo1wzSjDxKL9N-uZGMukuoPEMIM54qmUoGgSWkbr4Uwp2euH0W_IXMS_GC7VuVO6JJc0OFxCwWaKaqeBgDxgn7B9lzdi3umCCvD09fILe-KyhAm4hb6GQiN3lFEfDaEfmqi5GY3lthxN_LQSxpU8KU8I8gLGf-ZEqHkmoTpKOCJaDeX9j7AxE1PsSUULJxQqfN_LHW_NtE-gZZFjkghJRtXJe4F4FrjlziIKEG-wsJZ0pwxO_Q.spveyYl2jKaXH3ea.tIPnK5L5DpAfzXsI4jASFCGOkJiZ4OZ5KcAh9HmM1MSq08iEp4qgV4bMLt8G-dzvnDq6Yl0ZXrE5hhjLTe-bvyIsNGM9-z22iGcfI_BWSXpq7PAymVOIWZH0e09xUcBLhNXr-I1TbvslsFgo0Xx-D_3wjhHNFJubhcVAP-9RR088ZwjSFFohVoDFK111wHTCC9agnAEP1Wt9Hq-1ms2oSYRXGyX0nFmS_HLZPLE36IBB0-QN7y2qnDTN9wcbWd7pDvV3vYileGsyLLzgGvN9smHtD3fsj6BBDNZ48V4A1MH2TtfoEXdRT0gM_pwh1VO1WBPjMnGR0NizkkmQ4-V9_W4kQGsgFOW3XTzI_eT4zzAjs6sKeoK-s7tRHHGfOtswT-c92sQh_72v2r_DVKgRGkMq0-K5rMALAKV6MBqe19o_RXh3ySA05aqxSeWaCB9JPwkTWthWNAII4er1Iq7dpYCnxpYrKaG9mz_7S5XwxSAtI6ZJf44PjN6iSZLHemGmpdOzQ2NgDHM1tAx2IFfaGj3v9TpwtkazmwSHUtU47dPTImVMkPOdoyufB55OqAN8us5ukF00WElY5fwGmj259t8SRHIf_s7iiONchmQVmLMXME1HzRmxyyqhA1BDt9i1mptTaFYHiiolbc3qzY35lsHq9Ft58ZaXpzfNnirh1dNTH7Jxf80fzV717YGjjBB-id3ZuYgDF6Gs0SbPsb_Q0Tm8Pq9kMDtfCthKI9AN4FmYorK96JRw8i_YMIqax9Kz4bYUgkj0jra_QFiCFAYOs0_OTteGHqMrTR4hn85RMEsklwpwHfhVQrT6tuQK96cmEsNJw7e1wCqedsdQ-nyXxRxuvOnypq7-53KdFGQJeP4axf_YCPozvzgxht__fHmjvcf3ZghCfArFSyNu1G8KzGwAWh7dBzCpd89UD-pN3FxiB7TKyjZz8i8tGwZXsXor7vQ_PE_aNbKr0beetLytjpA7UubeLGnBhk3YoXsusSsb0wcIbtUxBrtpfqb8hoTqMv77Ltn4oTICifhelzNVMDfdU_rX0Rhx-ES-GiewyMx6G1OvhrZTwUY-kW3LP9qr3HzlQlgPsS5E2dsiWy8Qn8kSAHQx1hUqJqOL4lmj0sPkLMmh9m2yd8C9DTTkWOVCf-3kQWCW2Yvzx1bwtV-e4-R5Cq2z-5fQoTrvMpSSbilvtSWVM6-S_E07pz6KhxGjwg-93f1qvpAe1iAYXLkXuMzKa8o5Uo_dTebc5impwXqdE50VC56lE7vC_sGBuB7Qju7uHJyhlD4ohzCr6O9pdPwsWIoAI3YqUek7WyFWNuk4TilcrbP9DlvMwTni.tysj_NQOjSC4meh0-MMHqA" } '
Responses
{ "access_token": "eyJraWQiOiJzM3E1OWF2cFdIcXVKa0I0MjRpcFpqQVN0dXAzQzFkZEhVM3k2TjNZSXRjPSIsImFs" "token_type": "bearer", "expires_in": 86400, "created_at": 1633160039478 }
{ "error": { "name": "Bad Request", "message": "Refresh token is required." } }
{ "error": { "name": "Internal Server Error", "message": "We were not able to process your request" } }