Podio API Documentation
Organizations: Get organization by URL
Returns the organization with the given full URL. The URL does not have to be truncated to the root, it can be to any resource on the URL.
Usage
- PHP Client
-
PodioOrganization.php
PodioOrganization::get_for_url( $attributes = array() );
- Ruby Gem
-
organization.rb
Podio::Organization.find_by_url( url )
Parameters
- url
The URL of the organization
Response
{
"org_id": The id of the organization,
"name": The name of the organization,
"url": The full URL of the organization,
"url_label": The first part of the URL used for the full URL,
"status": The status of the organization, can be "active" or "inactive",
"logo": The file id of the logo,
"user_limit": The maximum number of users that are allowed in the organization,
"premium": True if the organization is a premium organization, false otherwise,
"sales_agent_id": The id of the sales agent connected to the organization,
"role": The role the user has on the organization,
"created_on": The date and time when the organization was created,
"created_by": The user that created the organization
{
"id": The id of the user,
"avatar": The file id of the avatar of the user,
"name": The name of the user
}
}
Sandbox
Try the operation "/org/url"You can simulate the API request by filling out the arguments below, and press the submit button to see the response.
You need to be logged in to Podio to use the Sandbox. Login here