Hey service8 representatives,
I want to get the API credentials like access token and refresh token.
I am following your documentation but it’s not working fine.
HERE IS YOUR DOCUMENTATION:)
My account url: — https://us-west-1.go.servicem8.com/
I created application on developer portal:
App ID: –
App Secret:–
I prepared the authorization url lik:
https://go.servicem8.com/oauth/authorize?response_type=code&client_id=186408&scope=staff_locations%20staff_activity%20publish_sms%20publish_email%20vendor%20vendor_logo%20vendor_email%20read_locations%20manage_locations%20read_staff%20manage_staff%20read_customers%20manage_customers%20read_customer_contacts%20manage_customer_contacts%20read_jobs%20manage_jobs%20create_jobs%20read_job_contacts%20manage_job_contacts%20read_job_materials%20manage_job_materials%20read_job_categories%20manage_job_categories%20read_job_queues%20manage_job_queues%20read_tasks%20manage_tasks%20read_schedule%20manage_schedule%20read_inventory%20manage_inventory%20read_job_notes%20publish_job_notes%20read_job_photos%20publish_job_photos%20read_job_attachments%20publish_job_attachments%20read_inbox%20read_messages%20manage_notifications%20manage_templates%20manage_badges%20read_assets%20manage_assets&redirect_uri=https://us-west-1.go.servicem8.com/HandleOAuth
I prepared the authorization full url on postman like that:—
I given the authorization of my account and got the temporary token as :—
https://us-west-1.go.servicem8.com?code=**hiddin**aa61fc1ba519fe844b8755e0e4fd8dc9&state=
Then I send a post request with exchanging the code(previously collectd) but getting error saying:
{
“error”: “invalid_request”,
“error_description”: “The grant type was not specified in the request”
}
Help me how to collect my access token + refresh token
I given the authorization of my account and got the temporary token as :—
https://us-west-1.go.servicem8.com?code=**hiddin**aa61fc1ba519fe844b8755e0e4fd8dc9&state=
Then I send a post request with exchanging the code(previously collectd) but getting error saying:
{
“error”: “invalid_request”,
“error_description”: “The grant type was not specified in the request”
}
Simon Miller is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.