Provision agent identity
POST /api/v1/agents/{role}/identity
Provision an email address, phone number, or virtual card for an agent.
Authorizations
Parameters
Path Parameters
The agent role to provision an identity for
The agent role to provision an identity for
Request Body required
Request body for POST /agents/{role}/identity.
Attributes: type: The identity type to provision (email, phone, or card). config: Optional provider-specific configuration (e.g. domain, area_code, spending_limit).
object
object
Responses
201
Successful Response
Wrapper response for POST /agents/{role}/identity.
Attributes: data: The provisioned identity payload.
object
Provisioned identity details returned after a successful provision request.
Attributes: agent_role: The agent role for which identity was provisioned. identity_type: The type of identity provisioned (email, phone, or card). details: Provider-specific details (address, number, last_four, etc.).
object
object
422
Validation Error