![]() OSDI has released a jQuery plugin, which works with our unauthenticated POST and autoresponse trigger features, allowing you to create forms and send in responses over the API using javascript running in a user's browser. Bug reports and pull requests are welcome on GitHub. It is based off of Mike Kelly's HAL browser - you can read more about it here.ĬontrolShift has created a Ruby client for interacting with the Action Network REST API. It supports GET, POST, PUT and other operations. The browser is extremely useful for getting a feel for how the Action Network API works. Make sure to enter your API key to acces your data. Once you have your API key, you can try the API using our browser here. See the helper documentation for specifics and examples, or the blind POST and autoresponse tutorial. Specifically, we allow posting of data using the helper endpoints without an API key, allowing for javascript implementations where leaking an API key to a user's browser would be unaccceptable. Some portions of the API are accessible without a key. Note that this process is instant and irreversible - if you revoke a key, any application using that key will no longer be able to authenticate. ![]() You can revoke your key and regenerate a new one in the API & Sync page. However, some endpoints allow POSTed data without an API key, making them suitable for javascript implementations.ĪPI keys must be sent as a header in this format: Therefore, large parts of the Action Network API are not suitable for front end-only implementations (such as a javascript client), as this could expose your API key to others. Anyone with your API key will be able to access any data in your account. After you select the list, you can generate an API key for that list. Choosing any groups you are an administrator of allows you to add actions or people to that group's list. Choosing your personal list will allow you to add actions and people to your personal account's email list. Once on the page, first choose the list you want to generate a key for. Once you've been given access to generate an API, you can generate and manage your key from the API & Sync page, located in the Start Organizing menu above. You can manage your keys from the API & Sync page, available in the Start Organizing menu above. Each user account and group on the Action Network has a separate API key allowing you to access that user or group's data. You must be a partner to generate an API key. API keys are provided by request, and are considered a partner feature. ![]() ![]() Creating, editing, updating, and deleting (CRUD)Īn API key is required to access most of the API.Documentation on individual endpoints and functions is available in the sidebar. This document introduces general principles and definitions used in most API calls. It uses HAL+JSON and is generally RESTful. The Action Network API version 2 is based off of the Open Supporter Data Interface specification version 1.1.1. The API is not intended to enable the creation of a replacement user interface. The API supports use cases such as syncing online organizing data (people, email addresses, action histories) with other systems, migrating data between systems, managing subscriptions, pulling embed code for actions into CMS systems, creating your own forms to send in activist data, and similar functions. The Action Network API allows organizers with Action Network accounts and, in most cases, API keys to interact with the Action Network system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |