Import agents (upsert by token hash)
POST
/api/v1/admin/agents/import
Authorizations
session
Browser session cookie.
Type
API Key (cookie: bp_session)
or
apiKey
User API key: Authorization: Bearer bpi_...
Type
HTTP (bearer)
Request Body
application/json
JSON "$schema": "https://bpincentives.com/schemas/Admin-import-agentsRequest.json", "agents": [ ]
{
}
Responses
OK
application/json
JSON "$schema": "https://bpincentives.com/schemas/Admin-import-agentsResponse.json", "imported": 0, "skipped": [ ]
{
}