Getting a list of organizations

The method allows you to get a list of organizations

Getting a list of organizations

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body

Request body of the list of organizations

userIdstringOptional

User ID

Example: f3ae5860-0da1-448e-b94a-2aad0ff8b195
limitintegerOptional

Number of elements per page

offsetintegerOptional

Number of items to skip

Responses
200Success
application/json
post
POST /partner/api/get-user-organizations HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 70

{
  "userId": "f3ae5860-0da1-448e-b94a-2aad0ff8b195",
  "limit": 1,
  "offset": 1
}
200Success
{
  "success": true,
  "response": [
    {
      "id": "d225cb26-2704-407a-9501-754f78aca82d",
      "name": "custom name",
      "createdAt": "2025-07-15T10:50:46.005Z"
    }
  ]
}

Last updated