Rolefig Me API

The Me API from Rolefig — 12 operation(s) for me.

GitHub OpenAPI

Operations 14

GET /api/v1/me/me Get account #
GET /api/v1/me/profile Get profile #
PUT /api/v1/me/profile Save profile #
POST /api/v1/me/profile/approve Approve profile #
POST /api/v1/me/profile/pause Pause profile #
GET /api/v1/me/search Get search #
PUT /api/v1/me/search Save search #
POST /api/v1/me/search/run Run search #
GET /api/v1/me/opportunities Get opportunities #
POST /api/v1/me/apply Apply to role #
POST /api/v1/me/respond Respond to introduction #
GET /api/v1/me/applications Get applications #
POST /api/v1/me/applications/offer Respond to offer #
GET /api/v1/me/export Export account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rolefig-com:rolefig-com-me-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rolefig-com-me-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Company publishing Me API
  version: 1.1.0
  description: Headless company profiles and job advertisements, plus /api/v1/me for a candidate's own account with a personal access token (jpme_). Public browser reads require no key. Private Bearer tokens belong on your server. Verified self-service and operator-provisioned company accounts; company tokens never expose candidate or recruiter data, and candidate tokens reach only their owner's account. Legacy writes carry the reviewed aggregate revision; employer job writes require the reviewed job revision. Browser Origin or Cookie headers are rejected by the employer bearer API. Compensation narrative is authoritative; numeric values always include currency and unit. rolefig's public gateway bounds write requests to 64 KiB. /api/v2/companies adds the facts search engines use (datePosted, dateModified, structured addresses, remote eligibility, education and experience); v2 readers must ignore fields they do not know. /api/v1 company and publisher responses keep their original fields exactly. The employer API returns the company's complete private snapshot, including those facts.
servers:
- url: https://rolefig.com
tags:
- name: Me
paths:
  /api/v1/me/me:
    get:
      operationId: getAccount
      description: Your verified identity, profile and any company you own.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Current account state
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Browser Origin/Cookie header
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Get account
      x-summary-source: derived
  /api/v1/me/profile:
    get:
      operationId: getProfile
      description: Your structured profile, current revision and approval state.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Current account state
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Browser Origin/Cookie header
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Get profile
      x-summary-source: derived
    put:
      operationId: saveProfile
      description: Save the complete profile at its exact current revision. Saving clears approval.
      security:
      - candidateToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileSave'
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Save profile
      x-summary-source: derived
  /api/v1/me/profile/approve:
    post:
      operationId: approveProfile
      description: Approve the exact saved revision after the candidate reviews it.
      security:
      - candidateToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileApproval'
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Approve profile
      x-summary-source: derived
  /api/v1/me/profile/pause:
    post:
      operationId: pauseProfile
      description: Pause discovery, introductions and automatic applications.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Pause profile
      x-summary-source: derived
  /api/v1/me/search:
    get:
      operationId: getSearch
      description: Automatic search policy, monthly allowance and receipts.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Current account state
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Browser Origin/Cookie header
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Get search
      x-summary-source: derived
    put:
      operationId: saveSearch
      description: Save the automatic application policy with acknowledgement and a finite monthly limit.
      security:
      - candidateToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchPolicy'
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Save search
      x-summary-source: derived
  /api/v1/me/search/run:
    post:
      operationId: runSearch
      description: Run the saved automatic search within its approved limits. Send {}.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Run search
      x-summary-source: derived
  /api/v1/me/opportunities:
    get:
      operationId: getOpportunities
      description: Introductions and current first-party roles.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Current account state
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Browser Origin/Cookie header
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Get opportunities
      x-summary-source: derived
  /api/v1/me/apply:
    post:
      operationId: applyToRole
      description: Apply with the approved profile on the candidate's explicit request.
      security:
      - candidateToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectApplication'
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Apply to role
      x-summary-source: derived
  /api/v1/me/respond:
    post:
      operationId: respondToIntroduction
      description: Accept, decline or withdraw from an introduction on the candidate's decision.
      security:
      - candidateToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntroductionDecision'
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Respond to introduction
      x-summary-source: derived
  /api/v1/me/applications:
    get:
      operationId: getApplications
      description: Shared applications, confirmed interviews and offers.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Current account state
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Browser Origin/Cookie header
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Get applications
      x-summary-source: derived
  /api/v1/me/applications/offer:
    post:
      operationId: respondToOffer
      description: Accept or decline a current offer on the candidate's explicit decision.
      security:
      - candidateToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OfferResponse'
      responses:
        '200':
          description: Updated account state
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid request
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Read-only token, or a browser Origin/Cookie header
        '409':
          description: Stale revision or workflow conflict; read the current state before retrying
        '413':
          description: Request exceeds limits
        '415':
          description: Send JSON
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Respond to offer
      x-summary-source: derived
  /api/v1/me/export:
    get:
      operationId: exportAccount
      description: Complete account export, including token metadata but never token values.
      security:
      - candidateToken: []
      responses:
        '200':
          description: Current account state
          content:
            application/json:
              schema:
                type: object
        '401':
          description: Missing, expired or revoked token, or unverified email
        '403':
          description: Browser Origin/Cookie header
        '503':
          description: Candidate accounts unavailable
      tags:
      - Me
      summary: Export account
      x-summary-source: derived
components:
  schemas:
    ProfileSave:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        expectedRevision:
          type: integer
          minimum: 0
          maximum: 9007199254740991
        profile:
          type: object
          properties:
            name:
              type: string
              minLength: 1
              maxLength: 200
            headline:
              type: string
              maxLength: 300
            summary:
              type: string
              maxLength: 6000
            sourceResume:
              type: string
              maxLength: 20000
            location:
              type: string
              minLength: 1
              maxLength: 300
            skills:
              maxItems: 80
              type: array
              items:
                type: string
                minLength: 1
                maxLength: 100
            experience:
              maxItems: 50
              type: array
              items:
                type: object
                properties:
                  company:
                    type: string
                    minLength: 1
                    maxLength: 200
                  title:
                    type: string
                    minLength: 1
                    maxLength: 200
                  start:
                    type: string
                    pattern: ^\d{4}-(0[1-9]|1[0-2])$
                  end:
                    anyOf:
                    - type: string
                      pattern: ^\d{4}-(0[1-9]|1[0-2])$
                    - type: 'null'
                  details:
                    type: string
                    maxLength: 4000
                required:
                - company
                - title
                - start
                - end
                - details
                additionalProperties: false
            education:
              maxItems: 20
              type: array
              items:
                type: object
                properties:
                  school:
                    type: string
                    minLength: 1
                    maxLength: 200
                  qualification:
                    type: string
                    minLength: 1
                    maxLength: 300
                  year:
                    anyOf:
                    - type: integer
                      minimum: 1940
                      maximum: 2100
                    - type: 'null'
                required:
                - school
                - qualification
                - year
                additionalProperties: false
            preferences:
              type: object
              properties:
                titles:
                  maxItems: 20
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 200
                locations:
                  maxItems: 30
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 200
                workplaceTypes:
                  maxItems: 3
                  type: array
                  items:
                    type: string
                    enum:
                    - remote
                    - hybrid
                    - on-site
                employmentTypes:
                  maxItems: 3
                  type: array
                  items:
                    type: string
                    enum:
                    - full-time
                    - part-time
                    - contract
                minimumPay:
                  anyOf:
                  - type: number
                    minimum: 0
                    maximum: 100000000
                  - type: 'null'
                currency:
                  type: string
                  pattern: ^[A-Z]{3}$
                payUnit:
                  type: string
                  enum:
                  - year
                  - month
                  - week
                  - day
                  - hour
                excludedTitles:
                  maxItems: 40
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 200
                shiftKeywords:
                  maxItems: 10
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 80
              required:
              - titles
              - locations
              - workplaceTypes
              - employmentTypes
              - minimumPay
              - currency
              - payUnit
              - excludedTitles
              additionalProperties: false
            contact:
              type: object
              properties:
                phone:
                  type: string
                  maxLength: 40
                channels:
                  maxItems: 3
                  type: array
                  items:
                    type: string
                    enum:
                    - email
                    - sms
                    - phone
              required:
              - phone
              - channels
              additionalProperties: false
            consent:
              type: object
              properties:
                discovery:
                  type: boolean
                introductions:
                  type: boolean
              required:
              - discovery
              - introductions
              additionalProperties: false
            blockedCompanyIds:
              maxItems: 200
              type: array
              items:
                type: string
                format: uuid
                pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          required:
          - name
          - headline
          - summary
          - location
          - skills
          - experience
          - education
          - preferences
          - contact
          - consent
          - blockedCompanyIds
          additionalProperties: false
      required:
      - expectedRevision
      - profile
      additionalProperties: false
    DirectApplication:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        jobId:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        expectedProfileRevision:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        expectedJobRevision:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        shareWithCompany:
          type: boolean
          const: true
      required:
      - jobId
      - expectedProfileRevision
      - expectedJobRevision
      - shareWithCompany
      additionalProperties: false
    SearchPolicy:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        expectedRevision:
          type: integer
          minimum: 0
          maximum: 9007199254740991
        expectedProfileRevision:
          type: integer
          minimum: 0
          maximum: 9007199254740991
        enabled:
          type: boolean
        monthlyLimit:
          type: integer
          minimum: 1
          maximum: 20
        acknowledged:
          type: boolean
      required:
      - expectedRevision
      - expectedProfileRevision
      - enabled
      - monthlyLimit
      additionalProperties: false
    IntroductionDecision:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        introductionId:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        decision:
          type: string
          enum:
          - accept
          - decline
          - withdraw
        acknowledged:
          type: boolean
          const: true
      required:
      - introductionId
      - decision
      - acknowledged
      additionalProperties: false
    ProfileApproval:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        expectedRevision:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
      required:
      - expectedRevision
      additionalProperties: false
    OfferResponse:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        applicationId:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        expectedRevision:
          type: integer
          exclusiveMinimum: 0
          maximum: 9007199254740991
        offerId:
          type: string
          format: uuid
          pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        decision:
          type: string
          enum:
          - accepted
          - declined
        acknowledged:
          type: boolean
          const: true
      required:
      - applicationId
      - expectedRevision
      - offerId
      - decision
      - acknowledged
      additionalProperties: false
  securitySchemes:
    candidateToken:
      type: http
      scheme: bearer
      bearerFormat: jpme_<random-token>
      description: Personal access token for the candidate's own account, issued and revoked on the account page. Read-only or read and write; expires within one year. Never embed in browser JavaScript.
    companyToken:
      type: http
      scheme: bearer
      bearerFormat: stpub_<random-token>
      description: Company-scoped, expiring credential. Never embed in browser JavaScript.