Web Call
Initialize Web Call Application
Obtain a unique identifier for web call application bundle
Init
Details
| Description | The "Init" Endpoint allows obtaining a unique identifier that is needed in all steps and is used to obtain bundle script. |
|---|---|
| HTTP Method | POST |
| Endpoint URL | https://platform.innocalls.com/v1/api-gateway/web-call/init |
| Authorization | To access the API endpoints, you need to authenticate using API keys and API secrets. The API supports Basic Authentication for authorization. You need to include your API ID as the username and your API secret as the password in the HTTP header when making requests. Replace API_ID with your API ID and API_SECRET with your API secret, separated by a colon (:). The value after Basic is the Base64 encoding of your API key and API secret concatenated with a colon. |
| Rate Limit | 3 requests per second |
Request Example
curl --request POST 'https://platform.innocalls.com/api/v1/api-gateway/web-call/init' \
--header 'Authorization: Basic <base64-encoded string apiId:apiSecret>'Success Response Example
{
"data": {
"appId": "65e9ad65e344e103bb950dd8"
}
}Description
This identifier will be used in the remaining steps. Ensure to incorporate it into your script after completing the configuration and assigning domains.
Possible Errors
| Error Code | Description |
|---|---|
| 401 Unauthorized | Invalid Credential |
| 403 Forbidden | Not Enough Permissions to access the resource |
| 429 Too Many Requests | This occurs when requests exceed the rate limit |