Authentication - OgnianApostolov/builderly-api-docs GitHub Wiki


Basic Authentication is required for most REST API calls.

Create post request to users/login to generate an access token.

POST /users/login returns { user, token }
success - 201
error - 400
    "email": "[email protected]",
    "password": "[email protected]"

Set headers in your requests

Then include the access token in your header.

method: 'ANY'
    uri: 'https://{{your-builderly-domain}}/{{endpoint}}',
    headers: {
        'Authorization': 'Bearer ' + token
    json: true,
    body: Model.body

Keep in mind, some endpoints require admin privileges which can be set inside Builderly's admin dashboard.