Create and start developing your app

Let's get started.

Here's what you need to set up to jump-start development.

Step 1: Set up your account

Go to the Fastaccounts Portal and create an account.
Ask your Key Account Manager to enable API access on your account.

Step 2: Create a role for your API user

1. Sign in to your account.
2. Click settings icon.
3. Go to the Roles Management section.
4. Select + Add New.
5. Follow the on-screen steps and assign required rights.

Step 3: Create your API user

1. Click settings icon.
2. Go to the Users Management section.
3. Click Add New and select API User.
4. Follow the on-screen steps and assign required role.
5. Click edit user, and press Request API Key.
6. Enter OTP sent on your email and press submit.
7. Copy Secret Key and Secret Password for authorization.

Step 4: Authorize your app

Use your credentials (i.e. Secret Key and Secret Password) to connect your app to Fastaccounts. This grants access tokens your app can use to send requests to our APIs.

Want to make a quick sample API call?

Create a sample request:

1. Copy and use the sample cURL GET request below.
2. Replace the "YOUR_SECRET_KEY" and "YOUR_SECRET_PASSWORD" placeholders with the copied Secret Key and Secret Password values.
3. Send the request.

curl -X POST "https://api.fastaccounts.pk/index.php/api/authorize/token" -H "content-type: application/json" -d / '{\"SecretKey\":\"YOUR_SECRET_KEY\",\"SecretPassword\":\"YOUR_SECRET_PASSWORD\"}'

Step 5: Test your code

Check out Fast testing tools you can use during development. We've configured tools like Postman to make testing with your company a little easier.