cURL
curl --request POST \ --url https://sandbox.withclasp.com/connections/{public_id}/sandbox_simulate_carrier_connections \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "broker_url": "<string>", "group_connections": [ { "carrier": "<string>", "broker_federal_ein": "<string>", "group_id": "<string>", "connection": "<string>" } ], "events": [ { "category": "initial_connection", "status": "not_started" } ] }'
{ "id": "<string>", "broker_url": "<string>", "employer": "<string>", "group_connections": [ { "id": "<string>", "carrier": "<string>", "status": "pending", "broker_federal_ein": "<string>", "group_id": "<string>", "connection": "<string>", "initiated_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" } ], "events": [ { "id": "<string>", "category": "initial_connection", "status": "not_started", "created_at": "2023-11-07T05:31:56Z" } ], "status": "<any>" }
Creates mock data for testing in development that would typically be pulled from the carriers.
API Key authentication with required prefix "Bearer"
Show child attributes
255