API_URL= https://ajoul.com/remote/api/v1/authorize?client_secret=8eTmoLbBPVJYOSpCcSfPI7O2v3mjKUaAM8RY9s47&client_id=31&username=wG2uaCRzx2&password=8eTmoLbBPVJYOSpCcSfPI7O2v3mjKUaAM8RY9s47

Error = 0
{"token_type":"Bearer","expires_in":1296000,"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFjMjQyYjY5ODA2YTgzM2Q2NWE3YTE5Y2MxMzZjNTU0ZGRlZTZmZWQyYjBiZjViYTRmNmRkMDNiMTRkZTk2MDYxYTg5YWViNWZhOTBhZjZjIn0.eyJhdWQiOiIzMSIsImp0aSI6ImFjMjQyYjY5ODA2YTgzM2Q2NWE3YTE5Y2MxMzZjNTU0ZGRlZTZmZWQyYjBiZjViYTRmNmRkMDNiMTRkZTk2MDYxYTg5YWViNWZhOTBhZjZjIiwiaWF0IjoxNjY5OTU3NjMyLCJuYmYiOjE2Njk5NTc2MzIsImV4cCI6MTY3MTI1MzYzMiwic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.d8F309arSpHpTeu4d0H7JsoVshkpfoIz_YAexn_hUp2XZLzkxGH_hvSrKn1BdQfODGl8m2c3AegKLkG62QEyYr8gk-xADoRFXUNoT4UgzUIT_InoNFt3mw_JUxj5eCltM_dqDnIa6U6sIgMeAx1LKtCQJ1qzLoW9wRqNcnVOSHLE9OBMmk_93oMDvFchBEmy8yiM6eL3Ad4P3oORXf0TAqyzGnKc9FfigQ_cLKMGWzv7RbpCqa5TNYDWr1TE-oLY_2wmga7OjBv8G0v0H1EhpFJhjSTSzQy9yM6I3VzOPcjAXOo8hnS1WyzPWKJyqa4xkIYLlrtCSsTri5ZDNgYzv3y9WBckys__6PeL_4Hfxa9L_qDsxpf5Mt2DhlAlEocQwcBRL8Y7TWT_jJUfM84jVw3oUy8kfoX8NyhYzrh2jgsct4CJRMVp4JgVDdJbUw8SNM3Lko2UMDqE1wfvp52M9VZwMSAQKmmgpVPRanfV7T7-aPvF77enNBptHg9IrUS0k_bgKTJAR9SDwehVEiiWSEcIO-O60Q2tWU0O0URVy7th7uvfOJzHFZgdp1Sh1OVA37Qq167WSiyKByaKRay2kI5iAX4-AAffK0KXlrmfPojlkMlLCSfrr0UXyXm22k8lPbzvwwp_0uHYCz83sRE4KjECymtRQQuVfrJxmieoBBQ","refresh_token":"def50200116db57f561c292b374a4c6866a8fedc4f931cf70072c4fa586cc1f892f6fe438eefa41ae3c78516d5fa91ea66710588bea8712a3d9c0d32c4220a7408962d6db652e7c2b90770e902fbb3af5a3cdac977151e97c2863e12a88c74e5074197e860ad239b1a919a285ffae73a94c0dc45435777da2e2bc825ede9e7482906f11c8783fe262c6f83e13488432e1afe53c7264d2be1767b64f4d370d084bbf3ab59a827e42d5dc02f3ade1757165f37cddced231f9efacdc4c2577e6b146df7215306f9f6ab1302fb771b55b400d7dcd833fa7300ac76a863e27d7e4ebfdf4e153d8710c34ecbab64a80c34ff5c122466459158b94600c40d094759817440c2a13c38fd8e256238ec7a709d1877452e2ab5b794e3f96365fb026978681d151e6fb5f7702abecd46a5a54411fa4690f0a0e3746a92b9150a3b279676c34ca517f5c744e1e891f0363d164a397907a5f4f6a4261ffe4470d5cbb22e6a165bad7a9743899287"}
Array
(
    [token_type] => Bearer
    [expires_in] => 1296000
    [access_token] => eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImFjMjQyYjY5ODA2YTgzM2Q2NWE3YTE5Y2MxMzZjNTU0ZGRlZTZmZWQyYjBiZjViYTRmNmRkMDNiMTRkZTk2MDYxYTg5YWViNWZhOTBhZjZjIn0.eyJhdWQiOiIzMSIsImp0aSI6ImFjMjQyYjY5ODA2YTgzM2Q2NWE3YTE5Y2MxMzZjNTU0ZGRlZTZmZWQyYjBiZjViYTRmNmRkMDNiMTRkZTk2MDYxYTg5YWViNWZhOTBhZjZjIiwiaWF0IjoxNjY5OTU3NjMyLCJuYmYiOjE2Njk5NTc2MzIsImV4cCI6MTY3MTI1MzYzMiwic3ViIjoiMTk4Iiwic2NvcGVzIjpbIioiXX0.d8F309arSpHpTeu4d0H7JsoVshkpfoIz_YAexn_hUp2XZLzkxGH_hvSrKn1BdQfODGl8m2c3AegKLkG62QEyYr8gk-xADoRFXUNoT4UgzUIT_InoNFt3mw_JUxj5eCltM_dqDnIa6U6sIgMeAx1LKtCQJ1qzLoW9wRqNcnVOSHLE9OBMmk_93oMDvFchBEmy8yiM6eL3Ad4P3oORXf0TAqyzGnKc9FfigQ_cLKMGWzv7RbpCqa5TNYDWr1TE-oLY_2wmga7OjBv8G0v0H1EhpFJhjSTSzQy9yM6I3VzOPcjAXOo8hnS1WyzPWKJyqa4xkIYLlrtCSsTri5ZDNgYzv3y9WBckys__6PeL_4Hfxa9L_qDsxpf5Mt2DhlAlEocQwcBRL8Y7TWT_jJUfM84jVw3oUy8kfoX8NyhYzrh2jgsct4CJRMVp4JgVDdJbUw8SNM3Lko2UMDqE1wfvp52M9VZwMSAQKmmgpVPRanfV7T7-aPvF77enNBptHg9IrUS0k_bgKTJAR9SDwehVEiiWSEcIO-O60Q2tWU0O0URVy7th7uvfOJzHFZgdp1Sh1OVA37Qq167WSiyKByaKRay2kI5iAX4-AAffK0KXlrmfPojlkMlLCSfrr0UXyXm22k8lPbzvwwp_0uHYCz83sRE4KjECymtRQQuVfrJxmieoBBQ
    [refresh_token] => def50200116db57f561c292b374a4c6866a8fedc4f931cf70072c4fa586cc1f892f6fe438eefa41ae3c78516d5fa91ea66710588bea8712a3d9c0d32c4220a7408962d6db652e7c2b90770e902fbb3af5a3cdac977151e97c2863e12a88c74e5074197e860ad239b1a919a285ffae73a94c0dc45435777da2e2bc825ede9e7482906f11c8783fe262c6f83e13488432e1afe53c7264d2be1767b64f4d370d084bbf3ab59a827e42d5dc02f3ade1757165f37cddced231f9efacdc4c2577e6b146df7215306f9f6ab1302fb771b55b400d7dcd833fa7300ac76a863e27d7e4ebfdf4e153d8710c34ecbab64a80c34ff5c122466459158b94600c40d094759817440c2a13c38fd8e256238ec7a709d1877452e2ab5b794e3f96365fb026978681d151e6fb5f7702abecd46a5a54411fa4690f0a0e3746a92b9150a3b279676c34ca517f5c744e1e891f0363d164a397907a5f4f6a4261ffe4470d5cbb22e6a165bad7a9743899287
)