Developers

Connect your own tools.

A REST API and signed webhooks. Make a key in Settings.

Start here

One key, one header.

Authenticate

Send your key as a Bearer token. It is shown once.

curl https://app.gaurifyos.com/api/public/v1/me \
  -H "Authorization: Bearer gos_xxxxxxxxxxxx_..."

WhereSettings, Apps, API. Owner only. Revoke any time.

AnswersJSON. One item is { data }, a list adds next_cursor.

What a key can reach

Your studio only, with the scopes you pick. Write never includes read.

read:projectswrite:projectsread:clientswrite:clientsread:invoiceswrite:invoicesread:taskswrite:tasksread:files

PlansAgency: the full API. Studio: a Zapier key for webhooks and triggers.

How it behaves

Plain rules.

Pages

25 per page, up to 100. Pass next_cursor back as cursor.

Safe retries

Send Idempotency-Key on a POST. A retry gets the first answer.

Limits

120 requests a minute per key. Answers carry X-RateLimit-Limit and X-RateLimit-Reset (seconds), and X-RateLimit-Remaining when counted. Past it, 429 with Retry-After.

Errors

Always { success: false, error: { code, message } }.

Actions, not status

Projects move by action: go_live, start_editing, deliver, archive. Only the next one works.

Private by design

No team pay, internal notes or file links. Nobody is emailed by the API.

Endpoints

Every endpoint.

Base https://app.gaurifyos.com/api/public/v1

Projects

  • GET/projectsread:projects

    Projects, latest activity first, each with its next action.

    querystatus, limit, cursor

  • POST/projectswrite:projects

    Create a draft project.

    bodytitle*, description, client_id, deadline, priorityretriesIdempotency-Key

  • GET/projects/{id}read:projects

    One project.

  • PATCH/projects/{id}write:projects

    Rename it or change its description. Status is never set directly.

    bodytitle, description

  • POST/projects/{id}/actions/{action}write:projects

    Do the project's next step: go_live, start_editing, deliver or archive.

    retriesIdempotency-Key

Clients

  • GET/clientsread:clients

    Clients, newest first.

    querylimit, cursor

  • POST/clientswrite:clients

    Add a client. Nobody is invited or emailed.

    bodyname*, company_name, contact_email, billing_phone, countryretriesIdempotency-Key

  • GET/clients/{id}read:clients

    One client.

  • PATCH/clients/{id}write:clients

    Change a client's name or contact details.

    bodyname, company_name, contact_email, billing_email, billing_phone

Invoices

  • GET/invoicesread:invoices

    Invoices, newest first.

    querystatus, limit, cursor

  • POST/invoiceswrite:invoices

    Create a draft invoice. Sending it stays in the app.

    bodyclient_id*, project_id, currency, description, line_items*, due_date, notesretriesIdempotency-Key

  • GET/invoices/{id}read:invoices

    One invoice.

  • PATCH/invoices/{id}write:invoices

    Change lines, due date, description or notes.

    bodydescription, notes, due_date, line_items

Tasks

  • GET/tasksread:tasks

    Open and done tasks, newest first.

    queryproject_id, limit, cursor

  • POST/taskswrite:tasks

    Add a task to a project.

    bodyproject_id*, title*, description, priority, due_day, client_visibleretriesIdempotency-Key

  • GET/tasks/{id}read:tasks

    One task.

  • PATCH/tasks/{id}write:tasks

    Change a task, or tick it done.

    bodytitle, description, priority, due_day, done

Files

  • GET/filesread:files

    File details. Never a download link.

    queryproject_id, limit, cursor

Webhooks and triggers

  • GET/meany key

    Your studio and this key's scopes.

  • GET/webhooksany key

    Webhooks this key subscribed.

  • POST/webhooksevent's scope

    Subscribe a URL to events (REST hooks). The answer has the signing secret, once.

    bodyurl*, events*, description

  • DELETE/webhooks/{id}any key

    Unsubscribe one this key made.

  • GET/triggersany key

    Events this key can use, with samples.

  • GET/triggers/{event}event's scope

    Recent records shaped as that event, for mapping a Zap.

* required. The app API has its own reference.

Webhooks

Signed, as it happens.

Events

  • project.createdA project was created (a client's unsent draft is not).
  • project.status_changedA project moved on, for example into review or delivered.
  • invoice.createdA draft invoice was created.
  • invoice.paidAn invoice was paid in full.
  • client.createdA client was added.
  • task.completedA task was ticked off.
  • comment.createdSomeone left a comment on a project.

Delivery

POST, JSON, https only. Answer 2xx within 10 seconds.

HeadersGaurify-Signature, Gaurify-Event, Gaurify-Event-Id, Gaurify-Delivery

Retries1 min, 5 min, 30 min, 2 h, 6 h, 12 h. Off after 25 failures in a row, or on 410.

PayloadsWhat happened, never who did it.

Check the signature

t=<unix>,v1=<hex> is HMAC-SHA256 of t.body. Refuse anything older than 5 minutes.

import crypto from "node:crypto"

// rawBody: the request body exactly as received, as a string.
export function verify(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")))
  const t = Number(parts.t)
  if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false
  const expected = crypto
    .createHmac("sha256", secret)
    .update(`${t}.${rawBody}`)
    .digest("hex")
  const a = Buffer.from(expected, "hex")
  const b = Buffer.from(parts.v1 ?? "", "hex")
  return a.length === b.length && crypto.timingSafeEqual(a, b)
}

Zapier and friends

REST hooks, built in.

Subscribe

POST /webhooks
{
  "url": "https://hooks.zapier.com/...",
  "events": ["invoice.paid"]
}

Unsubscribe and samples

DELETE /webhooks/{id}
GET    /triggers
GET    /triggers/invoice.paid

Questions or a missing endpoint? Write to [email protected].

esc