Polls API

A Polls API Manager walkthrough

Socios.com Polls API

The Polls API aims to provide a list of polls including individual details such as their questions, possible answers, starting dates, and end dates. You can enable your users to vote directly on your website if they hold fan tokens of the team related to that poll.

Using the Poll API

If you're a new user and do not have access to the Socios.com portal yet, see Prerequisites.

  1. Once you've logged in to the Socios.com API portal, select Polls.

  1. Click the Try Out button next to the API URL.

  1. You'll see the following modal, indicating registering steps completed. Click the Try Out button.

  1. On the Security page that is now displayed, OAuth is already selected. Click on the Get Test Key button.

  1. Once the test key is generated, you can display it using the icon.

Subscription

  1. On the Subscriptions page then click on the SUBSCRIPTION & KEY GENERATION WIZARD button.

  1. Then, enter valid details in the Create application form fields:

Parameter
Description

Application Name

A valid name of the Application

Shared Quota for Application Tokens

The amount of tokens generated for each application

Application Description

(Optional). A brief description about the application

  1. In the Subscribe to new application step, enter the Application name you want to use. Select a Business Plan from the dropdown menu, and click Next.

  1. On the Generate Keys tab, once you've carefully reviewed the page, select NEXT.

  1. On the Generate Access Token tab, enter a valid description in the Scopes field. Select NEXT.

  1. On the Copy Access Token tab, select to copy the Access Token. Once copied, click FINISH.

  2. You can view your newly created Polls subscription under the Subscriptions section.

Last updated