01Chapter 1: What the Agent API is and when to use itThe Agent API lets an external application communicate with an Agentforce agent over HTTP. Your application authenticates, creates a session, sends messages, reads replies, and ends the session.2 min read
02Chapter 2: Understanding the session lifecycleAssume you know basic REST, JSON, HTTP methods, and OAuth 2.0 access tokens. A session is a temporary conversation between your application and an Agentforce agent. Your application creates the session, sends one or more messages, reads replies, and later ends the session.1 min read
03Chapter 3: Ending the sessionAssume you know REST, JSON, HTTP methods, and OAuth 2.0 access tokens. The session lifecycle is: create a session, send one or more messages, then end the session.1 min read