Exchange your client and user credentials for an access token. Use the returned access_token as a Bearer token in the Authorization header when calling the Client API.
application/json
OAuth token request payload
Grant type
Client ID
Client secret
Username
Password
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": 500,
"message": "Operation successful."
}{
"status": 500,
"message": "Operation successful."
}{
"status_code": 0,
"message": "Operation successful."
}application/json
application/json
application/json
application/json
Last updated on
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"
}'