C3 AI Documentation Home

Facilitate Callbacks

This feature allows a C3 Agentic AI Platform action to invoke an external process that can then call back into the C3 Server, propagating the EnvironmentVariable#ACTION_ID and authentication information. The C3 Server process that invoked the external process must be running the parent action to invoke the callback action. The authentication token is only valid if the parent action is running.

The external process must set two HTTP headers when calling back into the C3 Server:

  • Authorization: The value of the new C3 Action Authentication Token.

  • X-C3-Parent-Action-Id: The action ID of the action that invoked the external process function.

When invoking an external process using the ExternalActionEngine Type, the C3 Server invokes the external process while passing the following three environment variables relevant to the Action authentication:

Action authentication flow

Was this page helpful?