Create an application to call an API
Develop an application that interacts with APIs to access external services or integrate with other systems.
A user or machine application for APIs interacts with application programming interfaces (APIs) to access external services or integrate with other systems. Examples include web applications, mobile applications, desktop applications that need to access APIs on behalf of a customer.
note
Before creating an application, turn on the account ID at the API gateway and set up with the specific product access.
To access the API Admin portal in GoSystem Tax RS, go to
Admin
and select API Admin Portal
.Select a gateway company
Before creating the application, select the gateway company.
- On theAPI Admin Applicationsscreen, locate theCompanydropdown.
- Select a gateway company from the list.
- The dropdown displays all gateway companies associated with your account.
- Once you select the gateway company:
- Only applications associated with that gateway company will display.
- Any new application you create is added for the selected gateway company.
- All subsequent actions (application creation, product selection, permissions, certificates, and rate limits) apply only within the context of that selected gateway company.
Create a user application type
A user application accesses APIs on behalf of a customer.
- SelectAdd Applicationon theApplicationsscreen.
- SelectUser Applicationas the application type on theApplication Detailsscreen. This type of application is for a customer.
- Enter your information inApplication Name.
- Enter theCallback URLof your application, which exchanges the authorization code received for an access token. Ensure that the URL includeshttps://.noteThe authorization service redirects the user to the specified callback URL after they authorize your access request. This step is not needed if Alteryx is enabled.
- Mark the checkboxes in the Products section for the APIs you want theUser Applicationto access.
- SelectDoneto save your changes, or selectEditto go back to the last step. Otherwise, select the arrow and go back to theApplicationsscreen.
Create a machine application type
A machine application doesn't require you to sign in to a product. The application uses a machine-to-machine approach to call product APIs.
- SelectAdd Applicationon theApplicationsscreen.
- SelectMachine Applicationas your application type on theApplication Detailsscreen.
- Enter your information inApplication Name.
- In the Application Authentication section, select your authentication type asClient ID and Client SecretorClient ID and Client Assertion.
- If you selectClient ID and Client Secret, mark the checkboxes next to the Products APIs you want the machine application to access.
- If you selectClient ID and Client Assertion, select your certificate type asNew CertificateorRe-use Existing Certificate.noteTheNew Certificateneeds to begin with-----BEGIN CERTIFICATE-----and end with-----END CERTIFICATE-----.
- SelectNextafter entering all information.
- On theGroup Setupscreen, mark the checkboxes next to theGroup Name, thenAddorRemovefor the current application type.
- SelectNext.
- On thePermission Setupscreen, select the product and set permissions the user can access.
- SelectDoneto save your changes, or selectPreviousto go back to the last step.