Exchange your client and user credentials for an access token.
Exchange your client and user credentials for an access token. Use the returned access_token as a query parameter (?access_token=TOKEN) when calling the Client API — NOT as a Bearer header. Example: GET /api/rest/v2/workorders?access_token=TOKEN
application/json
OAuth token request payload
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://api-sandbox.fndev.net/authentication/api/oauth/token" \ -H "Content-Type: application/json" \ -d '{ "grant_type": "password", "client_id": "your-client-id", "client_secret": "your-client-secret", "username": "user@fieldnation.com", "password": "string" }'{
"access_token": "string_value",
"expires_in": 0,
"token_type": "string_value",
"scope": "string_value",
"refresh_token": "string_value"
}{
"status": 400,
"message": "Validation failed: field 'title' is required"
}{
"status": 500,
"message": "Operation successful."
}{
"status": 403,
"message": "You do not have permission to access this work order"
}{
"status": 500,
"message": "An unexpected error occurred. Please try again later or contact support."
}{
"status_code": 0,
"message": "Operation successful."
}application/json
application/json
application/json
application/json
application/json
application/json
Last updated on
Grant type
Client ID
Client secret
Username
Password