🤓
Make your first API call
Good to know: A quick start guide can be good to help folks get up and running with your API in a few steps. Some people prefer diving in with the basics rather than meticulously reading every page of documentation!

Get your API keys

Your API requests are authenticated using API tokens. Any request that doesn't include an API token will return an error.
Our team can generate an API key from your account dashboard at any time.

Generate an auth token

The best way to interact with our API is to use one of our official libraries:
Postman
Node
curl --location --request POST 'https://api.akibadigital.com/oauth/v2/token' --data-raw '{
"client_id": "YOUR CLIENT_ID",
"client_secret": "YOUR CLIENT_SECRET",
"client_credentials": "client_credentials" }'
1
{ "client_id": "YOUR CLIENT_ID", "client_secret": "YOUR CLIENT_SECRET", "grant_type": "client_credentials" }Library is optional: You don't have to use our library to work with our APIs, a direct call using the keys and provided API URL works as well
Copied!

Make your first request

To make your first request, send an authenticated request to the pets endpoint. This will create a customer, which is nice.
post
https://api.akibadigital.com/v1
/customer
Create New Customer.
Good to know: You can use the API Method block to fully document an API method. You can also sync your API blocks with an OpenAPI file or URL to auto-populate them.
Take a look at how you might call this method using our official libraries, or via curl:
curl
Node
Python
1
curl https://api.akibadigital.com/v1/customer
2
-u YOUR_API_KEY:
3
-d name='Thobey'
4
-d type='1'
5
-d identifier='ABXXXX'
6
-d verified='false'
Copied!
1
// require the myapi module and set it up with your API key
2
const myapi = require('myapi')(YOUR_API_KEY);
3
4
const newCustomer = away myapi.customer.create({
5
name: 'Thobie',
6
type: '1',
7
identifier: 'ABXXXX',
8
verified: 'false',
9
})
Copied!
1
// Set your API key before making the request
2
myapi.api_key = YOUR_API_KEY
3
4
myapi.Customer.create(
5
name='Thobie',
6
type='1',
7
identifier='ABXXXX',
8
verified='false',
9
)
Copied!