Returns a company
curl --request GET \
--url https://{defaultHost}/v5/app/companies/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created_at": 123,
"title": "<string>",
"image_url": "<string>",
"authorized_user": {
"id": "<string>",
"user_id": "<string>",
"role": "owner",
"company_id": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
},
"has_payment_method": true,
"route": "<string>",
"owner": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
}
App API key for /v5/app and /v5/company endpoints
The ID of the Company, which will look like biz_*************
A successful response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://{defaultHost}/v5/app/companies/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created_at": 123,
"title": "<string>",
"image_url": "<string>",
"authorized_user": {
"id": "<string>",
"user_id": "<string>",
"role": "owner",
"company_id": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
},
"has_payment_method": true,
"route": "<string>",
"owner": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
}
Returns a company
curl --request GET \
--url https://{defaultHost}/v5/app/companies/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created_at": 123,
"title": "<string>",
"image_url": "<string>",
"authorized_user": {
"id": "<string>",
"user_id": "<string>",
"role": "owner",
"company_id": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
},
"has_payment_method": true,
"route": "<string>",
"owner": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
}
App API key for /v5/app and /v5/company endpoints
The ID of the Company, which will look like biz_*************
A successful response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://{defaultHost}/v5/app/companies/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"created_at": 123,
"title": "<string>",
"image_url": "<string>",
"authorized_user": {
"id": "<string>",
"user_id": "<string>",
"role": "owner",
"company_id": "<string>",
"user": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
},
"has_payment_method": true,
"route": "<string>",
"owner": {
"id": "<string>",
"name": "<string>",
"username": "<string>",
"email": "<string>",
"profile_pic_url": "<string>",
"created_at": 123,
"profile_pic_url_32": "<string>",
"profile_pic_url_64": "<string>",
"profile_pic_url_128": "<string>"
}
}