Authorization BETA
Description #
When you wish to allow and end-user to authorize access to their conferencing services, you use this endpoint to generate a URL to redirect them to. This will ensure that the authorization is linked to the correct Cronofy Account.
URL format #
api.cronofy.com/v1/conferencing_service_authorizations
Example Request #
POST /v1/conferencing_service_authorizations HTTP/1.1
Host: api.cronofy.com
Authorization: Bearer {ACCESS_TOKEN}
Content-Type: application/json; charset=utf-8
{
"redirect_uri": "http://www.example.com/conferencing_settings"
}
Example Response #
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"authorization_request": {
"url": "https://app.cronofy.com/conferencing_services/xxxxx"
}
}
The user should be redirected to the given URL by your application in order for them to authorize access to their conferencing service.
Request parameters #
redirect_uri required #
The redirect_uri
is the page which the user will be directed to after they have granted or rejected authorization.
Note that if the user rejects the request a query string value of error=access_denied
will be added to the URL before they are redirected to it.