{"info":{"_postman_id":"ca2982f9-5da2-44cf-8ace-e02f9f2115ef","name":"Zapier - REI BlackBook API","description":"<html><head></head><body><p>This is the API endpoints needed for the REI BlackBook Zapier App.</p>\n<p>Contact Support:<br>Name: REIBB Dev<br>Email: <a href=\"https://mailto:dev@reiblackbook.com\">dev@reiblackbook.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"41312435","collectionId":"ca2982f9-5da2-44cf-8ace-e02f9f2115ef","publishedId":"2sAYQdhpBq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-01-21T21:40:58.000Z"},"item":[{"name":"rest/v1","item":[{"name":"zapier","item":[{"name":"Retrieve account information","id":"5140b1fe-f6f5-4e1c-9f44-6fbba86922fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/info","description":"<p>This endpoint retrieves account information for the authenticated user.</p>\n","urlObject":{"protocol":"https","path":["rest","v1","zapier","info"],"host":["api","reiblackbook","com"],"query":[],"variable":[]}},"response":[{"id":"e5e1f74c-e06d-4887-9c79-105b6663782a","name":"Successfully retrieved account information.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"email\": \"<email>\"\n}"},{"id":"58a8a382-f40a-4bf7-8b02-4153388815ef","name":"Unauthorized. The access token is missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/info"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e911a661-0ce8-4f48-9d23-c8784f156134","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/info"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5140b1fe-f6f5-4e1c-9f44-6fbba86922fb"},{"name":"Retrieve contact fields","id":"e4007c1f-35dc-4a9c-aef0-c946024e8ca8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/contactFields","description":"<p>This endpoint retrieves the list of contact fields available for the account.</p>\n","urlObject":{"protocol":"https","path":["rest","v1","zapier","contactFields"],"host":["api","reiblackbook","com"],"query":[],"variable":[]}},"response":[{"id":"199f3bc1-d285-4a6e-bfec-ea63cedd9c60","name":"Successfully retrieved contact fields.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/contactFields"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"fields\": [\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"},{"id":"1d9371d5-f755-4526-8da1-f10c4afe376e","name":"Unauthorized. The access token is missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/contactFields"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"06a5e831-a8c7-4f87-842c-a97c4b3d0a89","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/contactFields"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e4007c1f-35dc-4a9c-aef0-c946024e8ca8"},{"name":"Register a new webhook for a Zapier trigger","id":"299727ec-d618-49e8-a75d-a100a81dcad5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"target_url\": \"<uri>\",\n  \"trigger_type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/saveWebhook","description":"<p>This endpoint registers a new webhook with the specified target URL and trigger type.</p>\n","urlObject":{"protocol":"https","path":["rest","v1","zapier","saveWebhook"],"host":["api","reiblackbook","com"],"query":[],"variable":[]}},"response":[{"id":"54c6ff5c-9461-49a0-af69-5a9031246a12","name":"Webhook registered successfully.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"target_url\": \"<uri>\",\n  \"trigger_type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/saveWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"email\": \"<email>\",\n  \"hookId\": \"<string>\"\n}"},{"id":"3224d157-2c06-4766-9b0a-2b7394b9f6ed","name":"Bad request. One or more parameters may be missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"target_url\": \"<uri>\",\n  \"trigger_type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/saveWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"92c5aab2-2870-4336-9a5d-fb33195f2487","name":"Unauthorized. The access token is missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"target_url\": \"<uri>\",\n  \"trigger_type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/saveWebhook"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"0084d8f2-0b7f-4197-9fc7-30c2399cd1b7","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"target_url\": \"<uri>\",\n  \"trigger_type\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/zapier/saveWebhook"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"299727ec-d618-49e8-a75d-a100a81dcad5"}],"id":"e16ca44c-b2e2-4515-a65f-9a12a5d54871","_postman_id":"e16ca44c-b2e2-4515-a65f-9a12a5d54871","description":""},{"name":"Retrieve a list of contacts with profile data","id":"7a3336c7-3a58-4c4b-ab5d-5db12f6e83df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/contacts/listWithProfileData","description":"<p>This endpoint retrieves a list of contacts along with their profile data.</p>\n","urlObject":{"protocol":"https","path":["rest","v1","contacts","listWithProfileData"],"host":["api","reiblackbook","com"],"query":[],"variable":[]}},"response":[{"id":"ec163597-0440-4509-bb0d-1c87cc01f0dc","name":"Successfully retrieved the list of contacts.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/contacts/listWithProfileData"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"contacts\": [\n    {\n      \"id\": \"<string>\",\n      \"contact_name_honorific\": \"<string>\",\n      \"contact_name_first_name\": \"<string>\",\n      \"contact_name_middle_initial\": \"<string>\",\n      \"contact_name_last_name\": \"<string>\",\n      \"contact_email\": \"<email>\",\n      \"contact_source\": \"<string>\",\n      \"contact_birthday\": \"<date>\",\n      \"contact_anniversary\": \"<date>\",\n      \"contact_phone\": \"<string>\",\n      \"contact_phone2\": \"<string>\",\n      \"contact_phone3\": \"<string>\",\n      \"contact_phone4\": \"<string>\",\n      \"contact_timeZone\": \"<string>\",\n      \"contact_mailingAddress\": \"<string>\",\n      \"contact_company\": \"<string>\",\n      \"contact_title\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"contact_name_honorific\": \"<string>\",\n      \"contact_name_first_name\": \"<string>\",\n      \"contact_name_middle_initial\": \"<string>\",\n      \"contact_name_last_name\": \"<string>\",\n      \"contact_email\": \"<email>\",\n      \"contact_source\": \"<string>\",\n      \"contact_birthday\": \"<date>\",\n      \"contact_anniversary\": \"<date>\",\n      \"contact_phone\": \"<string>\",\n      \"contact_phone2\": \"<string>\",\n      \"contact_phone3\": \"<string>\",\n      \"contact_phone4\": \"<string>\",\n      \"contact_timeZone\": \"<string>\",\n      \"contact_mailingAddress\": \"<string>\",\n      \"contact_company\": \"<string>\",\n      \"contact_title\": \"<string>\"\n    }\n  ]\n}"},{"id":"3fb11b1b-7aea-4a9b-9b87-0d3a693cf73c","name":"Unauthorized. The access token is missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/contacts/listWithProfileData"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"66d5d867-220c-49d5-bfff-372284fe26b9","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"<object>","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/rest/v1/contacts/listWithProfileData"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"7a3336c7-3a58-4c4b-ab5d-5db12f6e83df"}],"id":"ee5590ae-0199-4bb0-8dbb-e8c5626de918","_postman_id":"ee5590ae-0199-4bb0-8dbb-e8c5626de918","description":""},{"name":"Authorize user and obtain an authorization code","id":"6287f8e1-c664-47fa-a705-e8e9ebc4b6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://my.reiblackbook.com/api/oauth2/authorize/?client_id=<string>&response_type=<string>&redirect_uri=<uri>&state=<string>&code_challenge=<string>&code_challenge_method=<string>","description":"<p>This endpoint initiates the OAuth2 authorization flow. It redirects the user to the login screen and eventually provides an authorization code.</p>\n","urlObject":{"protocol":"https","path":["api","oauth2","authorize",""],"host":["my","reiblackbook","com"],"query":[{"description":{"content":"<p>(Required) The client ID issued to the client during registration.</p>\n","type":"text/plain"},"key":"client_id","value":"<string>"},{"description":{"content":"<p>(Required) Indicates that the authorization server will return an authorization code. Must be set to <code>code</code>.</p>\n","type":"text/plain"},"key":"response_type","value":"<string>"},{"description":{"content":"<p>(Required) The URI to redirect the user to after authorization.</p>\n","type":"text/plain"},"key":"redirect_uri","value":"<uri>"},{"description":{"content":"<p>(Required) A unique string to maintain state between the request and callback.</p>\n","type":"text/plain"},"key":"state","value":"<string>"},{"description":{"content":"<p>(Required) A challenge derived from the code verifier used for PKCE.</p>\n","type":"text/plain"},"key":"code_challenge","value":"<string>"},{"description":{"content":"<p>(Required) The method used to derive the code challenge. Must be <code>S256</code>.</p>\n","type":"text/plain"},"key":"code_challenge_method","value":"<string>"}],"variable":[]}},"response":[{"id":"810e5675-4872-41f3-86eb-f60d2588287c","name":"Redirects the user to the login page.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://my.reiblackbook.com/api/oauth2/authorize/?client_id=<string>&response_type=<string>&redirect_uri=<uri>&state=<string>&code_challenge=<string>&code_challenge_method=<string>","protocol":"https","host":["my","reiblackbook","com"],"path":["api","oauth2","authorize",""],"query":[{"key":"client_id","value":"<string>"},{"key":"response_type","value":"<string>"},{"key":"redirect_uri","value":"<uri>"},{"key":"state","value":"<string>"},{"key":"code_challenge","value":"<string>"},{"key":"code_challenge_method","value":"<string>"}]}},"status":"Found","code":302,"_postman_previewlanguage":"text","header":[{"disabled":false,"description":"The URL of the login screen or the redirect_uri with an authorization code.","key":"Location","value":"<uri>"},{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"07faa694-cfe8-4e49-b6eb-8dc483f0005d","name":"Bad Request. One or more required parameters are missing or invalid.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://my.reiblackbook.com/api/oauth2/authorize/?client_id=<string>&response_type=<string>&redirect_uri=<uri>&state=<string>&code_challenge=<string>&code_challenge_method=<string>","protocol":"https","host":["my","reiblackbook","com"],"path":["api","oauth2","authorize",""],"query":[{"key":"client_id","value":"<string>"},{"key":"response_type","value":"<string>"},{"key":"redirect_uri","value":"<uri>"},{"key":"state","value":"<string>"},{"key":"code_challenge","value":"<string>"},{"key":"code_challenge_method","value":"<string>"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c1ef5148-11d6-453f-9834-f32b4820efb7","name":"Internal Server Error. Something went wrong on the server.","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://my.reiblackbook.com/api/oauth2/authorize/?client_id=<string>&response_type=<string>&redirect_uri=<uri>&state=<string>&code_challenge=<string>&code_challenge_method=<string>","protocol":"https","host":["my","reiblackbook","com"],"path":["api","oauth2","authorize",""],"query":[{"key":"client_id","value":"<string>"},{"key":"response_type","value":"<string>"},{"key":"redirect_uri","value":"<uri>"},{"key":"state","value":"<string>"},{"key":"code_challenge","value":"<string>"},{"key":"code_challenge_method","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6287f8e1-c664-47fa-a705-e8e9ebc4b6aa"},{"name":"Exchange authorization code for access token","id":"fb39025e-9515-47a8-a766-919f38cc5b41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"<string>","description":"<p>(Required) The client ID issued during registration.</p>\n"},{"key":"client_secret","value":"<string>","description":"<p>(Required) The client secret issued during registration.</p>\n"},{"key":"grant_type","value":"<string>","description":"<p>(Required) The type of grant being used. For this endpoint, it must be <code>authorization_code</code>.</p>\n"},{"key":"code","value":"<string>","description":"<p>(Required) The authorization code received from the <code>/authorize</code> endpoint.</p>\n"},{"key":"redirect_uri","value":"<uri>","description":"<p>(Required) The same redirect URI used during the authorization code request.</p>\n"},{"key":"code_verifier","value":"<string>","description":"<p>(Required) The code verifier used in the PKCE process.</p>\n"}]},"url":"https://api.reiblackbook.com/oauth2/token","description":"<p>This endpoint is used to exchange an authorization code for an access token in the OAuth2 flow.</p>\n","urlObject":{"protocol":"https","path":["oauth2","token"],"host":["api","reiblackbook","com"],"query":[],"variable":[]}},"response":[{"id":"a387f6a2-1f69-4a75-b6ce-093a707d1a79","name":"Access token retrieved successfully.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) The client ID issued during registration.","key":"client_id","value":"<string>"},{"description":"(Required) The client secret issued during registration.","key":"client_secret","value":"<string>"},{"description":"(Required) The type of grant being used. For this endpoint, it must be `authorization_code`.","key":"grant_type","value":"<string>"},{"description":"(Required) The authorization code received from the `/authorize` endpoint.","key":"code","value":"<string>"},{"description":"(Required) The same redirect URI used during the authorization code request.","key":"redirect_uri","value":"<uri>"},{"description":"(Required) The code verifier used in the PKCE process.","key":"code_verifier","value":"<string>"}]},"url":"https://api.reiblackbook.com/oauth2/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"access_token\": \"<string>\",\n  \"token_type\": \"<string>\",\n  \"expires_in\": \"<integer>\",\n  \"refresh_token\": \"<string>\",\n  \"scope\": \"<string>\"\n}"},{"id":"37260352-c32b-4e9f-ad26-fab34624aad4","name":"Bad request. This may occur if required parameters are missing or invalid.","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) The client ID issued during registration.","key":"client_id","value":"<string>"},{"description":"(Required) The client secret issued during registration.","key":"client_secret","value":"<string>"},{"description":"(Required) The type of grant being used. For this endpoint, it must be `authorization_code`.","key":"grant_type","value":"<string>"},{"description":"(Required) The authorization code received from the `/authorize` endpoint.","key":"code","value":"<string>"},{"description":"(Required) The same redirect URI used during the authorization code request.","key":"redirect_uri","value":"<uri>"},{"description":"(Required) The code verifier used in the PKCE process.","key":"code_verifier","value":"<string>"}]},"url":"https://api.reiblackbook.com/oauth2/token"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"ebc88219-4271-4c83-950c-c33a6ed53af7","name":"Unauthorized. Invalid `client_id` or `client_secret`.","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) The client ID issued during registration.","key":"client_id","value":"<string>"},{"description":"(Required) The client secret issued during registration.","key":"client_secret","value":"<string>"},{"description":"(Required) The type of grant being used. For this endpoint, it must be `authorization_code`.","key":"grant_type","value":"<string>"},{"description":"(Required) The authorization code received from the `/authorize` endpoint.","key":"code","value":"<string>"},{"description":"(Required) The same redirect URI used during the authorization code request.","key":"redirect_uri","value":"<uri>"},{"description":"(Required) The code verifier used in the PKCE process.","key":"code_verifier","value":"<string>"}]},"url":"https://api.reiblackbook.com/oauth2/token"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f9ff191b-7ef5-4de8-89e7-326db12e0e5b","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"description":"(Required) The client ID issued during registration.","key":"client_id","value":"<string>"},{"description":"(Required) The client secret issued during registration.","key":"client_secret","value":"<string>"},{"description":"(Required) The type of grant being used. For this endpoint, it must be `authorization_code`.","key":"grant_type","value":"<string>"},{"description":"(Required) The authorization code received from the `/authorize` endpoint.","key":"code","value":"<string>"},{"description":"(Required) The same redirect URI used during the authorization code request.","key":"redirect_uri","value":"<uri>"},{"description":"(Required) The code verifier used in the PKCE process.","key":"code_verifier","value":"<string>"}]},"url":"https://api.reiblackbook.com/oauth2/token"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fb39025e-9515-47a8-a766-919f38cc5b41"},{"name":"Delete a webhook used by a Trigger","id":"3f75afa3-ded5-4ede-a084-302c54c4d5b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"hook_id\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/v1/zapier/deleteWebhook","description":"<p>This endpoint deletes an existing webhook by its unique ID.</p>\n","urlObject":{"protocol":"https","path":["v1","zapier","deleteWebhook"],"host":["api","reiblackbook","com"],"query":[],"variable":[]}},"response":[{"id":"44200fbe-6ef8-4fca-9129-43d7e3161492","name":"Webhook deleted successfully.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"hook_id\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/v1/zapier/deleteWebhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\",\n  \"hookId\": \"<string>\",\n  \"deleted\": \"<boolean>\"\n}"},{"id":"5b9e629a-c935-4c99-b63a-db0414c7764a","name":"Bad request. The webhook ID is missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"hook_id\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/v1/zapier/deleteWebhook"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"2332c3d2-9b16-491e-8127-e67cf2eecf79","name":"Unauthorized. The access token is missing or invalid.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"hook_id\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/v1/zapier/deleteWebhook"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"9fc47723-36c0-4015-8568-abca75e35c24","name":"Not Found. The specified webhook ID does not exist.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"hook_id\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/v1/zapier/deleteWebhook"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"91caf92c-33a5-43ba-af21-ea37d9f9b7eb","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"hook_id\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/v1/zapier/deleteWebhook"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3f75afa3-ded5-4ede-a084-302c54c4d5b4"},{"name":"Webhook handler to create or update a contact.","id":"b8466326-3acd-45da-a95d-e9319dadb5d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_email\": \"<email>\",\n  \"trigger_flow_id\": \"<integer>\",\n  \"contact_name_first_name\": \"<string>\",\n  \"contact_name_last_name\": \"<string>\",\n  \"contact_phone\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.reiblackbook.com/webhooks/contacts/:access_token","description":"<p>This endpoint will create or update a contact and optionally trigger a workflow on the contact.</p>\n","urlObject":{"protocol":"https","path":["webhooks","contacts",":access_token"],"host":["api","reiblackbook","com"],"query":[],"variable":[{"id":"582a66f6-0566-4c61-9191-9bd19087e2c8","description":{"content":"<p>(Required) The Bearer token used to authenticate the request.</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"access_token"}]}},"response":[{"id":"9c3fb729-628c-4cdd-afc3-100fe6342f35","name":"Webhook triggered successfully.","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"contact_email\": \"<email>\",\n  \"trigger_flow_id\": \"<integer>\",\n  \"contact_name_first_name\": \"<string>\",\n  \"contact_name_last_name\": \"<string>\",\n  \"contact_phone\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.reiblackbook.com/webhooks/contacts/:access_token","protocol":"https","host":["api","reiblackbook","com"],"path":["webhooks","contacts",":access_token"],"variable":[{"key":"access_token","value":"<string>","description":"(Required) The Bearer token used to authenticate the request."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": \"<boolean>\"\n}"},{"id":"348bbe7d-49d3-4bd6-834c-72ad3167981e","name":"Bad request. Invalid or missing parameters in the body.","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contact_email\": \"<email>\",\n  \"trigger_flow_id\": \"<integer>\",\n  \"contact_name_first_name\": \"<string>\",\n  \"contact_name_last_name\": \"<string>\",\n  \"contact_phone\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.reiblackbook.com/webhooks/contacts/:access_token","protocol":"https","host":["api","reiblackbook","com"],"path":["webhooks","contacts",":access_token"],"variable":[{"key":"access_token","value":"<string>","description":"(Required) The Bearer token used to authenticate the request."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a9c1c520-221e-4aaa-a155-0e77cd143085","name":"Unauthorized. Invalid or missing access token.","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contact_email\": \"<email>\",\n  \"trigger_flow_id\": \"<integer>\",\n  \"contact_name_first_name\": \"<string>\",\n  \"contact_name_last_name\": \"<string>\",\n  \"contact_phone\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.reiblackbook.com/webhooks/contacts/:access_token","protocol":"https","host":["api","reiblackbook","com"],"path":["webhooks","contacts",":access_token"],"variable":[{"key":"access_token","value":"<string>","description":"(Required) The Bearer token used to authenticate the request."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d2f99a29-4753-4251-b1eb-3e1f69600a2b","name":"Internal Server Error. An unexpected error occurred.","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contact_email\": \"<email>\",\n  \"trigger_flow_id\": \"<integer>\",\n  \"contact_name_first_name\": \"<string>\",\n  \"contact_name_last_name\": \"<string>\",\n  \"contact_phone\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.reiblackbook.com/webhooks/contacts/:access_token","protocol":"https","host":["api","reiblackbook","com"],"path":["webhooks","contacts",":access_token"],"variable":[{"key":"access_token","value":"<string>","description":"(Required) The Bearer token used to authenticate the request."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b8466326-3acd-45da-a95d-e9319dadb5d6"}],"variable":[{"key":"baseUrl","value":"https://api.reiblackbook.com","type":"string"}]}