Loading the next page.
Loading the next page.
Spokegrid / Developer guide
A workspace owner or admin can open Agent access, choose a project, name the connection and select permissions. Credentials expire within 90 days. Copy the secret once into your server or agent secret manager.
Never embed credentials in browser JavaScript, public source, URLs or model prompts. Your agent runtime should inject the Authorization header. Spokegrid stores a hash; the secret cannot be recovered.
GET /api/v1/automation/capabilities is public and lists operations, scopes, request limits and recovery guidance. Published expert profiles are also publicly searchable atGET /api/v1/experts. This release supports reading one bound project, updating its metadata, linking existing owned sites or forms, and—when the credential includesexperts:contact—sending a user-directed expert brief and continuing that conversation.
Deployment, CMS installation, form creation, form response access and purchases and expert-directory management are unavailable to agent credentials. The optional expert permission shares the verified account email and brief with the selected expert; it does not share project access. Linking a resource records an association; it does not install an integration or share service permissions.
Grant experts:contact separately in Agent access. It lets the agent search public expert profiles, create client enquiries and read or send messages only for the credential issuer’s own enquiries attached to that one project. The API uses the issuer’s verified Spokegrid email; a request must also send consent_to_share_contact: true to assert that the user asked it to send the brief. This field is an agent assertion, not a separate approval screen, so grant the scope only to a tool you trust. The permission does not let the expert read the project or change the enquiry’s status.
You may include package_id from a published profile. The server checks it against that expert’s current approved offers and saves the matching package details with the enquiry; old or invented IDs are rejected. Leave it out when the client wants a custom scope.
curl https://api.spokegrid.com/api/v1/automation/expert-enquiries \
--header "Authorization: Bearer $SPOKEGRID_AGENT_TOKEN" \
--header "Idempotency-Key: $ENQUIRY_REQUEST_UUID" \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"expert_id": "<PUBLISHED_EXPERT_UUID>",
"title": "Website accessibility improvements",
"description": "We need an accessibility review and implementation plan for our public website. The user asked me to send this brief.",
"services": ["website_design", "web_development"],
"package_id": "<PUBLISHED_PACKAGE_UUID>",
"budget": "not_sure",
"timeline": "Next month",
"consent_to_share_contact": true
}
JSONUse a new random UUID in Idempotency-Key for each new enquiry, and reuse it only for an identical retry. Enquiries are limited to five per account per hour. The user and expert still agree scope, terms and payment directly.
curl https://api.spokegrid.com/api/v1/automation/project \
--header "Authorization: Bearer $SPOKEGRID_AGENT_TOKEN"Omit account cookies. Read responses use the existing ProjectDetail shape. PATCH /api/v1/automation/project requires projects:write and the fields name, description, website_origin, expected_revision. POST /api/v1/automation/project/resources requires projects:links and kind (site/form), resource_id, expected_revision.
Creating a credential is not replayable: if creation times out, list credentials, revoke the uncertain one and create a replacement. Ten active credentials are allowed per project.
Agent access shows recent metadata-only activity and lets owners/admins revoke credentials. Current membership, scopes, expiry and revocation are checked on every call. An operation already executing may finish before revocation takes effect.
Audit records exclude request bodies and secrets. The API returns the latest 100 events. Project events retain the account that delegated the operation; agent audit identifies its credential separately.