Quick start
This page guides you on how to create, manage, and use your API access effectively.
Last updated
This page guides you on how to create, manage, and use your API access effectively.
Last updated
A large portion of API management happens in the Socios.com API Manager. It requires you to do the following before you can use one of our APIs:
Create a shell application that will host the API parameters you intend to use.
Generate production keys for the application, and select the type of API access you want to have for this application.
Subscribe the application to the relevant API.
Applications allow you to:
Generate and use a single key for multiple APIs.
Subscribe multiple times to a single API with different Service Level Agreements (SLAs)/business plans which operate on a per access token basis.
If you're a new user and still do not have access to Socios.com APIs yet, please contact your dedicated Partnership Manager, or follow Due Diligence. In time, you will get your access code to log into the Socios.com API Manager.
Once you've logged in, you have access to all of our APIs.
You must create an application in order to use the Partner API. You can create as many applications as you want.
You might need different applications to differentiate between web apps, mobile apps, or specific devices, if that's relevant to your usage.
To create an application:
Select Applications from the top navigation menu.
Click the Add New Application button.
Enter the required values in the "Create an application" form. Note that you can extend the token duration using the "Application Access Token Expiry Time" field.
Click the Save button.
You will see the "Application created successfully" notification displayed while the browser displays the application management screen.
Your newly created application now appears in the Applications page.
You need a consumer key and consumer secret pair in order to access your application. They are the credentials of the application that is being registered.
To create a new set of keys:
Open your application in the Applications page.
Select Production Keys from the left navigation pane. As this application is new, the "Key and Secret" section displays that the keys are not generated yet. Let's do that.
You do not have to edit the form; just make sure to check the box Client Credentials or/and code according to your use. If you check 'Code', you have to specify the callback URL (see below).
Click the Generate Keys button at the bottom of the screen.
You will see the "Application keys generated successfully" notification displayed. Scroll up to see them appear in the "Key and Secret" section.
You can control the way a client accesses your keys by selecting / deselecting checkboxes in the Grant Types parameter. If you are not sure of which Grant Types may best suit your requirements, try selecting all the checkboxes in the Grant Types parameter. You can always come back and uncheck a grant type later if need be.
You must have your application subscribe to a published API in order to use its endpoints. The subscription process fulfils the authentication process and provides you with access tokens that you can use to invoke the API.
A single application can have multiple API subscriptions.
To subscribe to an application:
Open the applications's "Subscriptions" menu item.
Click on "+ Subscribe APIs".
This will display a dialog box with predefined APIs.
Click on the "Subscribe" button for APIs that are relevant to your requirements.
Close the dialog box when done.
Now the Subscriptions screen displays all your subscriptions attached to that application, indicating which API the subscription refers to.
Deleting subscriptions You can delete a subscription at any given time. To do so, click the Delete link at the right of the subscription's row.
The last step consists in creating an OAuth client for the application. The client is automatically created when you generate an application access token
To generate an access token:
Go to the "Production Keys" screen.
Click the "Generate Access Token" button in the "Key and Secret" section.
A dialog box appears. Read it thoroughly and click "Generate".
Copy the access token and use it in your workflow.
You can now configure your code or toolset to generate API requests.
For instance, here is an example of using Insomnia:
To help you with your API development, find below sample files for both Insomnia and Postman:
You are now ready to use your API endpoint!
We advise you to first make a test call using your preferred API development tool, such as Postman or Insomnia. We have built the /ping
endpoint specifically to that end.