Create many proxy assignments
Binds many accounts to proxy sessions in one call. Each row is committed independently and the response reports per-row success or a typed error, so one bad row does not fail the whole batch.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/proxies.v1.Proxies/BulkCreateAssignment" \ -H "Content-Type: application/json" \ -d '{ "workspaceId": "AY+MHnorfD2eTxorPE1ebw==", "assignments": [ { "poolId": "AY+MISIifMyN3T09PT09PQ==", "sessionId": "AY+MIjMzfu6P/05OTk5OTg==", "accountName": "steam_bot_01", "pinned": true }, { "poolId": "AY+MISIifMyN3T09PT09PQ==", "sessionId": "AY+MIkREeqqLu19fX19fXw==", "accountName": "steam_bot_02" } ] }'{
"results": [
{
"assignmentId": "AY+MI0REf/+Kql9fX19fXw=="
},
{
"error": {
"code": "BULK_CREATE_ASSIGNMENT_ERROR_CODE_ALREADY_EXISTS",
"message": "assignment already exists for this pool and account"
}
}
]
}{
"code": "invalid_argument",
"message": "The request was malformed, such as a missing required field or an unparseable cursor."
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "resource_exhausted",
"message": "The request was rate limited. Slow down and retry later."
}{
"code": "internal",
"message": "An internal server error occurred."
}ListTransitions
Returns a paged list of transition IDs for a contract, optionally scoped to the changes between two specific snapshots. Use GetTransition or GetTransitions to hydrate the full records.
CreateAssignment
Binds an account to a specific proxy session within a pool so the account consistently uses that proxy. Pinning the assignment keeps the account on its session even when the session is disabled.