Integrations
Get Settings & Tools
GET /integration-settings/{id} — Infipost Public API
Returns the posting rules, maximum content length, settings schema, and available provider tools for a connected channel. Use this to discover which tools can be executed with the trigger endpoint.
cURL
curl --request GET \
--url 'https://api.infipost.asia/public/v1/integration-settings/{id}' \
--header 'Authorization: YOUR_API_KEY'Authorization
Authorizationstring · headerrequiredWorkspace API key or OAuth access token. Send the token directly without a Bearer prefix.
Parameters
idstring · pathrequiredThe integration ID
Response
Settings and tools for the integration
application/json
{
"output": {
"rules": "Instagram should have at least one attachment, if it's a story, it can have only one picture",
"maxLength": 2200,
"settings": {
"type": "object"
},
"tools": [
{
"methodName": "audioSearch",
"description": "Search audio (music or original sounds) to attach to a Reel via the \"audio\" setting, an empty query returns trending audio",
"dataSchema": [
{
"key": "q",
"type": "string",
"description": "Search query, leave empty for trending audio"
},
{
"key": "type",
"type": "string",
"description": "Either \"music\" or \"original_sound\", defaults to \"music\""
}
]
}
]
}
}outputobjectShow child attributes
rulesstringPlatform-specific posting rules
maxLengthnumberMaximum content length
settingsunionJSON schema of the provider settings, or a string when no settings are required
toolsarray[]Provider tools that can be executed via the trigger endpoint
Show child attributes
methodNamestringdescriptionstringdataSchemaarray[]Show child attributes
object
Integration not found
Bài viết này có hữu ích không?