For the complete documentation index, see llms.txt. This page is also available as Markdown.

InnoPaaS API Getting Started Guide

API Signature Verification Instructions

Common Request Headers

To ensure API security, all APIs must include security verification request headers,

Authorization and AppKey can only be obtained after creating an AppKey on the InnoPaaS platform

Used for API authentication verification; if verification fails, the API cannot be called and authentication failure is returned.

No.

Field

Data Type

Required

Description

1

Content-Type

String

Yes

The value is "application/json;charset=utf-8", and the request content is JSON

2

AppKey

String

Yes

ApiKey, application access key

3

Authorization

String

Yes

Authorization token for application access

Headers sample code

headers = {
   'Authorization': 'YUIYIUIAIIASUDIAOSIDUOIWUOQWUEOIUWOEUQWOEUOQWUOUWOUWQOWU',
   'AppKey': 'XFbZY1rtTKo3UD4n1'
   }

Get AppKey

Click the [Copy] button in the application list to copy the AppKey

Get Authorization

1. Select an application and get the [Token] button. Generate the Authorization information required for the app to access the API,We do not store customers' Token information. Each time a new Token is generated, the previously generated Token will become invalid. If this app's Token is already being used in your production environment, please use this feature with caution. Invalidating the original Token may result in inability to access the API normally.

2. Generate and copy the Token

  • Choose the Token expiration time. By default, it never expires, but you can also specify an expiration date.

  • Click the [Create Access Token] button to generate the Token

  • Click the [Copy] button to copy the Token

Configure WebHook callback address

Configure WebHook events

When pushing template messages, uplink replies, and other signaling events, if the App cannot be recognized or matched, the data will be pushed to the default application; if there is no default application, nothing will be pushed.

1. In the API Keys function menu list, click the callback event configuration button to start configuration

2. Click the [Add] button to add

3. Select the product whose WebHook needs to be configured from the available product list

4. Configure the callback URL and select the events to receive, then click Next to continue

5. Select the callback request method, default is POST. If the customer's business system needs to verify the signature of the WebHook source, you can configure the UserName and Authorization header information. When the WebHook notification is pushed, UserName and Authorization will be added to the header information, and the customer's configured information will be pushed to the customer's system together.

最后更新于