Skip to main content

Authorize Access

Authorizes access for a specified site ID and redirects the user to the MindBody authorization URL.

Path Parameters
projectId string REQUIRED

All APIs check for Project Authorization.

Example: c2014261-0d71-43c4-983f-f8fbafb24565
Query Parameters
siteId string REQUIRED

The site ID for MindBody authorization.

Example: 123456
Responses
200

Returns MindBody authorization URL.

Schema OPTIONAL
mindbodyAuthUrl string

The authorization URL for Mindbody OAuth process

400

Invalid input data.

Schema OPTIONAL
code double

The HTTP status code representing the result of the API call

errorCode

A more specific, domain-specific error code (use the ErrorCodes enum)

message string

A human-readable message describing the error

validationIssues object OPTIONAL
401

Unauthorized, missing or invalid access token

403

Not Authorized to access this project.

Authorize
GET /project/:projectId/integrations/mindbody/auth
projectId — path
siteId — query
https://app-api.pangealabs.xyz
curl -L 'https://app-api.pangealabs.xyz/project/:projectId/integrations/mindbody/auth' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer '