{"openapi":"3.0.3","info":{"title":"Advertising Week Grip Integration API","description":"REST API for Grip platform integration. Implemented in the AW Event WordPress child theme.\n\n- **Base path:** `/wp-json/advertising-week/v1`\n- **Authentication:** Bearer token (Site Wizard → Grip Authentication Key)\n- **Response keys:** All lowercase (including nested objects)\n- **Rate limit:** 120 requests per minute per IP per route\n\nSee also: `GRIP-API.md` in this directory for field mapping and architecture notes.\n","version":"1.0.0","contact":{"name":"Advertising Week Engineering"}},"servers":[{"url":"{siteUrl}/wp-json/advertising-week/v1","description":"Event site (multisite subsite)","variables":{"siteUrl":{"default":"https://example.com","description":"WordPress site URL (no trailing slash)"}}}],"security":[{"BearerAuth":[]}],"tags":[{"name":"Sessions","description":"Sessionboard sessions (`sb_session`)"},{"name":"Speakers","description":"Sessionboard speakers (`sb_speaker`)"},{"name":"Tracks","description":"Sessionboard tracks (`sb_track` taxonomy)"},{"name":"Stages","description":"Sessionboard stages (`sb_stage` taxonomy)"},{"name":"Sponsors","description":"Cvent-synced exhibitors (`exhibitors` CPT)"}],"paths":{"/sessions":{"get":{"tags":["Sessions"],"summary":"List sessions","description":"Returns paginated sessions visible to Grip:\npublished, active, and not hidden from the schedule app.\n","operationId":"listSessions","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PerPage"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/OrderBy"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/ModifiedSince"},{"$ref":"#/components/parameters/LastModified"},{"$ref":"#/components/parameters/ModifiedDate"},{"$ref":"#/components/parameters/SpeakerId"},{"$ref":"#/components/parameters/TrackId"},{"$ref":"#/components/parameters/StageId"},{"$ref":"#/components/parameters/SponsorId"}],"responses":{"200":{"description":"Paginated session list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionListResponse"},"example":{"success":true,"data":[{"wp_id":123,"session_id":"abc-456","title":"Opening Keynote","description":"Session description text","session_starttime":"2026-06-01T09:00:00-04:00","session_endtime":"2026-06-01T10:00:00-04:00","track":[],"stage":null,"speakers":[],"cvent_partner_id":"","sponsors":[],"watch_type":"in-person","event_type":"Keynote","active":true,"hide_calendar":false,"hide_from_schedule_app":false,"key_takeaway":[]}],"pagination":{"page":1,"per_page":25,"total":1,"total_pages":1}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/sessions/{session_id}":{"get":{"tags":["Sessions"],"summary":"Get session","description":"Returns a single session by WordPress post ID or Sessionboard external ID.\n","operationId":"getSession","parameters":[{"$ref":"#/components/parameters/SessionIdPath"},{"$ref":"#/components/parameters/Fields"}],"responses":{"200":{"description":"Session object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionSingleResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/SessionNotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/speakers":{"get":{"tags":["Speakers"],"summary":"List speakers","description":"Returns paginated published speakers.","operationId":"listSpeakers","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PerPage"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/OrderBy"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/Fields"},{"$ref":"#/components/parameters/ModifiedSince"},{"$ref":"#/components/parameters/LastModified"},{"$ref":"#/components/parameters/ModifiedDate"},{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Paginated speaker list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeakerListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/speakers/{speaker_id}":{"get":{"tags":["Speakers"],"summary":"Get speaker","description":"Returns a single speaker by WordPress post ID or Sessionboard external ID.\n","operationId":"getSpeaker","parameters":[{"$ref":"#/components/parameters/SpeakerIdPath"},{"$ref":"#/components/parameters/Fields"}],"responses":{"200":{"description":"Speaker object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeakerSingleResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/SpeakerNotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/tracks/{track_id}":{"get":{"tags":["Tracks"],"summary":"Get track","description":"Returns a track by WordPress term ID, slug, or external track ID.\n","operationId":"getTrack","parameters":[{"$ref":"#/components/parameters/TrackIdPath"},{"$ref":"#/components/parameters/Fields"}],"responses":{"200":{"description":"Track object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackSingleResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/TrackNotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/stage/{stage_id}":{"get":{"tags":["Stages"],"summary":"Get stage","description":"Returns a stage by WordPress term ID, slug, or Sessionboard room ID.\n","operationId":"getStage","parameters":[{"$ref":"#/components/parameters/StageIdPath"},{"$ref":"#/components/parameters/Fields"}],"responses":{"200":{"description":"Stage object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StageSingleResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/StageNotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/sponsors":{"get":{"tags":["Sponsors"],"summary":"List sponsors","description":"Returns paginated Cvent-synced exhibitors (sponsors).","operationId":"listSponsors","parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/PerPage"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/OrderBy"},{"$ref":"#/components/parameters/Order"},{"$ref":"#/components/parameters/Fields"}],"responses":{"200":{"description":"Paginated sponsor list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsorListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/sponsors/{sponsor_id}":{"get":{"tags":["Sponsors"],"summary":"Get sponsor","description":"Returns a single sponsor by WordPress post ID, Cvent exhibitor ID, or Cvent code.\n","operationId":"getSponsor","parameters":[{"$ref":"#/components/parameters/SponsorIdPath"},{"$ref":"#/components/parameters/Fields"}],"responses":{"200":{"description":"Sponsor object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SponsorSingleResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/SponsorNotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Site-specific key from **Site Wizard → Third Party Configuration → Grip Authentication Key**.\nSend as `Authorization: Bearer {token}`.\n"}},"parameters":{"Page":{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"default":1},"description":"Page number"},"PerPage":{"name":"per_page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":25},"description":"Items per page (max 100)"},"PageSize":{"name":"page_size","in":"query","schema":{"type":"integer","minimum":1,"maximum":100},"description":"Alias for `per_page`"},"OrderBy":{"name":"orderby","in":"query","schema":{"type":"string","enum":["title","date"],"default":"date"}},"Order":{"name":"order","in":"query","schema":{"type":"string","enum":["asc","desc"],"default":"asc"}},"Fields":{"name":"fields","in":"query","schema":{"type":"string"},"description":"Comma-separated allow list of response fields (lowercase)","example":"wp_id,title,session_id"},"ModifiedSince":{"name":"modified_since","in":"query","schema":{"type":"string"},"description":"Unix timestamp or parseable datetime — return items modified after this value"},"LastModified":{"name":"last_modified","in":"query","schema":{"type":"string"},"description":"Alias for `modified_since`"},"ModifiedDate":{"name":"modified_date","in":"query","schema":{"type":"string"},"description":"Alias for `modified_since`"},"SessionId":{"name":"session_id","in":"query","schema":{"type":"string"},"description":"Filter speakers by related session (WP ID or Sessionboard ID)"},"SpeakerId":{"name":"speaker_id","in":"query","schema":{"type":"string"},"description":"Filter sessions by speaker (WP ID or Sessionboard ID)"},"TrackId":{"name":"track_id","in":"query","schema":{"type":"string"},"description":"Filter sessions by track (term ID, slug, or external ID)"},"StageId":{"name":"stage_id","in":"query","schema":{"type":"string"},"description":"Filter sessions by stage (term ID, slug, or room ID)"},"SponsorId":{"name":"sponsor_id","in":"query","schema":{"type":"string"},"description":"Filter sessions by sponsor (WP ID, Cvent exhibitor ID, or code)"},"SessionIdPath":{"name":"session_id","in":"path","required":true,"schema":{"type":"string"},"description":"WordPress post ID or Sessionboard external ID"},"SpeakerIdPath":{"name":"speaker_id","in":"path","required":true,"schema":{"type":"string"},"description":"WordPress post ID or Sessionboard external ID"},"TrackIdPath":{"name":"track_id","in":"path","required":true,"schema":{"type":"string"},"description":"WordPress term ID, slug, or external track ID"},"StageIdPath":{"name":"stage_id","in":"path","required":true,"schema":{"type":"string"},"description":"WordPress term ID, slug, or Sessionboard room ID"},"SponsorIdPath":{"name":"sponsor_id","in":"path","required":true,"schema":{"type":"string"},"description":"WordPress post ID, Cvent exhibitor ID, or Cvent code"}},"responses":{"Unauthorized":{"description":"Missing, invalid, or unconfigured authentication key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"invalidKey":{"value":{"success":false,"code":"unauthorized","message":"Invalid Grip authentication key."}},"notConfigured":{"value":{"success":false,"code":"unauthorized","message":"Grip authentication key is not configured for this site."}}}}}},"RateLimited":{"description":"Too many requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"code":"rate_limit_exceeded","message":"Too many requests. Please try again later."}}}},"SessionNotFound":{"description":"Session not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"code":"resource_not_found","message":"Session not found."}}}},"SpeakerNotFound":{"description":"Speaker not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"code":"resource_not_found","message":"Speaker not found."}}}},"TrackNotFound":{"description":"Track not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"code":"resource_not_found","message":"Track not found."}}}},"StageNotFound":{"description":"Stage not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"code":"resource_not_found","message":"Stage not found."}}}},"SponsorNotFound":{"description":"Sponsor not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"code":"resource_not_found","message":"Sponsor not found."}}}}},"schemas":{"ErrorResponse":{"type":"object","required":["success","code","message"],"properties":{"success":{"type":"boolean","example":false},"code":{"type":"string","example":"unauthorized"},"message":{"type":"string","example":"Invalid Grip authentication key."}}},"Pagination":{"type":"object","properties":{"page":{"type":"integer","example":1},"per_page":{"type":"integer","example":25},"total":{"type":"integer","example":200},"total_pages":{"type":"integer","example":8}}},"TrackRef":{"type":"object","properties":{"wp_id":{"type":"integer"},"track_id":{"type":"string"},"name":{"type":"string"}}},"StageRef":{"type":"object","properties":{"wp_id":{"type":"integer"},"stage_id":{"type":"string"},"name":{"type":"string"}}},"SpeakerSummary":{"type":"object","properties":{"wp_id":{"type":"integer"},"speaker_id":{"type":"string"},"name":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"job_title":{"type":"string"},"company":{"type":"string"},"bio":{"type":"string"},"profile_image":{"type":"string","format":"uri"}}},"SessionRef":{"type":"object","properties":{"wp_id":{"type":"integer"},"session_id":{"type":"string"},"title":{"type":"string"},"session_starttime":{"type":"string","format":"date-time"},"session_endtime":{"type":"string","format":"date-time"}}},"Session":{"type":"object","properties":{"wp_id":{"type":"integer"},"session_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"session_starttime":{"type":"string","format":"date-time"},"session_endtime":{"type":"string","format":"date-time"},"track":{"type":"array","items":{"$ref":"#/components/schemas/TrackRef"}},"stage":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/StageRef"}]},"speakers":{"type":"array","items":{"$ref":"#/components/schemas/SpeakerSummary"}},"cvent_partner_id":{"type":"string"},"sponsors":{"type":"array","items":{"$ref":"#/components/schemas/Sponsor"}},"watch_type":{"type":"string"},"event_type":{"type":"string"},"active":{"type":"boolean"},"hide_calendar":{"type":"boolean"},"hide_from_schedule_app":{"type":"boolean"},"key_takeaway":{"type":"array","items":{"type":"string"}}}},"Speaker":{"type":"object","properties":{"wp_id":{"type":"integer"},"speaker_id":{"type":"string"},"name":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"job_title":{"type":"string"},"company":{"type":"string"},"pronouns":{"type":"string"},"bio":{"type":"string"},"profile_image":{"type":"string","format":"uri"},"linkedin":{"type":"string","format":"uri"},"twitter":{"type":"string","format":"uri"},"facebook":{"type":"string","format":"uri"},"website":{"type":"string","format":"uri"},"sessions":{"type":"array","items":{"$ref":"#/components/schemas/SessionRef"}}}},"Track":{"type":"object","properties":{"wp_id":{"type":"integer"},"track_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"sessions":{"type":"array","items":{"$ref":"#/components/schemas/SessionRef"}}}},"Stage":{"type":"object","properties":{"wp_id":{"type":"integer"},"stage_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"sessions":{"type":"array","items":{"$ref":"#/components/schemas/SessionRef"}}}},"Sponsor":{"type":"object","properties":{"wp_id":{"type":"integer"},"sponsor_id":{"type":"string"},"code":{"type":"string"},"name":{"type":"string"},"company_logo":{"type":"string","format":"uri"},"description":{"type":"string"},"website":{"type":"string","format":"uri"},"city":{"type":"string"},"region":{"type":"string"},"sponsor_category":{"type":"string"},"sessions":{"type":"array","items":{"$ref":"#/components/schemas/SessionRef"}}}},"SessionSingleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Session"}}},"SessionListResponse":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/Session"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"SpeakerSingleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Speaker"}}},"SpeakerListResponse":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/Speaker"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"TrackSingleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Track"}}},"StageSingleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Stage"}}},"SponsorSingleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Sponsor"}}},"SponsorListResponse":{"type":"object","required":["success","data","pagination"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/Sponsor"}},"pagination":{"$ref":"#/components/schemas/Pagination"}}}}}}