Authentication Information
Authentication to any endpoints will require Oauth2 protocal for authentication. Refer to
Oauth2.net
for more infomation.
Retrieve Access Token
Request: POST
POST https://api.formsimplicity.com/oauth/token
Parameter | Type | Other |
---|---|---|
grant_type (required) | string | only "client_credentials" implemented |
client_id (required) | string | |
client_secret (required) | string |
Response: SUCCESS
{ "token_type": string "Bearer", "expires_in": integer {seconds}, "access_token": string {Json Web Token} }
Response: ERROR
Error Code | Error Type |
---|---|
400 Bad Request | Unsupported Grant Type |
400 Bad Request | Invalid Request |
401 Unauthorized | Invalid Credentials |
See
Exception Documentation
for more details