agents
POST /agents/save
Updates or creates a new agent. If an id is provided, the corresponding agent will be updated. Otherwise, a new agent will be created.
Request
- Base URLhttps://api.phantombuster.com/api/v2
- AuthAPI key in header X-Phantombuster-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Phantombuster-Orgstring
ID of the org that is perfoming the operation (not necessary when using a third party key)
Request body
Response
Agent updated or inserted successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.