- Overview
- Account Settings
- Assets
- Connectors Framework
- Overview
- QuickBooks Online
- QuickBooks Desktop Web Connector
- Azure AD
- Salesforce Integration
- FleetNet Connector
- Avalara Connector
- Inbound REST API
- Outbound REST API
- Mailchimp Connector
- Text Messaging Connector
- Clearent Connector
- Stripe Connector
- HubSpot Connector
- UKG Connector
- Paylocity Connector
- UKG Connector
- Gusto Connector
- iSolved Payroll Connector
- Customer Portal
- Customers
- Dashboards
- Devices
- Dispatching
- Forms
- Inventory
- Invoices & Billing
- Locations
- Payments
- Parts
- Projects
- Quotes
- Recurrent Routes
- Recurrent Services
- Reports
- Sales Orders
- Schedule
- Services
- Tasks
- Text Messaging
- Time Tracking
- Users
- Work Orders
Retrieve an Authentication Token
Returns an authentication token in order to use as a token parameter in API calls
Returns an authentication token in order to use as a token parameter in API calls
Elements
|
apiLoginId
required |
The apiLoginId from the Rest API connector settings |
|
apiPassword
required |
The apiPassword from the Rest API connector settings |
Return
Returns an authentication token if valid arguments were provided. Returns an error if not a valid request
Returns an authentication token if valid arguments were provided. Returns an error if not a valid request
Authentication Request Body XSD
Authentication Response Body XSD
Curl Example
| Method: | POST |
| Request: | curl -k --request POST --url https://www.mobiwork.com/api/rest/12014/10.0.78/authenticate.html --header 'content-type: application/xml' --data '<request><apiLoginId>2XOOS1BCPPOSKVTX</apiLoginId><apiPassword>J3MNFXCPZ7YSLAWQ</apiPassword></request>' |
| Response: | <?xml encoding="UTF-8" ?><response version="10.0.78" statusCode="1"><token>YUUIUUFJ9K6IKKM1E2N5</token></response> |
