Developer Center

GetToken API

The GetToken API call is part of Approver.com Web Services Authentication. It converts a frob into a full authentication token. Authentication tokens are strings that identify a user in the Approver.com API without revealing their password to third-party applications. Every Approver.com API call requires that your application pass in a user's token.

Parameters

This call takes the following query string parameters:

Parameter Description
app_key  Your application key. Required. 
frob A frob generated after the user logs in. Required.

Note that once a frob has been converted into a full token by calling this method, the frob is no longer valid. Also, frobs have a 60-minute lifespan, so if your application does not call this method within 60 minutes of the user's login, the user will need to authenticate again to generate a fresh frob.

XML Example

This URL executes a GetToken call.

Here is the return XML from this call.