Skip to main content

Get Custom ID via API

Thread solved

Hello,

I try to pull automatic billing information via API.
So far so good, I can get the reports now after some struggle with the documentation.

Still it would be good to be able to match the tenants to the clientID in our billing System. 

In the UI I can find a field to provide a custom ID. See attached screenshot.

Unfortunately I can´t seem to get that ID out of the System.

Any help to where to find it is appreciated!

Attachment Size
uid.jpg 50.92 KB
0 Users found this helpful

Hi, Daniel.

It's "customer_id" field in a tenant JSON.

GET {{base_url}}/api/2/tenants/{{tenant_id}}

.....

"contact": {

        "country": null,

        "firstname": "",

        "phone": null,

        "address1": null,

        "email": "",

        "city": null,

        "lastname": "",

        "zipcode": null,

        "address2": null,

        "state": null

    },

    "customer_id": "xxx-xxx-xxx-xxx",

    "has_children": true,

    "ancestral_access": true,