Grant Type Password

The grant type password will return two important items.

  1. access_token - Store the returned access token in your application to authenticate the other endpoint requests. The access token expires after 3600 seconds.
  2. refresh_token - Password or Code grant types are limited to 5 authentication attempts per hour. Using the refresh token workflow avoids unneeded access token requests and prevents your application from reaching this limit. The refresh token does not expire until a new token is requested via any of the Grant Type calls.

You can find more information on the refresh token here.

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
grant_type x-www-form-urlencoded False Required string The value must be set to 'password'.
username x-www-form-urlencoded False Required string The email address of a user in the Act-On account you are trying to access.

Any special characters in the email address (besides '@') must be URL encoded.
password x-www-form-urlencoded False Required string The password associated with the username.
client_id x-www-form-urlencoded False Required string The Client ID you received in your welcome email.
client_secret x-www-form-urlencoded False Required string The Client Secret you received in your welcome email.

Response

Code Examples

OAuth
Grant Type Password
Grant Type Code
Grant Type Refresh
Account API
Get Account Information
Create New Account User(s)
Delete Account User(s)
Delete Account User by Email
Get email senders
Fact API
Upload Custom Event
Get Custom Event Upload Status
List API
Get List of Assets
Download a List
Create a New List
Update a List
Get List Upload Status
Get List Rejected Records
Delete a List
Delete Records from List
Get Hard Bounce List
Get Spam Complaint List
Get Opt-Out List
Update Out-Out List
Get Opt-Outs by Subscription Category
mergespecs
uploadspecs
Content API
Get Logo List
Get a Logo
Add a Logo
Update a Logo
Delete a Logo
Get Header List
Get a Header
Add a Header
Update a Header
Delete a Header
Get Footer List
Get a Footer
Add a Footer
Delete a Footer
Update a Footer
Get Image List
Get an Image
Add an Image
Update an Image
Delete an Image
Get Media List
Get Media File
Add a Media File
Add a Media Link
Update Media File
Delete a Media Object
Get Form List
Get Classic Form URLS
Get Landing Page List
Get Landing Page
Delete Landing Page
Get Landing Page URLs
Get List of Programs
Reporting API
Get Message Report
Get Message Report Drilldown
Get Message Report by Time Period
Get Media Report
Get Media Message Report
Get a Media Report Drilldown
Get a Media Timeline Report
Get Form Report
Get Landing Page Report
Email Campaign API
Get Message List
Send a Message
Resend a Message
Add New Template or Draft Message
Update Template or Draft Message
Delete a Message
Get Message Report
Get Message Report Drilldown
Get Message Report by Time Period
Get Message HTML
Contact API
Add a Contact
Get Contact Record
Update Contact Record by Email
Update Contact by Record ID
Delete a Contact
Get Record ID Based on Cookie
Get contact from list based on cookie ID or e-mail
Get contact fact and score data
Get subscription categories
Opt in/Opt out subscription category by email address
Get subscription category opt-ins by email
Opt in/Opt out multiple subscription categories by email address
SEO API
Get SEO keywords
Get a new SEO report
Frequently Asked Questions