View Account


                https://api.ocamba.com/v2/ocamba/accounts/{id}
            

Retrieves the details of a Account that has previously been created if a valid identifier was provided


Name
Description
idstringrequired
Unique account id.


Example: id=423

Name
Description
fieldsstring
The client can request more efficient filtered representation of the resource showing only specific field(s), using the “fields” query parameter. Note that the “fields” parameter has precedence over the “view” parameter.

Example GET /v2/ocamba/RESOURCE_NAME?fields=id,name

See "Tips" for the list of filterable parameters.


Example: fields=field1,field2,field3

viewstring
Ocamba API returns full representation of the resource using the “view=full” query parameter. If not specified, the default view will be used.

Note that the “fields” parameter has precedence over the “view” parameter.


Example: view=full/default


200 - OK
Arrow
Name
Description
items[ account ]
An array of all created items.
Account
Name
Description
company_idstring
A unique company identifier generated by the Ocamba platform.


Example: 1000001

configured_statusstring
The configured_status reflects the current status of the account configured by the client.


Example: active

Possible values: active | verification | rejected paused | inactive | archived

contacts[ account-contact ]
List of account contacts.
Account Contact
Name
Description
idstring (uuid)
A unique identifier generated by the Ocamba platform.


Example: 95eb301b-6aaf-42ad-a219-ccbd5f4d3d2b

typestring
Describes type of the contact.


Example: email

Possible values: phone | mobile | skype | sip | email | website

valuestring
The actual contact, based on contact type. For example, if contact type is email, the value must be a valid email address.


Example: [email protected]

create_timedateTime
Timezone: GMT.


Example: 2021-10-29 12:47:00

creator_idstring
A unique creator identifier generated by the Ocamba platform.


Example: 1000001

feedsobject

Name
Description
postbacksstring



Example: https://google.com

idstring
A unique identifier generated by the Ocamba platform.


Example: 1000000

imagestring (uri)
URL to the account image.


Example: https://storage.ocamba.com/1000001/adex/accounts/1000000/account.jpeg

is_defaultinteger
For default account is_default is set to 1. Default account can't be removed.


Example: 1

Possible values: 0 | 1

namestring
Name of the account.


Example: Demo account

statusstring
The status reflects the current status of the account which may be overridden by some background processes.


Example: active

Possible values: active | verification | rejected paused | inactive | archived | hourly-limit | daily-limit | monthly-limit | lifetime-limit

Default: active

update_timedateTime
Timezone: GMT.


Example: 2021-10-30 14:27:26

totalinteger
A total number of items.


Example: 1
tip
1 If you don't know the account id, list the accounts to find it.
200 Arrow
{
  "total": 1,
  "items": [
    {
      "id": "1000000",
      "company_id": "1000001",
      "creator_id": "1000001",
      "status": "active",
      "configured_status": "active",
      "name": "Demo account",
      "image": "https://storage.ocamba.com/1000001/adex/accounts/1000000/account.jpeg",
      "contacts": [
        {
          "id": "95eb301b-6aaf-42ad-a219-ccbd5f4d3d2b",
          "type": "email",
          "value": "[email protected]"
        }
      ],
      "feeds": {
        "postbacks": "https://google.com"
      },
      "is_default": 1,
      "create_time": "2021-10-29 12:47:00",
      "update_time": "2021-10-30 14:27:26"
    }
  ]
}