find
GET /api/v1/{account_id}/projects/{project_id}
This endpoint retrieves project details for a specific project within an account.
Request
No request body parameters are required for this endpoint.
base_url(string): The base URL of the API.account_id(string): The unique identifier of the account.project_id(string): The unique identifier of the project.
Response
The response for this request is a JSON object with the following schema:
id(string): The unique identifier of the project.customerId(string): The unique identifier of the customer that owns the project.name(string): The name of the project.domain(string): The site the project protects, as a bare hostname —example.com.siteKey(string): The site key of the project.serverKey(string): The server key of the project.isProtected(boolean): Indicates whether the project is protected.rules(object):orderholds the rule ids in evaluation order,rulesthe rules themselves.rateLimits(object):orderholds the rate limiter ids in evaluation order,rateLimitsthe rate limiters themselves.cdnConfig(object | null): CDN integration,nullwhen not configured.phishingIntegrationConfig(object | null): Anti-Phishing integration,nullwhen not configured.captchaConfig(object | null): CAPTCHA integration,nullwhen not configured.responseExtraFields(array of string): Extra fields the validator attaches to its response.updatedAt(string): When the project was last updated, epoch milliseconds.createdAt(string): When the project was created, epoch milliseconds.subscriptionId(string): The subscription the project is billed under.
Accepted permissions
Project → Project → InfoToken scope
Project View
Authentication
X-Api-Keystring
Personal access token. Create it in your BotBye account under Profile → Personal Access Tokens, tick the scopes the endpoints you call require (see each endpoint’s Token scope), and send the token in the X-Api-Key request header. A token works only for the account it was created in.
Path parameters
account_id
project_id
Response headers
Content-Length
Connection
Response
success
id
customerId
name
domain
siteKey
serverKey
isProtected
rules
rateLimits
cdnConfig
CDN integration; null when not configured.
phishingIntegrationConfig
Anti-Phishing integration; null when not configured.
captchaConfig
CAPTCHA integration; null when not configured.
responseExtraFields
updatedAt
createdAt
subscriptionId
Errors
400
Bad Request Error

